CN106230822B - 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
- CN106230822B CN106230822B CN201610621614.0A CN201610621614A CN106230822B CN 106230822 B CN106230822 B CN 106230822B CN 201610621614 A CN201610621614 A CN 201610621614A CN 106230822 B CN106230822 B CN 106230822B
- Authority
- CN
- China
- Prior art keywords
- smart card
- information
- account information
- identification
- card
- 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
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000012790 confirmation Methods 0.000 claims description 14
- 238000004891 communication Methods 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 3
- 230000010365 information processing Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000012986 modification Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
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)
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of recognition methods of smart card and equipment, comprising: the smart card information that receiving terminal apparatus is sent;According to the identification information of the smart card, clear crytpographic key corresponding with the identification information is searched from password database;The account information in the encrypted smart card is decrypted using the clear crytpographic key, and the smart card is identified according to decrypted result;Recognition result is sent to the terminal device.The smart card information that server receiving terminal equipment is sent, and the account information in 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 executes write operation to smart card, server identifies smart card, and when the account information for determining smart card is legal, allow terminal device to execute write operation to smart card, can effectively improve the safety of account information in smart card.
Description
Technical Field
The invention relates to the field of information security, in particular to a method and equipment for identifying a smart card.
Background
ETC (Electronic Toll Collection, Chinese name) card is a smart card and can be applied to an Electronic Toll Collection system. Specifically, the vehicle is when passing through the toll station, and electronic toll collection system can use mobile unit to carry out automatic identification to the vehicle, behind the discernment vehicle, deducts the toll that the vehicle need be paid from the ETC card that binds with the vehicle automatically for the vehicle can be under the prerequisite that does not need to stop, fast through the toll station. Because the ETC card can improve the passing efficiency of vehicles at toll stations and reduce oil consumption, more and more users use the ETC card.
Generally, when a user recharges the ETC card, the user can recharge the ETC card recharging site through the offline, but in practical application, because the offline ETC card recharging site is easily limited by business hours, the recharging efficiency of the ETC card recharging through the offline recharging site is lower. With the increasing number of users using the ETC card, the offline recharging mode cannot meet the recharging requirements of the users.
With the rapid development of scientific technology, in the prior art, a user can recharge a smart card through a terminal device with near field communication, for example, a smart phone with a near field communication function is used to recharge a bus card. Specifically, firstly, the terminal device reads the account information in the smart card through the near field communication function, and secondly, the terminal device executes the recharging operation on the smart card according to the read account information in the smart card.
However, in practical applications, the terminal device can directly read and obtain the account information in the smart card, so that the account information in the smart card is easily leaked or stolen by an illegal user, and the account information in the smart card has a security risk.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and a device for identifying a smart card, so as to solve a problem in the prior art that security risk exists in account information in the smart card because a terminal device can directly read and obtain the account information in the smart card.
The invention provides a method for identifying a smart card, which comprises the following steps:
receiving intelligent card information sent by terminal equipment, wherein the intelligent card information comprises identification information of an intelligent card and encrypted account information in the intelligent card;
searching a decryption password corresponding to the identification information from a password database according to the identification information of the smart card, wherein the database comprises the identification information of different smart cards and the decryption password corresponding to the identification information of the smart card;
decrypting the encrypted account information in the smart card by using the decryption password, and identifying the smart card according to a decryption result;
and sending the identification result to the terminal equipment.
The invention provides a smart card identification device, comprising:
the receiving unit is used for receiving intelligent card information sent by terminal equipment, wherein the intelligent card information comprises identification information of the intelligent card and encrypted account information in the intelligent card;
the searching unit searches a decryption password corresponding to the identification information from a password database according to the identification information of the intelligent card, wherein the database comprises the identification information of different intelligent cards and the decryption password corresponding to the identification information of the intelligent card;
the identification unit is used for decrypting the encrypted account information in the smart card by using the decryption password and identifying the smart card according to a decryption result;
and the sending unit is used for sending the identification result to the terminal equipment.
The invention has the following beneficial effects:
according to the technical scheme provided by the embodiment of the invention, the intelligent card information sent by the terminal equipment is received, wherein the intelligent card information comprises the identification information of the intelligent card and the encrypted account information in the intelligent card; searching a decryption password corresponding to the identification information from a password database according to the identification information of the smart card, wherein the database comprises the identification information of different smart cards and the decryption password corresponding to the identification information of the smart card; decrypting the encrypted account information in the smart card by using the decryption password, and identifying the smart card according to a decryption result; and sending the identification result to the terminal equipment.
The server receives the smart card information sent by the terminal equipment, decrypts the encrypted account information in the smart card contained in the smart card information, identifies whether the account information of the smart card is legal or not according to a decryption result, and sends the identification result to the terminal equipment.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an identification method of a smart card according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an identification method of a smart card according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an identification method of a smart card according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an identification device of a smart card according to an embodiment of the present invention.
Detailed Description
In order to achieve the purpose of the invention, the embodiment of the invention provides a method and equipment for identifying a smart card, and the technical scheme provided by the embodiment of the invention is that the smart card information sent by terminal equipment is received, wherein the smart card information comprises identification information of the smart card and encrypted account information in the smart card; searching a decryption password corresponding to the identification information from a password database according to the identification information of the smart card, wherein the database comprises the identification information of different smart cards and the decryption password corresponding to the identification information of the smart card; decrypting the encrypted account information in the smart card by using the decryption password, and identifying the smart card according to a decryption result; and sending the identification result to the terminal equipment.
The server receives the smart card information sent by the terminal equipment, decrypts the encrypted account information in the smart card contained in the smart card information, identifies whether the account information of the smart card is legal or not according to a decryption result, and sends the identification result to the terminal equipment.
In the embodiment of the present invention, the terminal device has a near field communication function, and the smart card may be an ETC card, or may also be another smart card that can perform data transmission with the terminal device through near field communication, for example, a bus card, which is not limited specifically herein.
It should be noted that, in the embodiment of the present invention, in order to ensure the security of the account information in the smart card, when the terminal device reads the account information in the smart card, the encrypted account information is read, and according to the technical scheme provided by the embodiment of the present invention, the encrypted account information read by the terminal device may be identified, and when the identity of the smart card is identified to be legal, the terminal device is allowed to perform a write operation on the smart card (for example, perform a recharge operation on the smart card).
The present invention will now be described in further detail with reference to the accompanying drawings, in which it is understood that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
Fig. 1 is a schematic flow chart of an identification method of a smart card according to an embodiment of the present invention, where the method is described as follows.
Step 101: and receiving the information of the intelligent card sent by the terminal equipment.
The intelligent card information comprises identification information of the intelligent card and encrypted account information in the intelligent card.
In step 101, before performing a write operation on a smart card, a terminal device may read smart card information of the smart card, where the smart card information may include identification information of the smart card or encrypted account information of the smart card.
In the embodiment of the present invention, the smart card information may be obtained by reading the smart card information by the terminal device in a near field communication manner.
Specifically, the terminal device may be configured to install an application program for reading the information of the smart card, the terminal device may open the application program installed in the terminal device before reading the information of the smart card, and after opening the application program, the smart card may be attached to the terminal device, so that the terminal device may read the information of the smart card through near field communication.
The identification information of the smart card may be a card number of the smart card, or may be other identification information that can be used to distinguish different smart cards, which is not limited herein.
The account information in the smart card may be account information of a user using the smart card, which is included in the smart card, for example, if the smart card is an ETC card, the account information of the smart card may be vehicle information of the user using the ETC card, an identification number of the user, balance information of the ETC card, and the like.
It should be noted that, in the embodiment of the present invention, the security level requirement on the account information in the smart card is higher than the security level requirement on the identification information of the smart card, so to ensure the security of the account information in the smart card, when the terminal device reads the smart card information, the terminal device may read the identification information of the smart card and the encrypted account information in the smart card.
In order to identify the account information in the smart card, the terminal device may send the smart card information to the server after reading the smart card information, and at this time, the server may receive the smart card information sent by the terminal device.
Step 102: and searching a decryption password corresponding to the identification information from a password database according to the identification information of the intelligent card.
The database comprises identification information of different intelligent cards and decryption passwords corresponding to the identification information of the intelligent cards.
In step 102, after receiving the smart card information sent by the terminal device, the server may search, according to the identification information of the smart card included in the smart card information, a decryption password corresponding to the identification information of the smart card from a database, so as to decrypt the encrypted account information using the searched decryption password.
It should be noted that, in the embodiment of the present invention, the database stores the identification information of different smart cards and the decryption passwords corresponding to the identification information of the smart cards in advance, so that after receiving the information of the smart cards, the server may search the database for the decryption passwords corresponding to the identification information according to the identification information of the smart cards included in the information of the smart cards.
Specifically, in practical applications, when a user registers to obtain a smart card, the server may provide, to the user, an encryption password for encrypting account information in the smart card, so that the user may encrypt the account information in the smart card using the encryption password provided by the server, and after encrypting the account information in the smart card, when the user reads the account information in the smart card using the terminal device, the user reads the encrypted account information using the encryption password, so that other users cannot directly obtain the account information in the smart card, thereby improving the security of the account information in the smart card.
After the server provides the encrypted password to the user, the server may determine a decryption password corresponding to the encrypted password, so that the server may decrypt the account information encrypted using the encrypted password using the decryption password.
After determining the decryption password, the server may establish a correspondence between the decryption password and the identification information of the smart card, and store the correspondence in a database.
In this way, after receiving the identification information of the smart card, the server may search for the decryption password corresponding to the identification information from the database according to the identification information of the smart card, so as to decrypt the encrypted account information using the searched decryption password.
Step 103: and decrypting the encrypted account information in the smart card by using the decryption password, and identifying the smart card according to a decryption result.
In step 103, after finding the decryption password corresponding to the identification information of the smart card, the server may decrypt the encrypted account information in the smart card, so as to identify the smart card according to the decryption result.
It should be noted that, in the embodiment of the present invention, identifying the smart card may be determining whether the account information in the smart card is legal, or further determining to obtain the account information in the smart card when determining that the account information of the smart card is legal.
Specifically, in the embodiment of the present invention, when the smart card is identified according to the decryption result, at least the following two results exist:
the first result is: when the decryption result of decrypting the encrypted account information in the smart card by using the decryption password is the account information in the smart card, determining that the account information of the smart card is legal;
the second result is: when the encrypted account information in the smart card is not obtained as a decryption result of decrypting the encrypted account information by using the decryption password, whether the account information of the smart card is legal or not cannot be determined.
For the first result:
in practical application, the encryption password provided by the server for encrypting the account information of the smart card is matched with the encryption password stored in the database and corresponding to the identification information of the smart card, that is, only the decryption password matched with the used encryption password can be successfully decrypted for the account information encrypted by using the encryption password.
In this way, if the server decrypts the encrypted account information in the smart card by using the searched decryption password, so as to obtain the account information in the smart card, that is, the decryption is successful, it can be shown that the searched decryption password is matched with the encrypted password for encrypting the account information, that is, the encryption password used by the terminal device is not wrong, the terminal device sends the smart card information to the server, the smart card information is not tampered, and at this time, the server can determine that the account information of the smart card is legal.
When determining that the account information of the smart card is legal, the server may determine to obtain the decrypted account information of the smart card.
For the second result:
if the server decrypts the encrypted account information in the smart card by using the searched decryption password, the account information in the smart card is not obtained, that is, the decryption fails, it can be shown that the searched decryption password is not matched with the encrypted password for encrypting the account information, that is, the encryption password used by the terminal device is wrong, or the terminal device sends the smart card information to the server, the smart card information is tampered, and at this time, the server cannot determine whether the account information of the smart card is legal or not.
In practical application, the reason for causing the decryption failure of the server may be that information in the smart card is tampered, an encryption password for encrypting account information in the smart card is modified, the smart card information is illegally tampered in the process of being transmitted to the server, or the type of the smart card does not meet the requirement of the server (for example, the server needs to identify an ETC card, and the terminal device reads bus card information), which is not specifically limited in the embodiment of the present invention.
Step 104: and sending the identification result to the terminal equipment.
In step 104, after determining whether the account information of the smart card is legal, the server may send the identification result to the terminal device, so that the terminal device performs a corresponding operation according to the identification result.
Specifically, sending the identification result to the terminal device includes:
and when the account information of the intelligent card is determined to be legal, sending confirmation information to the terminal equipment, wherein the confirmation information is used for indicating the terminal equipment to execute writing operation on the intelligent card.
When determining that the account information in the smart card is legal, the server may send confirmation information to the terminal device, where the confirmation information is used to indicate that the account information of the smart card is legal and allow the terminal device to perform write operation on the smart card.
In the embodiment of the present invention, the terminal device performs a write operation on the smart card, where the write operation may be a modification of account information in the smart card by the terminal device, a recharge operation performed on the smart card by the terminal device, or other write operations, and this is not particularly limited herein.
For example, the server sends confirmation information to the terminal device, wherein the confirmation information is used for instructing the terminal device to execute a recharging operation on the smart card.
Specifically, sending the identification result to the terminal device includes:
and when the account information of the intelligent card cannot be determined to be legal, sending prompt information to the terminal device, wherein the prompt information is used for prompting that the terminal device cannot determine whether the account information of the intelligent card is legal.
The server can send prompt information to the terminal device when the server cannot determine whether the account information of the smart card is legal, wherein the prompt information is used for prompting that the terminal device cannot determine whether the account information of the smart card is legal, and thus, after receiving the prompt information, the terminal device can correspondingly process the smart card according to the prompt information.
The specific manner of the prompt message is not particularly limited here.
According to the technical scheme provided by the embodiment of the invention, the intelligent card information sent by the terminal equipment is received, wherein the intelligent card information comprises the identification information of the intelligent card and the encrypted account information in the intelligent card; searching a decryption password corresponding to the identification information from a password database according to the identification information of the smart card, wherein the database comprises the identification information of different smart cards and the decryption password corresponding to the identification information of the smart card; and decrypting the encrypted account information in the smart card by using the decryption password, identifying the smart card according to a decryption result, and sending an identification result to the terminal equipment.
The server receives the smart card information sent by the terminal equipment, decrypts the encrypted account information in the smart card contained in the smart card information, identifies whether the account information of the smart card is legal or not according to a decryption result, and sends the identification result to the terminal equipment.
Example 2
Fig. 2 is a schematic diagram of an identification method of a smart card according to an embodiment of the present invention.
As can be seen from fig. 2, the terminal device B reads the smart card information of the smart card a by means of near field communication, after the smart card information is obtained by reading, the terminal device B sends the smart card information to the server C, the server C can receive the smart card information of the smart card a and identify the smart card information of the smart card a, determine whether the account information in the smart card included in the smart card information of the smart card a is legal, after determining whether the account information of the smart card a is legal, the server C sends the identification result to the terminal device B, and the terminal device B can perform corresponding operation on the smart card a according to the identification result.
Example 3
Fig. 3 is a schematic flowchart of an identification method of a smart card according to an embodiment of the present invention.
Step 301: and the terminal equipment reads the information of the intelligent card in a near field communication mode.
The intelligent card information comprises identification information of an intelligent card and encrypted account information in the intelligent card, and the intelligent card information is read by the terminal equipment in a near field communication mode.
Step 302: and the terminal equipment sends the intelligent card information to a server.
Step 303: and the server receives the intelligent card information sent by the terminal equipment.
Step 304: and the server searches a decryption password corresponding to the identification information from a password database according to the identification information of the intelligent card contained in the intelligent card information.
The database comprises identification information of different intelligent cards and decryption passwords corresponding to the identification information of the intelligent cards.
And the decryption password is used for decrypting the encrypted account information in the smart card.
Step 305: and the server decrypts the encrypted account information in the smart card by using the decryption password and identifies the smart card according to a decryption result.
Step 306: and the server sends the identification result to the terminal equipment.
If the server determines that the account information of the smart card is legal, sending confirmation information to the terminal equipment, wherein the confirmation information is used for indicating the terminal equipment to execute write operation on the smart card;
and if the server cannot determine whether the account information of the intelligent card is legal or not, sending prompt information to the terminal device, wherein the prompt information is used for prompting that the terminal device cannot determine whether the account information of the intelligent card is legal or not.
Step 307: and the terminal equipment receives the identification result sent by the server.
Example 4
Fig. 4 is a schematic structural diagram of an identification device of a smart card according to an embodiment of the present invention. The apparatus comprises: a receiving unit 41, a searching unit 42, an identifying unit 43 and a sending unit 44, wherein:
the receiving unit 41 is configured to receive smart card information sent by a terminal device, where the smart card information includes identification information of a smart card and encrypted account information of the smart card;
a searching unit 42, which searches a decryption password corresponding to the identification information from a password database according to the identification information of the smart card, wherein the database comprises the identification information of different smart cards and the decryption password corresponding to the identification information of the smart card;
an identification unit 43, configured to decrypt the encrypted account information in the smart card using the decryption password, and identify the smart card according to a decryption result;
and the sending unit 44 is used for sending the identification result to the terminal equipment.
The identification unit 43 identifies the smart card according to the decryption result, including:
when the decryption result of decrypting the encrypted account information in the smart card by using the decryption password is the account information in the smart card, determining that the account information of the smart card is legal;
when the encrypted account information in the smart card is not obtained as a decryption result of decrypting the encrypted account information by using the decryption password, whether the account information of the smart card is legal or not cannot be determined.
Specifically, the sending unit 44 sends the identification result to the terminal device, including:
when the identification unit 43 determines that the account information of the smart card is legal, sending confirmation information to the terminal device, where the confirmation information is used to instruct the terminal device to perform a write operation on the smart card.
The sending unit 44 sends the identification result to the terminal device, and includes:
when the identification unit 43 cannot determine whether the account information of the smart card is legal, sending prompt information to the terminal device, where the prompt information is used to prompt the terminal device that whether the account information of the smart card is legal cannot be determined.
In the embodiment of the invention, the information of the smart card is read by the terminal equipment in a near field communication mode.
It should be noted that the identification device of the smart card provided in the embodiment of the present invention may be implemented in a hardware manner, or may be implemented in a software manner, which is not limited herein.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A method for identifying a smart card, comprising:
the method comprises the steps that a server receives smart card information sent by terminal equipment, wherein the smart card information comprises identification information of a smart card and encrypted account information in the smart card, and the smart card information is read by the terminal equipment;
after receiving the information of the smart card sent by the terminal equipment, the server searches a decryption password corresponding to the identification information from a password database according to the identification information of the smart card, wherein the password database comprises the identification information of different smart cards and the decryption password corresponding to the identification information of the smart card;
after finding out the decryption password corresponding to the identification information of the intelligent card, the server decrypts the encrypted account information in the intelligent card by using the decryption password and identifies the intelligent card according to the decryption result;
after determining whether the account information of the smart card is legal or not, the server sends an identification result to the terminal equipment so that the terminal equipment can execute corresponding operation according to the identification result;
wherein,
when a user registers to obtain the smart card, the server provides the user with an encryption password for encrypting the account information of the smart card, and the user encrypts the account information in the smart card by using the encryption password provided by the server to generate the encrypted account information in the smart card.
2. The method for identifying a smart card according to claim 1, wherein identifying the smart card based on the decryption result comprises:
when the decryption result of decrypting the encrypted account information in the smart card by using the decryption password is the account information in the smart card, determining that the account information of the smart card is legal;
when the encrypted account information in the smart card is not obtained as a decryption result of decrypting the encrypted account information by using the decryption password, whether the account information of the smart card is legal or not cannot be determined.
3. The smart card identification method of claim 2, wherein transmitting the identification result to the terminal device comprises:
and when the account information of the intelligent card is determined to be legal, sending confirmation information to the terminal equipment, wherein the confirmation information is used for indicating the terminal equipment to execute writing operation on the intelligent card.
4. The smart card identification method of claim 2, wherein transmitting the identification result to the terminal device comprises:
and when the account information of the intelligent card cannot be determined to be legal, respectively sending prompt information to the terminal equipment, wherein the prompt information is used for prompting that the terminal equipment cannot determine whether the account information of the intelligent card is legal.
5. The method for identifying a smart card according to claim 1, wherein the smart card information is read by the terminal device by means of near field communication.
6. An identification device for a smart card, comprising:
the intelligent card information processing device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving intelligent card information sent by terminal equipment, the intelligent card information comprises identification information of an intelligent card and encrypted account information in the intelligent card, and the intelligent card information is read by the terminal equipment;
the searching unit searches a decryption password corresponding to the identification information from a password database according to the identification information of the intelligent card after receiving the information of the intelligent card sent by the terminal equipment, wherein the password database comprises the identification information of different intelligent cards and the decryption password corresponding to the identification information of the intelligent card;
the identification unit is used for decrypting the encrypted account information in the intelligent card by using the decryption password after the decryption password corresponding to the identification information of the intelligent card is found, and identifying the intelligent card according to a decryption result;
the sending unit is used for sending the identification result to the terminal equipment after determining whether the account information of the intelligent card is legal or not so as to facilitate the terminal equipment to execute corresponding operation according to the identification result;
wherein,
when a user registers to obtain the smart card, the server provides the user with an encryption password for encrypting the account information of the smart card, and the user encrypts the account information in the smart card by using the encryption password provided by the server to generate the encrypted account information in the smart card.
7. The smart card identification device according to claim 6, wherein said identification unit identifies the smart card based on the decryption result, comprising:
when the decryption result of decrypting the encrypted account information in the smart card by using the decryption password is the account information in the smart card, determining that the account information of the smart card is legal;
when the encrypted account information in the smart card is not obtained as a decryption result of decrypting the encrypted account information by using the decryption password, whether the account information of the smart card is legal or not cannot be determined.
8. The identification device of a smart card according to claim 7, wherein said transmission unit transmits the identification result to said terminal device, comprising:
and when the identification unit determines that the account information of the intelligent card is legal, sending confirmation information to the terminal equipment, wherein the confirmation information is used for indicating the terminal equipment to execute write operation on the intelligent card.
9. The identification device of a smart card according to claim 7, wherein said transmission unit transmits the identification result to said terminal device, comprising:
and when the identification unit cannot determine whether the account information of the intelligent card is legal or not, respectively sending prompt information to the terminal equipment, wherein the prompt information is used for prompting that the terminal equipment cannot determine whether the account information of the intelligent card is legal or not.
10. The identification device of a smart card according to claim 6, wherein the smart card information is read by the terminal device by means of near field communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610621614.0A CN106230822B (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 |
---|---|---|---|
CN201610621614.0A CN106230822B (en) | 2016-08-01 | 2016-08-01 | A kind of recognition methods and equipment of smart card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106230822A CN106230822A (en) | 2016-12-14 |
CN106230822B true CN106230822B (en) | 2019-07-23 |
Family
ID=57534913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610621614.0A Active CN106230822B (en) | 2016-08-01 | 2016-08-01 | A kind of recognition methods and equipment of smart card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106230822B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112735064A (en) * | 2021-02-01 | 2021-04-30 | 甘肃紫光智能交通与控制技术有限公司 | ETC self-service recharging method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102867157A (en) * | 2012-09-11 | 2013-01-09 | 东莞宇龙通信科技有限公司 | Mobile terminal and data protecting method |
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 CN201610621614.0A patent/CN106230822B/en active Active
Patent Citations (5)
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 |
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 |
---|---|
CN106230822A (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102004638B1 (en) | Dynamic Encryption Method, Terminal and Server | |
US7360091B2 (en) | Secure data transfer method of using a smart card | |
US9734091B2 (en) | Remote load and update card emulation support | |
CN105678192B (en) | A kind of key application method and application apparatus based on smart card | |
CN109120395B (en) | Tag data generation method, tag and data processing based on NFC tag | |
CN103152174B (en) | It is applied to the data processing method in parking lot, device and managing system of car parking | |
CN101282218B (en) | Method for ciphering and deciphering host computer and pickaback plane of split type terminal | |
CN107924516B (en) | Payment authentication method and device of mobile terminal and mobile terminal | |
US20170076285A1 (en) | Payment Method and Apparatus and Payment Factor Processing Method and Apparatus | |
CN110070363A (en) | Account management method and verification method in block chain network and terminal equipment | |
JP2013545195A (en) | Bound data card and mobile host authentication method, apparatus and system | |
CN106548338B (en) | Method and system for transferring resource numerical value | |
CN111191252A (en) | Encryption and decryption method and device for smart card operating system and storage medium | |
CN112583595B (en) | Vehicle charging safety management method | |
CN102202057B (en) | System and method for safely dumping data of mobile memory | |
CN106230821B (en) | A kind of recognition methods and equipment of smart card | |
CN106230822B (en) | A kind of recognition methods and equipment of smart card | |
EP2985712B1 (en) | Application encryption processing method, apparatus, and terminal | |
CN105471920A (en) | Identifying code processing method and device | |
CN104113417A (en) | Dynamic password identity authentication method and system based on near field communication (NFC) | |
KR20200013494A (en) | System and Method for Identification Based on Finanace Card Possessed by User | |
CN117350715A (en) | Payment method, account configuration method, system, device, equipment and medium | |
CN107231603B (en) | Intelligent terminal and method for opening intelligent Bluetooth card online | |
CN113487314A (en) | Transaction processing method and device | |
CN105976008B (en) | A kind of intelligent card data encryption method and system |
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 |