CN105761066A - 银行卡密码保护方法及系统 - Google Patents
银行卡密码保护方法及系统 Download PDFInfo
- Publication number
- CN105761066A CN105761066A CN201610080215.8A CN201610080215A CN105761066A CN 105761066 A CN105761066 A CN 105761066A CN 201610080215 A CN201610080215 A CN 201610080215A CN 105761066 A CN105761066 A CN 105761066A
- Authority
- CN
- China
- Prior art keywords
- bank card
- card password
- application processor
- ciphertext
- touch screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
- G06Q20/4012—Verifying personal identification numbers [PIN]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/08—Payment architectures
- G06Q20/20—Point-of-sale [POS] network systems
- G06Q20/206—Point-of-sale [POS] network systems comprising security or operator identification provisions, e.g. password entry
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/341—Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F7/00—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
- G07F7/08—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
- G07F7/10—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data
- G07F7/1016—Devices or methods for securing the PIN and other transaction-data, e.g. by encryption
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F7/00—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
- G07F7/08—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
- G07F7/10—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data
- G07F7/1025—Identification of user by a PIN code
- G07F7/1033—Details of the PIN pad
- G07F7/1041—PIN input keyboard gets new key allocation at each use
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07G—REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
- G07G1/00—Cash registers
- G07G1/12—Cash registers electronically operated
- G07G1/14—Systems including one or more distant stations co-operating with a central processing unit
-
- 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/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- 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/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/0442—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0816—Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
- H04L9/0819—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
- H04L9/0825—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0877—Generation of secret information including derivation or calculation of cryptographic keys or passwords using additional device, e.g. trusted platform module [TPM], smartcard, USB or hardware security module [HSM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3226—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- 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/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Cash Registers Or Receiving Machines (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
本发明公开了一种银行卡密码保护方法,包括:安全处理器端随机生成公私钥对;安全处理器端将公钥发送至应用处理区端;应用处理器端获取银行卡密码,利用公钥加密后传送至安全处理器端;安全处理器端利用私钥对所述银行卡密码进行解密。通过上述方式,本发明可以提高银行卡密码输入过程的安全性,同时可以给用户带来更好的体验感。
Description
技术领域
本发明涉及数据传输技术领域,尤其是涉及一种银行卡密码保护方法及系统。
背景技术
随着互联网和电子支付技术的不断发展,传统的金融POS设备已经发生了巨大的改变,在外观设计、功能拓展、丰富界面、提高用户体现等方面,都日益与互联网结合紧密,涌现了很多新的技术,其中基于触摸屏进行银行卡密码输入就是一种新的技术方式。
传统POS上输入银行卡密码时,都需要通过专门的物理数字键盘进行,由于POS的体积要求越来越小,而物理键盘自身占用了很大一部分空间,因此导致POS的结构设计、外观设计等方面面临极大的瓶颈,传统POS一直给人呆板、不时尚等印象。而随着互联网技术的发展和移动支付的兴起,在手机上实现银行卡密码输入的技术已经得带大面积的使用,日益被消费者理解和接受。因此随着智能POS的突出,基于触摸屏实现银行卡密码输入,则成为一种潮流和必然的技术发展趋势。
然而,由于POS机毕竟是一种专业的商用支付设备,不同于手机等个人支付设备,其使用的对象不像个人设备一样通常是个人自己或者有限的人数。作为商用支付设备的POS机,任何消费者都有可能在POS机上进行刷卡和输入银行卡密码,如果POS机被非法改造,则有可能威胁到所有持卡人的利益。因此,针对商用的专业POS设备,其对银行卡密码输入安全防护的等级要求要远远高于手机等个人设备,因此基于触摸屏POS的银行卡密码输入安全保护技术就显得尤为重要。
现有技术中,POS终端包括应用处理器(简称AP)和安全处理器(简称SE)。AP是通用的应用处理器,没有物理入侵检测和响应机制,因此没有一个符合金融POS行业规范的足够安全的硬件存储区域用来存储用于与银行后台进行交易验证的交易密钥等敏感数据。而SE是专业的安全处理器,有物理入侵检测和响应机制,内部有一个硬件保护的安全存储区域可以存储密钥等敏感数据,在POS机器遭受到非法拆机等各种物理攻击行为时,能够自动销毁安全存储区域的所有敏感数据,确保这些信息在POS内部被攻破的情况下已经自动丢失而无法访问。PIN(即银行卡密码)信息需要在POS内部经过加密后才能送到POS后台完成验证,但是由于AP端无法保存密钥,只有SE可以保存密钥,因此AP获取用户输入的银行卡密码后,需要将所述银行卡密码传送至SE,由SE利用所述密钥进行加密后再传输回AP,并由AP传送至银行后台进行交易验证。但是从AP到SE的过程中,银行卡密码明文暴露,很容易被破解,造成了安全隐患。
发明内容
本发明所要解决的技术问题是:公开了一种新型实用的银行卡密码输入保护技术,能够在不影响消费者用户体验的前提下,通过合理的方案设计结合银行卡密码学的加密保护技术,实现银行卡密码安全的输入和内部传输。
为了解决上述技术问题,本发明采用的技术方案为:提供一种银行卡密码保护方法,包括:
安全处理器端随机生成公私钥对;
安全处理器端将公钥发送至应用处理区端;
应用处理器端获取银行卡密码,利用公钥加密后传送至安全处理器端;
安全处理器端利用私钥对所述银行卡密码进行解密。
为解决上述问题,本发明还提供一种银行卡密码保护系统,包括应用处理器及安全处理器其中:
安全处理器端用于随机生成公私钥对,并将公钥发送至应用处理区端;
应用处理器端获取银行卡密码,利用公钥加密后传送至安全处理器端;
安全处理器端利用私钥对所述银行卡密码进行解密。
本发明的有益效果在于:区别于现有技术,本发明通过在安全处理器端随机生成公私钥对,并将公钥发送至应用处理器端用于加密银行卡密码后,再发送到安全处理器端用私钥对所述银行卡密码进行解密,避免从应用处理器到安全处理器的过程中出现银行卡密码明文。通过上述方式,本发明可以提高银行卡密码输入和传输过程的安全性,同时可以给用户带来更好的体验感。
附图说明
图1为本发明方法实施例一的流程示意图;
图2为本发明具体实施例中的智能POS物理组成示意图;
图3为本发明具体实施例中交易过程PIN输入和加密保护过程示意图;
图4为本发明具体实施例中触屏数字键盘乱序显示示意图一;
图5为本发明具体实施例中触屏数字键盘乱序显示示意图二。
图6为本发明具体实施例中触屏数字键盘乱序显示示意图三。
具体实施方式
为详细说明本发明的技术内容、所实现目的及效果,以下结合实施方式并配合附图予以说明。
本发明最关键的构思在于:在安全处理器中生成公私钥对,并在应用处理器中对用户输入的银行卡密码加密后传输到安全处理器中解密,避免了传输过程中出现银行卡密码明文。
请参照图1,本发明实施例一提供一种银行卡密码保护方法,包括:
S1:安全处理器端随机生成公私钥对;
S2:安全处理器端将公钥发送至应用处理区端;
S3:应用处理器端获取银行卡密码,利用公钥加密后传送至安全处理器端;
S4:安全处理器端利用私钥对所述银行卡密码进行解密。
区别于现有技术,本发明实施例一通过在安全处理器端随机生成公私钥对,并将公钥发送至应用处理器端用于加密银行卡密码后,再发送到安全处理器端用私钥对所述银行卡密码进行解密。通过上述方式,本发明可以提高银行卡密码输入过程的安全性,同时可以给用户带来更好的体验感。
其中,安全处理器端利用密钥对解密得到的银行卡密码明文加密形成密文的PIN块,并将所述密文的PIN块发送至应用处理器端;应用处理器端将所述密文的PIN块及交易数据发送至后台进行验证。
此外,所述加密形成密文的PIN块过程中使用的密钥是预存在安全处理器端,且用于与后台交易验证的密钥。也就是说,所述密钥与步骤S1中生成的公私钥对无关。
应用处理器端在触摸屏上显示随机乱序的数字键盘,用于银行卡密码输入。
具体的,在AP端触摸屏上输入PIN时,液晶屏幕上会显示一个随机乱序的数字键盘,用于提示持卡人输入PIN。每次屏幕上显示数字键盘时,触屏PIN输入相关的驱动或者服务,会从系统读取一组随机数,然后根据随机数在屏幕上描绘一个数字次序被打乱的数字键盘,从而确保每次PIN数字在液晶屏幕上的提示和输入位置都是随机不确定的,从而攻击者无法通过固定位置来推测输入的PIN数字。
应用处理器端控制触摸屏上输入银行卡密码时,系统设置进入专门的银行卡密码输入模式;所有银行卡密码输入事件仅提供给受信的触屏银行卡密码驱动进行处理。
具体的,在AP端触摸屏上输入PIN时,系统会设置进入专门的PIN输入模式,在此模式下,专用的触屏PIN驱动会从硬件层面拦截PIN输入事件,确保所有PIN输入事件仅提供给受信的触屏PIN驱动进行处理,而不会上报给普通的应用程序,从而保证非法应用程序无法监听到PIN相关的信息。该触屏PIN输入属于系统级别的驱动,由数字签名技术保护其合法性和完整性,普通应用无法篡改或替换该驱动。
具体地,在实际中,本发明可用于在智能POS上安全输入和传输PIN时提供保护,为智能POS纯触屏PIN输入方式提供安全保证。实施本发明时,可以摒弃传统POS依赖物理键盘导致可用空间小、外观和结构难以设计、整机外观丑陋、使用不便等问题,不仅给智能POS上PIN输入带来更好的用户体验,而且还充分保证了PIN输入过程的安全。
本发明适用于所有需要支持银行卡支付功能和在触摸屏上实现PIN输入的POS终端设备。此类设备包含一个通用的应用处理器子系统和一个专业的安全处理器子系统,触摸屏由AP子系统控制,需要在AP端完成PIN输入,然后送到SE端进行加密。
本发明PIN在从AP传输至SE的过程,是经过加密传输的。加密的实现过程,是在AP端使用公钥进行加密,在SE端使用私钥进行解密。由于公钥是可以公开的,在AP系统上保存不会有太大的风险,只要AP进行必要的防篡改权限保护即可。私钥是需要保护机密性的,因此只能保存在SE端确保不会泄露。由于PIN在AP和SE之间的传输经过了加密,因此可以确保传输过程的安全,攻击者即使攻破AP和SE的线路,也无法获取到明文的PIN内容。
每台智能POS采用的公私钥对都是在智能POS内部随机生成的,因此每台智能POS的密钥是不可预测和在概率上唯一的,确保符合一机一密的安全要求。
而公私钥对的生成过程比较简单,不需要复杂的导入方式。只需要在POS终端每次出厂前进行安全区格式化的时候,由POS内部产生一次即可。只要POS即不被拆机和遭受各种物理攻击,安全区不会被破坏的情况下,则该密钥对可以一直使用。如果POS机被非法拆机,按照POS即的管理要求会返厂维护,重新进行安全区域的格式化,则此时又可以再次产生新的公私钥匙对。
因此,本发明提供的是一种新型实用的PIN输入保护技术,能够在不影响消费者用户体验的前提下,通过合理的方案设计结合银行卡密码学的加密保护技术,实现PIN安全的输入和内部传输。
如图2所示,在一个具体的实施例中,智能POS设备物理上由AP和SE两个子系统组成。AP子系统包含了应用处理器、液晶、触屏、扫码器、电源、摄像头、通信、存储、多媒体等各种硬件设备模块,SE子系统主要包含安全处理器、磁卡、IC卡、射频卡、打印(可选)、通信等模块。
一次PIN输入过程,持卡人在触屏上完成PIN输入,之后PIN经过AP端应用处理器利用公钥加密处理后,由AP端通信模块发送给SE端通信模块,然后由SE端通信模块传输给SE安全处理器进行解密处理,并利用密钥对PIN加密后最终再通过SE和AP的通信模块返回到AP端,并最终输出到POS后台。
在该具体实施例中,图3展示了一笔交易过程PIN输入和加密保护的步骤和流程,说明如下:
步骤1~3,是在POS初始化阶段进行,在POS厂商的受控区域完成,各个步骤说明如下:
步骤1:SE端随机产生一组公私钥对(包含一个公钥和一个私钥),作为PIN加密保护密钥。
步骤2:SE将公私钥对中的公钥发送到AP。
步骤3:AP将公钥保存起来,以便后续做交易时用来加密传输PIN。
步骤4~9,是在POS每笔正常交易过程都会发生,各个步骤说明如下:
步骤4:在POS每笔交易中,营业员完成金额输入等操作后,将POS交给持卡人输入PIN,持卡人在POS上完成PIN输入。
步骤5:AP端首先获取到PIN明文,然后使用步骤3中保存的公钥进行加密,然后发送给SE;
步骤6:SE接收到AP发送的数据后,首先使用私钥进行解密,还原出PIN明文。然后使用实现已经下载到SE的PIN加密密钥(是对称密钥,由收单机构在部署POS之前下载好)进行再次加密,得到一个密文的PIN块。
步骤7:SE将密文的PIN块返回给AP。
步骤8:AP将密文的PIN块以及其他交易数据组成一个POS交易报文,上送给POS交易后台。
步骤9:POS交易后台将相关数据进行处理后进行比对(包括比对PIN和其他交易数据等),如果比对成功则交易成功,否则交易失败。然后将交易验证的结果通知给POS。
图4、图5及图6展示了一笔交易过程,触屏上PIN输入数字键盘乱序显示的示例图。通过图片可以看出,每次PIN输入时,触屏上显示的数字键盘中的数字顺序是随机错乱的,每个数字的位置不是固定的,从而攻击时无法通过PIN数字的位置来推测输入的PIN数值。
其中,对应地,本发明实施例二还提供一种银行卡密码保护系统(图中未示出),包括应用处理器及安全处理器,其中:
安全处理器端用于随机生成公私钥对,并将公钥发送至应用处理器端;
应用处理器端获取银行卡密码,利用公钥加密后传送至安全处理器端;
安全处理器端利用私钥对所述银行卡密码进行解密。
安全处理器端将解密得到的银行卡密码明文加密形成密文的PIN块,并将所述密文的PIN块发送至应用处理器端;
应用处理器端将所述密文的PIN块及交易数据发送至后台进行验证。
所述加密形成密文的PIN块过程中使用的密钥是预存在安全处理器端,且用于与后台交易验证的密钥。
应用处理器端在触摸屏上显示随机乱序的数字键盘,用于银行卡密码输入。
应用处理器端控制触摸屏上输入银行卡密码时,系统设置进入专门的银行卡密码输入模式;所有银行卡密码输入事件仅提供给受信的触屏银行卡密码驱动进行处理。
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等同变换,或直接或间接运用在相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (10)
1.一种银行卡密码保护方法,其特征在于,包括:
安全处理器端随机生成公私钥对;
安全处理器端将公钥发送至应用处理器端;
应用处理器端获取银行卡密码,利用公钥加密后传送至安全处理器端;
安全处理器端利用私钥对所述银行卡密码进行解密。
2.根据权利要求1所述的银行卡密码保护方法,其特征在于,还包括:
安全处理器端将解密得到的银行卡密码明文加密形成密文的PIN块,并将所述密文的PIN块发送至应用处理器端;
应用处理器端将所述密文的PIN块及交易数据发送至后台进行验证。
3.根据权利要求2所述的银行卡密码保护方法,其特征在于,所述加密形成密文的PIN块过程中使用的密钥是预存在安全处理器端,且用于与后台交易验证的密钥。
4.根据权利要求1所述的银行卡密码保护方法,其特征在于,还包括:
应用处理器端在触摸屏上显示随机乱序的数字键盘,用于银行卡密码输入。
5.根据权利要求2所述的银行卡密码保护方法,其特征在于,
应用处理器端控制触摸屏上输入银行卡密码时,系统设置进入专门的银行卡密码输入模式;
所有银行卡密码输入事件仅提供给受信的触屏银行卡密码驱动进行处理。
6.一种银行卡密码保护系统,其特征在于,包括应用处理器及安全处理器其中:
安全处理器端用于随机生成公私钥对,并将公钥发送至应用处理区端;
应用处理器端获取银行卡密码,利用公钥加密后传送至安全处理器端;
安全处理器端利用私钥对所述银行卡密码进行解密。
7.根据权利要求6所述的银行卡密码保护系统,其特征在于,
安全处理器端将解密得到的银行卡密码明文加密形成密文的PIN块,并将所述密文的PIN块发送至应用处理器端;
应用处理器端将所述密文的PIN块及交易数据发送至后台进行验证。
8.根据权利要求7所述的银行卡密码保护系统,其特征在于,所述加密形成密文的PIN块过程中使用的密钥是预存在安全处理器端,且用于与后台交易验证的密钥。
9.根据权利要求6所述的银行卡密码保护系统,其特征在于,
应用处理器端在触摸屏上显示随机乱序的数字键盘,用于银行卡密码输入。
10.根据权利要求7所述的银行卡密码保护系统,其特征在于,
应用处理器端控制触摸屏上输入银行卡密码时,系统设置进入专门的银行卡密码输入模式;
所有银行卡密码输入事件仅提供给受信的触屏银行卡密码驱动进行处理。
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610080215.8A CN105761066A (zh) | 2016-02-04 | 2016-02-04 | 银行卡密码保护方法及系统 |
| ES16889019T ES2989923T3 (es) | 2016-02-04 | 2016-07-29 | Método y sistema de protección de contraseñas de tarjeta bancaria |
| EP16889019.2A EP3413253B1 (en) | 2016-02-04 | 2016-07-29 | Bankcard password protection method and system |
| BR112018013306-0A BR112018013306B1 (pt) | 2016-02-04 | 2016-07-29 | Método e sistema de proteção por senha de cartão bancário |
| PCT/CN2016/092332 WO2017133204A1 (zh) | 2016-02-04 | 2016-07-29 | 银行卡密码保护方法及系统 |
| US16/019,564 US20180308097A1 (en) | 2016-02-04 | 2018-06-27 | Bankcard Password Protection Method and System |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610080215.8A CN105761066A (zh) | 2016-02-04 | 2016-02-04 | 银行卡密码保护方法及系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105761066A true CN105761066A (zh) | 2016-07-13 |
Family
ID=56330659
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610080215.8A Pending CN105761066A (zh) | 2016-02-04 | 2016-02-04 | 银行卡密码保护方法及系统 |
Country Status (6)
| Country | Link |
|---|---|
| US (1) | US20180308097A1 (zh) |
| EP (1) | EP3413253B1 (zh) |
| CN (1) | CN105761066A (zh) |
| BR (1) | BR112018013306B1 (zh) |
| ES (1) | ES2989923T3 (zh) |
| WO (1) | WO2017133204A1 (zh) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106909850A (zh) * | 2016-11-16 | 2017-06-30 | 上海艾融软件股份有限公司 | 一种基于html5的互联网密码键盘系统及其实现方法 |
| WO2017133204A1 (zh) * | 2016-02-04 | 2017-08-10 | 福建联迪商用设备有限公司 | 银行卡密码保护方法及系统 |
| CN107563743A (zh) * | 2017-08-14 | 2018-01-09 | 福建新大陆支付技术有限公司 | 提升pos交易安全的方法及系统 |
| CN107705122A (zh) * | 2017-09-11 | 2018-02-16 | 福建新大陆支付技术有限公司 | 在安卓系统内进行安全支付的方法及系统 |
| CN107835170A (zh) * | 2017-11-04 | 2018-03-23 | 上海动联信息技术股份有限公司 | 一种智能Pos设备安全授权拆机系统及方法 |
| WO2019165571A1 (zh) * | 2018-02-27 | 2019-09-06 | 福建联迪商用设备有限公司 | 一种传输数据的方法及系统 |
| CN110650113A (zh) * | 2018-04-24 | 2020-01-03 | 物联智慧股份有限公司 | 数据加解密方法及系统与连网装置及其数据加解密方法 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109658093B (zh) * | 2019-01-04 | 2023-04-28 | 中国银行股份有限公司 | 银行卡密码的密钥类型处理方法及装置 |
| CN111401901B (zh) * | 2020-03-23 | 2021-06-04 | 腾讯科技(深圳)有限公司 | 生物支付设备的认证方法、装置、计算机设备和存储介质 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102624710A (zh) * | 2012-02-27 | 2012-08-01 | 福建联迪商用设备有限公司 | 一种敏感信息传输方法及系统 |
| CN105023374A (zh) * | 2015-07-22 | 2015-11-04 | 天地融科技股份有限公司 | Pos机交易系统 |
| CN105261130A (zh) * | 2015-11-18 | 2016-01-20 | 北京微智全景信息技术有限公司 | 一种智能pos终端 |
Family Cites Families (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7702916B2 (en) * | 2003-03-31 | 2010-04-20 | Visa U.S.A. Inc. | Method and system for secure authentication |
| US20080148186A1 (en) * | 2006-12-18 | 2008-06-19 | Krishnamurthy Sandeep Raman | Secure data entry device and method |
| SG147345A1 (en) * | 2007-05-03 | 2008-11-28 | Ezypay Pte Ltd | System and method for secured data transfer over a network from a mobile device |
| CN101340294A (zh) * | 2008-08-07 | 2009-01-07 | 深圳市紫金支点技术股份有限公司 | 一种密码键盘装置及其实现方法 |
| US20100145854A1 (en) * | 2008-12-08 | 2010-06-10 | Motorola, Inc. | System and method to enable a secure environment for trusted and untrusted processes to share the same hardware |
| US20110066512A1 (en) * | 2009-04-21 | 2011-03-17 | Kanngard Lars O | Applications of Stored Value Card |
| US9355389B2 (en) * | 2010-12-06 | 2016-05-31 | Voltage Security, Inc. | Purchase transaction system with encrypted payment card data |
| KR20120132013A (ko) * | 2011-05-27 | 2012-12-05 | 주식회사 팬택 | 휴대용 단말, 휴대용 단말의 하드웨어 모듈간에 전송되는 데이터의 보안 방법 |
| CN102624711B (zh) * | 2012-02-27 | 2015-06-03 | 福建联迪商用设备有限公司 | 一种敏感信息传输方法及系统 |
| CN103684768A (zh) * | 2012-09-10 | 2014-03-26 | 中国银联股份有限公司 | 一种pos系统以及在pos系统内进行双向认证的方法 |
| CN104838399B (zh) * | 2012-12-10 | 2019-08-27 | 维萨国际服务协会 | 使用移动设备认证远程交易 |
| CN203057229U (zh) * | 2012-12-26 | 2013-07-10 | 福建联迪商用设备有限公司 | 带指纹识别功能的pos手机 |
| EP2775421B1 (en) * | 2013-03-05 | 2019-07-03 | Wincor Nixdorf International GmbH | Trusted terminal platform |
| US20140289129A1 (en) * | 2013-03-25 | 2014-09-25 | iAXEPT Ltd | Method for secure contactless communication of a smart card and a point of sale terminal |
| CN103996011A (zh) * | 2014-06-05 | 2014-08-20 | 福建天晴数码有限公司 | 一种保护密码输入安全的方法和装置 |
| TWI599903B (zh) * | 2014-12-31 | 2017-09-21 | 鴻海精密工業股份有限公司 | 電子裝置的加解密系統及其加解密方法 |
| CN105761066A (zh) * | 2016-02-04 | 2016-07-13 | 福建联迪商用设备有限公司 | 银行卡密码保护方法及系统 |
-
2016
- 2016-02-04 CN CN201610080215.8A patent/CN105761066A/zh active Pending
- 2016-07-29 BR BR112018013306-0A patent/BR112018013306B1/pt active IP Right Grant
- 2016-07-29 EP EP16889019.2A patent/EP3413253B1/en active Active
- 2016-07-29 WO PCT/CN2016/092332 patent/WO2017133204A1/zh not_active Ceased
- 2016-07-29 ES ES16889019T patent/ES2989923T3/es active Active
-
2018
- 2018-06-27 US US16/019,564 patent/US20180308097A1/en not_active Abandoned
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102624710A (zh) * | 2012-02-27 | 2012-08-01 | 福建联迪商用设备有限公司 | 一种敏感信息传输方法及系统 |
| CN105023374A (zh) * | 2015-07-22 | 2015-11-04 | 天地融科技股份有限公司 | Pos机交易系统 |
| CN105261130A (zh) * | 2015-11-18 | 2016-01-20 | 北京微智全景信息技术有限公司 | 一种智能pos终端 |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017133204A1 (zh) * | 2016-02-04 | 2017-08-10 | 福建联迪商用设备有限公司 | 银行卡密码保护方法及系统 |
| CN106909850A (zh) * | 2016-11-16 | 2017-06-30 | 上海艾融软件股份有限公司 | 一种基于html5的互联网密码键盘系统及其实现方法 |
| CN107563743A (zh) * | 2017-08-14 | 2018-01-09 | 福建新大陆支付技术有限公司 | 提升pos交易安全的方法及系统 |
| CN107563743B (zh) * | 2017-08-14 | 2023-05-30 | 福建新大陆支付技术有限公司 | 提升pos交易安全的方法及系统 |
| CN107705122A (zh) * | 2017-09-11 | 2018-02-16 | 福建新大陆支付技术有限公司 | 在安卓系统内进行安全支付的方法及系统 |
| CN107705122B (zh) * | 2017-09-11 | 2023-06-16 | 福建新大陆支付技术有限公司 | 在安卓系统内进行安全支付的方法及系统 |
| CN107835170A (zh) * | 2017-11-04 | 2018-03-23 | 上海动联信息技术股份有限公司 | 一种智能Pos设备安全授权拆机系统及方法 |
| WO2019165571A1 (zh) * | 2018-02-27 | 2019-09-06 | 福建联迪商用设备有限公司 | 一种传输数据的方法及系统 |
| CN110650113A (zh) * | 2018-04-24 | 2020-01-03 | 物联智慧股份有限公司 | 数据加解密方法及系统与连网装置及其数据加解密方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP3413253A4 (en) | 2019-11-27 |
| US20180308097A1 (en) | 2018-10-25 |
| BR112018013306B1 (pt) | 2024-04-30 |
| EP3413253A1 (en) | 2018-12-12 |
| BR112018013306A2 (pt) | 2018-12-11 |
| EP3413253B1 (en) | 2024-07-24 |
| ES2989923T3 (es) | 2024-11-28 |
| WO2017133204A1 (zh) | 2017-08-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10491379B2 (en) | System, device, and method of secure entry and handling of passwords | |
| CN105761066A (zh) | 银行卡密码保护方法及系统 | |
| EP2143028B1 (en) | Secure pin management | |
| US20180144114A1 (en) | Securing Blockchain Transactions Against Cyberattacks | |
| US10558961B2 (en) | System and method for secure communication in a retail environment | |
| US9497185B2 (en) | Systems, methods, and computer program products for providing application validation | |
| RU2584500C2 (ru) | Криптографический способ аутентификации и идентификации с шифрованием в реальном времени | |
| Nyang et al. | Keylogging-resistant visual authentication protocols | |
| US20050055318A1 (en) | Secure PIN management | |
| US20020066039A1 (en) | Anti-spoofing password protection | |
| CN103036681B (zh) | 一种密码安全键盘装置及系统 | |
| CN103390124A (zh) | 安全输入和处理口令的设备、系统和方法 | |
| CN101335754B (zh) | 一种利用远程服务器进行信息验证的方法 | |
| CN103905188A (zh) | 利用智能密钥设备生成动态口令的方法和智能密钥设备 | |
| CN102957541B (zh) | 一种基于saas的密码加密方法 | |
| CN200993803Y (zh) | 网上银行系统安全终端 | |
| CN103577771A (zh) | 一种基于磁盘加密的虚拟桌面数据防泄漏保护技术 | |
| CN202978979U (zh) | 一种密码安全键盘装置及系统 | |
| CN112861156B (zh) | 显示数据的安全通信方法、装置、电子设备及存储介质 | |
| CN113938878A (zh) | 一种设备标识符防伪造方法、装置和电子设备 | |
| CN102752270B (zh) | 电子文件传递系统、移动通信装置及相关的解密装置 | |
| HK40050832A (zh) | 用於非接触式卡的密码认证的系统和方法 | |
| EP3116159A1 (en) | Method and apparatus for securing data transmission | |
| JP2012186604A (ja) | Pinを暗号化する暗号化機能が携帯端末に実装されていることを確認できる携帯端末検証システム |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160713 |
|
| RJ01 | Rejection of invention patent application after publication |