首页> 外国专利> Communication method between mobile terminal and POS terminal, communication system and POS terminal

Communication method between mobile terminal and POS terminal, communication system and POS terminal

机译:移动终端与pos终端之间的通信方法,通信系统及pos终端

摘要

A communication method between a mobile terminal and a POS terminal according to the present invention includes a step of encapsulating a broadcast interface for entering broadcast information in the mobile terminal and the POS terminal and a scan interface for acquiring the broadcast information, and a POS terminal. Or, the data broadcast thread of the mobile terminal calls the broadcast interface, enters the broadcast information after encryption into the data payload in the data structure, obtains the encrypted data payload, and encapsulates it to generate the broadcast data packet Broadcasting the broadcast data packet with the ibeacon Bluetooth module; The mobile terminal that enters the broadcast area of Null or the POS terminal that enters the broadcast area of the mobile terminal calls the data reception thread to obtain the broadcast data packet through the callback function of the scan interface using the ibeacon Bluetooth module. Performing decapsulation to obtain an encrypted data payload and then decrypting the encrypted data payload to obtain broadcast information. According to the present invention, data broadcasting and scanning through ibeacon are realized.
机译:根据本发明的移动终端与POS终端之间的通信方法包括以下步骤:封装用于在移动终端和POS终端中输入广播信息的广播接口;以及用于获取广播信息的扫描接口;以及POS终端。或者,移动终端的数据广播线程调用广播接口,将加密后的广播信息输入到数据结构中的数据有效载荷中,获取加密后的数据有效载荷,并将其封装以生成广播数据包。带有ibeacon蓝牙模块;进入Null广播区域的移动终端或进入移动终端广播区域的POS终端使用ibeacon蓝牙模块,通过扫描接口的回调功能,调用数据接收线程以获取广播数据包。执行解封装以获得加密的数据有效载荷,然后解密该加密的数据有效载荷以获得广播信息。根据本发明,实现了通过ibeacon的数据广播和扫描。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号