首页> 外国专利> METHOD AND APPARATUS FOR COMMUNICATION BETWEEN MOBILE TERMINAL AND POS TERMINAL, AND POS TERMINAL

METHOD AND APPARATUS FOR COMMUNICATION BETWEEN MOBILE TERMINAL AND POS TERMINAL, AND POS TERMINAL

机译:移动终端和pos终端之间的通信方法和装置,以及pos终端

摘要

Disclosed is a method for communication between a mobile terminal and a POS terminal. The method comprises the steps: separately encapsulating, on the mobile terminal and the POS terminal, a broadcast interface used for filling broadcast information and a scanning interface used for obtaining the broadcast information; a broadcast thread of the POS terminal or the mobile terminal invokes the broadcast interface to fill the encrypted broadcast information into a data payload in a data structure to obtain an encrypted data payload, encapsulates and generates a broadcast data packet, and then broadcasts the broadcast data packet by using an ibeacon Bluetooth module; and the mobile terminal entering a broadcast area of the POS terminal or the POS terminal entering a broadcast area of the mobile terminal invokes a data reception thread and uses the ibeacon Bluetooth module to obtain the broadcast data packet by using an interface callback function of the scanning interface, decapsulates the broadcast data packet to obtain the encrypted data payload, and then decrypts the encrypted data payload to obtain the broadcast information. In the present invention, data is broadcast and scanned by means of ibeacon.
机译:公开了一种用于在移动终端和POS终端之间进行通信的方法。该方法包括以下步骤:在移动终端和POS终端上分别封装用于填充广播信息的广播接口和用于获得广播信息的扫描接口。 POS终端或移动终端的广播线程调用广播接口,将加密的广播信息填充到数据结构的数据有效载荷中以获得加密的数据有效载荷,封装并生成广播数据包,然后广播该广播数据使用ibeacon蓝牙模块发送数据包;进入POS终端的广播区域的移动终端或进入该移动终端的广播区域的POS终端调用数据接收线程,并使用ibeacon蓝牙模块通过扫描的接口回调功能获取广播数据包接口,将广播数据包解封装以获得加密的数据有效载荷,然后解密加密的数据有效载荷以获得广播信息。在本发明中,通过ibeacon广播和扫描数据。

著录项

  • 公开/公告号WO2015158168A1

    专利类型

  • 公开/公告日2015-10-22

    原文格式PDF

  • 申请/专利权人 FUJIAN LANDI COMMERCIAL EQUIPMENT CO.LTD;

    申请/专利号WO2015CN70398

  • 发明设计人 ZHANG CHICHENG;WU YAN;

    申请日2015-01-09

  • 分类号H04W4/06;G07G1/12;

  • 国家 WO

  • 入库时间 2022-08-21 15:03:35

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号