CN106022177A - Data processing method and intelligent card - Google Patents

Data processing method and intelligent card Download PDF

Info

Publication number
CN106022177A
CN106022177A CN201610309623.6A CN201610309623A CN106022177A CN 106022177 A CN106022177 A CN 106022177A CN 201610309623 A CN201610309623 A CN 201610309623A CN 106022177 A CN106022177 A CN 106022177A
Authority
CN
China
Prior art keywords
card
data channel
terminal
mcu
chip
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
CN201610309623.6A
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.)
Ennew Digital Technology Co Ltd
Original Assignee
Ennew Digital 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 Ennew Digital Technology Co Ltd filed Critical Ennew Digital Technology Co Ltd
Priority to CN201610309623.6A priority Critical patent/CN106022177A/en
Publication of CN106022177A publication Critical patent/CN106022177A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K1/00Methods or arrangements for marking the record carrier in digital fashion
    • G06K1/12Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
    • G06K1/128Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching by electric registration, e.g. electrolytic, spark erosion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/07701Constructional details, e.g. mounting of circuits in the carrier the record carrier comprising an interface suitable for human interaction
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/12Card verification

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of communication, especially to a data processing method and an intelligent card. The method comprises: after an MCU of an intelligent card determines successful connection between a communication module of an intelligent card and a terminal, card refilling information sent by the terminal is received and is written into a card chip of the intelligent card by a first data channel, wherein the first data channel is a data channel between the MCU and the card chip and the card refilling information is generated by the terminal according to order information after successful ordering to a cloud server; and after a card contact of the intelligent card detects successful connection with a card meter, the card chip writes the card refilling information into the card meter by a second data channel, wherein the second data channel is a card channel between the card chip and the card contact. According to the method, on the basis of mutual cooperation between the MCU, the communication module, the card chip, and the card contact, storage of the card refilling information into the intelligent card is realized without the need for the user to go to a business hall for card refilling. Moreover, the support for the whole process by hardware resources like a professional card reading device is not needed, so that the hardware resources are saved.

Description

A kind of data processing method and smart card
Technical field
The present invention relates to communication technical field, particularly relate to a kind of data processing method and smart card.
Background technology
At present common in life water rate, the electricity charge, combustion gas payment are broadly divided into both of which: pay after general table Take and the pre-payment of card table.For the mode of the pre-payment of card table, need by the water yield of buying, electricity or Gas quantity is write in IC (Integrated Circuit, the integrated circuit) card of user, is then inserted by IC-card The card tables such as water meter, ammeter or gas meter, flow meter carry out corresponding control realization supplement with money.
It is currently based on the pattern that the card table of IC-card is paid the fees in advance, needs user to read in IC-card inserts gas meter, flow meter Current internal information of statement, then goes to business hall with IC-card, staff IC-card is inserted specialty Card Reader and set For carrying out purchasing water, power purchase or purchasing gas, after card success is filled in cash payment, user goes back home with IC-card again, IC-card is inserted in water meter, ammeter or gas meter, flow meter, the final whole operation realizing buying.
The method of above-mentioned buying is primarily present following defect: first, and user purchases every time and is required for going to business The Room, wastes time and energy;Second, the process filling card needs to use the card-reading apparatus of specialty, wastes hardware resource.
In sum, of the prior art fill card mode inefficiency and waste hardware resource.
Summary of the invention
The present invention provides a kind of data processing method and smart card, fills card present in prior art in order to solving Mode inefficiency and the problem of waste hardware resource.
On the one hand, the embodiment of the present invention provides a kind of data processing method, including:
The MCU of smart card, after the communication module determining described smart card and terminal successful connection, receives institute State the card information that fills of terminal transmission, and the described card information that fills is write described smart card by the first data channel Card chip in, described first data channel is the data channel between described MCU and described card chip, The described card information that fills is to be generated according to the sequence information after placing an order successfully to cloud server by described terminal;
The card contact of described smart card detect with card table successful connection after, described card chip fills card by described Information writes described card table by the second data channel, and described second data channel is that described card chip is with described Data channel between card contact.
The method that the embodiment of the present invention provides, the MCU of smart card is determining the communication module of described smart card After terminal successful connection, receive that described terminal sends fills card information, and by the described card information that fills by the One data channel writes in the card chip of described smart card, and described first data channel is described MCU and institute State the data channel between card chip, described in fill card information be to be placed an order according to cloud server by described terminal Sequence information after success generates;The card contact of described smart card detect with card table successful connection after, The described card information that fills is write described card table by the second data channel by described card chip, and described second data are led to Road is the data channel between described card chip and described card contact.The method by the MCU in smart card, Cooperating of communication module, card chip and card contact, it is achieved that card information will be filled and write by first passage Card chip, and card information write card table will be filled by second channel, it is achieved thereby that card information storage will be filled To smart card, it is not necessary to user to business hall can realize filling card process, and whole process is without specialty Card Reader The hardware resource supports such as equipment, have saved hardware resource.
Alternatively, described card chip by described fill card information by second data channel write described card table it Before, also include:
After order opened by the second channel that the described MCU described terminal of reception sends, open described second data Passage;Order opened by described second channel is the checking data verification to obtaining from described smart card of the described terminal Send after success.
Alternatively, described smart card also includes single-pole double-throw switch (SPDT);
Described by described fill the card chip that card information writes described smart card by the first data channel before, also Including:
By controlling described single-pole double-throw switch (SPDT), described MCU is connected with described MCU that to open described first several According to passage;
The described card information that fills is write before described card table by described card chip by the second data channel, also wraps Include:
By controlling described single-pole double-throw switch (SPDT), described MCU is connected with described card contact that to open described second several According to passage.
Alternatively, described card chip by described fill card information by second data channel write described card table it After, also include:
Described card chip receives and stores the card table data that described card table is sent by described second data channel.
Alternatively, after card table data described in described card chip-stored, also include:
Described card table data are sent to described MCU by described card chip by described first data channel;
Described card table data are sent to described terminal by described MCU, so that described terminal is by described card table number Store according to sending extremely described cloud server.
On the other hand, the embodiment of the present invention provides a kind of smart card, including: MCU, communication module, the core of the card Sheet and card contact;
Described MCU, for after determining described communication module and terminal successful connection, receives described terminal Send fills card information, and writes in described card chip by the described card information that fills by the first data channel, institute Stating the first data channel is the data channel between described MCU and described card chip, described in fill card information and be Generated according to the sequence information after placing an order successfully to cloud server by described terminal;
Described card chip, for described card contact detect with card table successful connection after, by described fill card believe Ceasing and write described card table by the second data channel, described second data channel is described card chip and described card Data channel between contact.
Alternatively, described MCU is additionally operable to: after order opened by the second channel receiving the transmission of described terminal, Open described second data channel;Order opened by described second channel is that described terminal obtains from described smart card Send after the checking data verification success taken.
Alternatively, described smart card also includes single-pole double-throw switch (SPDT);Described MCU is additionally operable to: by controlling Described single-pole double-throw switch (SPDT) is connected with described MCU opens described first data channel;And by controlling institute State single-pole double-throw switch (SPDT) to be connected with described card contact and open described second data channel.
Alternatively, described card chip is additionally operable to: receive and store described card table by described second data channel The card table data sent.
Alternatively, described card chip is additionally operable to, and described card table data is sent by described first data channel To described MCU;
Described MCU is additionally operable to, and sends described card table data to described terminal, so that described terminal is by institute State the transmission of card table data to store to described cloud server.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below The accompanying drawing used is needed to briefly introduce, it should be apparent that, the accompanying drawing in describing below is only the present invention's Some embodiments, from the point of view of those of ordinary skill in the art, in the premise not paying creative work Under, it is also possible to other accompanying drawing is obtained according to these accompanying drawings.
The system architecture diagram that Fig. 1 is suitable for by the embodiment of the present invention;
A kind of data processing method flow chart that Fig. 2 provides for the embodiment of the present invention one;
The sequence information interface schematic diagram that Fig. 3 provides for the embodiment of the present invention;
A kind of data processing method flow chart that Fig. 4 provides for the embodiment of the present invention two;
A kind of smart card architecture schematic diagram that Fig. 5 provides for the embodiment of the present invention three.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to this Bright it is described in further detail, it is clear that described embodiment is only a part of embodiment of the present invention, Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out all other embodiments obtained under creative work premise, broadly fall into the scope of protection of the invention.
As it is shown in figure 1, the system architecture diagram being suitable for by the embodiment of the present invention, including terminal 101, intelligence Card 102 and cloud server 103.
Terminal 101 can with wireless terminal or catv terminal, such as wireless terminal can be mobile terminal (such as Mobile phone, panel computer) or there is the PC (Personal Computer, PC) of radio function, Catv terminal can be the PC etc. communicated by wired mode.Smart card 102 can pass through wireless parties Formula interacts with terminal 101, the such as connection of use bluetooth, NFC (Near Field Communication, The short distance wireless communication technology) etc. wireless mode be attached with terminal 101, then carry out the mutual of information, Or interact with terminal 101 by the way of wired, such as use USB (Universal Serial Bus, USB (universal serial bus)) mode be attached with terminal 101, then carry out the mutual of information.Right In terminal 101 and the interactive mode of cloud server 103 can also be by wireless or wired by the way of enter Row communication, therefore, the present invention is for the communication mode of terminal 101 with smart card 102, and terminal 101 With the communication mode of cloud server 103, the most without restriction.In the embodiment of the present invention, terminal 101 and intelligence 102 can be blocked be attached, refer to the APP (Application, application program) in terminal 101 or It is that certain application (such as wechat public number) in terminal 101 is attached with smart card 102.
Smart card 102 may be used for card table and supplements with money, such as when card table is gas meter, flow meter, and smart card 102 It it is then the intelligent gas card for the gas meter, flow meter amount of being inflated;When card table is water meter, smart card 102 be then for The intelligent water card of filled water amount is carried out for water meter;When card table is ammeter, smart card 102 is then used to ammeter and enters The Intelligent electric card of row charge volume.
One terminal 101 can be bound with one or more smart cards 102, and a sheet smart card 101 can To bind with one or more terminals 101, i.e. there is the binding pass of multi-to-multi in terminal 101 and smart card 102 System.
Filling card mode based on what the embodiment of the present invention provided, user is embodied as the substantially flow process that card table carries out supplementing with money As follows: with card table as gas meter, flow meter, as a example by smart card is intelligent gas card, under user is carried out by terminal 101 Single operation, inputs tolerance to be bought, then submits the order request buying tolerance to cloud server 102 to, After success to be transacted, terminal 101 receives the sequence information that cloud server 103 sends, and at end End 101 shows, then terminal 101 and smart card 102 is attached (wired or wireless mode), User can carry out filling card operation in terminal 101, the tolerance of purchase is filled with smart card 102, by gas After amount is filled into smart card 102, smart card 102 is inserted in gas meter, flow meter, tolerance is filled into combustion gas Table.From the above-mentioned process being inflated for gas meter, flow meter it can be seen that user is directly the most permissible by terminal 101 Realize buying and filling the operation of card, it is not necessary to go to business hall and go to purchase gas, purchase water or power purchase, thus carry for user Supply great convenience.
It should be noted that in embodiments of the present invention, when terminal 101 wirelessly with smart card 102 When wirelessly communicating, can the most integrated wireless communication module, can be such as Bluetooth communication, NFC communication module etc..
Below in conjunction with the accompanying drawings embodiment of the present invention offer is filled X 2 method to be described in detail.Smart card is permissible Being intelligent gas card, intelligent water card, Intelligent electric card, what card table was corresponding is respectively gas meter, flow meter, water meter, ammeter, For convenience of describing, the embodiment of the present invention is follow-up all to be illustrated as a example by buying combustion gas, the smart card i.e. used Being intelligent gas card, card table is gas meter, flow meter.
A kind of data processing method schematic flow sheet that Fig. 2 provides for the embodiment of the present invention one.
Seeing Fig. 2, the method includes:
Step 201, the MCU of smart card are determining communication module and the terminal successful connection of described smart card After, receive the card information that fills of described terminal transmission, and the described card information that fills is write by the first data channel In the card chip of described smart card, described first data channel is between described MCU and described card chip Data channel, described in fill card information be by described terminal according to after placing an order successfully to cloud server order believe Breath generates;
Step 202, the card contact of described smart card detect with card table successful connection after, described card chip By the second data channel, the described card information that fills is write described card table, and described second data channel is described card Data channel between chip and described card contact.
The embodiment of the present invention is cooperated by terminal, smart card, cloud server and card table, and terminal is to cloud End server sends order request, after completing order, generates according to the sequence information in terminal and fills card information, It is sent to smart card, it is achieved card information write smart card (being charging intelligent card process) will be filled, then will Smart card is inserted in card table, it is achieved will fill card information and be written in card table (be card table and supplement process with money).
The detailed implementation process of the embodiment of the present invention it is respectively described: (1) is whole below as following components Hold and place an order to cloud server request;(2) terminal will fill card information write smart card;(3) smart card will fill Card information write card table.
Card process of filling below for above-mentioned three parts is specifically introduced.
(1) terminal places an order to cloud server request
Before above-mentioned steps 201, it is thus necessary to determine that terminal has been bound with smart card, terminal and smart card Bindings approximately as: go to business hall to go to apply for a sheet smart card firstly the need of user, and take beyond the clouds Storing the binding relationship of terminal iidentification and the mark of smart card in business device, such as terminal iidentification can be mobile phone Number etc., the mark of smart card can be intelligent card numbers, then by user in the application of terminal (such as APP Or wechat public number) in fill in binding application information, generate card bind request and be sent to cloud server, By cloud server, the binding application information in card bind request is verified, after being verified, the most in fact Show and bound smart card in the terminal.
After terminal with smart card binding success, user can realize carrying out to cloud server by terminal Line places an order, and user inputs the gas quantity of purchase in the terminal, and terminal can be according to the high in the clouds clothes got in real time Combustion gas unit price in business device, calculates total amount, is then based on gas quantity and the total amount generation order bought Request send to cloud server, wherein except comprising gas quantity to be bought in order request, total amount it Outward, the mark of smart card and the mark of terminal are the most also included, in order to cloud server is to this order request Carrying out safety certification, cloud server, after receiving order request, determines mark and the smart card of terminal Identify whether to meet binding relationship, specifically, server stores mark and the smart card of terminal beyond the clouds The binding relationship of mark, when cloud server determines that the mark of terminal meets binding with the mark of smart card and closes When being, then prompting user pays the bill, and after user-pay completes, then cloud server completes order, and Generating sequence information to send to terminal, sequence information is carried out storing and showing in the terminal, such as by terminal Terminal receives sequence information that cloud server sends as it is shown on figure 3, in sequence information after buying successfully In comprise intelligent card numbers, buy tolerance, Payment Methods, purchase the information such as gas time, order number, the most also may be used To comprise out of Memory, it is decided according to the actual requirements and specifically needs to show which kind of information.
(2) terminal will fill card information write smart card
Terminal is wanted to fill card information write smart card, it is necessary first to guarantee that terminal has connected into smart card Merit, in embodiments of the present invention, smart card is including at least with lower part: MCU (Microcontroller Unit, Micro-control unit), as long as realizing the Signalling exchange between control smart card and terminal;Communication module, Communicated by wired mode or wireless mode with terminal for realization, can be integrated in MCU or single Solely as a module;Card chip, is mainly used in storage and fills card information;Card contact, be mainly used in by with Card table carries out contact and realizes connecting.
Specifically, in above-mentioned steps 201, when MCU is after determining communication module and terminal successful connection, Receive that terminal sends fills card information, and will fill card information and write in card chip by the first data channel, its In, the first data channel is the data channel between MCU and card chip, fill card information be by terminal according to Sequence information after cloud server places an order successfully generates.
Thus, it is achieved that the card information (wherein comprising the tolerance of purchase) that fills in terminal is filled into smart card In, next need to realize being written in card table the card information that fills in smart card.
(3) smart card will fill card information write card table
The card information that fills in smart card is written in card table, the most at least following two mode:
Mode one, user insert the smartcard in gas meter, flow meter, smart card write by the card information that fills of storage In card table
Specifically, in above-mentioned steps 202, the card contact of smart card detect with card table successful connection after, Card chip will fill card information and write card table by the second data channel, and wherein, the second data channel is card chip And the data channel between described card contact.Card contact can be analogous to the chip of golden finger, is used for ensureing Smart card and the good connection of card table.
This mode is advantageous in that, after in the card chip of smart card, storage has and fills card information, as long as by intelligence Can be inserted in card table by card, can realize automatically being written to by the card information that fills in the card chip in smart card In card table, thus realize quickly supplementing with money for card table.
Mode two, initiated to fill card and operate by terminal, ability after smart card is inserted into gas meter, flow meter after being proved to be successful Gas quantity is filled into gas meter, flow meter by enough realization.
Specifically, can realize through the following steps:
Step 1: terminal sends checking request, the checking data in acquisition request smart card to smart card;
Checking data such as can include the information such as the mark of smart card, key.
Step 2: after smart card receives checking request, the checking Data Concurrent obtained in smart card gives end End;
Step 3: end-on receives checking data and verifies, sends second channel after being proved to be successful and beats Open order to smart card;Second data channel is for being write to card table by described second data channel by smart card Enter to fill card information;
Wherein the checking to checking data can be to be verified by terminal, more preferably, will be able to be tested by terminal Card data are sent to cloud server, cloud server verify, after being verified, transmission is tested Card success message is to terminal.
Step 4: the MCU in smart card is receiving after second channel opens order, opens the second data Passage;
MCU is receiving after second channel opens order, and now smart card is in and can fill table status, such as Show so that the display lamp of smart card becomes blueness, can fill to point out user's current smart cards to be in Table status.
Step 5: if the card contact in smart card detects and card table successful connection, then card chip will fill card letter Cease by described second data channel write card table;
User is by smart card after being inserted into card table, and smart card can detect whether and card table successful connection automatically, If smart card detection is to card table successful connection, then directly fill in smart card card information be written to card table (will gas Amount is filled into card table).
By above step, can realize being written to filling card information in smart card.Additionally, in above-mentioned steps After 5, alternatively, further comprising the steps of:
Step 6: card chip receives and store the card table number that described card table is sent by described second data channel According to;
Wherein, the current surplus of card table packet table on card, the data such as currently used total amount.
Step 7: card table data are sent to described MCU by card chip by the first data channel;
Step 8 is stated MCU and is sent card table data to terminal, so that card table data are sent extremely by described terminal Cloud server stores.
Mode two, compared to mode one, adds terminal and to the proof procedure of smart card and reads card table data Process, on the one hand ensure that and the tolerance in smart card will not be filled in gas meter, flow meter (i.e. because of maloperation Card information will be filled be written in gas meter, flow meter), on the other hand also ensure that safety, prevent illegal smart card pair Gas meter, flow meter carries out filling card operation, and also the current data of card table can be saved in cloud server, it is achieved The intercommunication of card table, smart card, terminal and cloud server, greatly facilitates user, also saves hardware Resource.
Additionally, in the above-mentioned methods, use to the first data channel and the second data channel, wherein, the One data channel is the data channel between MCU and card chip, and the second data channel is that card chip touches with card Data channel between point, in actual use, due to the first data channel and second in the embodiment of the present invention Data channel is that mutual exclusion uses, i.e. synchronization is only possible to use one of them data channel, therefore to Prevent the mistake use of passage, it is possible to use single-pole double-throw switch (SPDT) controls the same moment and can only use One of them data channel, therefore, alternatively, described smart card also includes single-pole double-throw switch (SPDT);Described general Described fill card information by first data channel write described smart card card chip before, also include: described MCU is connected with described MCU to open described first data channel by controlling described single-pole double-throw switch (SPDT);Institute State card chip to be write before described card table by the second data channel by the described card information that fills, also include: described MCU is connected with described card contact to open described second data channel by controlling described single-pole double-throw switch (SPDT).
The when of i.e. needing to use the first data channel, MCU opens first by controlling single-pole double-throw switch (SPDT) Data channel, now the second data channel is also naturally in closed mode;Similarly, is used when needs The when of two data channel, MCU opens the second data channel by controlling single-pole double-throw switch (SPDT), and now the One data channel is also naturally in closed mode.Thus, by using single-pole double-throw switch (SPDT), it is possible to reduce Error rate, it is ensured that the correct effective use in smart card ground.
The method that the embodiment of the present invention provides, the MCU of smart card is determining the communication module of described smart card After terminal successful connection, receive that described terminal sends fills card information, and by the described card information that fills by the One data channel writes in the card chip of described smart card, and described first data channel is described MCU and institute State the data channel between card chip, described in fill card information be to be placed an order according to cloud server by described terminal Sequence information after success generates;The card contact of described smart card detect with card table successful connection after, The described card information that fills is write described card table by the second data channel by described card chip, and described second data are led to Road is the data channel between described card chip and described card contact.The method by the MCU in smart card, Cooperating of communication module, card chip and card contact, it is achieved that card information will be filled and write by first passage Card chip, and card information write card table will be filled by second channel, it is achieved thereby that card information storage will be filled To smart card, it is not necessary to user to business hall can realize filling card process, and whole process is without specialty Card Reader The hardware resource supports such as equipment, have saved hardware resource.
Below in conjunction with instantiation, the flow process filling X 2 method in the embodiment of the present invention is introduced.
The schematic flow sheet of a kind of data processing method that Fig. 4 provides for the embodiment of the present invention two.Such as Fig. 4 institute Showing, the method includes:
Step 401, MCU are after determining communication module and terminal successful connection, and receive terminal transmission fills card Information;
Step 402, MCU are connected with MCU to open the first data channel by controlling single-pole double-throw switch (SPDT);
Step 403, MCU will fill card information and write in card chip by the first data channel, described first number Be the data channel between described MCU and described card chip according to passage, described in fill card information be by described end Hold according to the sequence information generation after placing an order successfully to cloud server;
After order opened by the second channel that step 404, MCU reception terminal sends, open the second data channel; Order opened by described second channel is the checking data verification success to obtaining from described smart card of the described terminal Rear transmission;Described second data channel is the data channel between described card chip and described card contact;
Step 405, card contact detect with card table successful connection after, card chip will fill card information by the Two data channel write card tables;
The card table data that step 406, card chip receive and storage card table is sent by the second data channel;
Card table data are sent to MCU by step 407, card chip by the first data channel;
Card table data are sent to terminal by step 408, MCU, so that card table data are sent to high in the clouds by terminal Server stores.
The method that the embodiment of the present invention provides, the MCU of smart card is determining the communication module of described smart card After terminal successful connection, receive that described terminal sends fills card information, and by the described card information that fills by the One data channel writes in the card chip of described smart card, and described first data channel is described MCU and institute State the data channel between card chip, described in fill card information be to be placed an order according to cloud server by described terminal Sequence information after success generates;The card contact of described smart card detect with card table successful connection after, The described card information that fills is write described card table by the second data channel by described card chip, and described second data are led to Road is the data channel between described card chip and described card contact.The method by the MCU in smart card, Cooperating of communication module, card chip and card contact, it is achieved that card information will be filled and write by first passage Card chip, and card information write card table will be filled by second channel, it is achieved thereby that card information storage will be filled To smart card, it is not necessary to user to business hall can realize filling card process, and whole process is without specialty Card Reader The hardware resource supports such as equipment, have saved hardware resource.
The structural representation of a kind of smart card that Fig. 5 provides for the embodiment of the present invention four, this smart card is used for holding Row said method flow process, including: MCU501, communication module 502, card chip 503 and card contact 504;
Described MCU501, for, after determining described communication module 502 and terminal successful connection, receiving institute State the card information that fills of terminal transmission, and the described card information that fills is write described card chip by the first data channel In 503, described first data channel is the data channel between described MCU501 and described card chip 503, The described card information that fills is to be generated according to the sequence information after placing an order successfully to cloud server by described terminal;
Described card chip 503, for described card contact 504 detect with card table successful connection after, by institute State fill card information by second data channel write described card table, described second data channel is described card chip Data channel between 503 and described card contact 504.
Alternatively, described MCU501 is additionally operable to: open order at the second channel receiving the transmission of described terminal After, open described second data channel;Order opened by described second channel is that described terminal is to from described intelligence Send after the checking data verification success that card obtains.
Alternatively, described smart card also includes single-pole double-throw switch (SPDT) 505;Described MCU501 is additionally operable to: logical Cross and control described single-pole double-throw switch (SPDT) 505 and be connected with described MCU501 and open described first data channel;With And it is connected with described card contact 504 that to open described second data logical by controlling described single-pole double-throw switch (SPDT) 505 Road.
Alternatively, described card chip 503 is additionally operable to: receive and store described card table by described second data The card table data that passage sends.
Alternatively, described card chip 503 is additionally operable to, by described first data channel by described card table data Send to described MCU501;
Described MCU501 is additionally operable to, and sends described card table data to described terminal, so that described terminal will Described card table data send extremely described cloud server and store.
The embodiment of the present invention, the MCU of smart card is connected with terminal at the communication module determining described smart card After success, receive the card information that fills of described terminal transmission, and by the described card information that fills by the first data channel Write in the card chip of described smart card, described first data channel be described MCU with described card chip it Between data channel, described in fill card information be according to ordering after placing an order successfully to cloud server by described terminal Single information generates;The card contact of described smart card detect with card table successful connection after, described the core of the card The described card information that fills is write described card table by the second data channel by sheet, and described second data channel is described Data channel between card chip and described card contact.The embodiment of the present invention by the MCU in smart card, Cooperating of communication module, card chip and card contact, it is achieved that card information will be filled and write by first passage Card chip, and card information write card table will be filled by second channel, it is achieved thereby that card information storage will be filled To smart card, it is not necessary to user to business hall can realize filling card process, and whole process is without specialty Card Reader The hardware resource supports such as equipment, have saved hardware resource.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a data processing method, it is characterised in that including:
The micro-control unit MCU of smart card is determining communication module and the terminal successful connection of described smart card After, receive the card information that fills of described terminal transmission, and the described card information that fills is write by the first data channel In the card chip of described smart card, described first data channel is between described MCU and described card chip Data channel, described in fill card information be by described terminal according to after placing an order successfully to cloud server order believe Breath generates;
The card contact of described smart card detect with card table successful connection after, described card chip fills card by described Information writes described card table by the second data channel, and described second data channel is that described card chip is with described Data channel between card contact.
2. the method for claim 1, it is characterised in that described card chip fills card information by described Before writing described card table by the second data channel, also include:
After order opened by the second channel that the described MCU described terminal of reception sends, open described second data Passage;Order opened by described second channel is the checking data verification to obtaining from described smart card of the described terminal Send after success.
3. the method for claim 1, it is characterised in that described smart card also includes single-pole double throw Switch;
Described by described fill the card chip that card information writes described smart card by the first data channel before, also Including:
By controlling described single-pole double-throw switch (SPDT), described MCU is connected with described MCU that to open described first several According to passage;
The described card information that fills is write before described card table by described card chip by the second data channel, also wraps Include:
By controlling described single-pole double-throw switch (SPDT), described MCU is connected with described card contact that to open described second several According to passage.
4. the method for claim 1, it is characterised in that described card chip fills card information by described After writing described card table by the second data channel, also include:
Described card chip receives and stores the card table data that described card table is sent by described second data channel.
5. method as claimed in claim 4, it is characterised in that card table number described in described card chip-stored According to afterwards, also include:
Described card table data are sent to described MCU by described card chip by described first data channel;
Described card table data are sent to described terminal by described MCU, so that described terminal is by described card table number Store according to sending extremely described cloud server.
6. a smart card, it is characterised in that described smart card includes micro-control unit MCU, communication mould Block, card chip and card contact;
Described MCU, for after determining described communication module and terminal successful connection, receives described terminal Send fills card information, and writes in described card chip by the described card information that fills by the first data channel, institute Stating the first data channel is the data channel between described MCU and described card chip, described in fill card information and be Generated according to the sequence information after placing an order successfully to cloud server by described terminal;
Described card chip, for described card contact detect with card table successful connection after, by described fill card believe Ceasing and write described card table by the second data channel, described second data channel is described card chip and described card Data channel between contact.
7. smart card as claimed in claim 6, it is characterised in that described MCU is additionally operable to:
After order opened by the second channel receiving the transmission of described terminal, open described second data channel;Institute State second channel and open after order is described terminal to the checking data verification success obtained from described smart card Send.
8. smart card as claimed in claim 6, it is characterised in that described smart card also includes that hilted broadsword is double Throw switch;Described MCU is additionally operable to:
It is connected with described MCU to open described first data channel by controlling described single-pole double-throw switch (SPDT);With And be connected with described card contact to open described second data channel by controlling described single-pole double-throw switch (SPDT).
9. smart card as claimed in claim 6, it is characterised in that described card chip, is additionally operable to: connect Receive and store the card table data that described card table is sent by described second data channel.
10. smart card as claimed in claim 9, it is characterised in that
Described card chip is additionally operable to, and is sent described card table data to described by described first data channel MCU;
Described MCU is additionally operable to, and sends described card table data to described terminal, so that described terminal is by institute State the transmission of card table data to store to described cloud server.
CN201610309623.6A 2016-05-11 2016-05-11 Data processing method and intelligent card Pending CN106022177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610309623.6A CN106022177A (en) 2016-05-11 2016-05-11 Data processing method and intelligent card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610309623.6A CN106022177A (en) 2016-05-11 2016-05-11 Data processing method and intelligent card

Publications (1)

Publication Number Publication Date
CN106022177A true CN106022177A (en) 2016-10-12

Family

ID=57099603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610309623.6A Pending CN106022177A (en) 2016-05-11 2016-05-11 Data processing method and intelligent card

Country Status (1)

Country Link
CN (1) CN106022177A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991346A (en) * 2017-04-18 2017-07-28 东信和平科技股份有限公司 The method and device of a kind of smart card issuing
CN107564186A (en) * 2017-08-08 2018-01-09 新智云数据服务有限公司 A kind of combustion gas fee payment method, apparatus and system
CN107833035A (en) * 2017-11-02 2018-03-23 成都前锋电子仪器有限责任公司 A kind of on-line payment method based on Bluetooth transmission
CN111464683A (en) * 2020-03-31 2020-07-28 南京理工大学 Smart phone shell that possesses traffic card function
CN112862480A (en) * 2021-01-25 2021-05-28 支付宝(杭州)信息技术有限公司 Traffic card processing method and device based on near field communication

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201340604Y (en) * 2009-01-13 2009-11-04 北京飞天诚信科技有限公司 Composite contact card reader
CN101661646A (en) * 2009-09-21 2010-03-03 中兴通讯股份有限公司 Method for charging in real time, mobile terminal and intelligent meter
US20100094734A1 (en) * 2008-10-09 2010-04-15 Huawei Technologies Co., Ltd. Method, communication apparatus and system for handling a recharge service
CN103810591A (en) * 2014-02-28 2014-05-21 国家电网公司 Power purchasing method for mobile phone and portable IC card reader thereof
CN103886459A (en) * 2014-03-18 2014-06-25 东莞市西奥计算机智能科技有限公司 Method and system for carrying out air recharge on RFID card electronic purse
CN103927820A (en) * 2013-01-11 2014-07-16 纳米新能源(唐山)有限责任公司 Payment system and method based on smart card
CN105405012A (en) * 2014-09-11 2016-03-16 苏州海博智能系统有限公司 Smart IC card and payment processing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100094734A1 (en) * 2008-10-09 2010-04-15 Huawei Technologies Co., Ltd. Method, communication apparatus and system for handling a recharge service
CN201340604Y (en) * 2009-01-13 2009-11-04 北京飞天诚信科技有限公司 Composite contact card reader
CN101661646A (en) * 2009-09-21 2010-03-03 中兴通讯股份有限公司 Method for charging in real time, mobile terminal and intelligent meter
CN103927820A (en) * 2013-01-11 2014-07-16 纳米新能源(唐山)有限责任公司 Payment system and method based on smart card
CN103810591A (en) * 2014-02-28 2014-05-21 国家电网公司 Power purchasing method for mobile phone and portable IC card reader thereof
CN103886459A (en) * 2014-03-18 2014-06-25 东莞市西奥计算机智能科技有限公司 Method and system for carrying out air recharge on RFID card electronic purse
CN105405012A (en) * 2014-09-11 2016-03-16 苏州海博智能系统有限公司 Smart IC card and payment processing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991346A (en) * 2017-04-18 2017-07-28 东信和平科技股份有限公司 The method and device of a kind of smart card issuing
CN107564186A (en) * 2017-08-08 2018-01-09 新智云数据服务有限公司 A kind of combustion gas fee payment method, apparatus and system
CN107833035A (en) * 2017-11-02 2018-03-23 成都前锋电子仪器有限责任公司 A kind of on-line payment method based on Bluetooth transmission
CN111464683A (en) * 2020-03-31 2020-07-28 南京理工大学 Smart phone shell that possesses traffic card function
CN112862480A (en) * 2021-01-25 2021-05-28 支付宝(杭州)信息技术有限公司 Traffic card processing method and device based on near field communication

Similar Documents

Publication Publication Date Title
CN106022177A (en) Data processing method and intelligent card
CN106022176A (en) Card recharging method, terminal, intelligent card, and card recharging system
CN104574530B (en) Method and system, mobile terminal and the OBU supplemented with money to OBU by mobile terminal
CN1904923B (en) Method for implementing space transference and apparatus thereof
CN103559756B9 (en) A kind of system and method utilizing NFC mobile phone to supplement with money to non-contact IC card
CN102810189B (en) A kind of NFC functional mobile phone near field pays and has confirmed the method for payment
CN103400460B (en) Mobile POS, the system and method for card business realizing
CN101499196B (en) Ammeter payment method, apparatus and system
CN204990313U (en) Disposition of equipment mandate device
CN104484943A (en) Intelligent bus card swiping method, card swiping device and user terminal
CN104537531A (en) Wearable equipment and data interaction method based on wearable equipment
CN103116939B (en) A kind of online charging system of radio-frequency card mobile phone and method
CN109359968A (en) A kind of method of payment, device, electronic equipment and payment label
CN205486276U (en) Intelligence IC -card metering device is long -range to supplement family expenses with money and writes to clamp and put
CN102568095B (en) Smart card recharging method and system and device utilizing same
CN106096925A (en) A kind of smart card, the recharge method of a kind of smart card and system
CN109240655A (en) A kind of implementation method of the middleware based on EMV, terminal device
CN105528655A (en) Ticket buying method and system
CN106060064B (en) A kind of public utilities instrument system and its management method
CN105185004A (en) POS machine, card service system and implementation method
CN102609840A (en) Multi-application mobile payment system
CN206209867U (en) Non-networked data processing equipment, non-networked data interaction system
CN106570709A (en) Transaction processing method and apparatus, and electronic equipment
CN106096954A (en) Non-networked data processing equipment, non-networked data interaction system and method
CN109409870A (en) A kind of safe payment method, device and user terminal

Legal Events

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

Application publication date: 20161012