WO2015158168A1 - 一种移动终端与pos终端的通信方法、装置及一种pos - Google Patents

一种移动终端与pos终端的通信方法、装置及一种pos Download PDF

Info

Publication number
WO2015158168A1
WO2015158168A1 PCT/CN2015/070398 CN2015070398W WO2015158168A1 WO 2015158168 A1 WO2015158168 A1 WO 2015158168A1 CN 2015070398 W CN2015070398 W CN 2015070398W WO 2015158168 A1 WO2015158168 A1 WO 2015158168A1
Authority
WO
WIPO (PCT)
Prior art keywords
broadcast
data
interface
module
pos terminal
Prior art date
Application number
PCT/CN2015/070398
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 福建联迪商用设备有限公司
Priority to JP2016562760A priority Critical patent/JP6228690B2/ja
Publication of WO2015158168A1 publication Critical patent/WO2015158168A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services

Definitions

  • the present invention relates to the field of communications, and in particular, to a communication method and apparatus for a mobile terminal and a POS terminal, and a POS.
  • GPRS mobile network data transmission is safe and reliable, flexible and convenient to use. Its biggest advantage is to make the existing POS system get rid of the constraints of the wired communication network. Due to the wide coverage of GPRS, the wireless access POS machine can be applied in the place where the mobile phone can be used, and it can be conveniently used in various occasions.
  • Wifi communication data transmission is stable, fast, as long as there is a wireless router, establish a wireless LAN, two wifi devices can communicate, no need to communicate through the operator network.
  • Bluetooth 3.0 communication high transmission rate, stable transmission, no need to set up wireless routing, no need to use the external network, direct two Bluetooth devices can communicate directly.
  • the GPRS mobile network needs to rely on the carrier network.
  • the communication rate and quality depend on the strength of the signal of the operator network in a specific scenario, and the traffic needs to be charged, which increases the cost of communication.
  • Wifi communication requires wireless routing to build a wireless LAN, and communication is not possible anytime and anywhere, which greatly limits the application of this technology in POS and mobile communication.
  • Bluetooth 3.0 communication two Bluetooth devices need to perform scanning and pairing operations before establishing a connection, the process is cumbersome and the user experience is not high.
  • the present invention provides a communication method between a mobile terminal and a POS terminal, which can improve the convenience of communication between the mobile terminal and the POS terminal, and secure data transmission.
  • a communication method between a mobile terminal and a POS terminal comprising the steps of:
  • the mobile terminal and the POS terminal respectively encapsulate a broadcast interface for filling in broadcast information and a scan interface for acquiring broadcast information, and the mobile terminal and the POS terminal both open the data broadcast thread and the data scan thread;
  • the broadcast thread of the POS terminal or the mobile terminal invokes the broadcast interface to fill the encrypted data into the data payload in the data structure to obtain an encrypted data payload, encapsulates the generated broadcast data packet, and then broadcasts the broadcast data packet by using the ibea con Bluetooth module;
  • the mobile terminal that enters the broadcast area of the POS terminal or the POS terminal that enters the broadcast area of the mobile terminal invokes a data receiving thread to acquire the broadcast data packet through an interface callback function of the scan interface by using an ibeacon Bluetooth module, and decapsulates the broadcast data packet.
  • the encrypted data payload is obtained, and then the encrypted data payload is decrypted to obtain broadcast information.
  • the invention also discloses a communication system of a mobile terminal and a POS terminal, the communication system comprising a mobile terminal and a POS terminal, the mobile terminal comprising a first interface encapsulation module, a first broadcast module and a first scanning module, the POS terminal
  • the second interface encapsulation module, the second broadcast module, and the second scan module are included;
  • the first interface encapsulating module and the second interface encapsulating module are respectively configured to encapsulate a broadcast interface for filling in broadcast information and a scan interface for acquiring broadcast information in the mobile terminal and the POS terminal, and open the data broadcast thread and the data scan thread;
  • the first broadcast module and the second broadcast module are respectively configured to use the broadcast interface of the POS terminal or the mobile terminal to call the broadcast interface to fill the encrypted data into the data payload in the data structure to obtain an encrypted data payload, and encapsulate the generated broadcast data. Packet, and then broadcast the broadcast data packet using an ibeacon Bluetooth module;
  • the first scanning module and the second scanning module are respectively used to invoke a data receiving thread by using a mobile terminal or a POS terminal to obtain the broadcast data packet by using an ibeacon Bluetooth module through an interface callback function of the scanning interface, and decapsulating the broadcast data packet.
  • the data payload is encrypted, and then the encrypted data payload is decrypted to obtain broadcast information.
  • the invention also discloses a POS terminal, which comprises an interface encapsulation module, a broadcast module and a scanning module;
  • the interface encapsulating module is configured to encapsulate a broadcast interface for filling in broadcast information and a scan interface for acquiring broadcast information, and the POS terminal starts a data broadcast thread and a data scan thread;
  • the broadcast module is used by the broadcast thread of the POS terminal to invoke the broadcast interface to fill the encrypted data into the data payload of the data structure to obtain an encrypted data payload, package the generated broadcast data packet, and then broadcast the broadcast data using the ibeacon Bluetooth module. package;
  • the scanning module is used by the POS terminal to invoke the data receiving thread to obtain the broadcast data packet by using an ibeacon Bluetooth module through an interface callback function of the scanning interface, decapsulating the broadcast data packet to obtain an encrypted data payload, and then decrypting the encrypted data payload. Get broadcast information.
  • the invention has the beneficial effects that the mobile terminal and the POS terminal of the present invention fill in the broadcast information to be broadcast into the broadcast data packet through the broadcast connection, and broadcast the broadcast data packet through the Bluetooth module of the ibeacon, and receive the received data packet through the scan interface.
  • FIG. 1 is a flowchart of a method for communicating a mobile terminal and a POS terminal according to an embodiment of the present invention
  • FIG. 2 is a functional block diagram of a communication system between a mobile terminal and a POS terminal according to an embodiment of the present invention
  • FIG. 3 is a functional block diagram of a POS terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a data structure according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of execution of an example of the present invention.
  • 10-first interface package module 20-first broadcast module; 30-first scan module; 40-second interface seal Module; 50-second broadcast module; 60-second scan module; 100-interface package module; 200-broadcast module; 300-scan module.
  • the present invention broadcasts the data to be broadcast into the broadcast information of the ibeacon by the POS terminal and the mobile terminal encapsulating the broadcast interface for filling in the broadcast information, and scans the ibeacon broadcast information by encapsulating the scan interface for acquiring the broadcast information.
  • the broadcast data is obtained therefrom, thereby realizing the broadcast and reception of the broadcast data.
  • Ibeacon communication technology is a concept proposed by Apple, which uses the low-power Bluetooth technology (Bluetooth Low Energy, ble) broadcast and scanning method to send and receive information, because the process of broadcasting and scanning is very fast. Therefore, the ibeacon communication method is very convenient and efficient. It is mainly applied to indoor coordinate positioning navigation and other scenes that do not involve sensitive information, which determines that the message can be encrypted without being encrypted in such broadcast information transmission.
  • Bluetooth Low Energy, ble Bluetooth Low Energy
  • the ibeacon technology principle is to use the fixed base station to broadcast the uuid information, and after the scanning mobile terminal enters the base station broadcast field, it filters the specific uuid information, and then calculates the distance between the mobile terminal and the base station according to the broadcast signal strength. Since the base station location information is known, The location information of the mobile phone can also be calculated from this, and finally the information is obtained from the network cloud according to the location of the mobile phone.
  • a communication method between a mobile terminal and a POS terminal includes the following steps:
  • the mobile terminal and the POS terminal respectively encapsulate a broadcast interface for filling in broadcast information and a scan interface for acquiring broadcast information, and the mobile terminal and the POS terminal both open a data broadcast thread and a data scan thread.
  • the broadcast thread of the S2, the POS terminal or the mobile terminal invokes the broadcast interface to fill the encrypted data into the data payload in the data structure to obtain the encrypted data payload, encapsulates the generated broadcast data packet, and then broadcasts the broadcast data packet by using the ibeacon Bluetooth module. ;
  • the mobile terminal that enters the broadcast area of the POS terminal or the POS terminal that enters the broadcast area of the mobile terminal invokes a data receiving thread to obtain the broadcast data packet by using an interface callback function of the scan interface by using an ibeacon Bluetooth module, and performs broadcast packet on the broadcast data packet.
  • the decapsulation obtains an encrypted data payload, and then decrypts the encrypted data payload to obtain broadcast information.
  • the specific steps of “using the ibeacon Bluetooth module to broadcast the broadcast data packet” include:
  • the mobile terminal or the POS terminal invokes the broadcast interface to obtain the hci layer interface of the device, and uses the socket of the hci to send an enable broadcast command to the hci layer interface, and the hci layer enables the broadcast status of the ibeacon Bluetooth module according to the enabled broadcast command. ;
  • the mobile terminal or the POS terminal invokes the broadcast interface to send a set broadcast data command to the hci layer interface by using the hci socket, and the hci layer interface sets the broadcast data packet to broadcast data, and broadcasts using the ibeacon bluetooth module.
  • the mobile terminal and the POS terminal both open the data broadcast thread and the data scanning thread. Therefore, the mobile terminal and the POS terminal can simultaneously broadcast and scan data, thereby realizing the entire POS terminal and the mobile terminal.
  • Duplex communication The present invention broadcasts the data to be broadcast into the broadcast information of the ibeacon by the POS terminal and the mobile terminal encapsulating the broadcast interface for filling in the broadcast information, and scans the ibeacon broadcast information by encapsulating the scan interface for acquiring the broadcast information.
  • the broadcast data is obtained therefrom, thereby realizing the broadcast and reception of the broadcast data.
  • the communication between the mobile terminal and the POS terminal of the present invention does not need to rely on other networks (such as WIFI, GPRS mobile network), and does not need to perform scanning pairing (such as Bluetooth), data transmission is fast and convenient, and broadcast
  • the data is ciphertext data, and only the POS terminal and the mobile terminal transmitting the two-way have encryption and decryption keys, thereby ensuring data transmission security.
  • the data structure is a broadcast data payload
  • the interface callback function is specifically configured to acquire a broadcast data packet by scanning a broadcast.
  • the mobile terminal can directly obtain the broadcast data by scanning the broadcast information, and does not need to perform scan pairing before transmitting the data.
  • the POS terminal or the mobile terminal fills in the broadcast information to be broadcast to the broadcast number.
  • the data filling method is suitable for broadcasting some broadcast information with a small data size.
  • the POS terminal or the mobile terminal may divide the broadcast information to be broadcast into a part of a certain length, and fill each part into different broadcast data payloads. Broadcasting, the specific steps include:
  • S200 Fill the divided partial broadcast information into data payloads of different data structures, and fill in the order of the partial broadcast information in the broadcast information to the first byte of the data payload, where the data structure further includes data. Length, data type.
  • the received broadcast data can be quickly spliced into complete broadcast data by the order in the first byte of the data payload.
  • a communication system of a mobile terminal and a POS terminal comprising a mobile terminal and a POS terminal, the mobile terminal comprising a first interface encapsulation module 10, a first broadcast module 20 and a first scanning module 30, the POS terminal comprising a second interface encapsulating module 40, a second broadcast module 50, and a second scanning module 60;
  • the first interface encapsulating module 10 and the second interface encapsulating module 40 are respectively configured to encapsulate a broadcast interface for filling in broadcast information and a scan interface for acquiring broadcast information in the mobile terminal and the POS terminal, and open the data broadcast thread and the data scan. Thread
  • the first broadcast module 20 and the second broadcast module 50 are respectively configured to use the broadcast interface of the POS terminal or the mobile terminal to call the broadcast interface to fill the encrypted data into the data payload in the data structure to obtain an encrypted data payload, and generate the packaged data payload. Broadcast the data packet, and then broadcast the broadcast data packet using an ibeacon Bluetooth module;
  • the first scanning module 30 and the second scanning module 60 are respectively used to invoke the data receiving thread by using the mobile terminal or the POS terminal to obtain the broadcast data packet through the interface callback function of the scanning interface by using the ibeacon bluetooth module to solve the broadcast data packet.
  • the encapsulation obtains an encrypted data payload, and then decrypts the encrypted data payload to obtain broadcast information.
  • the POS terminal and the mobile terminal fill the broadcast information into the data structure through the broadcast interface, and broadcast the broadcast data packet through the ibeacon module, and obtain the broadcast data by using a callback function of the scan interface.
  • Package therefore, to achieve broadcast data directly broadcast through ibeacon Bluetooth, need to rely on the external network (such as WIFI, GPRS mobile network, etc.), and no need to scan pairing (such as pairing before Bluetooth transmission data), data transmission is fast and convenient.
  • the first broadcast module 20, the second broadcast module 50, the first scanning module 30, and the second scanning module 60 broadcast and scan the broadcast data packet through Bluetooth, wherein the broadcast interface passes The data to be broadcast is inserted into the broadcast data payload of the ibeacon broadcast;
  • the scanning interface scans broadcast information and acquires data in the broadcast information.
  • the broadcast information is filled into the broadcast data payload, and the broadcast data is broadcasted while the device information is being broadcasted.
  • the scan interface scans the broadcast information and separates the broadcast data. Therefore, the mobile terminal and the POS terminal can directly Get broadcast data without transferring data after scanning pairing.
  • the broadcast module 200 and the second broadcast module 50 include an enabling unit and a broadcast unit;
  • the enabling unit is configured to obtain an hci layer interface of the mobile terminal or the POS terminal, and send a command to the hci layer interface by using a socket of the hci to enable the broadcast status of the Bluetooth device.
  • the broadcast unit is configured to send a command for setting broadcast data using a socket of hci, set the encrypted broadcast data packet to broadcast data, and perform broadcast data packet broadcast.
  • the first broadcast module 20 and the second broadcast module 50 further include a data encapsulation unit
  • the data encapsulating unit is configured to invoke a broadcast interface to divide the encrypted broadcast information by a preset length
  • the data structure further includes Data length, data type.
  • a POS terminal includes an interface encapsulation module 100, a broadcast module 200, and a scanning module 300:
  • the interface encapsulating module 100 is configured to encapsulate a broadcast interface for filling in broadcast information and for acquiring a broadcast The scanning interface of the information, the POS terminal starts the data broadcast thread and the data scanning thread;
  • the broadcast module 200 is used by the broadcast thread of the POS terminal to invoke the broadcast interface to fill the encrypted data into the data payload in the data structure to obtain an encrypted data payload, package the generated broadcast data packet, and then broadcast the broadcast using the ibeacon Bluetooth module. data pack;
  • the scanning module 300 is configured to invoke a data receiving thread by the POS terminal to obtain the broadcast data packet by using an ibeacon Bluetooth module through an interface callback function of the scan interface, decapsulating the broadcast data packet to obtain an encrypted data payload, and then performing the encrypted data payload on the data packet. Decrypt to get the broadcast information.
  • the POS terminal When the information needs to be broadcasted to the outside, the POS terminal fills in the broadcast information into the data structure through the broadcast interface, and broadcasts the broadcast information through the ibeacon Bluetooth module. At the same time, the broadcast data packet is obtained through the callback function of the scan interface. Packets, and get broadcast information from them. The POS terminal broadcasts information and scans and acquires broadcast information. The operation is simple without using an external network (WIFI, GPRS network), and no pairing operation is required, thereby improving the convenience of data broadcasting and scanning.
  • WIFI WIFI, GPRS network
  • the broadcast module 200 and the scanning module 300 broadcast and scan the broadcast data packet by Bluetooth, wherein the broadcast interface inserts data to be broadcast into a data payload of an ibeacon broadcast;
  • the scan interface scans broadcast information of the peripheral device and acquires data in the broadcast information.
  • the broadcast information is filled into the broadcast data payload, and the broadcast data is broadcasted while the device information is being broadcasted.
  • the scan interface scans the broadcast information and separates the broadcast data. Therefore, the mobile terminal and the POS terminal can pass.
  • the broadcast information of the peripheral device is scanned to directly obtain the broadcast data, and the data is transmitted without scanning and pairing.
  • the mobile terminal and the POS terminal of the present invention fill in the broadcast information to be broadcast into the broadcast data packet through the broadcast connection, and broadcast the broadcast data packet through the Bluetooth module of the ibeacon, and receive the broadcast data through the scan interface.
  • the broadcast information is obtained to realize data broadcasting and receiving, and the mobile terminal communicates with the POS terminal without using other networks (such as WIFI, GPRS mobile network), and does not need to perform scanning pairing (such as Bluetooth), and the data transmission is quick and convenient. .
  • the present invention is described below by way of an example in which a specific mobile phone (ie, a mobile terminal) communicates with a POS terminal. .
  • the POS terminal and the mobile terminal respectively encapsulate a broadcast interface for filling in broadcast information and a scan interface for acquiring broadcast information, and both the mobile terminal and the POS terminal turn on the data broadcast thread and the data scan thread, so the POS terminal And the mobile terminal can send and receive information to each other through the broadcast interface and the scan interface.
  • the steps for communicating between the mobile phone and the POS terminal are as follows:
  • Step 1) After the POS terminal starts initialization, the data broadcast thread and the data scan thread are started, the data sending thread is responsible for sending the broadcast, and the data receiving thread is responsible for scanning the broadcast.
  • Step 2 The upper layer application on the POS side encrypts the broadcast information to be transmitted.
  • Ibeacon technology does not do data encryption, in this solution to achieve data encryption, encryption is not only safe and reliable, encryption and decryption also need to consider the difficulty of mobile hardware and software implementation and will reduce the data transmission rate, etc. aspect.
  • Step 3 The sending thread of the POS end encapsulates the broadcast data packet, and the broadcast data packet is composed of n AD Structures, and n may be 1.
  • AD Structure is shown in Figure 4.
  • Each AD Structure is composed of AD Length, Type (AD Type) and Load (AD Payload).
  • the length is filled in the total length of the current AD Structure.
  • the number only after 0x3D and does not contain 0xFF is the user's own. Defined, from 0x01 to 0x3D and 0xFF are used by the standard GAP protocol, the payload is used to write broadcast data.
  • the sender determines the length of the encrypted broadcast information to be sent, determines whether it is a long message, and needs to be divided into multiple branches for transmission.
  • the type in the AD Structure structure to distinguish whether the data is a long message segment. If so, the sequence number of each segment can be filled in the first byte of the payload so that the receiver can assemble each segment. Growing up the message.
  • Encrypted data is encapsulated in a broadcast packet format.
  • Step 4) The data sending thread at the POS end broadcasts the encrypted data packet.
  • the specific process of broadcasting the encrypted data packet is: first obtaining the hci layer interface of the device, and using the socket of the hci to send a command to the hci layer interface, enabling the ble to be in a broadcast state. After ble is in the broadcast state, use hci's socket to send a command to set broadcast data, and set the encrypted data packet to broadcast data. If multiple packets are to be sent, set the same method at regular intervals. Broadcast data.
  • HCI Host Controller Interface
  • Step 5 The mobile terminal opens the data sending thread and the data receiving thread, the data sending thread is responsible for sending the broadcast, and the data receiving thread is responsible for scanning the broadcast.
  • Step 6) The data receiving thread of the mobile terminal turns on the function of scanning the broadcast data.
  • the scanning function is enabled using a scanning interface that enables the low-power Bluetooth module, ble.
  • Step 7) After the mobile terminal enters the broadcast field of the POS terminal, the mobile terminal data receiving thread can receive the broadcast data packet by scanning the broadcast interface callback function.
  • Step 8) The mobile terminal data receiving thread decapsulates the received broadcast data packet according to the broadcast data packet format to obtain an encrypted data payload.
  • the type of the AD Structure it is confirmed whether it is a load message transmitted in a divided manner, and if so, the encrypted message is assembled according to the first byte order number of the load.
  • Step 9 The upper layer application of the mobile terminal data receiving thread decrypts the encrypted message data to obtain the broadcast information of the plaintext.
  • the full-duplex communication is reflected in the POS end while scanning the mobile terminal broadcast.
  • Step 10 The data sending thread of the mobile terminal encrypts the plaintext broadcast information to be sent.
  • Step 11 The data sending thread of the mobile terminal encapsulates the broadcast data packet, and the process is the same as step 3)
  • Step 12 The data sending thread of the mobile terminal broadcasts the encrypted data packet.
  • the specific process is as follows: first set the broadcast data interface to set the broadcast data, and then call the interface that enables the ble broadcast to enable the broadcast, so that the broadcast data is sent out.
  • Step 13) The data receiving thread at the POS side enables ble scanning.
  • the specific process is: obtaining the hci layer interface of the device, and using the socket of the hci to send a command to the hci layer interface, enabling the ble to be in the scanning state.
  • Step 15) The POS-side data receiving thread decapsulates the received broadcast data packet according to the broadcast data packet format to obtain an encrypted data payload.
  • Step 16 The upper layer application of the POS data receiving thread decrypts the encrypted message data to obtain plaintext data.

Abstract

本发明公开一种移动终端与POS终端的通信方法,该方法包括步骤:在移动终端和POS终端分别封装用于填写广播信息的广播接口和用于获取广播信息的扫描接口;POS终端或移动终端的广播线程调用广播接口将经过加密后的广播信息填写至数据结构中的数据载荷得到加密数据载荷,封装生成广播数据包,然后使用ibeacon蓝牙模块广播所述广播数据包;进入所述POS终端广播区域的移动终端或进入所述移动终端广播区域的POS终端调用数据接收线程使用ibeacon蓝牙模块通过扫描接口的接口回调函数获取所述广播数据包,对广播数据包进行解封装得到加密数据载荷,然后对加密数据载荷其进行解密得到广播信息。本发明实现通过ibeacon广播和扫描数据。

Description

一种移动终端与POS终端的通信方法、装置及一种POS 技术领域
本发明涉及通信领域,特别是涉及一种移动终端与POS终端的通信方法、装置及一种POS。
背景技术
在传统电子金融支付行业,金融POS(point of sale)机起着举足轻重的作用,很多的刷支付都是通过POS机进行的。但是随着移动电子商务的发展,手机消费渐渐成为人们目前消费一种重要支付手段,但是,手机时常连接于外网(通过3G网络与互联网连接),因此存在被木马病毒攻击的可能,鉴于手机消费的安全性,POS机的加入很好的解决了这个问题。
但是随之而来的问题就是手机和POS机如何通信,当然通信方式多种多样,目前成熟可行的金融POS机和手机进行通讯的方式主要有三种方式:
GPRS移动网络,数据传输安全可靠,使用灵活方便。它的最大优势是使现有的POS系统摆脱有线通信网的制约,由于GPRS覆盖范围广,采用无线接入POS机在手机可以使用的地方都可应用,可方便地部属于各种场合。
Wifi通信,数据传输稳定,速度快速,只要有一个无线路由,建立起一个无线局域网,两个wifi设备就可以进行通信,不需要通过运行商网络通信。
蓝牙3.0通信,传输速率高传输稳定,不需要搭建无线路由,不需要借助外网,直接两个蓝牙设备可以直接通信。
衡量手机与POS机之间的通信方式是否能够满足要求的主要有两个因素:一个是便捷性,另一个是安全性,因为只有这两点都达到了,才能简化用户消费流程,减小用户排队等候时间,在很大程度上优化用户体验。但是,上述通信方式在便捷性上存在问题,用户在支付体验上大打折扣,这些技术有如下缺点:
GPRS移动网络需要借助于运营商网络,通信速率和质量依赖于运营商网络在具体场景的信号强弱,同时流量是需要有费用的,这增加了通信的成本。
Wifi通信,需要无线路由来搭建无线局域网,无法随时随地进行通讯,大大地限制了这一技术在POS和手机通信上的应用。
蓝牙3.0通信,两个蓝牙设备在建立连接之前需要进行扫描配对等操作,过程繁琐,用户体验不高。
发明内容
本发明为解决上述技术问题,提供一种移动终端与POS终端的通信方法,该通信方法能够提高移动终端与POS终端的通信的便捷性,并且数据传输安全。
一种移动终端与POS终端的通信方法,包括步骤:
在移动终端和POS终端分别封装用于填写广播信息的广播接口和用于获取广播信息的扫描接口,移动终端和POS终端均开启数据广播线程和数据扫描线程;
POS终端或移动终端的广播线程调用广播接口将经过加密后的广播信息填写至数据结构中的数据载荷得到加密数据载荷,封装生成广播数据包,然后使用ibea con蓝牙模块广播所述广播数据包;
进入所述POS终端广播区域的移动终端或进入所述移动终端广播区域的POS终端调用数据接收线程使用ibeacon蓝牙模块通过扫描接口的接口回调函数获取所述广播数据包,对广播数据包进行解封装得到加密数据载荷,然后对加密数据载荷其进行解密得到广播信息。
本发明还公开一种移动终端与POS终端的通信系统,该通信系统包括移动终端和POS终端,所述移动终端包括第一接口封装模块、第一广播模块和第一扫描模块,所述POS终端包括第二接口封装模块、第二广播模块和第二扫描模块;
所述第一接口封装模块和第二接口封装模块分别用于在移动终端和POS终端封装用于填写广播信息的广播接口和用于获取广播信息的扫描接口,开启数据广播线程和数据扫描线程;
所述第一广播模块和第二广播模块分别用于通过POS终端或移动终端的广播线程调用广播接口将经过加密后的广播信息填写至数据结构中的数据载荷得到加密数据载荷,封装生成广播数据包,然后使用ibeacon蓝牙模块广播所述广播数据包;
所述第一扫描模块和第二扫描模块分别用于通过移动终端或POS终端调用数据接收线程使用ibeacon蓝牙模块通过扫描接口的接口回调函数获取所述广播数据包,对广播数据包进行解封装得到加密数据载荷,然后对加密数据载荷其进行解密得到广播信息。
本发明还公开一种POS终端,该POS终端包括接口封装模块、广播模块和扫描模块;
所述接口封装模块用于封装用于填写广播信息的广播接口和用于获取广播信息的扫描接口,POS终端开启数据广播线程和数据扫描线程;
所述广播模块用于POS终端的广播线程调用广播接口将经过加密后的广播信息填写至数据结构中的数据载荷得到加密数据载荷,封装生成广播数据包,然后使用ibeacon蓝牙模块广播所述广播数据包;
所述扫描模块用于POS终端调用数据接收线程使用ibeacon蓝牙模块通过扫描接口的接口回调函数获取所述广播数据包,对广播数据包进行解封装得到加密数据载荷,然后对加密数据载荷其进行解密得到广播信息。
本发明的有益效果为:本发明移动终端和POS终端通过广播接将待广播的广播信息填写至广播数据包中,并通过ibeacon的蓝牙模块广播所述广播数据包,通过扫描接口从接收到的广播数据中获取所述广播信息,从而实现数据广播与接收,该移动终端与POS终端通信方式无需借助其他网络(如WIFI、GPRS移动网络),且不需要进行扫描配对(如蓝牙),数据传输快捷方便。
附图说明
图1为本发明一实施方式一种移动终端与POS终端的通信方法的方法流程图;
图2为本发明一实施方式一种移动终端与POS终端的通信系统的功能框图;
图3为本发明一实施方式一种POS终端的功能框图;
图4为本发明一实施方式中数据结构的结构示意图;
图5为本发明一实例的执行流程图;
主要标号说明:
10-第一接口封装模块;20-第一广播模块;30-第一扫描模块;40-第二接口封 装模块;50-第二广播模块;60-第二扫描模块;100-接口封装模块;200-广播模块;300-扫描模块。
具体实施方式
本发明通过在POS终端和移动终端封装用于填写广播信息的广播接口将待广播的数据插入到ibeacon的广播信息中进行广播,同时,通过封装用于获取广播信息的扫描接口扫描ibeacon广播信息并从中获取广播数据,从而实现广播数据的广播和接收。
ibeacon通信技术是由苹果公司提出来的一个概念,即采用低功耗蓝牙技术(B luetooth Low Energy,简称ble)的广播和扫描方法来进行信息的发送和接收,由于广播和扫描的过程十分快捷,因此ibeacon通信方式十分方便高效,它主要应用在室内坐标定位导航等不涉及敏感信息的场景,这就决定了消息在这样的广播信息传递中可以是明文不需要加密的。
ibeacon技术原理是利用固定基站广播uuid信息,开启扫描的手机端进入到基站广播领域后,过滤到特定uuid信息,然后根据广播信号强度算出手机端和基站的距离,由于基站位置信息已知,所以手机的位置信息也能由此计算出来,最后再根据手机位置从网络云端去获取信息。
为详细说明本发明的技术内容、构造特征、所实现目的及效果,以下结合实施方式并配合附图详予说明。
实施例一
请参阅图1,本实施方式一种移动终端与POS终端的通信方法,该通信方法包括步骤:
S1、在移动终端和POS终端分别封装用于填写广播信息的广播接口和用于获取广播信息的扫描接口,移动终端和POS终端均开启数据广播线程和数据扫描线程;
S2、POS终端或移动终端的广播线程调用广播接口将经过加密后的广播信息填写至数据结构中的数据载荷得到加密数据载荷,封装生成广播数据包,然后使用ibeacon蓝牙模块广播所述广播数据包;
S3、进入所述POS终端广播区域的移动终端或进入所述移动终端广播区域的POS终端调用数据接收线程使用ibeacon蓝牙模块通过扫描接口的接口回调函数获取所述广播数据包,对广播数据包进行解封装得到加密数据载荷,然后对加密数据载荷其进行解密得到广播信息。
在本实施方式中,所述“使用ibeacon蓝牙模块广播所述广播数据包”的具体步骤包括:
S10、移动终端或POS终端调用广播接口获得设备的hci层接口,并使用hci的套接字向hci层接口发送使能广播命令,hci层根据该使能广播命令使能ibeacon蓝牙模块的广播状态;
S20、移动终端或POS终端调用广播接口使用hci的套接字向hci层接口发送设置广播数据命令,hci层接口将所述广播数据包设置为广播数据,并使用ibeacon蓝牙模块进行广播。
在所述步骤S1中,所述移动终端和POS终端均开启数据广播线程和数据扫描线程,因此,移动终端和POS终端就能够同时进行数据的广播和扫描,实现POS终端与移动终端之间全双工通信。本发明通过在POS终端和移动终端封装用于填写广播信息的广播接口将待广播的数据插入到ibeacon的广播信息中进行广播,同时,通过封装用于获取广播信息的扫描接口扫描ibeacon广播信息并从中获取广播数据,从而实现广播数据的广播和接收。
与现有的技术相比,本发明移动终端与POS终端之间的通信无需借助其他网络(如WIFI、GPRS移动网络),且不需要进行扫描配对(如蓝牙),数据传输快捷方便,并且广播的数据是密文数据,只有传输双向的POS终端和移动终端有加、解密密钥,从而保证数据传输安全。
在本实施方式中,所述数据结构为广播数据载荷,所述接口回调函数具体用于通过扫描广播来获取广播数据包。即将广播信息填写至uuid信息位置处中,当广播本设备的自身信息的同时就将广播数据广播出去,所述扫描接口扫描广播,并从广播信息中分离出所述广播数据,因此,移动终端与POS终端就可通过扫描广播信息直接获取广播数据,无需进行扫描配对后再传输数据。
在本实施方式中,所述POS终端或移动终端将待广播的广播信息填写至广播数 据载荷中进行广播,该数据填写方式适用于广播一些数据大小较小的广播信息。在其他实施方式中,为了广播一些数据长度较大的广播数据,所述POS终端或移动终端可以将待广播的广播信息分割成一定长度的部分,并将各部分分别填写至不同的广播数据载荷中进行广播,具体步骤包括:
S100、调用广播接口将加密后的广播信息按预设长度进行分割;
S200、将分割后的各部分广播信息分别填写至不同数据结构的数据载荷中,将各部分广播信息在广播信息中的顺序填写至数据载荷的首字节,其中,所述数据结构还包括数据长度、数据类型。
通过所述数据载荷的首字节中顺序可以快速的将接收到的广播数据拼接成完整的广播数据。
实施例二
一种移动终端与POS终端的通信系统,该通信系统包括移动终端和POS终端,所述移动终端包括第一接口封装模块10、第一广播模块20和第一扫描模块30,所述POS终端包括第二接口封装模块40、第二广播模块50和第二扫描模块60;
所述第一接口封装模块10和第二接口封装模块40分别用于在移动终端和POS终端封装用于填写广播信息的广播接口和用于获取广播信息的扫描接口,开启数据广播线程和数据扫描线程;
所述第一广播模块20和第二广播模块50分别用于通过POS终端或移动终端的广播线程调用广播接口将经过加密后的广播信息填写至数据结构中的数据载荷得到加密数据载荷,封装生成广播数据包,然后使用ibeacon蓝牙模块广播所述广播数据包;
所述第一扫描模块30和第二扫描模块60分别用于通过移动终端或POS终端调用数据接收线程使用ibeacon蓝牙模块通过扫描接口的接口回调函数获取所述广播数据包,对广播数据包进行解封装得到加密数据载荷,然后对加密数据载荷其进行解密得到广播信息。
所述POS终端和移动终端通过广播接口将广播信息填写至数据结构中,并通过ibeacon模块广播所述广播数据包,通过扫描接口的回调函数获取所述广播数据 包,因此,实现将广播数据通过ibeacon蓝牙直接广播,需要借助于外界网络(如WIFI、GPRS移动网络等),也无需进行扫描配对(如蓝牙传输数据前的配对),数据传输快捷方便。
在本实施方式中,所述第一广播模块20、第二广播模块50、第一扫描模块30和第二扫描模块60通过蓝牙广播和扫描所述广播数据包,其中,所述广播接口通过将待广播的数据插入至ibeacon广播的广播数据载荷;
所述扫描接口通过扫描广播信息,并获取广播信息中的数据。
即将广播信息填写至广播数据载荷中,当广播自身设备信息的同时就将广播数据广播出去,所述扫描接口扫描广播信息,并分离出所述广播数据,因此,移动终端与POS终端就可以直接获取广播数据,无需进行扫描配对后再传输数据。
在本实施方式中,所述广播模块200和第二广播模块50包括使能单元和广播单元;
所述使能单元用于获取移动终端或POS终端的hci层接口,并使用hci的套接字给hci层接口发送命令,使能蓝牙设备的广播状态;
所述广播单元用于使用hci的套接字发送设置广播数据的命令,将加密后的广播数据包设置为广播数据,并进行广播数据包广播。
第一广播模块20和第二广播模块50还包括数据封装单元;
所述数据封装单元用于调用广播接口将加密后的广播信息按预设长度进行分割;
以及用于将分割后的各部分广播信息分别填写至不同数据结构的数据载荷中,将各部分广播信息在广播信息中的顺序填写至数据载荷的首字节,其中,所述数据结构还包括数据长度、数据类型。
实施例三
一种POS终端,该POS终端包括接口封装模块100、广播模块200和扫描模块300:
所述接口封装模块100用于封装用于填写广播信息的广播接口和用于获取广播 信息的扫描接口,POS终端开启数据广播线程和数据扫描线程;
所述广播模块200用于POS终端的广播线程调用广播接口将经过加密后的广播信息填写至数据结构中的数据载荷得到加密数据载荷,封装生成广播数据包,然后使用ibeacon蓝牙模块广播所述广播数据包;
所述扫描模块300用于POS终端调用数据接收线程使用ibeacon蓝牙模块通过扫描接口的接口回调函数获取所述广播数据包,对广播数据包进行解封装得到加密数据载荷,然后对加密数据载荷其进行解密得到广播信息。
在需要向外广播信息时,所述POS终端通过广播接口将广播信息填写至数据结构中,并通过ibeacon蓝牙模块将广播信息广播出去;同时,通过扫描接口的回调函数获取所述广播数据包获取数据包,并从中获取得广播信息。本POS终端广播信息和扫描获取广播信息操作简单无需借助于外部网络(WIFI、GPRS网络),且无需进行配对操作,提高了数据广播和扫描的便捷性。
在本实施方式中,所述广播模块200和扫描模块300通过蓝牙广播和扫描所述广播数据包,其中,所述广播接口通过将待广播的数据插入至ibeacon广播的数据载荷中;
所述扫描接口通过扫描外围设备的广播信息,并获取广播信息中的数据。即将广播信息填写至广播数据载荷中,当广播自身设备信息的同时就将广播数据广播出去,所述扫描接口扫描广播信息,并分离出所述广播数据,因此,移动终端与POS终端就可通过扫描外围设备的广播信息直接获取广播数据,无需进行扫描配对后再传输数据。
综上所述,本发明移动终端和POS终端通过广播接将待广播的广播信息填写至广播数据包中,并通过ibeacon的蓝牙模块广播所述广播数据包,通过扫描接口从接收到的广播数据中获取所述广播信息,从而实现数据广播与接收,该移动终端与POS终端通信方式无需借助其他网络(如WIFI、GPRS移动网络),且不需要进行扫描配对(如蓝牙),数据传输快捷方便。
示例
下面通过一具体手机(即移动终端)与POS终端通信的实例对本发明进行说明 。
在本实施中,所述POS终端和移动终端分别封装用于填写广播信息的广播接口和用于获取广播信息的扫描接口,移动终端和POS终端均开启数据广播线程和数据扫描线程,因此POS终端和移动终端可以通过广播接口和扫描接口相互发送接收信息。如图5所示,手机与POS终端通讯步骤如下:
步骤1)POS端启动初始化后,开启数据广播线程和数据扫描线程,数据发送线程负责发送广播,数据接收线程负责扫描广播。
步骤2)POS端的上层应用程序将待发送的广播信息进行加密。(ibeacon技术中没有做数据的加密,在本方案中要实现数据加密,加密不仅要安全可靠,加密和解密还要考虑对移动端软硬件实现的难易程度和会不会降低数据传输速率等方面。)
步骤3)POS端的发送线程封装广播数据包,广播数据包是由n个AD Structure构成,n可以是1。
其中,AD Structure的结构如图4所示。每一个AD Structure是由长度(AD Length)、类型(AD Type)和载荷(AD Payload)构成,长度填写的是当前AD Structure的总长,类型里只有0x3D之后且不包含0xFF的数字才是用户自定义的,从0x01到0x3D还有0xFF都被标准的GAP协议使用了,载荷用来写入广播数据。
发送端对加密后的待发送的广播信息的长度进行判断,确定是否是长报文,是否需要分成多个分部来发送。AD Structure结构中的类型来区分数据是否是长报文的分部,如果是,则可以在载荷的首字节填写每一分部的顺序数字,这样接收端接收到每一个分部就可以组装成长报文了。
加密数据按广播数据包格式来封装。
步骤4)POS端的数据发送线程广播加密后的数据包。
其中,广播加密后的数据包的具体过程是:先获得设备的hci层接口,使用hci的套接字给hci层接口发送命令,使能ble处于广播状态。ble处于广播状态之后,再使用hci的套接字发送设置广播数据的命令,将加密后的数据包设置为广播数据,如果要发送多个报文,就每隔一定时间用同样的方法设置一次广播数据。
其中,hci为:主机控制接口(Host Controller Interface,简写hci),是主机和蓝牙模块之间运送控制信息的接口,是蓝牙协议栈的重要组成部分。
步骤5)手机端开启数据发送线程和数据接收线程,数据发送线程负责发送广播,数据接收线程负责扫描广播。
步骤6)手机端的数据接收线程打开扫描广播数据功能。使用使能低功耗蓝牙模块即ble的扫描接口,使能扫描功能。
步骤7)当手机端进入到POS端的广播领域后,手机端数据接收线程通过扫描广播的接口回调函数能接收到广播的数据包。
步骤8)手机端数据接收线程对收到的广播数据包根据广播数据包格式来进行解封装,获得到加密数据载荷。通过判断AD Structure的类型来确认是否是分次发送的载荷报文,如果是,就根据载荷的首字节顺序数字来组装加密报文。
步骤9)手机端数据接收线程上层应用程序对加密报文数据进行解密,获得明文的广播信息。
这时,全双工的通讯体现在POS端在发送广播的同时也能扫描手机端广播。
步骤10)手机端的数据发送线程将待发送的明文广播信息进行加密。
步骤11)手机端的数据发送线程封装广播数据包,过程同步骤3)
步骤12)手机端的数据发送线程广播加密后的数据包。具体过程是:先用设置广播数据接口设置好广播数据,然后再调用使能ble广播的接口,使能广播,这样广播数据就发送出去了。
步骤13)POS端的数据接收线程使能ble扫描。具体过程是:获得设备的hci层接口,使用hci的套接字给hci层接口发送命令,使能ble处于扫描状态。
步骤14)当POS端进入到手机端的广播领域后,POS端数据接收线程通过hci层的套接字能接受到广播数据。
步骤15)POS端数据接收线程对收到的广播数据包根据广播数据包格式来进行解封装,获得到加密数据载荷。
步骤16)POS端数据接收线程上层应用程序对加密报文数据进行解密,获得明文数据。
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (10)

  1. 一种移动终端与POS终端的通信方法,其特征在于,包括步骤:在移动终端和POS终端分别封装用于填写广播信息的广播接口和用于获取广播信息的扫描接口,移动终端和POS终端均开启数据广播线程和数据扫描线程;
    POS终端或移动终端的广播线程调用广播接口将经过加密后的广播信息填写至数据结构中的数据载荷得到加密数据载荷,封装生成广播数据包,然后使用ibeacon蓝牙模块广播所述广播数据包;进入所述POS终端广播区域的移动终端或进入所述移动终端广播区域的POS终端调用数据接收线程使用ibeacon蓝牙模块通过扫描接口的接口回调函数获取所述广播数据包,对广播数据包进行解封装得到加密数据载荷,然后对加密数据载荷其进行解密得到广播信息。
  2. 根据权利要求1所述的移动终端与POS终端的通信方法,其特征在于,所述数据结构为广播数据载荷,所述接口回调函数具体用于通过扫描外围设备广播来获取广播数据包。
  3. 根据权利要求2所述的移动终端与POS终端的通信方法,其特征在于,所述“使用ibeacon蓝牙模块广播所述广播数据包”的具体步骤包括:
    移动终端或POS终端调用广播接口获得设备的hci层接口,并使用hci的套接字向hic层接口发送使能广播命令,hci层根据该使能广播命令使能ibeacon蓝牙模块的广播状态;
    移动终端或POS终端调用广播接口使用hci的套接字向hci层接口发送设置广播数据命令,hci层接口将所述广播数据包设置为广播数据,并使用ibeacon蓝牙模块进行广播。
  4. 根据权利要求1所述的移动终端与POS终端的通信方法,其特征在于,所述“POS终端或移动终端的广播线程调用广播接口将经过加密后的广播信息填写至数据结构中的数据载荷得到加密数据载荷” 具体步骤包括:
    调用广播接口将加密后的广播信息按预设长度进行分割;
    将分割后的各部分广播信息分别填写至不同数据结构的数据载荷中,将各部分广播信息在广播信息中的顺序填写至数据载荷的首字节,其中,所述数据结构还包括数据长度、数据类型。
  5. 一种移动终端与POS终端的通信系统,包括移动终端和POS终端,其特征在于,所述移动终端包括第一接口封装模块、第一广播模块和第一扫描模块,所述POS终端包括第二接口封装模块、第二广播模块和第二扫描模块;
    所述第一接口封装模块和第二接口封装模块分别用于在移动终端和POS终端封装用于填写广播信息的广播接口和用于获取广播信息的扫描接口,开启数据广播线程和数据扫描线程;
    所述第一广播模块和第二广播模块分别用于通过POS终端或移动终端的广播线程调用广播接口将经过加密后的广播信息填写至数据结构中的数据载荷得到加密数据载荷,封装生成广播数据包,然后使用ibeacon蓝牙模块广播所述广播数据包;
    所述第一扫描模块和第二扫描模块分别用于通过移动终端或POS终端调用数据接收线程使用ibeacon蓝牙模块通过扫描接口的接口回调函数获取所述广播数据包,对广播数据包进行解封装得到加密数据载荷,然后对加密数据载荷其进行解密得到广播信息。
  6. 根据权利要求5所述的移动终端与POS终端的通信系统,其特征在于,
    所述第一广播模块、第二广播模块、第一扫描模块和第二扫描模块通过蓝牙广播和扫描所述广播数据包,其中,所述广播接口通过将待广播的数据插入至ibeacon广播的数据载荷填写广播信息;
    所述扫描接口通过扫描外围设备广播信息,并获取广播信息中的数据。
  7. 根据权利要求6所述的移动终端与POS终端的通信系统,其特征在于,
    第一广播模块和第二广播模块包括使能单元和广播单元;
    所述使能单元用于获取移动终端或POS终端的hci层接口,并使用hci的套接字给hci层接口发送命令,使能蓝牙设备的广播状态;
    所述广播单元用于使用hci的套接字发送设置广播数据的命令,将加密后的广播数据包设置为广播数据,并进行广播数据包广播。
  8. 根据权利要求5所述的移动终端与POS终端的通信系统,其特征在于,第一广播模块和第二广播模块还包括数据封装单元;
    所述数据封装单元用于调用广播接口将加密后的广播信息按预设长度进行分割;
    以及用于将分割后的各部分广播信息分别填写至不同数据结构的数据载荷中,将各部分广播信息在广播信息中的顺序填写至数据载荷的首字节,其中,所述数据结构还包括数据长度、数据类型。
  9. 一种POS终端,其特征在于,包括接口封装模块、广播模块和扫描模块;
    所述接口封装模块用于封装用于填写广播信息的广播接口和用于获取广播信息的扫描接口,POS终端开启数据广播线程和数据扫描线程;
    所述广播模块用于POS终端的广播线程调用广播接口将经过加密后的广播信息填写至数据结构中的数据载荷得到加密数据载荷,封装生成广播数据包,然后使用ibeacon蓝牙模块广播所述广播数据包;
    所述扫描模块用于POS终端调用数据接收线程使用ibeacon蓝牙模块通过扫描接口的接口回调函数获取所述广播数据包,对广播数据包进行解封装得到加密数据载荷,然后对加密数据载荷其进行解密得到广播信息。
  10. 根据权利要求9所述的POS终端,其特征在于,所述广播模块和扫描模块通过蓝牙广播和扫描所述广播数据包,其中,所述广播接口通过将待广播的数据插入至ibeacon广播的数据载荷填写广播信息;
    所述扫描接口通过扫描外围设备广播信息,并获取广播信息中的数据。
PCT/CN2015/070398 2014-04-17 2015-01-09 一种移动终端与pos终端的通信方法、装置及一种pos WO2015158168A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016562760A JP6228690B2 (ja) 2014-04-17 2015-01-09 モバイルターミナルとposターミナルとの通信方法、通信システム及びposターミナル

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410154811.7 2014-04-17
CN201410154811.7A CN103906000B (zh) 2014-04-17 2014-04-17 一种移动终端与pos终端的通信方法及系统

Publications (1)

Publication Number Publication Date
WO2015158168A1 true WO2015158168A1 (zh) 2015-10-22

Family

ID=50997112

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/070398 WO2015158168A1 (zh) 2014-04-17 2015-01-09 一种移动终端与pos终端的通信方法、装置及一种pos

Country Status (3)

Country Link
JP (1) JP6228690B2 (zh)
CN (1) CN103906000B (zh)
WO (1) WO2015158168A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764058A (zh) * 2016-04-12 2016-07-13 广东欧珀移动通信有限公司 接入网络的方法、装置和系统

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103906000B (zh) * 2014-04-17 2017-09-29 福建联迪商用设备有限公司 一种移动终端与pos终端的通信方法及系统
CN104077169A (zh) * 2014-07-21 2014-10-01 北京深思数盾科技有限公司 低功耗蓝牙设备、信息安全设备及应用程序的自启动方法
CN104218979A (zh) * 2014-07-31 2014-12-17 北京升哲科技有限公司 在非连接状态下获取传感数据的传感器、智能设备及方法
CN104244131B (zh) * 2014-09-10 2018-05-08 青岛歌尔声学科技有限公司 一种室内语音导航的方法和蓝牙耳机
CN105581774A (zh) * 2014-10-22 2016-05-18 长天科技股份有限公司 遵循蓝牙低功耗通信协议的生理信息监测系统
CN104486755B (zh) * 2014-12-03 2019-01-25 北京京东尚科信息技术有限公司 基于ibeacon实现智能设备的WIFI配置的系统和方法
CN105635150B (zh) * 2015-12-31 2019-06-11 宇龙计算机通信科技(深圳)有限公司 加密方法、解密方法及其装置和终端
CN105956845A (zh) * 2016-04-20 2016-09-21 福建联迪商用设备有限公司 集成蓝牙iBeacon模块的POS终端及其支付方法、系统
CN106454706A (zh) * 2016-10-12 2017-02-22 广州视源电子科技股份有限公司 一种通知信息的推送方法及系统
CN107194689B (zh) * 2017-06-16 2024-05-03 河南晟宇信息技术有限公司 基于近场磁通信与接近关系检测的手机支付系统与方法
CN108419225B (zh) * 2018-03-16 2020-12-04 上海百联集团股份有限公司 授权端、被授权端、服务器及授权方法
CN111510862B (zh) * 2020-04-24 2021-09-21 支付宝(杭州)信息技术有限公司 一种终端区域定位方法、装置及电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368722A (zh) * 2012-03-29 2013-10-23 美国博通公司 增强蓝牙低功耗电路隐私性的系统和方法
US20140073252A1 (en) * 2012-03-13 2014-03-13 Samsung Electronics Co., Ltd. Information providing method and mobile terminal therefor
CN103906000A (zh) * 2014-04-17 2014-07-02 福建联迪商用设备有限公司 一种移动终端与pos终端的通信方法、装置及一种pos

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130178163A1 (en) * 2012-01-10 2013-07-11 Htc Corporation Systems for Facilitating Wireless Communication and Related Methods
KR101934293B1 (ko) * 2012-08-03 2019-01-02 엘지전자 주식회사 이동 단말기의 이동 단말기 및 그의 nfc결제 방법
CN105027148A (zh) * 2013-02-04 2015-11-04 肖普基克公司 使用蓝牙和混合模式发射机的存在检测

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140073252A1 (en) * 2012-03-13 2014-03-13 Samsung Electronics Co., Ltd. Information providing method and mobile terminal therefor
CN103368722A (zh) * 2012-03-29 2013-10-23 美国博通公司 增强蓝牙低功耗电路隐私性的系统和方法
CN103906000A (zh) * 2014-04-17 2014-07-02 福建联迪商用设备有限公司 一种移动终端与pos终端的通信方法、装置及一种pos

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764058A (zh) * 2016-04-12 2016-07-13 广东欧珀移动通信有限公司 接入网络的方法、装置和系统
CN105764058B (zh) * 2016-04-12 2020-06-09 Oppo广东移动通信有限公司 接入网络的方法、装置和系统

Also Published As

Publication number Publication date
JP2017516386A (ja) 2017-06-15
CN103906000B (zh) 2017-09-29
CN103906000A (zh) 2014-07-02
JP6228690B2 (ja) 2017-11-08

Similar Documents

Publication Publication Date Title
WO2015158168A1 (zh) 一种移动终端与pos终端的通信方法、装置及一种pos
US20220360634A1 (en) User plane model for non-3gpp access to fifth generation core network
WO2016196958A1 (en) Unified authentication for integrated small cell and wi-fi networks
CN108112013B (zh) 数据的传输方法、装置和系统
WO2018098633A1 (zh) 数据传输方法、数据传输装置、电子设备和计算机程序产品
CN107484439B (zh) 一种数据报文处理方法及设备
WO2017133021A1 (zh) 一种安全处理方法及相关设备
US9154432B2 (en) Method and apparatus to control TX/RX AMSDU size based on the negotiated maximum transmission unit in the tunnel between a controller and an access point
CN104619040A (zh) WiFi设备快速连接的方法和系统
KR20200013053A (ko) 통신 방법 및 장치
CN108966217B (zh) 一种保密通信方法、移动终端及保密网关
CN101237450A (zh) 无线通讯系统处理封包的方法及其相关装置
CN112235734B (zh) 广播模式下的单播业务实现方法、装置及设备
WO2014206104A1 (zh) 一种直连链路通信方法及相关设备、系统
CN103826217A (zh) Wlan用户业务访问方法及装置
US20230239279A1 (en) Method and apparatus for security communication
US20150180663A1 (en) Method and apparatus for performing secure voice call
CN101442487A (zh) 一种实现数据转发的装置及系统
US20080118066A1 (en) Method and apparatus for configuring signaling radio bearer in a wireless communications system
CN110650476B (zh) 管理帧加密和解密
US20220400405A1 (en) Methods and apparatus for reducing communications delay
WO2024001524A1 (zh) 一种通信方法及装置
CN114071800B (zh) 一种数据传输方法以及相关设备
TWI815243B (zh) 用於wlan多鏈路管理幀尋址的方法和系統
WO2017193313A1 (zh) 数字单元、无线单元、基站及数据传输方法

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: 15779302

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: IDP00201606027

Country of ref document: ID

ENP Entry into the national phase

Ref document number: 2016562760

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15779302

Country of ref document: EP

Kind code of ref document: A1