WO2018019125A1 - 用于多个pos终端的数据处理系统和方法 - Google Patents

用于多个pos终端的数据处理系统和方法 Download PDF

Info

Publication number
WO2018019125A1
WO2018019125A1 PCT/CN2017/092535 CN2017092535W WO2018019125A1 WO 2018019125 A1 WO2018019125 A1 WO 2018019125A1 CN 2017092535 W CN2017092535 W CN 2017092535W WO 2018019125 A1 WO2018019125 A1 WO 2018019125A1
Authority
WO
WIPO (PCT)
Prior art keywords
data processing
processing
pos terminals
application client
work key
Prior art date
Application number
PCT/CN2017/092535
Other languages
English (en)
French (fr)
Inventor
王琪
刘国宝
张少飞
Original Assignee
中国银联股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国银联股份有限公司 filed Critical 中国银联股份有限公司
Publication of WO2018019125A1 publication Critical patent/WO2018019125A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use

Definitions

  • the present invention relates generally to data processing, and more particularly to data processing systems and methods for a plurality of POS terminals.
  • the POS terminal specialization service or the acquiring institution needs to manually use the parent POS to the PIN terminal of the POS terminal to fill in the terminal master key, wherein the terminal master key ( TMK) is unique to each POS terminal.
  • TMK terminal master key
  • Each POS terminal and the online transaction system share a unique terminal master key, and the online transaction system invokes an encryption machine to randomly generate a PIK code and a MAK code, wherein the PIK code and the MAK code are both encrypted by TMK.
  • the PIK code is stored in a PIN pad (PIN PAD) for encrypting a user password such as a personal identification number (PIN), which is used for message authentication (MAC).
  • PIN PAD PIN pad
  • PIN personal identification number
  • MAC message authentication
  • Hardware maintenance costs are high. Usually, a merchant's counter needs to be equipped with multiple POS terminals and a corresponding PIN pad, which wastes hardware resources and maintenance costs.
  • the plurality of POS terminals are assigned respective unique first master keys, for one capable An application client running on the plurality of POS terminals, which is assigned a common second master key, and the data processing system includes:
  • a communication unit configured to communicate with a plurality of POS terminals
  • a processing unit coupled to the communication unit, configured to perform operations associated with the application client, the operations including check-in processing, online transaction processing, and batch settlement transaction processing,
  • the data involved in the online transaction processing is processed at the POS terminal based on the first work key encrypted by the first master key and at the processing unit based on the encryption by the second master key
  • the second work key is processed.
  • the first work key includes a first PIK code used by the cryptographic keyboard to encrypt the user password and a first MAK code used for message authentication
  • the second work secret is The key contains a second PIK code used by the processing unit to encrypt the user password and a second MAK code for message authentication.
  • the processing unit includes an application terminal specially equipped for the application client to perform the operation.
  • the processing unit performs check-in processing in the following manner:
  • the processing unit performs online transaction processing in the following manner:
  • the online transaction processing request is verified for legality, and after the legality verification is passed, the hardware encryption machine is invoked
  • the user password encrypted with the first PIK code is converted to a user password encrypted with the second PIK code for processing data involved in the online transaction processing.
  • the processing unit performs batch settlement transaction processing in the following manner:
  • each POS terminal has a unique device identifier
  • the application client has a unique application identifier
  • the processing unit passes the device identifier included in the online transaction processing request The validity verification is performed by comparing the application identifier with a predetermined association.
  • Another object of the present invention is to provide a data processing method for a plurality of POS terminals that can provide good scalability for new services in an efficient, low-cost manner.
  • Executing operations associated with the application client including check-in processing, online transaction processing, and batch settlement transaction processing,
  • the data involved in the online transaction processing is processed at the POS terminal based on the first work key encrypted by the first master key and at the processing unit based on the encryption by the second master key
  • the second work key is processed.
  • FIG. 1 is a block diagram of a data processing system for a plurality of POS terminals in accordance with one embodiment of the present invention.
  • FIG. 2 is a flow chart of a data processing method for a plurality of POS terminals in accordance with another embodiment of the present invention.
  • FIG. 3 is a flow chart of a data processing method involving a check-in processing operation in accordance with another embodiment of the present invention.
  • FIG. 4 is a flow chart of a data processing method involving an online transaction data transaction in accordance with another embodiment of the present invention.
  • FIG. 5 is a diagram showing a check-in settlement transaction processing operation according to another embodiment of the present invention. A flow chart of the data processing method.
  • a data processing system refers to a system that can decrypt a message sent by a POS terminal and verify the legality and association relationship between the POS terminal and the application terminal, and includes a processing unit.
  • the processing operations required for the magnetic stripe card loan transaction, the PBOC loan transaction, the qPBOC offline transaction, and the like are performed, and the processing operations include, for example, but not limited to, an organization financial receipt platform message, a connection hardware encryption machine, and a calculation message MAC.
  • the application client may be an application running on a POS terminal smart operating system configured to perform a payment function by interacting with a data processing system.
  • the application client running on multiple POS terminals, it has a unique application identifier and is stored in the data processing system.
  • an application terminal may be an application running in a data processing system.
  • each application corresponds to a single application terminal, and the application client completes the online transaction function through the application terminal.
  • each POS terminal is assigned a respective unique first master key and a common second master key is assigned to each application client or application capable of running on multiple POS terminals.
  • the data involved in the online transaction processing is processed at the POS terminal based on the first work key encrypted by the first master key, and is encrypted based on the second master key in a data processing system such as an online transaction system
  • the second work key is used to process the data involved in the online transaction processing.
  • a first work key encrypted with the first master key is generated. And to the end of the POS that initiated the sign-in request The terminal returns the first work key, and further, if the check-in request is the first check-in request of the application client, a second work key encrypted with the second master key is also generated.
  • the first work key comprises a first PIK code used by the cryptographic keyboard to encrypt the user password and a first MAK code for message authentication
  • the second work key comprises the processed unit for encrypting the user password.
  • a dedicated application terminal is provided in the data processing system to perform operations involving the application client, such as, but not limited to, check-in processing, online transaction processing, and batching. Settlement transaction processing, etc., and in the data processing system, an association is established between the application terminal and the application identifier identifying the application client.
  • the application terminal converts the online transaction data from the POS terminal into online transaction data conforming to the application terminal specification, and as described above, shares the same second master for the same application client. The key, whereby the online transaction can be handled in a uniform manner while ensuring payment security, which is advantageous for the introduction of new services.
  • FIG. 1 is a block diagram of a data processing system for a plurality of POS terminals in accordance with one embodiment of the present invention.
  • the data processing system 10 for a plurality of POS terminals shown in FIG. 1 includes a communication unit 110 and a processing unit 120, wherein the communication unit 110 is configured to be associated with a plurality of POS terminals (shown by reference numerals 21 and 22 in FIG. 1)
  • the single platform 30 is in communication with the hardware encryptor 40, and the processing unit 120 is coupled to the communication unit 110 to perform operations associated with the application client, such as check-in processing, online transaction processing, and batch settlement transaction processing, and the like.
  • processing unit 120 includes one or more application terminals (shown with reference numerals 121A and 121B in FIG. 1), each application terminal being associated with an application or application client configured to execute an associated application Client operation.
  • both POS terminals 21 and 22 include application clients A and B
  • application terminal 121A is associated with application client A
  • application terminal 121B is associated with application client B.
  • FIG. 2 is a flow chart of a data processing method for a plurality of POS terminals in accordance with another embodiment of the present invention.
  • the method of the present embodiment is implemented by means of the data processing system shown in FIG. It should be noted, however, that the present embodiment is not limited to systems having a specific structure.
  • step S210 a plurality of POS terminals are assigned respective unique first master keys.
  • step S220 a common second master key is assigned to one or more application clients capable of running on a plurality of POS terminals.
  • step S230 the data processing system 10 performs an operation associated with the application client, the operations including check-in processing, online transaction processing, batch settlement transaction processing, and the like, wherein the data involved in the online transaction processing is based on the first at the POS terminal
  • the first key of the master key encryption is processed and processed at the processing unit based on the second work key encrypted by the second master key.
  • FIG. 3 is a flow chart of a data processing method involving a check-in processing operation in accordance with another embodiment of the present invention.
  • the method of the present embodiment is implemented by means of the data processing system shown in FIG. It should be noted, however, that the present embodiment is not limited to systems having a specific structure.
  • step S310 the communication unit 110 receives a check-in request sent by an application client (for example, A in FIG. 1) from one of the plurality of POS terminals (for example, the POS terminal 21 in FIG. 1), the check-in request including the POS terminal 21
  • an application client for example, A in FIG. 1
  • the check-in request including the POS terminal 21
  • the application terminal (for example, the application terminal 121A in FIG. 1) associated with the application identifier generates a first work key (for example, the first PKI code) encrypted by the first master key TMK1 by calling the hardware encryptor 40. And the first MAK code) and returning the first work key to the POS terminal that initiated the sign-in request.
  • a first work key for example, the first PKI code
  • step S330 the application terminal 121A confirms whether the current sign-in request is the first sign-in request of the application client A, and if yes, proceeds to step S340, otherwise proceeds to step S350.
  • step S340 the application terminal 121A generates a second work key (for example, the first PKI code and the first MAK code) encrypted with the second master key TMK2 by calling the hardware encryptor 40 and proceeds to step S350.
  • a second work key for example, the first PKI code and the first MAK code
  • the application terminal 121A saves the first work key and the second work key that may be generated.
  • the communication unit 110 transmits a first PIK code to the POS terminal 21, which is stored in the PIN pad of the POS terminal 21 for encrypting the user password PIN.
  • FIG. 4 is a flow chart of a data processing method involving an online transaction processing operation in accordance with another embodiment of the present invention.
  • the method of the embodiment is illustrated by means of FIG. Data processing system implementation. It should be noted, however, that the present embodiment is not limited to systems having a specific structure.
  • step S410 the communication unit 110 receives an online transaction request sent by an application client (for example, A in FIG. 1) from one of a plurality of POS terminals (for example, the POS terminal 21 in FIG. 1), the online transaction request including an online transaction Data (e.g., a user password PIN encrypted with the first PIK code and a payment amount) and a device identifier of the POS terminal 21 and an application identifier corresponding to the application client.
  • an online transaction Data e.g., a user password PIN encrypted with the first PIK code and a payment amount
  • step S420 the application terminal 121A performs legality verification on the received online transaction processing request, for example, by comparing the device identifier and the application identifier included in the online transaction processing request with a predetermined association relationship. If the legality verification is passed, the process proceeds to step S430, otherwise the operation is terminated.
  • step S430 the application terminal 121A determines whether the application associated with the application identifier has been checked in. If not, the process proceeds to step S440, and the check-in processing operation shown in FIG. 3 is performed, otherwise proceeds to step S450. The process also proceeds to step S450 after performing step S440.
  • the application terminal 121A converts the user password encrypted with the first PIK code into the user password encrypted with the second PIK code by calling the hardware encryptor 40.
  • step S460 the application terminal 121A calculates the MAC by using the second MIK code in the second work key, and fills and fills the corresponding message domain according to the point of sale terminal specification to generate a complete message.
  • step S470 the application terminal 121A transmits the complete message to the acquiring platform 30.
  • step S480 the application terminal 121A returns the card issuer processing result from the acquirer platform 30 to the POS terminal 21.
  • FIG. 5 is a flow chart of a data processing method involving a check-in lot settlement transaction processing operation in accordance with another embodiment of the present invention.
  • the method of the present embodiment is implemented by means of the data processing system shown in FIG. It should be noted, however, that the present embodiment is not limited to systems having a specific structure.
  • step S510 the communication unit 110 receives an application client (for example, A in FIG. 1) from a plurality of POS terminals (for example, the POS terminal 21 in FIG. 1). Batch settlement transaction processing request.
  • an application client for example, A in FIG. 1
  • POS terminals for example, the POS terminal 21 in FIG. 1.
  • step S520 the application terminal 121A instructs the POS terminal 21 to upload the corresponding device identifier and application identifier.
  • step S530 the application terminal 121A clears its saved first work key associated with the POS terminal 21 and the second work key associated with the application A.

Abstract

一种用于多个POS终端(21,22)的数据处理系统(10)和方法,用于多个POS终端(21,22)的数据处理系统(10)中,该多个POS终端(21,22)被分配各自唯一的第一主密钥,对于一个能够在该多个POS终端(21,22)上运行的应用客户端,其被分配共同的第二主密钥,并且所述数据处理系统(10)包括:通信单元(110),其配置为与多个POS终端(21,22)通信;以及与所述通信单元(110)耦合的处理单元(120),其被配置为执行与所述应用客户端相关联的操作,所述操作包括签到处理、联机交易处理和批结算交易处理,其中,联机交易处理涉及的数据在所述POS终端(21,22)处基于由所述第一主密钥加密的第一工作密钥来处理而在所述处理单元(120)处基于由所述第二主密钥加密的第二工作密钥来处理。

Description

用于多个POS终端的数据处理系统和方法 技术领域
本发明一般涉及数据处理,并且特别涉及用于多个POS终端的数据处理系统和方法。
背景技术
在传统的POS行业中,终端在布放到商户之前,POS终端专业化服务机构或收单机构需手动使用母POS往POS终端的密码键盘灌入终端主密钥,其中,终端主密钥(TMK)对于每台POS终端是唯一的。每台POS终端与联机交易系统之间共享唯一的终端主密钥,联机交易系统调用加密机随机生成PIK码和MAK码,其中,PIK码和MAK码都以TMK加密。PIK码被保存在密码键盘(PIN PAD)中,用于对诸如个人识别码(PIN)之类的用户密码进行加密,MAK码被用于报文鉴别(MAC)。联机交易过程中,为防止PIN泄露或被破解,要求从终端到发卡行整个信息交互过程中,全程对PIN进行安全加密保护,不允许PIN在计算机和网络系统中的任何环节以明文形式出现。
随着商业的日趋繁荣和发达,POS终端得到愈来愈广泛的应用。但是现有技术的POS终端存在如下缺点:
(1)硬件维护成本高。通常一家商户的柜台需要配备多台POS终端以及相应的密码键盘,这造成硬件资源和维护成本的浪费。
(2)新业务推广困难。每当有新业务需要进行推广时,需要重新烧录POS机程序和密码键盘灌装,针对单一业务,需在全国范围内申请多套数据,投入大,推广进度慢。
发明内容
本发明的目的之一是提供一种用于多个POS终端的数据处理系统,其能够以高效、低成本的方式为新业务提供良好的扩展性。
在按照本发明一个实施例的用于多个POS终端的数据处理系统中,该多个POS终端被分配各自唯一的第一主密钥,对于一个能够 在该多个POS终端上运行的应用客户端,其被分配共同的第二主密钥,并且所述数据处理系统包括:
通信单元,其配置为与多个POS终端通信;以及
与所述通信单元耦合的处理单元,其被配置为执行与所述应用客户端相关联的操作,所述操作包括签到处理、联机交易处理和批结算交易处理,
其中,联机交易处理涉及的数据在所述POS终端处基于由所述第一主密钥加密的第一工作密钥来处理而在所述处理单元处基于由所述第二主密钥加密的第二工作密钥来处理。
优选地,在上述数据处理系统中,所述第一工作密钥包含被密码键盘用于加密用户密码的第一PIK码和用于报文鉴别的第一MAK码,并且所述第二工作密钥包含被处理单元用于加密用户密码的第二PIK码和用于报文鉴别的第二MAK码。
优选地,在上述数据处理系统中,所述处理单元包含为所述应用客户端专门配备的应用终端以执行所述操作。
优选地,在上述数据处理系统中,所述处理单元按照下列方式执行签到处理:
当多个POS终端的其中一个为所述应用客户端向数据处理系统发起签到请求时,生成以所述第一主密钥加密的第一工作密钥并向发起签到请求的POS终端返回该第一工作密钥,以及对于所述应用客户端的首次签到请求,还生成以第二主密钥加密的第二工作密钥。
优选地,在上述数据处理系统中,所述处理单元按照下列方式执行联机交易处理:
当多个POS终端的其中一个为所述应用客户端向数据处理系统发起联机交易处理请求时,对该联机交易处理请求进行合法性验证,并且在合法性验证通过之后,通过调用硬件加密机将利用第一PIK码加密的用户密码转换为利用第二PIK码加密的用户密码以用于处理联机交易处理涉及的数据。
优选地,在上述数据处理系统中,所述处理单元按照下列方式执行批结算交易处理:
当多个POS终端的其中一个为所述应用客户端向数据处理系统发起批结算交易处理请求时,清空在所述处理单元内保存的第一工作 密钥和第二工作密钥。
优选地,在上述数据处理系统中,每个POS终端各自具有唯一的设备标识符,所述应用客户端具有唯一的应用标识符,所述处理单元通过将联机交易处理请求中包含的设备标识符和应用标识符与预先确定的关联关系进行比较来执行合法性验证。
本发明的另一个目的是提供一种用于多个POS终端的数据处理方法,其能够以高效、低成本的方式为新业务提供良好的扩展性。
按照本发明一个实施例的用于多个POS终端的数据处理方法包含下列步骤:
为多个POS终端分配各自唯一的第一主密钥;
为一个能够在多个POS终端上运行的应用客户端分配共同的第二主密钥;
执行与所述应用客户端相关联的操作,所述操作包括签到处理、联机交易处理和批结算交易处理,
其中,联机交易处理涉及的数据在所述POS终端处基于由所述第一主密钥加密的第一工作密钥来处理而在所述处理单元处基于由所述第二主密钥加密的第二工作密钥来处理。
附图说明
为了能够详细了解本发明的上述特征的方式,可参照实施例进行以上概述的对本发明的更具体描述,在附图中示出实施例的一部分。但是要注意,附图仅示出本发明的典型实施例,并且因此不是要被理解为限制其范围,因为本发明可容许其他同样有效的实施例。
图1为按照本发明一个实施例的用于多个POS终端的数据处理系统的框图。
图2为按照本发明另一个实施例的用于多个POS终端的数据处理方法的流程图。
图3为按照本发明另一个实施例的涉及签到处理操作的数据处理方法的流程图。
图4为按照本发明另一个实施例的涉及签到联机交易数据操作的数据处理方法的流程图。
图5为按照本发明另一个实施例的涉及签到批结算交易处理操 作的数据处理方法的流程图。
具体实施方式
下面参照其中图示了本发明示意性实施例的附图更为全面地说明本发明。但本发明可以按不同形式来实现,而不应解读为仅限于本文给出的各实施例。给出的上述各实施例旨在使本文的披露全面完整,以将本发明的保护范围更为全面地传达给本领域技术人员。
诸如“包含”和“包括”之类的用语表示除了具有在说明书和权利要求书中有直接和明确表述的单元和步骤以外,本发明的技术方案也不排除具有未被直接或明确表述的其它单元和步骤的情形。
在本说明书中,数据处理系统指的是这样一种系统,其可对POS终端上送的报文进行解密,同时对POS终端和应用终端的合法性、关联关系进行验证,其包含处理单元以实现磁条卡借贷记交易、PBOC借贷记交易、qPBOC脱机交易等所需的处理操作,处理操作例如包括但不限于组织金融收单平台报文、连接硬件加密机和计算报文MAC等。
在本说明书中,应用客户端可以是运行在POS终端智能操作系统上的应用程序,其配置为通过与数据处理系统的交互来完成支付功能。按照本发明的一个方面,对于运行在多个POS终端上的同一应用客户端,其具有唯一的应用标识符并且被保存在数据处理系统中。
在本说明书中,应用终端可以是在数据处理系统中运行的应用程序。按照本发明的另一个方面,每个应用对应唯一一个应用终端,并且应用客户端通过应用终端完成联机交易功能。
按照本发明的另一个方面,为每个POS终端分配各自唯一的第一主密钥,并且为每个能够在多个POS终端上运行的应用客户端或应用分配共同的第二主密钥。由此,在POS终端处基于由第一主密钥加密的第一工作密钥来处理联机交易处理涉及的数据,而在联机交易系统之类的数据处理系统中基于由第二主密钥加密的第二工作密钥来处理联机交易处理涉及的数据。
按照本发明的另一个方面,当运行同一应用客户端的多个POS终端的其中一个为该应用客户端向数据处理系统发起签到请求时,将生成以第一主密钥加密的第一工作密钥并向发起签到请求的POS终 端返回该第一工作密钥,此外,如果该签到请求是该应用客户端的首次签到请求,则还生成以第二主密钥加密的第二工作密钥。优选地,第一工作密钥包含被密码键盘用于加密用户密码的第一PIK码和用于报文鉴别的第一MAK码,并且第二工作密钥包含被处理单元用于加密用户密码的第二PIK码和用于报文鉴别的第二MAK码。
按照本发明的另一方面,对于每个应用客户端或应用,在数据处理系统配备专门的应用终端来执行涉及该应用客户端的操作,这些操作例如包括但不限于签到处理、联机交易处理和批结算交易处理等,并且在数据处理系统中,在应用终端与标识应用客户端的应用标识符之间建立关联。当应用客户端发起交易时,应用终端将来自POS终端的联机交易数据转换为符合应用终端规范的的联机交易数据之后进行处理,如上所述,对于同一应用客户端,其共享相同的第二主密钥,由此可在保证支付安全性的同时,以统一的方式处理联机交易,这对于新业务的引入是有利的。
图1为按照本发明一个实施例的用于多个POS终端的数据处理系统的框图。
图1所示用于多个POS终端的数据处理系统10包括通信单元110和处理单元120,其中,通信单元110配置为与多个POS终端(图1中以标号21和22示出)以及收单平台30和硬件加密机40通信,处理单元120与通信单元110耦合以执行与应用客户端相关联的操作,例如签到处理、联机交易处理和批结算交易处理等。优选地,处理单元120包含一个或多个应用终端(图1中以标号121A和121B示出),每个应用终端与一个应用或应用客户端相关联,其被配置为执行涉及相关联的应用客户端的操作。以图1所示的实施例为例,POS终端21和22都包含应用客户端A和B,应用终端121A与应用客户端A相关联,而应用终端121B与应用客户端B相关联。
图2为按照本发明另一个实施例的用于多个POS终端的数据处理方法的流程图。为阐述方便,本实施例的方法借助图1所示的数据处理系统实现。但是需要指出的是,本实施例并不局限于具有特定结构的系统。
按照本实施例的数据处理方法包括下列步骤:
在步骤S210中,为多个POS终端分配各自唯一的第一主密钥。 随后进入步骤S220,为一个或多个能够在多个POS终端上运行的应用客户端分配共同的第二主密钥。接着进入步骤S230,数据处理系统10执行与应用客户端相关联的操作,操作包括签到处理、联机交易处理和批结算交易处理等,其中,联机交易处理涉及的数据在POS终端处基于由第一主密钥加密的第一工作密钥来处理而在处理单元处基于由第二主密钥加密的第二工作密钥来处理。
图3为按照本发明另一个实施例的涉及签到处理操作的数据处理方法的流程图。为阐述方便,本实施例的方法借助图1所示的数据处理系统实现。但是需要指出的是,本实施例并不局限于具有特定结构的系统。
按照本实施例的数据处理方法包括下列步骤:
在步骤S310,通信单元110从多个POS终端的其中一个(例如图1中的POS终端21)接收应用客户端(例如图1中的A)发送的签到请求,该签到请求包含POS终端21的设备标识符和对应于该应用客户端的应用标识符。
随后进入步骤S320,与应用标识符相关的应用终端(例如图1中的应用终端121A)通过调用硬件加密机40生成以第一主密钥TMK1加密的第一工作密钥(例如第一PKI码和第一MAK码)并向发起签到请求的POS终端返回该第一工作密钥。
接着在步骤S330中,应用终端121A确认本次签到请求是否为应用客户端A的首次签到请求,如果是,则进入步骤S340,否则进入步骤S350。
在步骤S340,应用终端121A通过调用硬件加密机40生成以第二主密钥TMK2加密的第二工作密钥(例如第一PKI码和第一MAK码)并进入步骤S350。
在步骤S350,应用终端121A保存第一工作密钥和可能生成的第二工作密钥。
随后进入步骤S360,通信单元110向POS终端21发送第一PIK码,该PIK码被存入POS终端21的密码键盘以用于加密用户密码PIN。
图4为按照本发明另一个实施例的涉及联机交易处理操作的数据处理方法的流程图。为阐述方便,本实施例的方法借助图1所示的 数据处理系统实现。但是需要指出的是,本实施例并不局限于具有特定结构的系统。
按照本实施例的数据处理方法包括下列步骤:
在步骤S410,通信单元110从多个POS终端的其中一个(例如图1中的POS终端21)接收应用客户端(例如图1中的A)发送的联机交易请求,该联机交易请求包含联机交易数据(例如用第一PIK码加密的用户密码PIN以及支付金额)以及POS终端21的设备标识符和与应用客户端对应的应用标识符。
在步骤S420,应用终端121A对接收的联机交易处理请求进行合法性验证,例如通过将联机交易处理请求中包含的设备标识符和应用标识符与预先确定的关联关系进行比较来执行合法性验证。如果合法性验证通过,则进入步骤S430,否则则终止操作。
在步骤S430,应用终端121A判断与应用标识符相关联的应用是否已经签到,如果未签到,则进入步骤S440,执行图3所示的签到处理操作,否则进入步骤S450。在执行步骤S440之后也进入步骤S450。
在步骤S450,应用终端121A通过调用硬件加密机40将利用第一PIK码加密的用户密码转换为利用第二PIK码加密的用户密码。
随后进入步骤S460,应用终端121A利用第二工作密钥中的第二MIK码计算MAC,并按照销售点终端规范将对应的报文域进行补齐和填充以生成完整的报文。
接着在步骤S470中,应用终端121A将完整的报文发送至收单平台30。
随后进入步骤S480,应用终端121A将来自收单平台30的发卡行处理结果返回至POS终端21。
图5为按照本发明另一个实施例的涉及签到批结算交易处理操作的数据处理方法的流程图。为阐述方便,本实施例的方法借助图1所示的数据处理系统实现。但是需要指出的是,本实施例并不局限于具有特定结构的系统。
按照本实施例的数据处理方法包括下列步骤:
在步骤S510,通信单元110从多个POS终端的其中一个(例如图1中的POS终端21)接收应用客户端(例如图1中的A)发送的 批结算交易处理请求。
接着进入步骤S520,应用终端121A指示POS终端21上传相应的设备标识符和应用标识符
随后在步骤S530,应用终端121A清空其保存的与POS终端21相关的第一工作密钥和与应用A相关的第二工作密钥。
提供本文中提出的实施例和示例,以便最好地说明按照本技术及其特定应用的实施例,并且由此使本领域的技术人员能够实施和使用本发明。但是,本领域的技术人员将会知道,仅为了便于说明和举例而提供以上描述和示例。所提出的描述不是意在涵盖本发明的各个方面或者将本发明局限于所公开的精确形式。
鉴于以上所述,本公开的范围通过以下权利要求书来确定。

Claims (14)

  1. 一种用于多个POS终端的数据处理系统,该多个POS终端被分配各自唯一的第一主密钥,其特征在于,对于一个能够在该多个POS终端上运行的应用客户端,其被分配共同的第二主密钥,并且所述数据处理系统包括:
    通信单元,其配置为与多个POS终端通信;以及
    与所述通信单元耦合的处理单元,其被配置为执行与所述应用客户端相关联的操作,所述操作包括签到处理、联机交易处理和批结算交易处理,
    其中,联机交易处理涉及的数据在所述POS终端处基于由所述第一主密钥加密的第一工作密钥来处理而在所述处理单元处基于由所述第二主密钥加密的第二工作密钥来处理。
  2. 如权利要求1所述的数据处理系统,其中,所述第一工作密钥包含被密码键盘用于加密用户密码的第一PIK码和用于报文鉴别的第一MAK码,并且所述第二工作密钥包含被处理单元用于加密用户密码的第二PIK码和用于报文鉴别的第二MAK码。
  3. 如权利要求1所述的数据处理系统,其中,所述处理单元包含为所述应用客户端专门配备的应用终端以执行所述操作。
  4. 如权利要求1所述的数据处理系统,其中,所述处理单元按照下列方式执行签到处理:
    当多个POS终端的其中一个为所述应用客户端向数据处理系统发起签到请求时,生成以所述第一主密钥加密的第一工作密钥并向发起签到请求的POS终端返回该第一工作密钥,以及对于所述应用客户端的首次签到请求,还生成以第二主密钥加密的第二工作密钥。
  5. 如权利要求2所述的数据处理系统,其中,所述处理单元按照下列方式执行联机交易处理:
    当多个POS终端的其中一个为所述应用客户端向数据处理系统发起联机交易处理请求时,对该联机交易处理请求进行合法性验证,并且在合法性验证通过之后,通过调用硬件加密机将利用第一PIK码加密的用户密码转换为利用第二PIK码加密的用户密码以用于处理联机交易处理涉及的数据。
  6. 如权利要求1所述的数据处理系统,其中,所述处理单元按照下列方式执行批结算交易处理:
    当多个POS终端的其中一个为所述应用客户端向数据处理系统发起批结算交易处理请求时,清空在所述处理单元内保存的第一工作密钥和第二工作密钥。
  7. 如权利要求5所述的数据处理系统,其中,每个POS终端各自具有唯一的设备标识符,所述应用客户端具有唯一的应用标识符,所述处理单元通过将联机交易处理请求中包含的设备标识符和应用标识符与预先确定的关联关系进行比较来执行合法性验证。
  8. 一种用于多个POS终端的数据处理方法,其特征在于,包含下列步骤:
    为多个POS终端分配各自唯一的第一主密钥;
    为一个能够在多个POS终端上运行的应用客户端分配共同的第二主密钥;
    执行与所述应用客户端相关联的操作,所述操作包括签到处理、联机交易处理和批结算交易处理,
    其中,联机交易处理涉及的数据在所述POS终端处基于由所述第一主密钥加密的第一工作密钥来处理而在所述处理单元处基于由所述第二主密钥加密的第二工作密钥来处理。
  9. 如权利要求8所述的数据处理方法,其中,所述第一工作密钥包含被密码键盘用于加密用户密码的第一PIK码和用于报文鉴别的第一MAK码,并且所述第二工作密钥包含被处理单元用于加密用户密码的第二PIK码和用于报文鉴别的第二MAK码。
  10. 如权利要求8所述的数据处理方法,其中,利用为所述应用客户端专门配备的应用终端来执行所述操作。
  11. 如权利要求8所述的数据处理方法,其中,按照下列方式执行签到处理:
    当多个POS终端的其中一个为所述应用客户端发起签到请求时,生成以所述第一主密钥加密的第一工作密钥并向发起签到请求的POS终端返回该第一工作密钥,以及对于所述应用客户端的首次签到请求,还生成以第二主密钥加密的第二工作密钥。
  12. 如权利要求9所述的数据处理方法,其中,按照下列方式执 行联机交易处理:
    当多个POS终端的其中一个为所述应用客户端发起联机交易处理请求时,对该联机交易处理请求进行合法性验证,并且在合法性验证通过之后,通过调用硬件加密机将利用第一PIK码加密的用户密码转换为利用第二PIK码加密的用户密码以用于处理联机交易处理涉及的数据。
  13. 如权利要求8所述的数据处理方法,其中,按照下列方式执行批结算交易处理:
    当多个POS终端的其中一个为所述应用客户端发起批结算交易处理请求时,清空保存的第一工作密钥和第二工作密钥。
  14. 如权利要求12所述的数据处理方法,其中,每个POS终端各自具有唯一的设备标识符,所述应用客户端具有唯一的应用标识符,通过将联机交易处理请求中包含的设备标识符和应用标识符与预先确定的关联关系进行比较来执行合法性验证。
PCT/CN2017/092535 2016-07-26 2017-07-11 用于多个pos终端的数据处理系统和方法 WO2018019125A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610591757.1A CN106228713B (zh) 2016-07-26 2016-07-26 用于多个pos终端的数据处理系统和方法
CN201610591757.1 2016-07-26

Publications (1)

Publication Number Publication Date
WO2018019125A1 true WO2018019125A1 (zh) 2018-02-01

Family

ID=57534251

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/092535 WO2018019125A1 (zh) 2016-07-26 2017-07-11 用于多个pos终端的数据处理系统和方法

Country Status (3)

Country Link
CN (1) CN106228713B (zh)
TW (1) TWI668646B (zh)
WO (1) WO2018019125A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228713B (zh) * 2016-07-26 2018-08-10 中国银联股份有限公司 用于多个pos终端的数据处理系统和方法
CN110048831A (zh) * 2018-12-29 2019-07-23 中国银联股份有限公司 Pos终端主密钥的分发方法和分发装置
CN111935158B (zh) * 2020-08-12 2021-02-26 盐城工学院 一种远程网络消费系统的金融数据管理方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1998279A1 (en) * 2007-05-29 2008-12-03 First Data Corporation Secure payment transaction in multi-host environment
CN101593389A (zh) * 2009-07-01 2009-12-02 中国建设银行股份有限公司 一种用于pos终端的密钥管理方法和系统
CN104348610A (zh) * 2013-07-31 2015-02-11 中国银联股份有限公司 基于云pos交易敏感数据的安全传输方法和系统
WO2015171939A1 (en) * 2014-05-08 2015-11-12 Square, Inc. Establishment of a secure session between a card reader and a mobile device
CN105743654A (zh) * 2016-02-02 2016-07-06 上海动联信息技术股份有限公司 一种pos机密钥远程下载的服务系统以及密钥下载方法
CN106228713A (zh) * 2016-07-26 2016-12-14 中国银联股份有限公司 用于多个pos终端的数据处理系统和方法

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686225A (zh) * 2008-09-28 2010-03-31 中国银联股份有限公司 一种用于网上支付的数据加密和密钥生成方法
CN101867895A (zh) * 2009-09-01 2010-10-20 深圳市安捷信联科技有限公司 基于移动终端和短信的消费方法、移动终端和业务系统
JP2012010052A (ja) * 2010-06-24 2012-01-12 Sony Corp 情報処理装置および方法、プログラム、並びに、情報処理システム
CN102054258A (zh) * 2010-12-16 2011-05-11 中国建设银行股份有限公司 一种基于移动设备的电子银行安全认证方法及系统
CN102542451B (zh) * 2010-12-24 2015-02-04 北大方正集团有限公司 一种电子支付的方法、系统及其装置
CN102831534A (zh) * 2011-06-15 2012-12-19 郑幸鲲 电子购物券发布和效验系统及方法
JP6223811B2 (ja) * 2013-12-18 2017-11-01 セコム株式会社 通信システム及び通信方法
CN104954123A (zh) * 2014-03-28 2015-09-30 中国银联股份有限公司 智能pos终端主密钥更新系统及更新方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1998279A1 (en) * 2007-05-29 2008-12-03 First Data Corporation Secure payment transaction in multi-host environment
CN101593389A (zh) * 2009-07-01 2009-12-02 中国建设银行股份有限公司 一种用于pos终端的密钥管理方法和系统
CN104348610A (zh) * 2013-07-31 2015-02-11 中国银联股份有限公司 基于云pos交易敏感数据的安全传输方法和系统
WO2015171939A1 (en) * 2014-05-08 2015-11-12 Square, Inc. Establishment of a secure session between a card reader and a mobile device
CN105743654A (zh) * 2016-02-02 2016-07-06 上海动联信息技术股份有限公司 一种pos机密钥远程下载的服务系统以及密钥下载方法
CN106228713A (zh) * 2016-07-26 2016-12-14 中国银联股份有限公司 用于多个pos终端的数据处理系统和方法

Also Published As

Publication number Publication date
TWI668646B (zh) 2019-08-11
TW201804382A (zh) 2018-02-01
CN106228713B (zh) 2018-08-10
CN106228713A (zh) 2016-12-14

Similar Documents

Publication Publication Date Title
JP4971572B2 (ja) 電子商取引での取引の容易化
US11182783B2 (en) Electronic payment method and electronic device using ID-based public key cryptography
CN109697365B (zh) 信息处理方法及区块链节点、电子设备
EP3540671B1 (en) Systems and methods for software based encryption
CN107528688A (zh) 一种基于加密委托技术的区块链密钥保管及恢复方法、装置
CN111080295A (zh) 一种基于区块链的电子合同处理方法以及设备
WO2018090763A1 (zh) 一种终端主密钥的设置方法和装置
WO2018019125A1 (zh) 用于多个pos终端的数据处理系统和方法
CN106910063B (zh) 一种线下支付方法及系统
CN104486356A (zh) 基于互联网在线交易的数据传输方法
TW201911163A (zh) 一種支付方法及裝置
CN114219480A (zh) 一种多渠道费控快捷支付方法和系统
CN114240547A (zh) 基于数字签章的钢贸交易方法和系统、装置及存储介质
CN112074835A (zh) 执行安全操作的技术
TWI748630B (zh) 基於手機名片的二維條碼支付方法及其支付系統、電腦可讀儲存媒介及電腦設備
KR20200016157A (ko) 블록체인 기반의 카드 결제 처리 시스템 및 방법
CN113674096A (zh) 一种基于区块链技术的供应链金融的应用系统及方法
KR20020003539A (ko) 스마트카드기반의 각종 전자지불장치에서의 다중인증 처리시스템 및 그 방법
TWI661707B (zh) 安全性資訊交互方法、終端及電腦程式產品
CN116485381A (zh) 被扫码方法、电子设备、系统及介质
WO2018113508A1 (zh) 基于密文的身份验证方法
CN107919960A (zh) 一种应用程序的认证方法和系统
CN104980276A (zh) 用于安全性信息交互的身份认证方法
CN114169895A (zh) 一种支付信息处理系统、方法、装置、介质、产品和设备
US10762558B1 (en) System, method, and computer program for authorizing a payment using gesture data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17833428

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17833428

Country of ref document: EP

Kind code of ref document: A1