A kind of smart card and state indication method thereof
Technical field
The present embodiments relate to communication technical field, particularly relate to a kind of smart card and state instruction side thereof
Method.
Background technology
IC-card (Integrated Circuit Card, integrated circuit card), also referred to as smart card (Smart card), intelligence
Intelligent card (Intelligent card), microcircuit card (Microcircuit card) or chip card etc..It is by one
Microelectronic chip embeds in the card base meeting ISO 7816 standard, makes card form.
Application in the public transport in city of the IC smart card, payment, gate control system is increasingly wider, but can only make
With the card of card issuer self, this results in citizen's daily life, trip need to possess multiple IC-card, such as
Mass transit card, water, electricity and gas card, access card, purchase card etc., cause user to safeguard.
There is a kind of multi-function intelligent card based on bluetooth communication at present, possess Bluetooth function, can carry out with mobile phone
Communication, carries out the read-write operation of card chip, meets ISO 1786 standard, may replace the merit of the IC-card of routine
Can, this Bluetooth intelligent card is capable of supplementing, save the operation maintenance of card issuer with money as user can buy voluntarily
Cost, compatible majority of logics encrypted card etc..
But multi-function intelligent card can relate to more state switching, such as shutdown, start, bluetooth connects, fills
Card, switch card, fill the switching between the states such as table, in the actual application scenarios of smart card, because of user without
The time of day of method visual perception smart card, causes user's error-prone when carrying out smart card operation, also
Be unfavorable for smart card dispatch from the factory before fault detect so that the operability of multi-function intelligent card is poor.
To sum up, prior art also exists the technical problem that the operability of smart card is poor.
Summary of the invention
The embodiment of the present invention provides a kind of smart card and state indication method thereof, deposits in order to solving in prior art
The poor technical problem of the operability of smart card.The embodiment of the present invention provides a kind of intelligent card state to refer to
Show method, including:
The first communication module of smart card receives the card that fills that terminal sends and asks, and fills card request be sent to described
The primary processor of described smart card;Wherein, that fills described in that card request includes the first table meter fills card information;
Described primary processor obtain described in fill card ask in the first table meter fill card information, by described first table meter
Fill card information write described smart card IC chip in, to described smart card display lamp send first control
Signal processed, wherein, described first control signal is used for controlling described display lamp and sends the first indication signal, institute
State the first indication signal for indicating the current operating state of described smart card for filling card success.
Further, described first communication module is bluetooth module;
Described smart card first communication module receive terminal send fill card ask before, described method is also
Including:
Described bluetooth module receives the Bluetooth connection request that described terminal sends, and wraps in described Bluetooth connection request
Include bluetooth connectivity verification information;
Described primary processor obtains the described Bluetooth connection request that described bluetooth module receives, and determines described indigo plant
When tooth connectivity verification information meets setting bluetooth condition of contact, set up bluetooth with described terminal and be connected, and to institute
The display lamp stating smart card sends the second control signal;Wherein, described second control signal is used for controlling described
Display lamp sends the second indication signal, and described second indication signal is for indicating the work at present of described smart card
State is that bluetooth connects.
Further, described first communication module is bluetooth module;
Described smart card first communication module receive terminal send fill card ask after, described method is also
Including:
What described bluetooth module received that described terminal sends fills table request, described in fill table request described for indicating
Primary processor triggers the IC chip of described smart card and enters table status to be filled;
The described primary processor described bluetooth module of acquisition fills table request described in receiving, please according to the described table that fills
The instruction asked, switches to table status to be filled by the state of the IC chip of described smart card;And to described intelligence
The display lamp of card sends the 3rd control signal;Wherein, described 3rd control signal is used for controlling described display lamp
Sending the 3rd indication signal, described 3rd indication signal for indicating the current operating state of described smart card is
Table status to be filled.
Further, described method also includes:
When the golden finger of described smart card contacts connection with described first table meter, described primary processor is by described
In the IC chip of smart card, the card information that fills of the described first table meter of storage is written to institute by described golden finger
State in the first table meter;
Receive described first table meter send when filling table feedback data, by described first table meter send fill
Table feedback data is stored in described IC chip, sends the 4th control signal to the display lamp of described smart card,
Wherein, described 4th control signal is used for controlling described display lamp and sends the 4th indication signal, and the described 4th refers to
Show that signal is for indicating the current operating state of described smart card for filling telogenesis merit.
Further, described smart card first communication module receive terminal send fill card ask before,
Also include:
Described first communication module receive described terminal send fill card object handover request, described in fill card object
Handover request includes that the first execution file, described first executable file are the DLL according to the first table meter
The firmware code of file and smart card generates;
Described primary processor obtains and fills card object handover request described in described first communication module reception, according to
Described fill card object handover request, the second execution file of storage in described IC chip is replaced with described the
One performs file, and sends the 5th control signal to the display lamp of described smart card;Wherein, described second hold
Style of writing part is that the firmware code of the dll file according to the second table meter and smart card generates, described 5th control
Signal processed is used for indicating described display lamp to send the 5th indication signal, and described 5th indication signal is used for indicating institute
State the current operating state of smart card for filling card object handover success.
Further, also include:
Described primary processor obtains the startup information of the button of described smart card, believes according to the startup of described button
Breath, determines the current operating state of described smart card;
When the current operating state determining described smart card is start or reset, described primary processor is to described
The display lamp of smart card sends the 6th control signal, and described 6th control signal is used for controlling described display lamp and refers to
Show that the current operating state of described smart card for start or resets;
When the current operating state determining described smart card is to shut down, described primary processor is to described smart card
Display lamp send the 7th control signal, it is described that described 7th control signal is used for controlling the instruction of described display lamp
The current operating state of smart card is shutdown.
The embodiment of the present invention provides a kind of smart card, including:
Display lamp, first communication module, primary processor, IC chip;
Described first communication module, the card that fills sent for receiving terminal is asked, and fills card request transmission by described
To described primary processor, described in fill that card request includes the first table meter fill card information;
Described primary processor, fills card information by filling described in obtaining in card request based on the first table, by described the
The card information that fills of one table meter writes in described IC chip, and sends the first control signal to described display lamp;
Described display lamp, for sending the first indication signal according to described first control signal, described first refers to
Show that signal is for indicating the current operating state of described smart card for filling card success.
Further, described first communication module is bluetooth module;
Described bluetooth module, is additionally operable to, before filling card request described in reception described terminal transmission, receive institute
Stating the Bluetooth connection request that terminal sends, described Bluetooth connection request includes bluetooth connectivity verification information;
Described primary processor, is additionally operable to obtain the described Bluetooth connection request that described bluetooth module receives, really
When described bluetooth connectivity verification information in fixed described BlueTooth request meets setting bluetooth condition of contact, with described
Terminal is set up bluetooth and is connected, and the display lamp to described smart card sends the second control signal;
Described display lamp, is additionally operable to send the second indication signal according to described second control signal, described second
Indication signal is that bluetooth connects for indicating the current operating state of described smart card.
Further, described first communication module is bluetooth module;
Described bluetooth module, is additionally operable to, after filling card request described in receiving described terminal and sending, receive institute
State terminal send fill table request, described in fill table ask for indicating described primary processor by described smart card
The current state of IC chip switches to table status to be filled;
Described primary processor, be additionally operable to obtain described bluetooth module receive described in fill table request, according to institute
State the instruction filling table request, the current state of the IC chip of described smart card is switched to table status to be filled;
And send the 3rd control signal to the display lamp of described smart card;
Described display lamp, is additionally operable to send the 5th indication signal according to described 3rd control signal, the described 3rd
Indication signal is table status to be filled for indicating the current operating state of described smart card.
Further, described smart card also includes golden finger;
Described primary processor, is additionally operable to the golden finger at described smart card and contacts connection with described first table meter
Time, the card information that fills of the described first table meter of storage in the IC chip of described smart card is passed through described gold hands
Refer to be written in described first table meter;
Described primary processor, the table that fills being additionally operable to receive described first table meter transmission at described golden finger feeds back
During data, the table feedback data of filling that described first table meter sends is stored in described IC chip, to described
The display lamp of smart card sends the 4th control signal;
Described display lamp, is additionally operable to send the 4th indication signal according to described 4th control signal, the described 4th
Indication signal is for indicating the current operating state of described smart card for filling telogenesis merit.
Further, described first communication module, be additionally operable to receive described terminal send described in fill card ask
Before asking, receive described terminal send described in fill card object handover request, described in fill card object handover request
Include that the first execution file, described first executable file are the dll file according to the first table meter and intelligence
The firmware code that can block generates;Described primary processor, is additionally operable to obtain what described first communication module received
Described fill card object handover request, fill card object handover request according to described, will store in described IC chip
Second execution file replace with described first perform file, and to described smart card display lamp send
5th control signal;Described second execution file is according to second dll file of table meter and consolidating of smart card
Part code building;
Described display lamp, is additionally operable to send the 5th indication signal according to described 5th control signal, the described 5th
Indication signal is for indicating the current operating state of described smart card for filling card object handover success.
Further, described primary processor, it is additionally operable to obtain the startup information of the button of described smart card, root
According to the startup information of described button, determine the current operating state of described smart card;Determining described smart card
Current operating state for start or reset time, to described smart card display lamp send the 6th control signal;;
When the current operating state determining described smart card is to shut down, send the 7th to the display lamp of described smart card
Control signal;
Described display lamp, is additionally operable to indicate the work at present shape of described smart card according to described 6th control signal
State is for start or resets;And the current operating state of described smart card is indicated according to described 7th control signal
For shutdown.
In above-described embodiment, smart card includes display lamp, primary processor, first communication module and IC chip,
Make the first communication module of smart card, carry out between IC chip and primary processor data interaction produce new
During intelligent card state, as filled card success status, primary processor can be according to the current state of smart card, by referring to
Show that lamp carrys out the duty that indicating intelligent card is current.Such as, terminal is received when the first communication module of smart card
Send when filling card request, the primary processor of smart card obtain fill the first table meter during card is asked fill card information,
By in the IC chip filling card information write smart card of the first table meter, the primary processor of smart card is to smart card
Display lamp send the first control signal, the first control signal controls display lamp and sends the first indication signal, the
The current operating state of one indication signal indicating intelligent card is for filling card success.The said method of the present invention passes through
Display lamp is increased so that user intuitively can be felt by the indication signal that display lamp sends on the interface of smart card
Know the current state of smart card, produce instruction user and perform next operation according to the state that display lamp indicates, make
Obtain and there is between smart card and user more preferable man-machine interaction effect, decrease user to smart card operation process
In error rate, so substantially increasing the operability of smart card.
Accompanying drawing explanation
The flow chart of a kind of intelligent card state indicating means that Fig. 1 provides for the embodiment of the present invention;
The internal hardware integrated morphology schematic diagram of a kind of Bluetooth intelligent card that Fig. 2 a provides for the embodiment of the present invention;
The outward appearance interfacial structure schematic diagram of a kind of Bluetooth intelligent card that Fig. 2 b provides for the embodiment of the present invention;
A kind of intelligent card state indicating means flow chart that Fig. 3 to Fig. 8 provides for the embodiment of the present invention;
The internal hardware integrated morphology signal of a kind of smart card that Fig. 9 to Figure 10 provides for the embodiment of the present invention
Figure.
Detailed description of the invention
In order to solve the technical problem that the operability of smart card is poor present in prior art, the present invention is real
Executing example and provide a kind of smart card and intelligent card state indicating means, the smart card of the embodiment of the present invention includes instruction
Lamp, primary processor, first communication module and IC chip so that the first communication module of smart card, IC core
Data interaction is carried out when producing new intelligent card state between sheet and primary processor, as filled card success status,
Primary processor can carry out, by display lamp, the work shape that indicating intelligent card is current according to the current state of smart card
State.By increasing display lamp on the interface of smart card so that the instruction that user can be sent by display lamp
The current state of signal visual perception smart card, produces under indicating user to perform according to the state that display lamp indicates
One operation so that there is between smart card and user more preferable man-machine interaction effect, decrease user to intelligence
Error rate in card operating process, so substantially increasing the operability of smart card.Below in conjunction with concrete real
Execute example to illustrate.
Embodiment one
Embodiments provide a kind of intelligent card state indicating means as shown in Figure 1, idiographic flow bag
Include:
Step 101, the first communication module of smart card receives the card that fills of terminal transmission and asks, will fill card request
It is sent to the primary processor of smart card;Wherein, that fills that card request includes the first table meter fills card information;
Step 102, the primary processor of smart card obtain fill the first table meter during card is asked fill card information, by the
In the IC chip filling card information write smart card of one table meter;
Step 103, the primary processor of smart card sends the first control signal to the display lamp of smart card, wherein,
First control signal is used for controlling display lamp and sends the first indication signal, and the first indication signal is used for indicating intelligent
The current operating state of card is for filling card success.
Preferably, above-mentioned smart card is Bluetooth intelligent card.Such as, as shown in Figure 2 a, said method flow process
In Bluetooth intelligent card include: display lamp, button, primary processor, first communication module, second communication mould
Block, golden finger, IC chip and battery.Wherein, first communication module is bluetooth module, second communication module
For NFC module;Primary processor is connected with bluetooth module, display lamp, button, IC chip, battery, IC
Chip is also connected with golden finger, and battery is connected with NFC module, and NFC module is connected with IC chip.Blue
Tooth module also includes Bluetooth antenna, for carrying out Bluetooth communication with terminal, is responsible for sending data to terminal and connecing
Receive the data that terminal sends, be also responsible for carrying out the modulation and demodulation of data.IC chip be used for storing smart card with
Data mutual between table meter.The battery of above-mentioned Bluetooth intelligent card is slimline battery, can pass through NFC module
NFC radio wave charging.
Above-mentioned Bluetooth intelligent card is provided simultaneously with contact and contactless communication interface, but in the embodiment of the present invention
Bluetooth intelligent card IC chip and table meter between communication modes be not limited to simultaneously by contact and non-
Contact communication interface, it is also possible to be single contact communication interface or individually contactless communication connect
Mouthful.
The outward appearance interfacial structure of Bluetooth intelligent card as shown in Figure 2 b, the button of above-mentioned Bluetooth intelligent card is one
Individual, the display lamp of above-mentioned Bluetooth intelligent card is two, and one is the redness for sending HONGGUANG indication signal
LED (hereinafter referred to as red light), another be for send blue light indication signal blue led lamp (with
The blue lamp of lower abbreviation).
The application system of above-mentioned Bluetooth intelligent card, including terminal, Bluetooth intelligent card and cloud server, terminal
Can be mobile terminal, such as mobile phone, panel computer etc.;Terminal is by the application of the Bluetooth intelligent card on mobile phone
APP docks with cloud server, can realize terminal and be submitted to as blue-tooth intelligence to cloud server by APP
Card carries out the order supplemented with money, and cloud server is that the order that this terminal is submitted to carries out auditing, confirms and payment etc.
Operation.Supplementing with money for the treatment of that terminal submits to is after order server beyond the clouds comes into force and complete to pay, and terminal is passed through
APP sends the card request of filling in said method flow process, instruction blue-tooth intelligence to the bluetooth module of Bluetooth intelligent card
Block and the card information that fills of the first table meter filled in card request is written in IC chip.
In said method flow process, it is the most raw according to cloud server for filling the card information that fills of the first table meter in card request
Effect sequence information generate, can include the card number of smart card, the first table meter mark (such as gas meter, flow meter
Unique number), the identification number of IC chip, terminal iidentification number, table meter supplement quantity with money (if smart card is as combustion
The gas quantity of purchase during gas card), Payment Methods, the time that places an order, order number, the information such as dealing money.
In said method process step 103, the primary processor of smart card determines the first table meter is filled card information
After in the IC chip of write smart card, when the display lamp of smart card sends the first control signal, also may be used
To fill card success message by bluetooth module to terminal transmission.So APP of terminal receives this and fills card success
After message, on the APP interface of terminal, card success is filled in display, even if so display lamp breaks down,
User also can fill card success by checking that terminal APP determines.
Above-mentioned Bluetooth intelligent card has one card for multiple uses function, can be as intelligent gas card, intelligent water card, intelligence
Can use by electricity card.
Said method flow process is the smart card indicating means flow process filling card success status during filling card.Refer to
Show that the first control signal that lamp receives can control display lamp and send the first indication signal, the first indication signal
Can be that red light replaces 1s periodic flicker with blue lamp.The first finger that display lamp user is sent by display lamp
Show that the current state of signal visual perception smart card, for filling card success status, produces instruction user according to display lamp
The state of instruction performs next operation, as filled table handling so that have more preferable people between smart card and user
Machine interaction effect, decreases user to the error rate during smart card operation, so substantially increasing intelligence
The operability of card.
Embodiment two
The embodiment of the present invention additionally provides and carried out bluetooth before filling card between terminal with Bluetooth intelligent card and be connected
Time state indication method flow process, i.e. smart card first communication module receive terminal send fill card ask
Before, as it is shown on figure 3, method also includes:
Step 301, the bluetooth module of smart card receives the Bluetooth connection request that terminal sends, to smart card
Primary processor sends Bluetooth connection request, and Bluetooth connection request includes bluetooth connectivity verification information;
Step 302, the primary processor of smart card obtains the Bluetooth connection request that bluetooth module receives, determines
When bluetooth connectivity verification information meets setting bluetooth condition of contact, set up bluetooth with terminal and be connected;
Step 303, the primary processor of smart card sends the second control signal to the display lamp of smart card;Wherein,
Second control signal is used for controlling display lamp and sends the second indication signal, and the second indication signal is used for indicating intelligent
The current operating state of card is that bluetooth connects.
In step 303, the second control signal that display lamp receives can control display lamp and send the second instruction
Signal, the second indication signal can be blue lamp flicker.The second indication signal that user is sent by display lamp is straight
Perception knows that the current state of smart card is that bluetooth connects, produces the state that instruction user indicates according to display lamp
Perform next operation, as carried out filling card operation so that have more preferable man-machine interaction between smart card and user
Effect, decreases user to the error rate during smart card operation, so substantially increase smart card can
Operability.
The Bluetooth connection process of the bluetooth card given a concrete illustration below in explanation said method flow process:
Step one: user opens mobile phone bluetooth function, opens the on and off switch of Bluetooth intelligent card;
Step 2: Bluetooth intelligent card passes through AES, becomes encryption data after self C1 data encryption
C3, and the C3 data after encryption are gone out by the Bluetooth antenna broadcast transmission of bluetooth module.
Step 3: mobile phone A PP acquires the broadcast data C3 of Bluetooth intelligent card by Bluetooth function,
Step 4: APP, according to data C3, obtains C1 data by programmed algorithm decoding.
Step 5: input the Quick Response Code on blue-tooth intelligence card number, or scanning Bluetooth intelligent card in APP,
The C2 data of Bluetooth intelligent card can be obtained.
Step 6: APP, by splicing [C1:C2] data, after AES, is verified code
C。
Identifying code C is carried in Bluetooth connection request by step 7: APP, initiates bluetooth to Bluetooth intelligent card
Connection request.
Step 8: Bluetooth intelligent card receives the identifying code C in Bluetooth connection request, within blocking with self
Identifying code C compares,
Step 9: after Bluetooth intelligent card comparison success, determine that setting up bluetooth with terminal is connected, now bluetooth intelligence
The second control signal can be sent to the display lamp of smart card by card, make the display lamp indicating intelligent card of Bluetooth intelligent card
Current operating state be that bluetooth connects.
In said method flow process 303, the primary processor of smart card sends the second control to the display lamp of smart card
Signal makes the current operating state of the display lamp indicating intelligent card of Bluetooth intelligent card be that bluetooth connects, meanwhile,
Bluetooth successful connection message can also be sent to terminal by bluetooth module.So APP of terminal receives this
After filling card success message, the APP interface of terminal shows that bluetooth connects, even if so display lamp
Breaking down, user also can be by checking that terminal determines bluetooth successful connection.
What deserves to be explained is, after the bluetooth module of terminal and smart card sets up bluetooth successful connection, also include:
Terminal sends request to bluetooth module, and to obtain the card number of smart card and No. UUID, bluetooth module is by intelligence
After the card number of card and No. UUID are sent to terminal, the card number of smart card and No. UUID are sent to by terminal
Cloud server is verified, after cloud server confirms, sends the confirmation message that can fill card to terminal.This
Time terminal can to smart card initiate fill card request, indicating intelligent card will fill card information write smart card IC core
In sheet, so may insure that the safety filling card operation.
Embodiment three
The embodiment of the present invention additionally provide smart card fill card success after, confirm smart card be ready to carry out
Filling the method flow of the indicating means of the table status to be filled of table handling, as shown in Figure 4, concrete grammar flow process is:
Step 401, the bluetooth module of smart card receives the table that fills of terminal transmission and asks, to the main place of smart card
Reason device sends and fills table request, fills table request and treats for indicating the IC chip of primary processor triggering smart card to enter
Fill table status;
Step 402, what the primary processor acquisition bluetooth module of smart card received fills table request, according to filling table
The instruction of request, switches to table status to be filled by the state of the IC chip of smart card;
Step 403, the primary processor of smart card sends the 3rd control signal to the display lamp of smart card;Wherein,
3rd control signal is used for controlling display lamp and sends the 3rd indication signal, and the 3rd indication signal is used for indicating intelligent
The current operating state of card is table status to be filled.
In step 403, the 3rd control signal that display lamp receives can control display lamp and send the 3rd instruction
Signal, the 3rd indication signal is red light and blue lamp alternating cyclical flicker, as red light and blue lamp replace 1 second week
Phase property flashes, and alt time can also be changed to 2 seconds, the most not do concrete restriction.User is by instruction
The current state of the 3rd indication signal visual perception smart card that lamp sends is table status to be filled, and produces instruction and uses
Family performs next operation according to the state that display lamp indicates, if user is by the golden finger of smart card and the first table meter
Carry out contact and connect (can be regarded as being inserted by smart card in the first table meter), (fill table to carry out filling table handling
Operation refer to by smartcard IC chip write fill that card information is written to smart card fill in card object, as
First table meter) so that there is between smart card and user more preferable man-machine interaction effect, decrease user couple
Error rate during smart card operation, so substantially increasing the operability of smart card.
What deserves to be explained is, in said method flow process 403, the primary processor of smart card is to the instruction of smart card
Lamp transmission the 3rd control signal makes the current operating state of the display lamp indicating intelligent card of Bluetooth intelligent card for treating
Fill table status, at the same time it can also be send smart card by bluetooth module to terminal to be in table status to be filled really
Recognize message.So APP of terminal receives after this fills card success message, aobvious on the APP interface of terminal
Showing that smart card is in table status to be filled, even if so display lamp breaks down, user also can be by checking terminal
Determine that smart card is in table status to be filled.
Embodiment four
The embodiment of the present invention additionally provides after smart card is in table status to be filled, and terminal APP triggers fills table
The method flow of the indicating means filling table completion status of process, as it is shown in figure 5, concrete grammar flow process is:
Step 501, when golden finger and the contact connection of the first table meter of smart card, the primary processor of smart card
The card information that fills of the first table meter of storage in the IC chip of smart card is written to the first table meter by golden finger
In;
Step 502, the primary processor of smart card receive first table meter send when filling table feedback data,
The table feedback data of filling that first table meter sends is stored in IC chip;
Step 503, the primary processor of smart card is to display lamp transmission the 4th control signal of smart card, wherein,
4th control signal is used for controlling display lamp and sends the 4th indication signal, and the 4th indication signal is used for indicating intelligent
The current operating state of card is for filling telogenesis merit.
In step 502, fill table feedback data and refer to that the first table meter carries out filling the first table meter of feedback after table
Current state, the such as first table meter is gas meter, flow meter, fill table feedback data can include gas meter, flow meter be filled with tolerance it
After available gas quantity and accumulative gas consumption.In step 503, the 4th control letter that display lamp receives
Number can control display lamp sends the 4th indication signal, and the 4th indication signal is red light and blue lamp alternating cyclical
Flicker, as red light and blue lamp replace 1 second periodic flicker, alt time can also be changed to 2 seconds, herein
Do not do concrete restriction.The 4th indication signal visual perception smart card that user is sent by display lamp current
State, for filling telogenesis merit, produces instruction user and performs next operation according to the state that display lamp indicates, as filled card
The switching of object so that there is between smart card and user more preferable man-machine interaction effect, decrease user couple
Error rate during smart card operation, so substantially increasing the operability of smart card.
What deserves to be explained is, in said method flow process 503, the primary processor of smart card is to the instruction of smart card
Lamp transmission the 4th control signal makes the current operating state of the display lamp indicating intelligent card of Bluetooth intelligent card for filling
Telogenesis merit, at the same time it can also be fill table success message by bluetooth module to terminal transmission.So terminal
APP receives after this fills card success message, and on the APP interface of terminal, telogenesis merit is filled in display, is so
Just display lamp breaks down, and user also can fill telogenesis merit by checking that terminal determines.
The Bluetooth intelligent card of the embodiment of the present invention has one card for multiple uses function, can be as intelligent gas card, intelligence
Can water card, the use of Intelligent electric card.Therefore there will be smart card fills the application scenarios that card object switches over,
Such as, smart card first communication module receive terminal send fill card ask before, carry out filling card object
The operation of the first table meter is switched to by the second table meter.If the first table meter is gas meter, flow meter, the second table meter is water meter,
After smart card being filled as water card in card information write water meter, if continuing as gas meter, flow meter when supplementing with money, need
The card object that fills of smart card is switched to the first table meter by the second table meter.
Embodiment five
Based on above-mentioned application scenarios, the embodiment of the present invention additionally provide smart card carry out filling the switching of card object time
Wait, fill card object switching state the method flow of indicating means, as shown in Figure 6, concrete grammar flow process
For:
Step 601, the first communication module of smart card, i.e. bluetooth module, it is right that what reception terminal sent fills card
As handover request, the first communication module of smart card fills the switching of card object to the primary processor transmission of smart card please
Asking, fill card object handover request and include the first execution file, the first executable file is according to the first table meter
Dll file and smart card firmware code generate;
Step 602, the primary processor of smart card obtain first communication module receive fill card object handover request,
According to filling card object handover request, the second execution file of storage in IC chip is replaced with first and performs literary composition
Part;Wherein, second the firmware code life that file is the dll file according to the second table meter and smart card is performed
Become,
Step 603, the primary processor of smart card sends the 5th control signal to the display lamp of smart card;Wherein,
5th control signal is used for indicating display lamp to send the 5th indication signal, and the 5th indication signal is used for indicating intelligent
The current operating state of card is for filling card object handover success.
In step 602, the second executable file replaces with the first executable file so that smart card fill card
Object is switched to the first table meter by the second table meter, it is achieved the card switching of smart card, as switched to combustion gas by water card
Card.
In step 603, the 5th control signal that display lamp receives can control display lamp and send the 5th instruction
Signal, the 5th indication signal is red light and blue lamp alternating cyclical flicker, as red light and blue lamp replace 1 second week
Phase property flashes, and alt time can also be changed to 2 seconds, the most not do concrete restriction.User is by instruction
The current state of the 5th indication signal visual perception smart card that lamp sends, for filling card object handover success, produces
Instruction user performs next operation according to the state that display lamp indicates, as carried out filling card operation so that smart card
And there is between user more preferable man-machine interaction effect, decrease user to makeing mistakes during smart card operation
Rate, so substantially increasing the operability of smart card.
What deserves to be explained is, in said method flow process 603, the primary processor of smart card is to the instruction of smart card
Lamp transmission the 5th control signal makes the current operating state of the display lamp indicating intelligent card of Bluetooth intelligent card for filling
Card object handover success, disappears at the same time it can also be fill card object handover success by bluetooth module to terminal transmission
Breath.So APP of terminal receives after this fills card success message, shows and fill on the APP interface of terminal
Card object handover success (or showing the prompting filling card immediately), even if so display lamp breaks down, uses
Card object handover success also can be filled by checking that terminal determines in family.
Embodiment six
The Independent keys of the Bluetooth intelligent card of the embodiment of the present invention and display lamp can be additionally used in smart card start,
The startup of the states such as shutdown, reset.Below with the start of smart card, shut down, the instruction side of the state such as reset
Illustrate as a example by method flow process.As it is shown in fig. 7, be specially
Step 701, the primary processor of smart card obtains the startup information of the button of smart card, according to button
Startup information, determines the current operating state of smart card;
Step 702, the primary processor of smart card or resets for start at the current operating state determining smart card
Time, primary processor sends the 6th control signal to the display lamp of smart card, and the 6th control signal refers to for control
Show that the current operating state of lamp indicating intelligent card for start or resets;
Step 703, the primary processor of smart card is when the current operating state determining smart card is to shut down, main
Processor sends the 7th control signal to the display lamp of smart card, and the 7th control signal is used for controlling display lamp and refers to
Show that the current operating state of smart card is for shutting down.
Wherein, in step 701, the startup information of the button of smart card includes the startup time, according to button
Startup information, determines the current operating state of smart card, specifically includes:
If described button is activated first, and the startup time of described button is very first time length (such as 1 second),
The current operating state determining described smart card is open state;
If described button is activated under described smart card open state, and the startup time of described button is
One time span (such as 1 second), determines that the current operating state of described smart card is reset state;
If the startup time of described button is that the second time span (is pressed as long under described smart card open state
3 seconds), determine that the current operating state of described smart card is off-mode.
In step 702, the 6th control signal that display lamp receives can control display lamp and send the 6th instruction
Signal, the second indication signal can be blinking red lamp.The 6th indication signal that user is sent by display lamp is straight
Perception knows that the current state of smart card for start or resets, and produces the shape that instruction user indicates according to display lamp
State performs next operation, as carried out bluetooth attended operation so that have more preferable people between smart card and user
Machine interaction effect, decreases user to the error rate during smart card operation, so substantially increasing intelligence
The operability of card.
In step 703, the 7th control signal that display lamp receives can control display lamp and send the 7th instruction
Signal, the 7th indication signal can be red light and blue lamp closedown.The 7th instruction that user is sent by display lamp
The current state of signal visual perception smart card is shutdown.
To sum up, smart card includes display lamp, button, primary processor, first communication module and IC chip,
Make the first communication module of smart card, carry out between IC chip and primary processor data interaction produce new
During intelligent card state, as filled card success status, primary processor can be according to the current state of smart card, by referring to
Show that lamp carrys out the duty that indicating intelligent card is current.The said method of the present invention is by the interface of smart card
Increase display lamp and button so that the indication signal visual perception smart card that user can be sent by display lamp
Current state, produce instruction user according to the state that display lamp indicate perform next operate so that smart card
And there is between user more preferable man-machine interaction effect, decrease user to makeing mistakes during smart card operation
Rate, so substantially increasing the operability of smart card.
For said method flow process, the embodiment of the present invention also provides for a kind of smart card, these smart cards concrete
Content is referred to said method and implements, and does not repeats them here.
Embodiment seven
A kind of smart card of embodiment of the present invention offer, as shown in Figure 8, including:
Display lamp, first communication module, primary processor, IC chip, display lamp can be 2, it is also possible to
For multiple, it is not construed as limiting herein;
First communication module, the card that fills sent for receiving terminal is asked, and will fill card request and be sent to main process
Device, that fills that card request includes the first table meter fills card information;
Primary processor, fills card information by obtaining to fill during card is asked based on the first table, and the first table meter is filled card
In information write IC chip, and send the first control signal to display lamp;
Display lamp, for sending the first indication signal according to the first control signal, the first indication signal is used for referring to
Show that the current operating state of smart card is for filling card success.
Further, first communication module is bluetooth module;
Bluetooth module, be additionally operable to receive terminal send fill card request before, receive terminal transmission bluetooth
Connection request, Bluetooth connection request includes bluetooth connectivity verification information;
Primary processor, is additionally operable to obtain the Bluetooth connection request that bluetooth module receives, determines in BlueTooth request
Bluetooth connectivity verification information meet set bluetooth condition of contact time, set up bluetooth with terminal and be connected, to intelligence
The display lamp of card sends the second control signal;
Display lamp, is additionally operable to send the second indication signal according to the second control signal, and the second indication signal is used for
The current operating state of indicating intelligent card is that bluetooth connects.
Further, first communication module is bluetooth module;
Bluetooth module, be additionally operable to receive terminal send fill card request after, receive terminal transmission fill table
Request, fills table request and waits to fill for indicating primary processor the current state of the IC chip of smart card to be switched to
Table status;
Primary processor, be additionally operable to obtain bluetooth module receive fill table request, according to fill table request instruction,
The current state of the IC chip of smart card is switched to table status to be filled;And send to the display lamp of smart card
3rd control signal;
Display lamp, is additionally operable to send the 5th indication signal according to the 3rd control signal, and the 3rd indication signal is used for
The current operating state of indicating intelligent card is table status to be filled.
Further, smart card also includes golden finger, as shown in Figure 9;
Primary processor, is additionally operable to golden finger and the first table meter at smart card and contacts when connecting, by smart card
In IC chip, the card information that fills of the first table meter of storage is written in the first table meter by golden finger;
Primary processor, be additionally operable to golden finger receive that the first table meter sends when filling table feedback data, by the
The table feedback data of filling that one table meter sends is stored in IC chip, sends the 4th control to the display lamp of smart card
Signal processed;
Display lamp, is additionally operable to send the 4th indication signal according to the 4th control signal, and the 4th indication signal is used for
The current operating state of indicating intelligent card is for filling telogenesis merit.
Further, the first communication module, be additionally operable to receive terminal send fill card request before, reception
What terminal sent fills card object handover request, fills card object handover request and includes the first execution file, and first
Executable file is that the firmware code of the dll file according to the first table meter and smart card generates;Main process
Device, is additionally operable to obtain that the first communication module receives fills card object handover request, please according to filling the switching of card object
Ask, the second execution file of storage in IC chip is replaced with the first execution file, and to the finger of smart card
Show that lamp sends the 5th control signal;Second execution file is the dll file according to the second table meter and smart card
Firmware code generate;
Display lamp, is additionally operable to send the 5th indication signal according to the 5th control signal, and the 5th indication signal is used for
The current operating state of indicating intelligent card is for filling card object handover success.
Further, smart card also includes button, as shown in Figure 10;
Primary processor, is additionally operable to obtain the startup information of the button of smart card, according to the startup information of button,
Determine the current operating state of smart card;When the current operating state determining smart card is start or reset,
The 6th control signal is sent to the display lamp of smart card;It is shutdown at the current operating state determining smart card
Time, send the 7th control signal to the display lamp of smart card;
Display lamp, being additionally operable to the current operating state according to the 6th control signal indicating intelligent card is start or multiple
Position;And be shutdown according to the current operating state of the 7th control signal indicating intelligent card.
In above-described embodiment, smart card includes display lamp, primary processor, first communication module and IC chip,
Make the first communication module of smart card, carry out between IC chip and primary processor data interaction produce new
During intelligent card state, as filled card success status, primary processor can be according to the current state of smart card, by referring to
Show that lamp carrys out the duty that indicating intelligent card is current.Such as, terminal is received when the first communication module of smart card
Send when filling card request, the primary processor of smart card obtain fill the first table meter during card is asked fill card information,
By in the IC chip filling card information write smart card of the first table meter, the primary processor of smart card is to smart card
Display lamp send the first control signal, the first control signal controls display lamp and sends the first indication signal, the
The current operating state of one indication signal indicating intelligent card is for filling card success.The said method of the present invention passes through
Display lamp is increased so that user intuitively can be felt by the indication signal that display lamp sends on the interface of smart card
Know the current state of smart card, produce instruction user and perform next operation according to the state that display lamp indicates, make
Obtain and there is between smart card and user more preferable man-machine interaction effect, decrease user to smart card operation process
In error rate, so substantially increasing the operability of smart card.
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.