CN106230821B - A kind of recognition methods and equipment of smart card - Google Patents
A kind of recognition methods and equipment of smart card Download PDFInfo
- Publication number
- CN106230821B CN106230821B CN201610621551.9A CN201610621551A CN106230821B CN 106230821 B CN106230821 B CN 106230821B CN 201610621551 A CN201610621551 A CN 201610621551A CN 106230821 B CN106230821 B CN 106230821B
- Authority
- CN
- China
- Prior art keywords
- smart card
- information
- terminal device
- account information
- identification information
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0407—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden
- H04L63/0414—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden during transmission, i.e. party's identity is protected against eavesdropping, e.g. by using temporary identifiers, but is known to the other party or parties involved in the communication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/34—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
- G06Q20/349—Rechargeable cards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0853—Network architectures or network communication protocols for network security for authentication of entities using an additional device, e.g. smartcard, SIM or a different communication terminal
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Accounting & Taxation (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Abstract
The invention discloses a kind of recognition methods of smart card and equipment, terminal device obtains smart card information, and the smart card information includes the identification information of smart card and the account information of encrypted smart card;Terminal device searches clear crytpographic key corresponding with the identification information of smart card according to the identification information of smart card in password database;According to the clear crytpographic key, the account information of encrypted smart card is decrypted;Smart card is identified according to decrypted result.Terminal device obtains smart card information, and the account information for the encrypted smart card for including in smart card information is decrypted, whether the account information according to decrypted result identification intelligent card is legal, in this way, before terminal device supplements operation with money to smart card execution, smart card is identified, and when the account information for determining smart card is legal, operation is supplemented with money to smart card execution, can effectively improve the safety of account information in smart card.
Description
Technical field
The present invention relates to the recognition methods and equipment of information security field more particularly to a kind of smart card.
Background technique
Electronic toll collection (Electronic Toll Collection, ETC) is to apply to lead in intelligent transportation
A kind of electronic charging mode in domain.The vehicle of ETC mobile unit is installed when passing through charge station, not needing parking can lead to
It crosses ETC mobile unit and realizes vehicle identification, information write-in (charge station's entrance), and the ETC bound in advance from ETC mobile unit
The expense (charge station outlet) of the corresponding amount of money is deducted in card.User supplements with money in advance in ETC card, does not just have to when passing through charge station
Artificial payment not parking can pass through, and improve efficiency of the vehicle by charge station.
ETC card is supplemented with money in general, user can supplement website with money by the ETC card under line.But in practical application
In, since the ETC card under line supplements the easy limitation by the business hours of website with money, so that the card top-up station point passed through under line carries out
Supplement with money to supplement efficiency with money relatively low.As the quantity for the user for using ETC card is more and more, the mode supplemented with money under this line is more next
Be not able to satisfy user more supplements demand with money.
In the prior art, as Internet technology develops, by with near-field communication (Near Field
Communication, NFC) function terminal device to smart card supplemented with money to supplement client with money more and more, such as: it is right
What bus card was supplemented with money supplements client with money.But due to it is existing supplement client with money smart card supplemented with money when, lack pair
The safety certification of account information in smart card leads to occur the safety winds such as data tampering, eavesdropping, transaction denial during supplementing with money
Danger.ETC card is one kind of smart card, and therefore, supplement with money to ETC card in using terminal equipment is can also have security risk.
It can be seen that needing a kind of recognition methods of smart card, ETC card was supplemented with money in using terminal equipment for solving
There are problems that security risk in journey.
Summary of the invention
In view of this, the embodiment of the present invention provides the recognition methods and equipment of a kind of smart card, for solving using eventually
There is security risk during supplementing with money to ETC card in end equipment.
The embodiment of the present invention provides a kind of recognition methods of smart card, comprising:
Terminal device obtains smart card information, and the smart card information includes the identification information of smart card and encrypted
The account information of smart card;
Identification information of the terminal device according to the smart card, the password database stored from the terminal device
Middle to search clear crytpographic key corresponding with the identification information of the smart card, the password database is terminal described in server authorization
Equipment;
The terminal device is decrypted the account information of the encrypted smart card according to the clear crytpographic key;
And the smart card is identified according to decrypted result.
The embodiment of the present invention also provides a kind of identification equipment of smart card, comprising:
Acquiring unit, for obtaining smart card information, the smart card information includes the identification information of smart card and adds
The account information of smart card after close;
Searching unit, for the identification information according to the smart card, the code data stored from the terminal device
Clear crytpographic key corresponding with the identification information of the smart card is searched in library, the password database is whole described in server authorization
End equipment;
Decryption unit, for according to the clear crytpographic key, the account information of the encrypted smart card to be decrypted;
Recognition unit, for being identified according to decrypted result to the smart card.
The embodiment of the present invention has the beneficial effect that:
The recognition methods of smart card provided in an embodiment of the present invention, terminal device obtain smart card information, the smart card
Information includes the identification information of smart card and the account information of encrypted smart card;The terminal device is according to the intelligence
The identification information of card is searched corresponding with the identification information of the smart card from the password database stored in the terminal device
Clear crytpographic key, the password database is terminal device described in server authorization;The terminal device is according to the decryption
The account information of the encrypted smart card is decrypted in password;And the smart card is known according to decrypted result
Not.Terminal device obtains smart card information, and carries out to the account information for the encrypted smart card for including in smart card information
Decryption, whether the account information according to decrypted result identification intelligent card is legal, in this way, supplementing with money in terminal device to smart card execution
Before operation, smart card is identified, and when the account information for determining smart card is legal, behaviour is supplemented with money to smart card execution
Make, can effectively improve the safety of account information in smart card.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of flow diagram of the recognition methods of smart card provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of the recognition methods of smart card provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of the recognition methods of smart card provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the identification equipment of smart card provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of recognition methods of smart card, terminal device obtains smart card information, the intelligence
Energy card information includes the identification information of smart card and the account information of encrypted smart card;The terminal device is according to
The identification information of smart card searches the identification information with the smart card from the password database stored in the terminal device
Corresponding clear crytpographic key, the password database are terminal device described in server authorization;The terminal device is according to
The account information of the encrypted smart card is decrypted in clear crytpographic key;And the intelligence is sticked into according to decrypted result
Row identification.
Terminal device obtains smart card information, and to the account information for the encrypted smart card for including in smart card information
It is decrypted, whether the account information according to decrypted result identification intelligent card is legal, in this way, executing in terminal device to smart card
Before supplementing operation with money, smart card is identified, and when the account information for determining smart card is legal, smart card execution is supplemented with money
Operation, can effectively improve the safety of account information in smart card.
It should be noted that in embodiments of the present invention, the terminal device can be the electricity of the plate with NFC function
Brain can be the smart phone with NFC function, be also possible to other terminal devices with NFC, not do specific limit here
It is fixed.
In embodiments of the present invention, the smart card can be ETC card, be also possible to bus card, can also be that other can
With the smart card carried out data transmission with the terminal device by NFC function, also it is not specifically limited here.
Technical solution provided in an embodiment of the present invention, terminal device obtain smart card information, and to wrapping in smart card information
Whether the account information of the encrypted smart card contained is decrypted, closed according to the account information of decrypted result identification intelligent card
Method, in this way, being identified to smart card, and determining smart card before terminal device supplements operation with money to smart card execution
When account information is legal, operation is supplemented with money to smart card execution, can effectively improve the safety of account information in smart card.
The present invention is described in further detail with reference to the accompanying drawing, it is clear that described embodiment is only this hair
Bright a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having
All other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Embodiment 1
Fig. 1 is a kind of flow diagram of the recognition methods of smart card provided in an embodiment of the present invention, and the method can be with
As follows.
Step 101: terminal device obtains smart card information.
Wherein, the smart card information includes the identification information of smart card and the account information of encrypted smart card.
What can be supplemented with money to smart card in user's using terminal equipment supplements application program (Application, APP) with money
Smart card is carried out to supplement operation with money, firstly, the APP that supplements with money passes through terminal device acquisition smart card information.
Preferably, the smart card information is acquired by way of near-field communication by the terminal device.
Specifically, when user's using terminal equipment supplements smart card with money, supplementing with money in the terminal device is opened
APP will need the smart card supplemented with money close to the terminal device, and the APP that supplements with money is obtained by the NFC function of the terminal device
The smart card information is taken, the smart card information got includes the identification information and encrypted smart card of smart card
Account information.
Assuming that the APP that supplements with money passes through the NFC function of the terminal device, the direct available account to the smart card
Family information, and then the account information of the smart card is written and read, it will cause some potential safety problems.Such as: user
After the ETC card that first is lost is found by user's second, user's second passes through smart phone by supplementing APP with money in oneself smart phone
NFC function is directly obtained the account information of the ETC card, and then carries out data tampering to the account information of the ETC card, steals
Listen equal read-write operations, it will certain loss is caused to user's first.
Therefore, in order to ensure the safety of the account information of smart card, the NFC for supplementing APP with money and passing through the terminal device
What function was got is the account information of the encrypted smart card.
The terminal device is decrypted by the account information to encrypted smart card, with the account letter to smart card
The legitimacy of breath is verified, can be when using terminal equipment carries out supplementing equal read-write operations with money to the smart card, it is ensured that institute
State the safety of the account information of smart card.
It should be noted that the APP that supplements with money can carry out remaining sum to smart card by the NFC function of the terminal device
Inquiry, Transaction Inquiries supplement the/read-write operations such as load with money.
Step 102: for the terminal device according to the identification information of the smart card, what is stored from the terminal device is close
Clear crytpographic key corresponding with the identification information of the smart card is searched in code database.
Wherein, the password database is terminal device described in server authorization.
In a step 102, according to the identification information for the smart card for including in the smart card information got, Ke Yi
Clear crytpographic key corresponding with the identification information of the smart card is searched in the password database stored in the terminal device, into
And the terminal device can be encrypted to include in the smart card information according to the clear crytpographic key found
The account information of smart card is decrypted.
In another embodiment of the invention, server can be obtained in the following manner license to the terminal device
Password database, comprising:
The terminal device sends the acquisition request of password database to server, includes the end in the acquisition request
The identification information of end equipment;
The terminal device receives the password database that server is sent, and includes different intelligent card in the password database
Identification information and clear crytpographic key corresponding with the identification information of different intelligent card, the password database is the server
It is sent after being passed through according to the identification information of the terminal device to the authentication of the terminal device;
The terminal device runs the password database received.
It should be noted that above-mentioned server refers to the corresponding server of smart card, for ease of description, hereafter will be described
The corresponding server of smart card is referred to as server.
What the terminal device was got is the account information of encrypted smart card, in order to ensure the end can be used
End equipment carries out supplement with money Deng read-write operations to smart card, and the terminal device needs to obtain by server authorization can be to encryption
The password database that the account information of smart card afterwards is decrypted.
The terminal device sends the acquisition request of password database to server, includes the end in the acquisition request
The identification information of end equipment.
The server receives the acquisition request, according to the mark for the terminal device for including in the acquisition request
Information verifies the identity of the terminal device, and after being verified, the server can be to encrypted smart card
The password database that is decrypted of account information be sent to the terminal device.
The terminal device receives and runs the password database, can be to the account of the encrypted smart card got
Family information is decrypted, and obtains the account information of smart card, and then carry out supplement with money Deng read-write operations to smart card.
Specifically, it is supplemented with money firstly, being installed in the terminal device and can carry out supplementing with money equal read-write operations to smart card
APP, user supplement filling registration information in APP with money described.
Due to it is described supplement with money APP by the NFC function of the terminal device get be encrypted smart card account
Family information, in order to carry out supplement with money Deng read-write operations to the smart card, needing to obtain can be to encrypted smart card
The password database that account information is decrypted.
The terminal device sends the acquisition request of password database to server, includes the use in the acquisition request
The registration information that family is filled in, identification information of the registration information that the user fills in as the terminal device.
Secondly, the server receives the acquisition request that the terminal device is sent, include according in the acquisition request
The identification information of the terminal device identity of the terminal device is verified.
After the server passes through the authentication of the terminal device, by the identification information storage of the terminal device
In the server, also, the password database that the account information of encrypted smart card is decrypted can will be sent
To the terminal device.
Finally, the terminal device runs the password database received, include difference in the password database
The identification information of smart card and clear crytpographic key corresponding with the identification information of the different intelligent card.
The terminal device can be corresponding according to the identification information for the different intelligent card for including in the password database
Clear crytpographic key, to the encrypted account for supplementing the different intelligent card that APP is got by the NFC function of the terminal device with money
Family information is decrypted, and obtains the account information of different intelligent card, in turn, can carry out the reading such as supplementing with money to the different intelligent card
Write operation.
In another embodiment of the invention, the server can determine the password database in the following manner,
Include:
Firstly, the server obtains the identification information for the smart card that user handles when user handles smart card;
Secondly, identification information of the server according to the smart card, generates the identification information pair with the smart card
The Crypted password and clear crytpographic key answered.
The Crypted password obtains encrypted smart card for the account information of the smart card to be encrypted
Account information, and the account information of the encrypted smart card is stored in the smart card, it is ensured that the smart card
Account information will not be ravesdropping, distort.
The clear crytpographic key obtains the account of smart card for the account information of the encrypted smart card to be decrypted
Family information, and then supplement with money Deng read-write operations are carried out to the smart card.
Finally, the server is by the identification information of the smart card and corresponding with the identification information of the smart card
Clear crytpographic key is stored in the password database of the server.
The identification information of different intelligent card and clear crytpographic key corresponding with the identification information of the different intelligent card are common
Constitute the password database.
Specifically, by taking ETC card as an example, user handles site in ETC card and carries out when handling of ETC card, and Xiang Suoshu ETC card is done
Reason site provides handles data accordingly.
The ETC card provided according to user handles data, and the staff that the ETC card handles site is the use
Handle ETC card in family.
Server obtains the identification information of the ETC card.
The server generates encryption corresponding with the identification information of the ETC card according to the identification information of the ETC card
Password and clear crytpographic key.
It is encrypted according to account information of the Crypted password to the ETC card, obtains encrypted ETC card
Account information, and the account information of the encrypted ETC card is stored in the ETC card.
The clear crytpographic key is for being decrypted the account information of the encrypted ETC card.
The server is close by the identification information of the ETC card and decryption corresponding with the identification information of the ETC card
Code is stored in the password database in the server.
Step 103: the terminal device according to the clear crytpographic key, to the account information of the encrypted smart card into
Row decryption;And identification is carried out to the smart card according to decrypted result.
In step 103, described to supplement NFC function acquisition smart card information of the APP by the terminal device, the end with money
For end equipment according to the identification information for the smart card for including in the smart card information, what is stored in the terminal device is close
In code database, clear crytpographic key corresponding with the identification information of the smart card is searched.
According to the clear crytpographic key, to the account information for the encrypted smart card for including in the smart card information
It is decrypted, in turn, identification is carried out to the smart card according to decrypted result.
The terminal device is according to the identification information of the smart card for including in the smart card information got, described
Find clear crytpographic key corresponding with the identification information of the smart card in the password database stored in terminal device, and according to
Operation is decrypted to the account information for the encrypted smart card for including in the smart card information in the clear crytpographic key.
The decryption oprerations include two kinds of decrypted results:
Decrypted result one:
The clear crytpographic key corresponding with the identification information of smart card according to finding, can be to the encrypted intelligence
The account information that can block is decrypted, and successful decryption obtains the account information of the smart card.
Decrypted result two:
The clear crytpographic key corresponding with the identification information of smart card according to finding, cannot be to the encrypted intelligence
The account information that can block is decrypted, and is unable to get the account information of the smart card, decryption failure.
According to described two decrypted results, identification can be carried out to the smart card.
Preferably, the smart card is identified according to decrypted result, comprising:
It is in the decrypted result being decrypted using account information of the clear crytpographic key to the encrypted smart card
When the account information of the smart card, determine that the account information of the smart card is legal;
It is in the decrypted result being decrypted using account information of the clear crytpographic key to the encrypted smart card
When not obtaining the account information of the smart card, can not determine whether the account information of the smart card is legal.
In another embodiment of the invention, the method also includes:
The terminal device generates and shows confirmation message when the account information for determining the smart card is legal, described
Confirmation message supplements operation with money to smart card execution for prompting.
Before using terminal equipment carries out supplementing operation with money to smart card, APP is supplemented with money described in the terminal device
The NFC function of terminal device obtains the smart card information, and the smart card information includes the identification information of smart card and adds
The account information of smart card after close.
By clear crytpographic key corresponding with the identification information of the smart card, the account of the encrypted smart card is believed
Breath is decrypted, to verify the legitimacy of the account information of the smart card.
When decryption was tied to obtain the account information of the smart card, determine that the account information of the smart card is legal
, in turn, the terminal device generates and shows confirmation message.
After the terminal device generates and shows the confirmation message, the terminal device can be to the smart card
It is supplemented with money.
The recognition methods of smart card provided in an embodiment of the present invention, terminal device obtain smart card information, the smart card
Information includes the identification information of smart card and the account information of encrypted smart card;The terminal device is according to the intelligence
The identification information of card is searched corresponding with the identification information of the smart card from the password database stored in the terminal device
Clear crytpographic key, the password database is terminal device described in server authorization;The terminal device is according to the decryption
The account information of the encrypted smart card is decrypted in password;And the smart card is known according to decrypted result
Not.Terminal device obtains smart card information, and carries out to the account information for the encrypted smart card for including in smart card information
Decryption, whether the account information according to decrypted result identification intelligent card is legal, in this way, supplementing with money in terminal device to smart card execution
Before operation, smart card is identified, and when the account information for determining smart card is legal, behaviour is supplemented with money to smart card execution
Make, can effectively improve the safety of account information in smart card.
Embodiment 2
Fig. 2 is a kind of schematic diagram of the recognition methods of smart card provided in an embodiment of the present invention.
As can be seen that terminal device B acquires the smart card information of smart card A by way of near-field communication in Fig. 2,
After reading obtains smart card information, terminal device B is according to the password database authorized from server C, to smart card A's
Smart card information is identified determine whether the account information for the smart card for including in the smart card information of smart card A is legal,
After determining whether the account information of smart card A is legal, corresponding operating is executed to smart card A.
Embodiment 3
Fig. 3 is a kind of flow diagram of the recognition methods of smart card provided in an embodiment of the present invention.
Step 301: terminal device sends the acquisition request of password database to server, includes institute in the acquisition request
State the identification information of terminal device.
Step 302: the server receives the acquisition request, and according to the terminal for including in the acquisition request
The identification information of equipment verifies the identity of the terminal device.
Step 303: after the server passes through the authentication of the terminal device, Xiang Suoshu terminal device sends close
Code database.
Wherein, the identification information in the password database comprising different intelligent card and the mark letter with different intelligent card
Corresponding clear crytpographic key is ceased, the clear crytpographic key is for being decrypted the account information of encrypted smart card.
Step 304: the terminal device runs the password database received.
Step 305: the terminal device acquires smart card information by near-field communication modes.
Wherein, the account of the identification information in the smart card information comprising smart card and encrypted smart card letter
Breath.
Step 306: the terminal device according to the identification information of the smart card, searched from password database with it is described
The corresponding clear crytpographic key of the identification information of smart card.
Step 307: the terminal device according to the clear crytpographic key, to the account information of the encrypted smart card into
Row decryption;And the smart card is identified according to decrypted result.
If the terminal device determines that the account information of the smart card is legal, confirmation message, institute are generated and shown
Confirmation message is stated for prompting the terminal device to supplement operation with money to smart card execution.
Embodiment 4
Fig. 4 is a kind of structural schematic diagram of the identification equipment of smart card provided in an embodiment of the present invention, the smart card
Identify that equipment includes: acquiring unit 401, searching unit 402, decryption unit 403, recognition unit 404, in which:
Acquiring unit 401, for obtaining smart card information, the smart card information include smart card identification information and
The account information of encrypted smart card;
Searching unit 402, for the identification information according to the smart card, the password number that is stored from the terminal device
According to clear crytpographic key corresponding with the identification information of the smart card is searched in library, the password database is described in server authorization
Terminal device;
Decryption unit 403, for being solved to the account information of the encrypted smart card according to the clear crytpographic key
It is close;
Recognition unit 404, for being identified according to decrypted result to the smart card.
In another embodiment of the invention, the recognition unit 404 knows the smart card according to decrypted result
Not, comprising:
It is in the decrypted result being decrypted using account information of the clear crytpographic key to the encrypted smart card
When the account information of the smart card, determine that the account information of the smart card is legal;
It is in the decrypted result being decrypted using account information of the clear crytpographic key to the encrypted smart card
When not obtaining the account information of the smart card, can not determine whether the account information of the smart card is legal.
In another embodiment of the invention, the identification equipment of the smart card further include:
Display unit 405 is generated, for generating and showing confirmation letter when the account information for determining the smart card is legal
Breath, the confirmation message supplement operation with money to smart card execution for prompting.
In another embodiment of the invention, the smart card information passes through near-field communication side by the acquiring unit 401
Formula acquires.
In another embodiment of the invention, server is obtained in the following manner license to the described of the terminal device
Password database, comprising:
The terminal device sends the acquisition request of password database to server, includes the end in the acquisition request
The identification information of end equipment;
The terminal device receives the password database that server is sent, and includes different intelligent card in the password database
Identification information and clear crytpographic key corresponding with the identification information of different intelligent card, the password database is the server
It is sent after being passed through according to the identification information of the terminal device to the authentication of the terminal device;
The terminal device runs the password database received.
The identification equipment of smart card provided in an embodiment of the present invention, the acquiring unit obtain smart card information, the intelligence
Energy card information includes the identification information of smart card and the account information of encrypted smart card;The searching unit is according to
The identification information of smart card searches the identification information with the smart card in the password database stored in the terminal device
Corresponding clear crytpographic key, the password database are terminal device described in server authorization;The decryption unit is according to
The account information of the encrypted smart card is decrypted in clear crytpographic key;The recognition unit is according to decrypted result to institute
Smart card is stated to be identified.Terminal device obtains smart card information, and to the encrypted smart card for including in smart card information
Account information be decrypted, whether the account information according to decrypted result identification intelligent card legal, in this way, in terminal device pair
Before operation is supplemented in smart card execution with money, smart card is identified, and when the account information for determining smart card is legal, to intelligence
Card executes and supplements operation with money, can effectively improve the safety of account information in smart card.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, apparatus (equipment) or computer
Program product.Therefore, in terms of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and hardware
Embodiment form.Moreover, it wherein includes the meter of computer usable program code that the present invention, which can be used in one or more,
The computer journey implemented in calculation machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of sequence product.
The present invention be referring to according to the method for the embodiment of the present invention, the flow chart of device (equipment) and computer program product
And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions
And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to
Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate
One machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing
The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from model of the invention by those skilled in the art
It encloses.In this way, if these modifications and changes of the present invention is within the scope of the claims of the present invention and its equivalent technology, then
The present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of recognition methods of smart card characterized by comprising
Terminal device obtains smart card information, identification information of the smart card information comprising smart card and encrypted intelligence
The account information of card;
The terminal device is looked into from the password database stored in the terminal device according to the identification information of the smart card
Clear crytpographic key corresponding with the identification information of the smart card is looked for, the password database is terminal device described in server authorization
's;
The terminal device is decrypted the account information of the encrypted smart card according to the clear crytpographic key;And root
The smart card is identified according to decrypted result;Wherein,
Server determines the password database in the following manner, comprising:
Firstly, the server obtains the identification information for the smart card that user handles when user handles smart card;
Secondly, identification information of the server according to the smart card, generates corresponding with the identification information of the smart card
Crypted password and clear crytpographic key;
The Crypted password obtains the account of encrypted smart card for the account information of the smart card to be encrypted
Family information, and the account information of the encrypted smart card is stored in the smart card;
The clear crytpographic key obtains the account letter of smart card for the account information of the encrypted smart card to be decrypted
Breath, and then the smart card is written and read;
Finally, the server is by the identification information of the smart card and decryption corresponding with the identification information of the smart card
Password storage is in the password database of the server.
2. the recognition methods of smart card as described in claim 1, which is characterized in that the terminal device is according to decrypted result pair
The smart card is identified, comprising:
It is described in the decrypted result being decrypted using account information of the clear crytpographic key to the encrypted smart card
When the account information of smart card, determine that the account information of the smart card is legal;
It is not have in the decrypted result being decrypted using account information of the clear crytpographic key to the encrypted smart card
When obtaining the account information of the smart card, can not determine whether the account information of the smart card is legal.
3. the recognition methods of smart card as claimed in claim 2, which is characterized in that the method also includes:
The terminal device generates and shows confirmation message, the confirmation when the account information for determining the smart card is legal
Information supplements operation with money to smart card execution for prompting.
4. the recognition methods of smart card as claimed in claim 3, which is characterized in that the smart card information is set by the terminal
It is standby to be acquired by way of near-field communication.
5. the recognition methods of smart card as described in claim 1, which is characterized in that obtain server authorization in the following manner
To the password database of the terminal device, comprising:
The terminal device sends the acquisition request of password database to server, sets in the acquisition request comprising the terminal
Standby identification information;
The terminal device receives the password database that server is sent, and includes the mark of different intelligent card in the password database
Know information and clear crytpographic key corresponding with the identification information of different intelligent card, the password database are the servers in root
It is sent after passing through according to the identification information of the terminal device to the authentication of the terminal device;
The terminal device runs the password database received.
6. a kind of identification equipment of smart card characterized by comprising
Acquiring unit, for obtaining smart card information, the smart card information include smart card identification information and encryption after
Smart card account information;
Searching unit, for the identification information according to the smart card, from the password database stored in the terminal device
Clear crytpographic key corresponding with the identification information of the smart card is searched, the password database is that terminal described in server authorization is set
Standby;
Decryption unit, for according to the clear crytpographic key, the account information of the encrypted smart card to be decrypted;
Recognition unit, for being identified according to decrypted result to the smart card;
Wherein,
Server determines the password database in the following manner, comprising:
Firstly, the server obtains the identification information for the smart card that user handles when user handles smart card;
Secondly, identification information of the server according to the smart card, generates corresponding with the identification information of the smart card
Crypted password and clear crytpographic key;
The Crypted password obtains the account of encrypted smart card for the account information of the smart card to be encrypted
Family information, and the account information of the encrypted smart card is stored in the smart card;
The clear crytpographic key obtains the account letter of smart card for the account information of the encrypted smart card to be decrypted
Breath, and then the smart card is written and read;
Finally, the server is by the identification information of the smart card and decryption corresponding with the identification information of the smart card
Password storage is in the password database of the server.
7. the identification equipment of smart card as claimed in claim 6, which is characterized in that the recognition unit is according to decrypted result pair
The smart card is identified, comprising:
It is described in the decrypted result being decrypted using account information of the clear crytpographic key to the encrypted smart card
When the account information of smart card, determine that the account information of the smart card is legal;
It is not have in the decrypted result being decrypted using account information of the clear crytpographic key to the encrypted smart card
When obtaining the account information of the smart card, can not determine whether the account information of the smart card is legal.
8. the identification equipment of smart card as claimed in claim 7, which is characterized in that the identification equipment of the smart card is also wrapped
It includes:
Display unit is generated, it is described for generating and showing confirmation message when the account information for determining the smart card is legal
Confirmation message supplements operation with money to smart card execution for prompting.
9. the equipment of smartcard identification as claimed in claim 8, which is characterized in that the smart card information is single by the acquisition
Member is acquired by way of near-field communication.
10. the identification equipment of smart card as claimed in claim 6, which is characterized in that obtain server in the following manner and award
It weighs to the password database of the terminal device, comprising:
The terminal device sends the acquisition request of password database to server, sets in the acquisition request comprising the terminal
Standby identification information;
The terminal device receives the password database that server is sent, and includes the mark of different intelligent card in the password database
Know information and clear crytpographic key corresponding with the identification information of different intelligent card, the password database are the servers in root
It is sent after passing through according to the identification information of the terminal device to the authentication of the terminal device;
The terminal device runs the password database received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610621551.9A CN106230821B (en) | 2016-08-01 | 2016-08-01 | A kind of recognition methods and equipment of smart card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610621551.9A CN106230821B (en) | 2016-08-01 | 2016-08-01 | A kind of recognition methods and equipment of smart card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106230821A CN106230821A (en) | 2016-12-14 |
CN106230821B true CN106230821B (en) | 2019-07-23 |
Family
ID=57535724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610621551.9A Active CN106230821B (en) | 2016-08-01 | 2016-08-01 | A kind of recognition methods and equipment of smart card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106230821B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108122106A (en) * | 2017-12-21 | 2018-06-05 | 温州索易软件开发有限公司 | A kind of inquiry system of member card charging information |
CN111125723A (en) * | 2018-10-31 | 2020-05-08 | 成都鼎桥通信技术有限公司 | Encryption card identification method, device, equipment and storage medium |
CN112735064A (en) * | 2021-02-01 | 2021-04-30 | 甘肃紫光智能交通与控制技术有限公司 | ETC self-service recharging method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102867157A (en) * | 2012-09-11 | 2013-01-09 | 东莞宇龙通信科技有限公司 | Mobile terminal and data protecting method |
CN104881779A (en) * | 2015-06-17 | 2015-09-02 | 恒宝股份有限公司 | Device, system, and method for mobile convergence payment |
CN104915829A (en) * | 2015-05-06 | 2015-09-16 | 北京奇虎科技有限公司 | Application interaction method and application interaction device based on NFC technology |
CN105260886A (en) * | 2014-05-28 | 2016-01-20 | 中兴通讯股份有限公司 | Payment processing method and device, NFC (Near Field Communication) portable terminal and wearable terminal |
CN105654294A (en) * | 2015-06-19 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | Safety authentication method, apparatus and mobile terminal thereof |
CN105653998A (en) * | 2015-06-24 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | Identity card information reading method and apparatus thereof, and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150262052A1 (en) * | 2014-03-14 | 2015-09-17 | Ebay Inc. | Omni smart card |
-
2016
- 2016-08-01 CN CN201610621551.9A patent/CN106230821B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102867157A (en) * | 2012-09-11 | 2013-01-09 | 东莞宇龙通信科技有限公司 | Mobile terminal and data protecting method |
CN105260886A (en) * | 2014-05-28 | 2016-01-20 | 中兴通讯股份有限公司 | Payment processing method and device, NFC (Near Field Communication) portable terminal and wearable terminal |
CN104915829A (en) * | 2015-05-06 | 2015-09-16 | 北京奇虎科技有限公司 | Application interaction method and application interaction device based on NFC technology |
CN104881779A (en) * | 2015-06-17 | 2015-09-02 | 恒宝股份有限公司 | Device, system, and method for mobile convergence payment |
CN105654294A (en) * | 2015-06-19 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | Safety authentication method, apparatus and mobile terminal thereof |
CN105653998A (en) * | 2015-06-24 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | Identity card information reading method and apparatus thereof, and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106230821A (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102044748B1 (en) | System for providing blockchain electronic wallet capable of managing authentication information and storing personal information | |
KR101409754B1 (en) | System for payment of off-line transaction, method thereof and apparatus thereof | |
CN105991287B (en) | A kind of generation of signed data and finger print identifying requesting method and device | |
CN105337928B (en) | Method for identifying ID, safety protection problem generation method and device | |
CN104915829B (en) | Exchange method and device are applied based on NFC technique | |
CN108418795A (en) | Data access method, device, system and the computer-readable medium of transregional piece of chain | |
EP3017580B1 (en) | Signatures for near field communications | |
CN109359601A (en) | Authentication recognition methods, electronic device and computer readable storage medium | |
CN110932859B (en) | User information processing method, device and equipment and readable storage medium | |
CN108305058B (en) | Auxiliary expense settlement method and device based on Internet of things and terminal node | |
CN106462853A (en) | Card settlement terminal and card settlement system | |
US20160189138A1 (en) | Alternative account identifier | |
CN108122112A (en) | Electronic ID card based on authentication device signs and issues certification and safety payment system | |
CN102238193A (en) | Data authentication method and system using same | |
CN109359968A (en) | A kind of method of payment, device, electronic equipment and payment label | |
CN106230821B (en) | A kind of recognition methods and equipment of smart card | |
US20130061051A1 (en) | Method for authenticating electronic transaction, server, and terminal | |
CN110401542A (en) | Electronic identity voucher generation method, terminal and server | |
CN103152174A (en) | Data processing method, device and parking lot management system applied to parking lot | |
CN110769410B (en) | Method, application module, system and terminal for activating a vehicle-mounted unit device | |
CN106033571A (en) | Trading method of electronic signature devices, electronic signature devices and trading system | |
CN109214807A (en) | Method, apparatus, computer equipment and the storage medium of management contribution information | |
CN109118377A (en) | A kind of processing method, system and the electronic equipment of the Claims Resolution event based on block chain | |
CN109379360A (en) | Auditing method, electronic device and computer readable storage medium | |
CN106296183A (en) | The off-line charging method of a kind of smart card and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |