The invention discloses a device and a method of payment, the payment card payment device by simulation, the device comprises a first judging module used to detect when the payment request, judging whether the mobile terminal default payment for the host card emulation based on payment; second judgment module is used when the mobile terminal default payment based on the simulation host card payment, to determine whether the mobile terminal in the state put out the screen; wake up module, is used when the mobile terminal in the state put out the screen, wake up the host card to complete the payment request to the safety simulation application of corresponding payment based on. The invention solves the state put out the screen, the security module software does not work in, not in the state put out the screen safely and quickly complete the payment, causing users to pay disorder or termination, causing the user to experience the technical problem, in order to achieve safe and timely payment.
【技术实现步骤摘要】
本专利技术涉及移动支付领域,尤其涉及一种支付方法及装置。
技术介绍
随着科技的进步,NFC(NearFieldCommunication,近场通信)卡模拟支付方式的应用越来越广泛,目前银联和各大银行主推的云闪付功能采用近场通信(NFC)的基于HCE(hostcardemulation,主机卡模拟)的支付方式,近场通信卡模拟支付方式包括基于安全单元的卡模拟或基于主机卡模拟(HCE)的支付方式,执行基于安全单元的卡模拟或基于主机卡模拟的支付方式前,移动终端都需要在基于安全单元的卡模拟工作模式下调用单元包括内置单元即ESE(embeddedsecureelement)单元,通用集成电路卡式单元即UICC(universalintegratedcircuitcard)单元,完成与销售终端,移动终端的内部通信,移动终端在基于安全单元的卡模拟工作模式完成与销售终端,移动终端的内部通信后,根据不同的卡模拟支付方式调整工作模式,即卡模拟工作模式需与卡模拟支付方式匹配,当移动终端在基于安全单元的卡模拟支付方式时,移动终端工作模式为基于安全单元的卡模拟工作模式,当移动终端支付方式在基于主机卡的卡模拟支付方式时,移动终端工作模式为基于主机卡的卡模拟工作模式。当支付方式为基于安全单元的卡模拟支付方式时,为安全支付,需要供安全芯片,包括内置安全芯片,通用集成电路卡式安全芯片,基于安全单元的卡模拟支付方式的安全芯片与销售终端完成交互,保障支付过程的安全性,没有应用程序参与进来。基于主机卡模拟支付方式基于软件实现,不需要硬件安全芯片支持,软件模拟的安全单元模块既可以是在本地移动终端又 ...
【技术保护点】
一种支付装置,所述支付装置采用卡模拟支付方式,所述卡模拟支付方式包括基于主机卡模拟支付方式与基于安全单元的卡模拟支付方式,其特征在于:所述支付装置包括:第一判断模块,用于当检测到支付请求时,判断移动终端默认支付方式是否为基于主机卡模拟支付方式;第二判断模块,用于当移动终端默认支付方式为基于主机卡模拟支付方式时,判断移动终端是否在熄屏状态;唤醒模块,用于当移动终端在熄屏状态下时,唤醒基于主机卡模拟应用以安全完成支付请求对应的支付。
【技术特征摘要】
1.一种支付装置,所述支付装置采用卡模拟支付方式,所述卡模拟支付方式包括基于主机卡模拟支付方式与基于安全单元的卡模拟支付方式,其特征在于:所述支付装置包括:第一判断模块,用于当检测到支付请求时,判断移动终端默认支付方式是否为基于主机卡模拟支付方式;第二判断模块,用于当移动终端默认支付方式为基于主机卡模拟支付方式时,判断移动终端是否在熄屏状态;唤醒模块,用于当移动终端在熄屏状态下时,唤醒基于主机卡模拟应用以安全完成支付请求对应的支付。2.如权利要求1所述的支付装置,移动终端工作模式包括基于安全单元的卡模拟工作模式,所述移动终端包括近场通信控制器,其特征在于:所述卡模拟支付装置还包括:预置模块,用于将移动终端工作模式置为基于安全单元的卡模拟工作模式,基于近场通信控制器检测外部销售终端发送的外部近场数据;生成模块,用于生成外部近场数据对应的支付请求。3.如权利要求2所述的支付装置,所述移动终端包括安全单元,其特征在于:第二判断模块包括:判断单元,用于判断移动终端是在熄屏状态下还是在亮屏状态下;预置单元,用于当移动终端在熄屏状态下时,将移动终端支付方式置为基于安全单元的卡模拟支付方式;支付单元,将外部近场数据发送至安全单元,安全单元处理外部近场数据以供移动终端完成支付。4.如权利要求3所述的支付装置,其特征在于:所述第一判断单元包括:调用子单元,用于当移动终端在亮屏状态下时,调用移动终端的支付应用以完成支付。5.如权利要求2所述的支付装置,其特征在于:所述卡模拟支付装置还包括:切换模块,用于当检测到移动终端支付完成后生成的支付完成指令时,将移动终端工作模式切换成基于安全单元的卡模拟工作模式。6.一种支付方法,所述支付方法采用卡模...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。