JP2017516386A - Communication method between mobile terminal and POS terminal, communication system and POS terminal - Google Patents

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

Info

Publication number
JP2017516386A
JP2017516386A JP2016562760A JP2016562760A JP2017516386A JP 2017516386 A JP2017516386 A JP 2017516386A JP 2016562760 A JP2016562760 A JP 2016562760A JP 2016562760 A JP2016562760 A JP 2016562760A JP 2017516386 A JP2017516386 A JP 2017516386A
Authority
JP
Japan
Prior art keywords
broadcast
data
interface
module
pos terminal
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP2016562760A
Other languages
Japanese (ja)
Other versions
JP6228690B2 (en
Inventor
チーチォン ヂャン
チーチォン ヂャン
イェン ウー
イェン ウー
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Landi Commercial Equipment Co Ltd
Original Assignee
Fujian Landi Commercial Equipment Co Ltd
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 Fujian Landi Commercial Equipment Co Ltd filed Critical Fujian Landi Commercial Equipment Co Ltd
Publication of JP2017516386A publication Critical patent/JP2017516386A/en
Application granted granted Critical
Publication of JP6228690B2 publication Critical patent/JP6228690B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

本発明に係るモバイルターミナルとPOSターミナルとの通信方法は、モバイルターミナル及びPOSターミナルにブロードキャスト情報を記入するためのブロードキャストインターフェース及びブロードキャスト情報を取得するためのスキャンインターフェースを各々カプセル化するステップと、POSターミナル又はモバイルターミナルのデータブロードキャストスレッドが、ブロードキャストインターフェースを呼び出して暗号化を経た後のブロードキャスト情報をデータ構造内のデータペイロードに記入して暗号化されたデータペイロードを得てカプセル化してブロードキャストデータパケットを生成し、ibeaconブルートゥースモジュールでブロードキャストデータパケットをブロードキャストするステップと、POSターミナルのブロードキャスト区域に入るモバイルターミナル又はモバイルターミナルのブロードキャスト区域に入るPOSターミナルが、データ受信スレッドを呼び出してibeaconブルートゥースモジュールを使ってスキャンインターフェースのコールバック関数を通じてブロードキャストデータパケットを取得し、ブロードキャストデータパケットについてカプセル開放を行って暗号化されたデータペイロードを得てから暗号化されたデータペイロードを復号化してブロードキャスト情報を得るステップとを含む。本発明により、ibeaconを通じたデータのブロードキャスト及びスキャンが実現される。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.

Description

本発明は、通信分野に関し、特に、モバイルターミナルとPOSターミナルとの通信方法、通信システム及びPOSターミナルに関する。   The present invention relates to the communication field, and in particular, to a communication method between a mobile terminal and a POS terminal, a communication system, and a POS terminal.

従来の電子金融決済業において、銀行POS(point of sale)レジは極めて重要な役割を果たし、非常に多くの決済がPOS端末を通して行われている。モバイル電子商取引の発展に伴い、携帯電話による消費も、徐々に人々の現在消費の1つの重要な決済手段となっている。しかしながら、携帯電話は常に外部ネットワーク(3Gネットワークを通じてインターネットと接続)に接続しているため、トロイの木馬のようなウイルスに攻撃を受ける恐れがある。そこで、携帯電話による消費の安全性に鑑みて、POS端末を導入することで、上記の課題の解決を図った。   In a conventional electronic financial settlement business, a bank POS (point of sale) cash register plays an extremely important role, and a large amount of settlement is performed through a POS terminal. With the development of mobile electronic commerce, consumption by mobile phones is gradually becoming one important settlement means of people's current consumption. However, since the mobile phone is always connected to an external network (connected to the Internet through a 3G network), there is a risk of being attacked by a virus such as a Trojan horse. Therefore, in view of the safety of consumption by mobile phones, the above-mentioned problems have been solved by introducing a POS terminal.

ただし、銀行POS端末と携帯電話とがどうのように通信するかという課題がまだ存在する。銀行POS端末と携帯電話との通信方式には、様々なものがあるが、中でも、現在成熟されておりかつ実現可能な通信方式として、主に次の3種類がある。   However, there is still a problem of how the bank POS terminal and the mobile phone communicate. There are various communication methods between a bank POS terminal and a mobile phone. Among them, there are mainly the following three types of communication methods that are currently matured and can be realized.

GPRSモバイルネットワークは、データ伝送の安全性及び信頼性が高く、使用が便利で柔軟性に富む。GPRSモバイルネットワークの最大のメリットは、従来のPOSシステムにおける有線通信網が不要であり、GPRSカバレッジ範囲が広く、無線でPOS端末にアクセスすると、携帯電話が使用できる場所において均しく利用でき、様々な場面に配置できることである。   The GPRS mobile network has high data transmission safety and reliability, is convenient to use and is flexible. The biggest merit of the GPRS mobile network is that the wired communication network in the conventional POS system is unnecessary, the GPRS coverage range is wide, and when the POS terminal is accessed wirelessly, it can be used evenly in places where mobile phones can be used. It can be placed in the scene.

Wifi通信は、データ伝送が安定しており、スピードが速く、無線ルータが1台あれば、無線LANを構築でき、wifi設備が2台あれば、通信を行うことができ、通信事業者のネットワークを通じて通信する必要がない。   With WiFi communication, data transmission is stable, high speed, and if there is one wireless router, a wireless LAN can be constructed, and if there are two wifi facilities, communication can be performed. There is no need to communicate through.

ブルートゥース3.0通信は、転送速度が高く伝送が安定しており、無線ルータによる構築の必要がなく、外部ネットワークの助けを借りる必要もなく、ブルートゥース設備2台だけで直接通信できる。   Bluetooth 3.0 communication has a high transfer rate and stable transmission, and does not need to be constructed with a wireless router, and does not require the help of an external network, and can be directly communicated with only two Bluetooth devices.

携帯電話とPOS端末との通信方式が要求を満たすかどうかを評価するのは、主に利便性及び安全性という2つの要因があり、この2つの要因がクリアするだけで、ユーザーの消費フローを簡素化し、ユーザーが列に並んで待つ時間を減らし、ユーザーの体験を大幅に最適化できる。しかし、上記通信方式は利便性において問題が存在し、ユーザーが決済体験を失望し得る。これら技術は、次の欠点がある。   The evaluation of whether the communication method between the mobile phone and the POS terminal satisfies the requirements mainly has two factors, convenience and safety. The user's consumption flow can be reduced simply by clearing these two factors. Simplify, reduce the time users wait in line, and significantly optimize the user experience. However, the communication method has a problem in convenience, and the user can be disappointed with the settlement experience. These techniques have the following drawbacks.

GPRSモバイルネットワークは、通信事業者のネットワークの助けを借りる必要があり、通信速度及び品質が通信事業者ネットワークの具体的な場面における信号の強弱に依存し、また通信が有料であるため通信コストが増えてしまう。   The GPRS mobile network needs to be assisted by the network of the carrier, the communication speed and quality depend on the strength of the signal in the specific scene of the carrier network, and the communication cost is high because the communication is charged. It will increase.

Wifi通信は、無線ルータで無線LANを構築する必要があり、いつでもどこでも通信できないため、この技術でのPOSと携帯電話との通信における利用は大幅に制限される。   In WiFi communication, since it is necessary to construct a wireless LAN with a wireless router and communication is not possible anytime and anywhere, use of this technology in communication between a POS and a mobile phone is greatly limited.

ブルートゥース3.0通信は、ブルートゥース設備2台で接続を確立する前にスキャン・ペアリング等の操作を行う必要があり、過程が煩雑で、ユーザーの経験値も高くない。   In Bluetooth 3.0 communication, it is necessary to perform operations such as scan and pairing before establishing connection between two Bluetooth devices, and the process is complicated and the user experience is not high.

本発明は、上記技術的課題を解決するため、モバイルターミナルとPOSターミナルとの通信の利便性及びデータ伝送の安全性を高めることができる、モバイルターミナルとPOSターミナルとの通信方法、通信システム及びPOSターミナルを提供する。   In order to solve the above technical problem, the present invention can improve the convenience of communication between the mobile terminal and the POS terminal and the safety of data transmission, the communication method between the mobile terminal and the POS terminal, the communication system, and the POS. Provide a terminal.

本発明に係るモバイルターミナルとPOSターミナルとの通信方法は、次のステップを備えている。
モバイルターミナル及びPOSターミナルにブロードキャスト情報を記入するためのブロードキャストインターフェース及びブロードキャスト情報を取得するためのスキャンインターフェースを各々カプセル化し、モバイルターミナル及びPOSターミナルがそれぞれデータブロードキャストスレッド及びデータスキャンスレッドを開く。
POSターミナル又はモバイルターミナルのデータブロードキャストスレッドが、ブロードキャストインターフェースを呼び出して暗号化を経た後のブロードキャスト情報をデータ構造内のデータペイロードに記入して暗号化されたデータペイロードを得てカプセル化してブロードキャストデータパケットを生成し、ibeaconブルートゥースモジュールで前記ブロードキャストデータパケットをブロードキャストする。
前記POSターミナルのブロードキャスト区域に入るモバイルターミナル又は前記モバイルターミナルのブロードキャスト区域に入るPOSターミナルが、データ受信スレッドを呼び出してibeaconブルートゥースモジュールを使ってスキャンインターフェースのコールバック関数を通じて前記ブロードキャストデータパケットを取得し、ブロードキャストデータパケットについてカプセル開放を行って暗号化されたデータペイロードを得てから暗号化されたデータペイロードを復号化してブロードキャスト情報を得る。
The communication method between the mobile terminal and the POS terminal according to the present invention includes the following steps.
Each of the mobile terminal and the POS terminal encapsulates a broadcast interface for entering broadcast information and a scan interface for acquiring the broadcast information, and the mobile terminal and the POS terminal open a data broadcast thread and a data scan thread, respectively.
The data broadcast thread of the POS terminal or 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 the broadcast data packet. And broadcast the broadcast data packet with the ibeacon Bluetooth module.
A mobile terminal that enters the broadcast area of the POS terminal or a POS terminal that enters the broadcast area of the mobile terminal calls the data reception thread to acquire the broadcast data packet through a callback function of a scan interface using an ibeacon Bluetooth module; The broadcast data packet is decapsulated to obtain an encrypted data payload, and then the encrypted data payload is decrypted to obtain broadcast information.

本発明に係るモバイルターミナルとPOSターミナルとの通信システムは、モバイルターミナルとPOSターミナルとを含み、前記モバイルターミナルが第1インターフェースカプセル化モジュールと第1ブロードキャストモジュールと第1スキャンモジュールとを含み、前記POSターミナルが第2インターフェースカプセル化モジュールと第2ブロードキャストモジュールと第2スキャンモジュールとを含む。
前記第1インターフェースカプセル化モジュール及び第2インターフェースカプセル化モジュールは、各々モバイルターミナル及びPOSターミナルにブロードキャスト情報を記入するためのブロードキャストインターフェース及びブロードキャスト情報を取得するためのスキャンインターフェースをカプセル化してデータブロードキャストスレッド及びデータスキャンスレッドを開くために用いられる。
前記第1ブロードキャストモジュール及び前記第2ブロードキャストモジュールは、各々POSターミナル又はモバイルターミナルのデータブロードキャストスレッドを通じてブロードキャストインターフェースを呼び出し、暗号化を経た後のブロードキャスト情報をデータ構造内のデータペイロードに記入して暗号化されたデータペイロードを得てカプセル化してブロードキャストデータパケットを生成し、ibeaconブルートゥースモジュールで前記ブロードキャストデータパケットをブロードキャストするために用いられる。
前記第1スキャンモジュール及び前記第2スキャンモジュールは、各々モバイルターミナル又はPOSターミナルでデータ受信スレッドを呼び出してibeaconブルートゥースモジュールを使ってスキャンインターフェースのコールバック関数を通じて前記ブロードキャストデータパケットを取得し、ブロードキャストデータパケットについてカプセル開放を行って暗号化されたデータペイロードを得てから暗号化されたデータペイロードを復号化してブロードキャスト情報を得る。
A communication system between a mobile terminal and a POS terminal according to the present invention includes a mobile terminal and a POS terminal, and the mobile terminal includes a first interface encapsulation module, a first broadcast module, and a first scan module. The terminal includes a second interface encapsulation module, a second broadcast module, and a second scan module.
The first interface encapsulation module and the second interface encapsulation module encapsulate a broadcast interface for entering broadcast information in a mobile terminal and a POS terminal and a scan interface for acquiring broadcast information, respectively, and a data broadcast thread and Used to open a data scan thread.
Each of the first broadcast module and the second broadcast module calls a broadcast interface through a data broadcast thread of a POS terminal or a mobile terminal, and writes the broadcast information after encryption into a data payload in a data structure for encryption. The obtained data payload is obtained and encapsulated to generate a broadcast data packet, which is used to broadcast the broadcast data packet with an ibeacon Bluetooth module.
Each of the first scan module and the second scan module calls a data reception thread at a mobile terminal or a POS terminal, and acquires the broadcast data packet through a callback function of a scan interface using an ibeacon Bluetooth module. The decapsulation is performed to obtain an encrypted data payload, and then the encrypted data payload is decrypted to obtain broadcast information.

本発明に係るPOSターミナルは、インターフェースカプセル化モジュールとブロードキャストモジュールとスキャンモジュールとを含む。
前記インターフェースカプセル化モジュールは、ブロードキャスト情報を記入するためのブロードキャストインターフェース及びブロードキャスト情報を取得するためのスキャンインターフェースをカプセル化するために用いられ、POSターミナルがデータブロードキャストスレッド及びデータスキャンスレッドを開く。
前記ブロードキャストモジュールは、POSターミナルのデータブロードキャストスレッドを通じてブロードキャストインターフェースを呼び出し、暗号化を経た後のブロードキャスト情報をデータ構造内のデータペイロードに記入して暗号化されたデータペイロードを得てカプセル化してブロードキャストデータパケットを生成し、ibeaconブルートゥースモジュールで前記ブロードキャストデータパケットをブロードキャストするために用いられる。
前記スキャンモジュールは、POSターミナルでデータ受信スレッドを呼び出してibeaconブルートゥースモジュールを使ってスキャンインターフェースのコールバック関数を通じて前記ブロードキャストデータパケットを取得し、ブロードキャストデータパケットについてカプセル開放を行って暗号化されたデータペイロードを得てから暗号化されたデータペイロードを復号化してブロードキャスト情報を得る。
The POS terminal according to the present invention includes an interface encapsulation module, a broadcast module, and a scan module.
The interface encapsulation module is used to encapsulate a broadcast interface for entering broadcast information and a scan interface for obtaining broadcast information, and a POS terminal opens a data broadcast thread and a data scan thread.
The broadcast module calls a broadcast interface through a data broadcast thread of a POS terminal, enters broadcast information after encryption into a data payload in a data structure, obtains an encrypted data payload, and encapsulates the broadcast data. Used to generate a packet and broadcast the broadcast data packet with an ibeacon Bluetooth module.
The scan module obtains the broadcast data packet through a callback function of a scan interface using an ibeacon Bluetooth module by calling a data reception thread at a POS terminal, and decapsulates the broadcast data packet to obtain an encrypted data payload. And the encrypted data payload is decrypted to obtain broadcast information.

本発明によれば、モバイルターミナルとPOSターミナルは、ブロードキャストインターフェースを通じてブロードキャスト待ちのブロードキャスト情報をブロードキャストデータパケット内に記入し、ibeaconのブルートゥースモジュールを通じてブロードキャストデータパケットをブロードキャストし、スキャンインターフェースによって受信したブロードキャストデータ内からブロードキャスト情報を取得することで、データのブロードキャスト及び受信を実現する。本発明に係るモバイルターミナルとPOSターミナルの通信方式は、その他のネットワーク(例えばWIFI、GPRSモバイルネットワーク)の助けを借りる必要がなく、且つスキャン・ペアリング(例えばブルートゥース)を実施する必要もなく、データの伝送が迅速で便利である。   According to the present invention, the mobile terminal and the POS terminal fill in broadcast data waiting for broadcast through the broadcast interface in the broadcast data packet, broadcast the broadcast data packet through the ibeacon Bluetooth module, and in the broadcast data received by the scan interface. The broadcast information is acquired from the data to realize data broadcast and reception. The communication method between the mobile terminal and the POS terminal according to the present invention does not require the assistance of another network (for example, WIFI, GPRS mobile network), and does not need to perform scan pairing (for example, Bluetooth). Transmission is quick and convenient.

本発明の一実施形態に係るモバイルターミナルとPOSターミナルとの通信方法のフローチャートである。3 is a flowchart of a communication method between a mobile terminal and a POS terminal according to an embodiment of the present invention. 本発明の一実施形態に係るモバイルターミナルとPOSターミナルとの通信システムの機能ブロック図である。It is a functional block diagram of the communication system of the mobile terminal and POS terminal which concern on one Embodiment of this invention. 本発明の一実施形態に係るPOSターミナルの機能ブロック図である。It is a functional block diagram of the POS terminal which concerns on one Embodiment of this invention. 本発明の一実施形態におけるデータ構造を示す模式図である。It is a schematic diagram which shows the data structure in one Embodiment of this invention. 本発明の一実施例の実行フローチャートである。It is an execution flowchart of one Example of this invention.

本発明は、POSターミナル及びモバイルターミナルにブロードキャスト情報を記入するためのブロードキャストインターフェースをカプセル化してブロードキャスト待ちのデータをibeaconのブロードキャスト情報内に挿入してブロードキャストを行うと共に、ブロードキャスト情報を取得するためのスキャンインターフェースをカプセル化することで、ibeaconブロードキャスト情報をスキャンし、またその中からブロードキャストデータを取得し、従ってブロードキャストデータのブロードキャスト及び受信を実現する。   The present invention encapsulates a broadcast interface for entering broadcast information in a POS terminal and a mobile terminal, inserts data waiting for broadcast into the broadcast information of ibeacon, performs broadcasting, and scan for acquiring broadcast information By encapsulating the interface, ibeacon broadcast information is scanned and broadcast data is acquired from it, thus realizing broadcast and reception of broadcast data.

ibeacon通信技術は、アップル社が打ち出した概念で、つまり低消費電力のブルートゥース技術(Bluetooth Low Energy、略語ble)のブロードキャスト及びスキャン方法を用いて情報の送信及び受信を行い、ブロードキャスト及びスキャンの過程が十分迅速である。そのため、ibeacon通信方式は、十分便利かつ高効率で、主に屋内座標測位・ナビゲーション等のセンシティブ情報が及ばない場面に応用され、ブロードキャスト情報を暗号化する必要がなく平文で情報伝達を行うことができる。   The ibeacon communication technology is a concept developed by Apple Inc., that is, the transmission and reception of information using the broadcast and scan method of Bluetooth technology with low power consumption (Bluetooth Low Energy), and the process of broadcast and scan is Be quick enough. For this reason, the ibeacon communication method is sufficiently convenient and highly efficient, and is mainly applied to scenes where sensitive information such as indoor coordinate positioning and navigation does not reach. It is not necessary to encrypt broadcast information and can transmit information in plain text. it can.

ibeacon技術原理は、固定局を利用してuuid情報をブロードキャストし、スキャンの携帯電話側を起動して基地局ブロードキャスト区域に入った後、特定uuid情報をフィルタしてからブロードキャスト信号強度によって携帯電話側と基地局の距離を算出し、基地局の位置情報が既知するため、携帯電話の位置情報もこれによって算出でき、最後に携帯電話の位置によってネットワーククラウドから情報を取得する。   The ibeacon technology principle uses a fixed station to broadcast uuid information, activates the mobile phone side of the scan and enters the base station broadcast area, then filters the specific uuid information and then the mobile phone side according to the broadcast signal strength Since the position information of the base station is known and the position information of the base station is known, the position information of the mobile phone can also be calculated by this, and finally the information is acquired from the network cloud by the position of the mobile phone.

以下、本発明の技術内容、構造特徴、達成する目的及び効果を詳細に説明するため、実施形態を組み合わせたと共に添付図面を基に詳細に説明する。   Hereinafter, in order to describe in detail the technical contents, structural features, objects to be achieved, and effects of the present invention, embodiments will be combined and described in detail with reference to the accompanying drawings.

<実施形態1>
図1を参照すると、本実施形態に係るモバイルターミナルとPOSターミナルとの通信方法は、次のステップを含む。
<Embodiment 1>
Referring to FIG. 1, the communication method between the mobile terminal and the POS terminal according to the present embodiment includes the following steps.

S1:モバイルターミナル及びPOSターミナルにブロードキャスト情報を記入するためのブロードキャストインターフェース及びブロードキャスト情報を取得するためのスキャンインターフェースを各々カプセル化し、モバイルターミナル及びPOSターミナルがそれぞれデータブロードキャストスレッド及びデータスキャンスレッドを開く。   S1: Each of a mobile terminal and a POS terminal encapsulates a broadcast interface for entering broadcast information and a scan interface for acquiring the broadcast information, and the mobile terminal and the POS terminal open a data broadcast thread and a data scan thread, respectively.

S2:POSターミナル又はモバイルターミナルのデータブロードキャストスレッドが、ブロードキャストインターフェースを呼び出して暗号化を経た後のブロードキャスト情報をデータ構造内のデータペイロードに記入して暗号化されたデータペイロードを得てカプセル化してブロードキャストデータパケットを生成し、ibeaconブルートゥースモジュールでブロードキャストデータパケットをブロードキャストする。   S2: The data broadcast thread of the POS terminal or 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, encapsulates it, and broadcasts A data packet is generated, and the broadcast data packet is broadcast by the ibeacon Bluetooth module.

S3:POSターミナルのブロードキャスト区域に入るモバイルターミナル又はモバイルターミナルのブロードキャスト区域に入るPOSターミナルが、データ受信スレッドを呼び出してibeaconブルートゥースモジュールを使ってスキャンインターフェースのコールバック関数を通じてブロードキャストデータパケットを取得し、ブロードキャストデータパケットについてカプセル開放を行って暗号化されたデータペイロードを得てから暗号化されたデータペイロードを復号化してブロードキャスト情報を得る。   S3: 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 calls the data reception thread to acquire the broadcast data packet through the callback function of the scan interface using the ibeacon Bluetooth module, and broadcasts it. The data packet is decapsulated to obtain an encrypted data payload, and then the encrypted data payload is decrypted to obtain broadcast information.

本実施形態において、上記の「ibeaconブルートゥースモジュールでブロードキャストデータパケットをブロードキャストするステップ(S2)」は、具体的には、次のステップを含む。   In the present embodiment, the above-mentioned “step (S2) of broadcasting a broadcast data packet with the ibeacon Bluetooth module” specifically includes the following steps.

S10:モバイルターミナル又はPOSターミナルが、ブロードキャストインターフェースを呼び出してデバイスのhci層インターフェースを取得し、hciのソケットでhci層インターフェースに対してイネーブルブロードキャストコマンドを送信し、hci層が当該イネーブルブロードキャストコマンドに基づいてibeaconブルートゥースモジュールのブロードキャスト状態を有効にする。   S10: The mobile terminal or the POS terminal calls the broadcast interface to obtain the hci layer interface of the device, sends an enable broadcast command to the hci layer interface via the hci socket, and the hci layer based on the enable broadcast command. Enable the broadcast state of the ibeacon Bluetooth module.

S20:モバイルターミナル又はPOSターミナルが、ブロードキャストインターフェースを呼び出してhciのソケットでhci層インターフェースに対してブロードキャストデータ設定コマンドを送信し、hci層インターフェースがブロードキャストデータパケットをブロードキャストデータに設定し、ibeaconブルートゥースモジュールでブロードキャストを行う。   S20: The mobile terminal or the POS terminal calls the broadcast interface and sends a broadcast data setting command to the hci layer interface via the hci socket. The hci layer interface sets the broadcast data packet to the broadcast data, and the ibeacon Bluetooth module Broadcast.

上記のS1ステップにおいて、モバイルターミナルとPOSターミナルは、いずれもデータブロードキャストスレッド及びデータスキャンスレッドを開くため、同時にデータのブロードキャスト及びスキャンを行うことができ、POSターミナルとモバイルターミナルとの間の全二重通信を実現できる。本実施形態では、POSターミナル及びモバイルターミナルにブロードキャスト情報を記入するためのブロードキャストインターフェースをカプセル化してブロードキャスト待ちのデータをibeaconのブロードキャスト情報内に挿入してブロードキャストを行うと共に、ブロードキャスト情報を取得するためのスキャンインターフェースをカプセル化することで、ibeaconブロードキャスト情報をスキャンし、またその中からブロードキャストデータを取得し、従ってブロードキャストデータのブロードキャスト及び受信を実現する。   In the above S1 step, since both the mobile terminal and the POS terminal open the data broadcast thread and the data scan thread, data can be broadcast and scanned simultaneously, and the full duplex between the POS terminal and the mobile terminal can be performed. Communication can be realized. In the present embodiment, a broadcast interface for entering broadcast information in a POS terminal and a mobile terminal is encapsulated, broadcast waiting data is inserted into the broadcast information of ibeacon, and broadcast information is acquired. By encapsulating the scan interface, ibeacon broadcast information is scanned and broadcast data is acquired from it, thus realizing broadcast and reception of broadcast data.

従来技術に比べると、本実施形態に係るモバイルターミナルとPOSターミナルとの通信は、その他のネットワーク(例えばWIFI、GPRSモバイルネットワーク)の助けを借りる必要がなく、且つスキャン・ペアリング(例えばブルートゥース)を行う必要もなく、データ伝送が迅速かつ便利である。ブロードキャストするデータは暗号文のデータであり、伝送する2方向のPOSターミナルとモバイルターミナルのみに暗号化鍵、復号化鍵があることから、データ伝送の安全性が保証される。   Compared with the prior art, the communication between the mobile terminal and the POS terminal according to the present embodiment does not require the help of other networks (for example, WIFI and GPRS mobile networks), and scan pairing (for example, Bluetooth) is performed. There is no need to do so, and data transmission is quick and convenient. The data to be broadcast is ciphertext data, and since the encryption key and the decryption key are provided only in the two-way POS terminal and mobile terminal to be transmitted, the security of data transmission is guaranteed.

本実施形態において、データ構造はブロードキャストデータペイロードで、コールバック関数が具体的にブロードキャストをスキャンすることによってブロードキャストデータパケットを取得する。つまりブロードキャスト情報をuuid情報位置内に記入し、本装置自体の情報をブロードキャストしながらブロードキャストデータをブロードキャストし、スキャンインターフェースがブロードキャストをスキャンし、ブロードキャスト情報内からブロードキャストデータを分離する。よって、モバイルターミナルとPOSターミナルがブロードキャスト情報をスキャンすることによって直接ブロードキャストデータを取得でき、スキャン・ペアリングを行ってからデータを伝送する必要がない。   In the present embodiment, the data structure is a broadcast data payload, and the callback function specifically acquires the broadcast data packet by scanning the broadcast. That is, the broadcast information is entered in the uuid information position, broadcast data is broadcast while broadcasting the information of the apparatus itself, the scan interface scans the broadcast, and the broadcast data is separated from the broadcast information. Therefore, the mobile terminal and the POS terminal can directly acquire the broadcast data by scanning the broadcast information, and it is not necessary to transmit the data after performing the scan / pairing.

本実施形態において、POSターミナル又はモバイルターミナルは、ブロードキャスト待ちのブロードキャスト情報をブロードキャストデータペイロード内に記入してブロードキャストを行う。当該データ記入方法は、幾つかのデータサイズが比較的小さいブロードキャスト情報のブロードキャストに適する。その他の実施形態において、データ長が比較的大きい複数のブロードキャストデータをブロードキャストするため、POSターミナル又はモバイルターミナルはブロードキャスト待ちのブロードキャスト情報を一定長さの部分に分割し、各部分を各々異なるブロードキャストデータペイロード内に記入してブロードキャストを行うことができる。当該方法は、具体的には、次のステップを含む。   In the present embodiment, the POS terminal or the mobile terminal performs broadcast by entering broadcast information waiting for broadcast in the broadcast data payload. The data entry method is suitable for broadcasting some broadcast information having a relatively small data size. In other embodiments, in order to broadcast a plurality of broadcast data having a relatively large data length, the POS terminal or mobile terminal divides the broadcast information waiting for broadcast into parts of a certain length, and each part has a different broadcast data payload. You can fill in and broadcast. Specifically, the method includes the following steps.

S100:ブロードキャストインターフェースを呼び出して暗号化したブロードキャスト情報を予め設定した長さに分割する。   S100: Call the broadcast interface and divide the encrypted broadcast information into preset lengths.

S200:分割後の各部分ブロードキャスト情報をデータ長とデータタイプとを含む各々異なるデータ構造のデータペイロード内に記入し、各部分ブロードキャスト情報のブロードキャスト情報における順番をデータペイロードの最上位バイトに記入する。   S200: Each partial broadcast information after division is written in the data payload having a different data structure including the data length and data type, and the order in the broadcast information of each partial broadcast information is written in the most significant byte of the data payload.

データペイロードの最上位バイト内の順番を通じて迅速に受信したブロードキャストデータを完全なブロードキャストデータとして結合できる。   Broadcast data received rapidly through the order in the most significant byte of the data payload can be combined as complete broadcast data.

<実施形態2>
本実施形態に係るモバイルターミナルとPOSターミナルとの通信システムは、モバイルターミナルとPOSターミナルとを含み、モバイルターミナルが第1インターフェースカプセル化モジュール10と第1ブロードキャストモジュール20と第1スキャンモジュール30とを含み、POSターミナルが第2インターフェースカプセル化モジュール40と第2ブロードキャストモジュール50と第2スキャンモジュール60とを含む。
<Embodiment 2>
A communication system between a mobile terminal and a POS terminal according to the present embodiment includes a mobile terminal and a POS terminal, and the mobile terminal includes a first interface encapsulation module 10, a first broadcast module 20, and a first scan module 30. The POS terminal includes a second interface encapsulation module 40, a second broadcast module 50, and a second scan module 60.

第1インターフェースカプセル化モジュール10及び第2インターフェースカプセル化モジュール40は、各々モバイルターミナルとPOSターミナルにブロードキャスト情報を記入するためのブロードキャストインターフェース及びブロードキャスト情報を取得するためのスキャンインターフェースをカプセル化してデータブロードキャストスレッド及びデータスキャンスレッドを開くために用いられる。   The first interface encapsulation module 10 and the second interface encapsulation module 40 encapsulate a broadcast interface for entering broadcast information in a mobile terminal and a POS terminal and a scan interface for acquiring broadcast information, respectively, and a data broadcast thread. And used to open the data scan thread.

第1ブロードキャストモジュール20及び第2ブロードキャストモジュール50は、各々POSターミナル又はモバイルターミナルのデータブロードキャストスレッドを通じてブロードキャストインターフェースを呼び出し、暗号化を経た後のブロードキャスト情報をデータ構造内のデータペイロードに記入して暗号化されたデータペイロードを得てカプセル化してブロードキャストデータパケットを生成し、ibeaconブルートゥースモジュールでブロードキャストデータパケットをブロードキャストするために用いられる。   The first broadcast module 20 and the second broadcast module 50 call the broadcast interface through the data broadcast thread of the POS terminal or mobile terminal, respectively, enter the broadcast information after encryption into the data payload in the data structure, and encrypt it. The obtained data payload is obtained and encapsulated to generate a broadcast data packet, which is used to broadcast the broadcast data packet with the ibeacon Bluetooth module.

第1スキャンモジュール30及び第2スキャンモジュール60は、各々モバイルターミナル又はPOSターミナルでデータ受信スレッドを呼び出してibeaconブルートゥースモジュールを使ってスキャンインターフェースのコールバック関数を通じてブロードキャストデータパケットを取得し、ブロードキャストデータパケットについてカプセル開放を行って暗号化されたデータペイロードを得てから暗号化されたデータペイロードを復号化してブロードキャスト情報を得る。   The first scan module 30 and the second scan module 60 call the data reception thread at the mobile terminal or the POS terminal, respectively, and acquire the broadcast data packet through the callback function of the scan interface using the ibeacon Bluetooth module. Decapsulation is performed to obtain an encrypted data payload, and then the encrypted data payload is decrypted to obtain broadcast information.

POSターミナル及びモバイルターミナルは、ブロードキャストインターフェースを通じてブロードキャスト情報をデータ構造内に記入し、ibeaconモジュールを通じてブロードキャストデータパケットをブロードキャストし、スキャンインターフェースのコールバック関数を通じてブロードキャストデータパケットを取得するため、ブロードキャストデータをibeaconブルートゥースで直接ブロードキャストすることを実現し、外部ネットワーク(例えばWIFI、GPRSモバイルネットワーク等)の助けを借りる必要がなく、スキャン・ペアリング(例えばブルートゥースでデータを伝送する前のペアリング)を行う必要もなく、データ伝送が迅速かつ便利である。   The POS terminal and the mobile terminal fill the broadcast information in the data structure through the broadcast interface, broadcast the broadcast data packet through the ibeacon module, and acquire the broadcast data packet through the scan interface callback function. Without the need of external network (eg, WIFI, GPRS mobile network, etc.) and scan pairing (eg, pairing before transmitting data via Bluetooth). Data transmission is quick and convenient.

本実施形態において、第1ブロードキャストモジュール20、第2ブロードキャストモジュール50、第1スキャンモジュール30及び第2スキャンモジュール60は、ブルートゥースを通じてブロードキャストデータパケットをブロードキャスト及びスキャンする。ブロードキャストインターフェースは、ブロードキャスト待ちのデータをibeaconブロードキャストのブロードキャストデータペイロードに挿入する。   In the present embodiment, the first broadcast module 20, the second broadcast module 50, the first scan module 30 and the second scan module 60 broadcast and scan broadcast data packets through Bluetooth. The broadcast interface inserts data waiting for broadcast into the broadcast data payload of ibeacon broadcast.

スキャンインターフェースは、ブロードキャスト情報をスキャンすることによってブロードキャスト情報内のデータを取得する。   The scan interface acquires data in the broadcast information by scanning the broadcast information.

つまりブロードキャスト情報をブロードキャストデータペイロード内に記入し、装置自体の情報をブロードキャストしながらブロードキャストデータをブロードキャストし、スキャンインターフェースがブロードキャストをスキャンし、ブロードキャストデータを分離する。よって、モバイルターミナルとPOSターミナルがブロードキャスト情報をスキャンすることによって直接ブロードキャストデータを取得でき、スキャン・ペアリングを行ってからデータを伝送する必要がない。   That is, the broadcast information is written in the broadcast data payload, the broadcast data is broadcast while broadcasting the information of the device itself, and the scan interface scans the broadcast and separates the broadcast data. Therefore, the mobile terminal and the POS terminal can directly acquire the broadcast data by scanning the broadcast information, and it is not necessary to transmit the data after performing the scan / pairing.

本実施形態において、ブロードキャストモジュール200及び第2ブロードキャストモジュール50は、イネーブルユニットとブロードキャストユニットとを含む。   In the present embodiment, the broadcast module 200 and the second broadcast module 50 include an enable unit and a broadcast unit.

イネーブルユニットは、モバイルターミナル又はPOSターミナルのhci層インターフェースを取得し、hciのソケットでhci層インターフェースにコマンドを送信し、ブルートゥース設備のブロードキャスト状態を有効にするために用いられる。   The enable unit is used to acquire the hci layer interface of the mobile terminal or the POS terminal, send a command to the hci layer interface via the hci socket, and enable the broadcast state of the Bluetooth facility.

ブロードキャストユニットは、hciのソケットでブロードキャストデータ設定のコマンドを送信し、暗号化後のブロードキャストデータパケットをブロードキャストデータに設定し、ブロードキャストデータパケットをブロードキャストするために用いられる。   The broadcast unit is used to transmit a broadcast data setting command through the hci socket, set the encrypted broadcast data packet as broadcast data, and broadcast the broadcast data packet.

第1ブロードキャストモジュール20及び第2ブロードキャストモジュール50は、データカプセル化ユニットを更に含む。   The first broadcast module 20 and the second broadcast module 50 further include a data encapsulation unit.

データカプセル化ユニットは、ブロードキャストインターフェースを呼び出して暗号化後のブロードキャスト情報を予め設定した長さに分割することと、分割後の各部分ブロードキャスト情報をデータ長とデータタイプとを含む各々異なるデータ構造のデータペイロード内に記入し、各部分ブロードキャスト情報のブロードキャスト情報における順番をデータペイロードの最上位バイトに記入することとに用いられる。   The data encapsulation unit calls the broadcast interface to divide the broadcast information after encryption into a predetermined length, and each divided broadcast information has a different data structure including the data length and the data type. It is used to fill in the data payload and fill the order in the broadcast information of each partial broadcast information in the most significant byte of the data payload.

<実施形態3>
本実施形態に係るPOSターミナルは、インターフェースカプセル化モジュール100とブロードキャストモジュール200とスキャンモジュール300とを含む。
<Embodiment 3>
The POS terminal according to the present embodiment includes an interface encapsulation module 100, a broadcast module 200, and a scan module 300.

インターフェースカプセル化モジュール100は、ブロードキャスト情報を記入するためのブロードキャストインターフェース及びブロードキャスト情報を取得するためのスキャンインターフェースをカプセル化するために用いられ、POSターミナルがデータブロードキャストスレッド及びデータスキャンスレッドを開く。   The interface encapsulation module 100 is used to encapsulate a broadcast interface for filling in broadcast information and a scan interface for acquiring broadcast information, and a POS terminal opens a data broadcast thread and a data scan thread.

ブロードキャストモジュール200は、POSターミナルのデータブロードキャストスレッドを通じてブロードキャストインターフェースを呼び出し、暗号化を経た後のブロードキャスト情報をデータ構造内のデータペイロードに記入して暗号化されたデータペイロードを得てカプセル化してブロードキャストデータパケットを生成し、ibeaconブルートゥースモジュールでブロードキャストデータパケットをブロードキャストするために用いられる。   The broadcast module 200 calls the broadcast interface through the data broadcast thread of the POS terminal, writes the broadcast information after encryption into the data payload in the data structure, obtains the encrypted data payload, encapsulates it, and broadcast data Used to generate packets and broadcast broadcast data packets with the ibeacon Bluetooth module.

スキャンモジュール300は、POSターミナルでデータ受信スレッドを呼び出してibeaconブルートゥースモジュールを使ってスキャンインターフェースのコールバック関数を通じてブロードキャストデータパケットを取得し、ブロードキャストデータパケットについてカプセル開放を行って暗号化されたデータペイロードを得てから暗号化されたデータペイロードを復号化してブロードキャスト情報を得る。   The scan module 300 calls a data reception thread at the POS terminal, acquires a broadcast data packet through a callback function of the scan interface using the ibeacon Bluetooth module, performs capsule release on the broadcast data packet, and receives an encrypted data payload. Then, the encrypted data payload is decrypted to obtain broadcast information.

外部に情報をブロードキャスト情報する時、POSターミナルはブロードキャストインターフェースを通じてブロードキャスト情報をデータ構造内に記入し、ibeaconブルートゥースモジュールを通じてブロードキャスト情報をブロードキャストすると共に、スキャンインターフェースのコールバック関数を通じてブロードキャストデータパケットを獲得し、その中からブロードキャスト情報を取得する。このPOSターミナルの情報ブロードキャスト及びスキャンによるブロードキャスト情報取得の操作は、簡単で、外部ネットワークネット(WIFI、GPRSネットワーク)の助けを借りる必要がなく、且つペアリング操作を行う必要もない。これにより、データのブロードキャスト及びスキャンの利便性が向上する。   When broadcasting information to the outside, the POS terminal fills in the broadcast information in the data structure through the broadcast interface, broadcasts the broadcast information through the ibeacon Bluetooth module, and acquires the broadcast data packet through the scan interface callback function, Get broadcast information from it. The broadcast information acquisition operation by the POS terminal information broadcast and scan is simple and does not require the help of an external network network (WIFI or GPRS network) and does not require a pairing operation. This improves the convenience of data broadcasting and scanning.

本実施形態において、ブロードキャストモジュール200及びスキャンモジュール300は、ブルートゥースを通じてブロードキャストデータパケットをブロードキャスト及びスキャンし、ブロードキャストインターフェースがブロードキャスト待ちのデータをibeaconブロードキャストのデータペイロード内に挿入する。   In this embodiment, the broadcast module 200 and the scan module 300 broadcast and scan broadcast data packets through Bluetooth, and the broadcast interface inserts data waiting for broadcast into the data payload of the ibeacon broadcast.

スキャンインターフェースは、周辺機器のブロードキャスト情報をスキャンしてブロードキャスト情報内のデータを取得する。つまりブロードキャスト情報をブロードキャストデータペイロード内に記入し、装置自体の情報をブロードキャストしながらブロードキャストデータをブロードキャストし、スキャンインターフェースがブロードキャストをスキャンし、ブロードキャストデータを分離する。よって、モバイルターミナルとPOSターミナルが周辺機器のブロードキャスト情報をスキャンすることによって直接ブロードキャストデータを取得でき、スキャン・ペアリングを行ってからデータを伝送する必要がない。   The scan interface scans the broadcast information of peripheral devices and acquires data in the broadcast information. That is, the broadcast information is written in the broadcast data payload, the broadcast data is broadcast while broadcasting the information of the device itself, and the scan interface scans the broadcast and separates the broadcast data. Therefore, the mobile terminal and the POS terminal can directly acquire the broadcast data by scanning the broadcast information of the peripheral devices, and it is not necessary to transmit the data after performing the scan pairing.

上記を総括すると、本実施形態では、モバイルターミナルとPOSターミナルとが、ブロードキャストインターフェースを通じてブロードキャスト待ちのブロードキャスト情報をブロードキャストデータパケット内に記入し、ibeaconのブルートゥースモジュールを通じてブロードキャストデータパケットをブロードキャストし、スキャンインターフェースによって受信したブロードキャストデータ内からブロードキャスト情報を取得することで、データのブロードキャスト及び受信を実現する。本実施形態に係るモバイルターミナルとPOSターミナルとの通信方式は、その他のネットワーク(例えばWIFI、GPRSモバイルネットワーク)の助けを借りる必要がなく、且つスキャン・ペアリング(例えばブルートゥース)を実施する必要もなく、データの伝送が迅速で便利である。   In summary, in the present embodiment, the mobile terminal and the POS terminal enter broadcast information waiting for broadcast through the broadcast interface in the broadcast data packet, broadcast the broadcast data packet through the ibeacon Bluetooth module, and the scan interface. By acquiring broadcast information from the received broadcast data, data broadcast and reception are realized. The communication method between the mobile terminal and the POS terminal according to the present embodiment does not require the assistance of other networks (for example, WIFI and GPRS mobile networks) and does not need to perform scan pairing (for example, Bluetooth). Data transmission is quick and convenient.

以下、携帯電話(つまりモバイルターミナル)とPOSターミナルとの通信の実施例を通じて本発明を具体的に説明する。   Hereinafter, the present invention will be described in detail through examples of communication between a mobile phone (that is, a mobile terminal) and a POS terminal.

本実施例では、POSターミナル及びモバイルターミナルにブロードキャスト情報を記入するためのブロードキャストインターフェース及びブロードキャスト情報を取得するためのスキャンインターフェースを各々カプセル化する。モバイルターミナルとPOSターミナルは、いずれもデータブロードキャストスレッド及びデータスキャンスレッドを開く。よって、POSターミナルとモバイルターミナルは、ブロードキャストインターフェース及びスキャンインターフェースを通じて、互いに情報を送受信できる。図5に示すように、携帯電話とPOSターミナルの通信ステップは、次の通りである。   In this embodiment, a broadcast interface for entering broadcast information in a POS terminal and a mobile terminal and a scan interface for acquiring broadcast information are encapsulated. Both the mobile terminal and the POS terminal open a data broadcast thread and a data scan thread. Therefore, the POS terminal and the mobile terminal can transmit / receive information to / from each other through the broadcast interface and the scan interface. As shown in FIG. 5, the communication steps between the mobile phone and the POS terminal are as follows.

ステップ1)POS側が、起動して初期化後、データブロードキャストスレッド及びデータスキャンスレッドを開く。ここで、データ送信スレッドはブロードキャストの送信を担当し、データ受信スレッドはブロードキャストのスキャンを担当する。   Step 1) The POS side starts and initializes, and then opens a data broadcast thread and a data scan thread. Here, the data transmission thread is in charge of broadcast transmission, and the data reception thread is in charge of broadcast scanning.

ステップ2)POS側の上位層アプリケーションプログラムが、送信待ちのブロードキャスト情報を暗号化する。(ibeacon技術においてデータの暗号化を行わず、本態様においてデータの暗号化を実現し、暗号化が安全性及び信頼性が高いだけではなく、暗号化及び復号化はモバイル側のソフト・ハードウェアに対して実現する難易度及びデータの転送速度を低下させるかどうか等の面を考慮しなければならない。)   Step 2) The upper layer application program on the POS side encrypts broadcast information waiting for transmission. (Data encryption is not performed in the ibeacon technology, and data encryption is realized in this embodiment. Encryption is not only high in security and reliability, but encryption and decryption are not limited to software and hardware on the mobile side. The level of difficulty to be realized and whether to reduce the data transfer speed must be considered.)

ステップ3)POS側の送信スレッドで、ブロードキャストデータパケットをカプセル化する。ブロードキャストデータパケットはn個のAD Structureで構成され、nを1とすることができる。   Step 3) The broadcast data packet is encapsulated by the transmission thread on the POS side. The broadcast data packet is composed of n AD Structures, and n can be 1.

AD Structureの構造は、図4に示す通りである。各AD Structureは、長さ(AD Length)、タイプ(AD Type)及びペイロード(AD Payload)で構成され、長さに記入するのは現在のAD Structure全長で、タイプ内に0×3D後且つ0×FFを含まない数値は、ユーザー定義のものであり、0×01から0×3D及び0×FFが標準GAPプロトコルに使用され、ペイロードがブロードキャストデータを書き込むために用いられる。   The structure of AD Structure is as shown in FIG. Each AD Structure is composed of a length (AD Length), a type (AD Type), and a payload (AD Payload), and the length is filled with the current AD Structure full length, after 0 × 3D in the type and 0 Numerical values not including xFF are user-defined, 0x01 to 0x3D and 0xFF are used for the standard GAP protocol, and the payload is used for writing broadcast data.

送信側は、暗号化後の送信待ちのブロードキャスト情報の長さを判断し、長いメッセージであるか、複数の部分に分けて送信するかを確認する。AD Structure構造内のタイプは、データが長いメッセージの一部であるかを区分し、はいの場合、ペイロードの最上位バイトに各部分の順番を記入できる。これにより、受信側が各部分を受信すると、長いメッセージを結合できる。   The transmission side determines the length of broadcast information waiting for transmission after encryption, and confirms whether the message is a long message or divided into a plurality of parts. The type in the AD Structure structure distinguishes whether the data is part of a long message, and if yes, the order of each part can be entered in the most significant byte of the payload. This allows long messages to be combined when the receiving side receives each part.

暗号化データは、ブロードキャストデータパケットフォーマットでカプセル化する。   Encrypted data is encapsulated in a broadcast data packet format.

ステップ4)POS側のデータ送信スレッドが、暗号化後データパケットをブロードキャストする。   Step 4) The data transmission thread on the POS side broadcasts the encrypted data packet.

暗号化後データパケットをブロードキャストする具体的な過程としては、イネーブルbleがブロードキャスト状態にあるときに、先に装置のhci層インターフェースを取得し、hciのソケットでhci層インターフェースにコマンドを送信した後、更にhciのソケットでブロードキャストデータ設定のコマンドを送信し、暗号化後データパケットをブロードキャストデータに設定し、複数のメッセージを送信したい場合、一定時間をあけて同じ方法で1回のブロードキャストデータを設定する。   As a specific process of broadcasting the encrypted data packet, when the enable ble is in the broadcast state, the hci layer interface of the device is first acquired, and the command is transmitted to the hci layer interface through the hci socket. In addition, when a broadcast data setting command is transmitted from the hci socket, the encrypted data packet is set as broadcast data, and a plurality of messages are to be transmitted, the broadcast data is set once by the same method after a certain period of time. .

hci(ホスト・コントローラ・インターフェース:Host Controller Interface,略語hci)は、ホストとブルートゥースモジュールとの間で制御情報を運ぶインターフェースであり、ブルートゥースプロトコルスタックの重要構成部分である。   hci (Host Controller Interface: abbreviation hci) is an interface that carries control information between the host and the Bluetooth module, and is an important component of the Bluetooth protocol stack.

ステップ5)携帯電話側が、データ送信スレッド及びデータ受信スレッドを開く。ここで、データ送信スレッドはブロードキャストの送信を担当し、データ受信スレッドはブロードキャストのスキャンを担当する。   Step 5) The mobile phone side opens a data transmission thread and a data reception thread. Here, the data transmission thread is in charge of broadcast transmission, and the data reception thread is in charge of broadcast scanning.

ステップ6)携帯電話側のデータ受信スレッドが、スキャンブロードキャストデータ機能を起動する。低消費電力のブルートゥースモジュールであるbleのスキャンインターフェースをイネーブルしてスキャン機能を有効にする。   Step 6) The data reception thread on the mobile phone side activates the scan broadcast data function. The scan interface of ble, which is a low power consumption Bluetooth module, is enabled to enable the scan function.

ステップ7)携帯電話側がPOS側のブロードキャスト区域に入った後、携帯電話側のデータ受信スレッドがブロードキャストのコールバック関数をスキャンすることによってブロードキャストデータパケットを受信できる。   Step 7) After the mobile phone side enters the broadcast area on the POS side, the data reception thread on the mobile phone side can receive the broadcast data packet by scanning the broadcast callback function.

ステップ8)携帯電話側のデータ受信スレッドが、受信したブロードキャストデータパケットについてブロードキャストデータパケットフォーマットによりカプセル開放を行い、暗号化されたデータペイロードを取得する。AD Structureのタイプを判断することで、分割で送信したペイロードメッセージであるかを確認し、はいの場合、ペイロードの最上位バイト順番によって暗号化メッセージを結合する。   Step 8) The data reception thread on the mobile phone side decapsulates the received broadcast data packet with the broadcast data packet format, and acquires the encrypted data payload. By determining the AD Structure type, it is confirmed whether it is a payload message transmitted by division. If yes, the encrypted message is combined according to the most significant byte order of the payload.

ステップ9)携帯電話側のデータ受信スレッドの上位層アプリケーションプログラムが、暗号化メッセージデータを復号化して平文のブロードキャスト情報を得る。   Step 9) The upper layer application program of the data reception thread on the mobile phone side decrypts the encrypted message data to obtain plaintext broadcast information.

この時、全二重通信はPOS側がブロードキャストを送信しながら携帯電話側のブロードキャストをスキャンできることを体現する。   At this time, full-duplex communication embodies that the POS side can scan the broadcast on the mobile phone side while transmitting the broadcast.

ステップ10)携帯電話側のデータ送信スレッドが、送信待ちの平文ブロードキャスト情報を暗号化する。   Step 10) The data transmission thread on the mobile phone side encrypts the plaintext broadcast information waiting for transmission.

ステップ11)携帯電話側のデータ送信スレッドが、ブロードキャストデータパケットをカプセル化する。当該ステップは、ステップ3)と同じである。   Step 11) The data transmission thread on the mobile phone side encapsulates the broadcast data packet. This step is the same as step 3).

ステップ12)携帯電話側のデータ送信スレッドが、暗号化後データパケットをブロードキャストする。具体的には、先にブロードキャストデータインターフェースでブロードキャストデータを設定してからイネーブルbleブロードキャストのインターフェースを呼び出してブロードキャストをイネーブルする。これにより、ブロードキャストデータが送信される。   Step 12) The data transmission thread on the mobile phone side broadcasts the encrypted data packet. Specifically, broadcast data is first set by the broadcast data interface, and then the enable-broadcast interface is called to enable broadcast. Thereby, broadcast data is transmitted.

ステップ13)POS側のデータ受信スレッドが、bleスキャンをイネーブルする。具体的には、イネーブルbleがスキャン状態にあるときに、装置のhci層インターフェースを取得し、hciのソケットでhci層インターフェースにコマンドを送信する。   Step 13) The data reception thread on the POS side enables the ble scan. Specifically, when the enable ble is in the scan state, the hci layer interface of the device is acquired, and a command is transmitted to the hci layer interface through the hci socket.

ステップ14)POS側が携帯電話側のブロードキャスト区域に入った後、POS側のデータ受信スレッドがhci層のソケットを通じてブロードキャストデータを受信できる。   Step 14) After the POS side enters the broadcast area on the mobile phone side, the data reception thread on the POS side can receive the broadcast data through the socket of the hci layer.

ステップ15)POS側のデータ受信スレッドが、受信したブロードキャストデータパケットについてブロードキャストデータパケットフォーマットによってカプセル開放を行い、暗号化されたデータペイロードを得る。   Step 15) The data receiving thread on the POS side decapsulates the received broadcast data packet according to the broadcast data packet format to obtain an encrypted data payload.

ステップ16)POS側のデータ受信スレッド上位層アプリケーションプログラムが、暗号化メッセージデータを復号化して平文データを得る。   Step 16) The data reception thread upper layer application program on the POS side decrypts the encrypted message data to obtain plain text data.

以上に述べたのは、あくまでも本発明の実施形態及び実施例であって、本発明の保護範囲は、これら実施形態及び実施例により何ら限定されるものではない。本明細書及び添付図面の内容に基づいて行われる様々な構造又はフローの変更或いは直接的若しくは間接的にその他の関連の技術分野に運用することは、いずれも本発明の保護範囲内に含まれる。   What has been described above is only the embodiments and examples of the present invention, and the protection scope of the present invention is not limited by these embodiments and examples. It is within the protection scope of the present invention to modify various structures or flows made based on the contents of this specification and the accompanying drawings, or to operate directly or indirectly in other related technical fields. .

10 第1インターフェースカプセル化モジュール
20 第1ブロードキャストモジュール
30 第1スキャンモジュール
40 第2インターフェースカプセル化モジュール
50 第2ブロードキャストモジュール
60 第2スキャンモジュール
100 インターフェースカプセル化モジュール
200 ブロードキャストモジュール
300 スキャンモジュール
10 first interface encapsulation module 20 first broadcast module 30 first scan module 40 second interface encapsulation module 50 second broadcast module 60 second scan module 100 interface encapsulation module 200 broadcast module 300 scan module

Claims (10)

モバイルターミナルとPOSターミナルとの通信方法であって、
前記モバイルターミナル及び前記POSターミナルにブロードキャスト情報を記入するためのブロードキャストインターフェース及びブロードキャスト情報を取得するためのスキャンインターフェースを各々カプセル化し、前記モバイルターミナル及び前記POSターミナルがそれぞれデータブロードキャストスレッド及びデータスキャンスレッドを開くステップと、
前記POSターミナル又は前記モバイルターミナルの前記データブロードキャストスレッドが、前記ブロードキャストインターフェースを呼び出して暗号化を経た後の前記ブロードキャスト情報をデータ構造内のデータペイロードに記入して暗号化されたデータペイロードを得てカプセル化してブロードキャストデータパケットを生成し、ibeaconブルートゥースモジュールで前記ブロードキャストデータパケットをブロードキャストするステップと、
前記POSターミナルのブロードキャスト区域に入る前記モバイルターミナル又は前記モバイルターミナルのブロードキャスト区域に入る前記POSターミナルが、データ受信スレッドを呼び出してibeaconブルートゥースモジュールを使って前記スキャンインターフェースのコールバック関数を通じて前記ブロードキャストデータパケットを取得し、前記ブロードキャストデータパケットについてカプセル開放を行って暗号化されたデータペイロードを得てから前記暗号化されたデータペイロードを復号化してブロードキャスト情報を得るステップと、
を備えたことを特徴とするモバイルターミナルとPOSターミナルとの通信方法。
A communication method between a mobile terminal and a POS terminal,
Each of the mobile terminal and the POS terminal encapsulates a broadcast interface for entering broadcast information and a scan interface for acquiring the broadcast information, and the mobile terminal and the POS terminal open a data broadcast thread and a data scan thread, respectively. Steps,
The data broadcast thread of the POS terminal or the mobile terminal calls the broadcast interface and writes the broadcast information after encryption into a data payload in a data structure to obtain an encrypted data payload. Generating a broadcast data packet and broadcasting the broadcast data packet with an ibeacon Bluetooth module;
The mobile terminal entering the broadcast area of the POS terminal or the POS terminal entering the broadcast area of the mobile terminal calls the data reception thread and uses the ibeacon Bluetooth module to transmit the broadcast data packet through the scan interface callback function. Obtaining the broadcast data packet by performing decapsulation to obtain an encrypted data payload, and then decrypting the encrypted data payload to obtain broadcast information;
A communication method between a mobile terminal and a POS terminal.
前記データ構造は、ブロードキャストデータペイロードで、前記コールバック関数が具体的に周辺機器のブロードキャストをスキャンすることによってブロードキャストデータパケットを取得することを特徴とする請求項1に記載のモバイルターミナルとPOSターミナルとの通信方法。   The mobile terminal and the POS terminal according to claim 1, wherein the data structure is a broadcast data payload, and the callback function specifically acquires a broadcast data packet by scanning a peripheral broadcast. Communication method. 前記ibeaconブルートゥースモジュールで前記ブロードキャストデータパケットをブロードキャストするステップは、
前記モバイルターミナル又は前記POSターミナルが、前記ブロードキャストインターフェースを呼び出してデバイスのhci層インターフェースを取得し、hciのソケットで前記hci層インターフェースに対してイネーブルブロードキャストコマンドを送信し、前記hci層が前記イネーブルブロードキャストコマンドに基づいてibeaconブルートゥースモジュールのブロードキャスト状態を有効にするステップと、
前記モバイルターミナル又は前記POSターミナルが、前記ブロードキャストインターフェースを呼び出してhciのソケットでhci層インターフェースに対してブロードキャストデータ設定コマンドを送信し、前記hci層インターフェースが前記ブロードキャストデータパケットをブロードキャストデータに設定し、前記ibeaconブルートゥースモジュールでブロードキャストを行うステップと、
を含むことを特徴とする請求項1に記載のモバイルターミナルとPOSターミナルとの通信方法。
Broadcasting the broadcast data packet with the ibeacon Bluetooth module comprises:
The mobile terminal or the POS terminal calls the broadcast interface to obtain the hci layer interface of the device, sends an enable broadcast command to the hci layer interface via an hci socket, and the hci layer sends the enable broadcast command. Enabling the broadcast state of the ibeacon bluetooth module based on
The mobile terminal or the POS terminal calls the broadcast interface and transmits a broadcast data setting command to the hci layer interface through an hci socket, the hci layer interface sets the broadcast data packet to broadcast data, and broadcasting with ibeacon bluetooth module;
The communication method between a mobile terminal and a POS terminal according to claim 1, wherein:
前記POSターミナル又は前記モバイルターミナルの前記データブロードキャストスレッドが、前記ブロードキャストインターフェースを呼び出して暗号化を経た後の前記ブロードキャスト情報をデータ構造内のデータペイロードに記入して暗号化されたデータペイロードを得るステップは、
前記ブロードキャストインターフェースを呼び出して暗号化したブロードキャスト情報を予め設定した長さに分割するステップと、
分割後の各部分ブロードキャスト情報をデータ長とデータタイプとを含む各々異なるデータ構造のデータペイロード内に記入し、前記各部分ブロードキャスト情報のブロードキャスト情報における順番をデータペイロードの最上位バイトに記入するステップと、
を含むことを特徴とする請求項1に記載のモバイルターミナルとPOSターミナルとの通信方法。
The data broadcast thread of the POS terminal or the mobile terminal calls the broadcast interface and enters the broadcast information after encryption into a data payload in a data structure to obtain an encrypted data payload. ,
Dividing the broadcast information encrypted by calling the broadcast interface into preset lengths;
Filling each partial broadcast information after division into data payloads of different data structures including data length and data type, and writing the order of the broadcast information of each partial broadcast information in the most significant byte of the data payload; ,
The communication method between a mobile terminal and a POS terminal according to claim 1, wherein:
モバイルターミナルとPOSターミナルとを含む前記モバイルターミナルと前記POSターミナルとの通信システムであって、前記モバイルターミナルが第1インターフェースカプセル化モジュールと第1ブロードキャストモジュールと第1スキャンモジュールとを含み、前記POSターミナルが第2インターフェースカプセル化モジュールと第2ブロードキャストモジュールと第2スキャンモジュールとを含み、
前記第1インターフェースカプセル化モジュール及び前記第2インターフェースカプセル化モジュールは、各々前記モバイルターミナル及び前記POSターミナルにブロードキャスト情報を記入するためのブロードキャストインターフェース及びブロードキャスト情報を取得するためのスキャンインターフェースをカプセル化してデータブロードキャストスレッド及びデータスキャンスレッドを開くために用いられ、
前記第1ブロードキャストモジュール及び前記第2ブロードキャストモジュールは、各々前記POSターミナル又は前記モバイルターミナルのデータブロードキャストスレッドを通じて前記ブロードキャストインターフェースを呼び出し、暗号化を経た後の前記ブロードキャスト情報をデータ構造内のデータペイロードに記入して暗号化されたデータペイロードを得てカプセル化してブロードキャストデータパケットを生成し、ibeaconブルートゥースモジュールで前記ブロードキャストデータパケットをブロードキャストするために用いられ、
前記第1スキャンモジュール及び前記第2スキャンモジュールは、各々前記モバイルターミナル又は前記POSターミナルでデータ受信スレッドを呼び出してibeaconブルートゥースモジュールを使って前記スキャンインターフェースのコールバック関数を通じて前記ブロードキャストデータパケットを取得し、前記ブロードキャストデータパケットについてカプセル開放を行って暗号化されたデータペイロードを得てから前記暗号化されたデータペイロードを復号化して前記ブロードキャスト情報を得ることを特徴とするモバイルターミナルとPOSターミナルとの通信システム。
A communication system between the mobile terminal and the POS terminal including a mobile terminal and a POS terminal, the mobile terminal including a first interface encapsulation module, a first broadcast module, and a first scan module, the POS terminal Includes a second interface encapsulation module, a second broadcast module, and a second scan module;
The first interface encapsulation module and the second interface encapsulation module encapsulate a broadcast interface for entering broadcast information in the mobile terminal and the POS terminal, and a scan interface for acquiring broadcast information, respectively. Used to open the broadcast thread and data scan thread,
The first broadcast module and the second broadcast module call the broadcast interface through the data broadcast thread of the POS terminal or the mobile terminal, respectively, and write the broadcast information after encryption into a data payload in a data structure. An encrypted data payload is obtained and encapsulated to generate a broadcast data packet, which is used to broadcast the broadcast data packet with an ibeacon Bluetooth module;
The first scan module and the second scan module each call a data reception thread at the mobile terminal or the POS terminal to obtain the broadcast data packet through a callback function of the scan interface using an ibeacon Bluetooth module, A communication system between a mobile terminal and a POS terminal, wherein the broadcast data packet is decapsulated to obtain an encrypted data payload, and then the encrypted data payload is decrypted to obtain the broadcast information. .
前記第1ブロードキャストモジュール、前記第2ブロードキャストモジュール、前記第1スキャンモジュール及び前記第2スキャンモジュールは、ブルートゥースを通じて前記ブロードキャストデータパケットをブロードキャスト及びスキャンし、前記ブロードキャストインターフェースはブロードキャスト待ちのデータをibeaconブロードキャストのデータペイロードに挿入することによってブロードキャスト情報を記入し;前記スキャンインターフェースは周辺機器のブロードキャスト情報をスキャンすることによってブロードキャスト情報内のデータを取得することを特徴とする請求項5に記載のモバイルターミナルとPOSターミナルとの通信システム。   The first broadcast module, the second broadcast module, the first scan module, and the second scan module broadcast and scan the broadcast data packet through Bluetooth, and the broadcast interface transmits data waiting for broadcast to ibeacon broadcast data. 6. The mobile terminal and the POS terminal according to claim 5, wherein broadcast information is entered by inserting into a payload; and the scan interface obtains data in the broadcast information by scanning broadcast information of peripheral devices. Communication system with. 前記第1ブロードキャストモジュール及び前記第2ブロードキャストモジュールは、イネーブルユニットとブロードキャストユニットとを含み、
前記イネーブルユニットは、前記モバイルターミナル又は前記POSターミナルのhci層インターフェースを取得し、hciのソケットでhci層インターフェースにコマンドを送信し、ブルートゥース設備のブロードキャスト状態を有効にするために用いられ、
前記ブロードキャストユニットは、hciのソケットでブロードキャストデータ設定のコマンドを送信し、暗号化後のブロードキャストデータパケットをブロードキャストデータに設定し、前記ブロードキャストデータパケットをブロードキャストするために用いられることを特徴とする請求項5に記載のモバイルターミナルとPOSターミナルとの通信システム。
The first broadcast module and the second broadcast module include an enable unit and a broadcast unit,
The enable unit is used to acquire the hci layer interface of the mobile terminal or the POS terminal, send a command to the hci layer interface via an hci socket, and enable the broadcast state of the Bluetooth facility.
The broadcast unit is used for transmitting a broadcast data setting command through an hci socket, setting an encrypted broadcast data packet as broadcast data, and broadcasting the broadcast data packet. 5. A communication system between the mobile terminal and the POS terminal according to 5.
前記第1ブロードキャストモジュール及び前記第2ブロードキャストモジュールは、データカプセル化ユニットを更に含み、
前記データカプセル化ユニットは、前記ブロードキャストインターフェースを呼び出して暗号化後のブロードキャスト情報を予め設定した長さに分割することと、分割後の各部分ブロードキャスト情報をデータ長とデータタイプとを含む各々異なるデータ構造のデータペイロード内に記入し、前記各部分ブロードキャスト情報のブロードキャスト情報における順番をデータペイロードの最上位バイトに記入することとに用いられることを特徴とする請求項5に記載のモバイルターミナルとPOSターミナルとの通信システム。
The first broadcast module and the second broadcast module further include a data encapsulation unit;
The data encapsulation unit calls the broadcast interface to divide the broadcast information after encryption into a predetermined length, and the divided partial broadcast information includes different data including a data length and a data type. 6. The mobile terminal and the POS terminal according to claim 5, wherein the mobile terminal and the POS terminal are used for filling in the data payload of the structure and filling in the most significant byte of the data payload with the order in the broadcast information of each partial broadcast information. Communication system with.
インターフェースカプセル化モジュールとブロードキャストモジュールとスキャンモジュールとを含むPOSターミナルであって、
前記インターフェースカプセル化モジュールは、ブロードキャスト情報を記入するためのブロードキャストインターフェース及びブロードキャスト情報を取得するためのスキャンインターフェースをカプセル化するために用いられ、前記POSターミナルがデータブロードキャストスレッド及びデータスキャンスレッドを開き、
前記ブロードキャストモジュールは、前記POSターミナルのデータブロードキャストスレッドを通じて前記ブロードキャストインターフェースを呼び出し、暗号化を経た後の前記ブロードキャスト情報をデータ構造内のデータペイロードに記入して暗号化されたデータペイロードを得てカプセル化してブロードキャストデータパケットを生成し、ibeaconブルートゥースモジュールで前記ブロードキャストデータパケットをブロードキャストするために用いられ、
前記スキャンモジュールは、前記POSターミナルでデータ受信スレッドを呼び出してibeaconブルートゥースモジュールを使って前記スキャンインターフェースのコールバック関数を通じて前記ブロードキャストデータパケットを取得し、前記ブロードキャストデータパケットについてカプセル開放を行って暗号化されたデータペイロードを得てから前記暗号化されたデータペイロードを復号化して前記ブロードキャスト情報を得ることを特徴とするPOSターミナル。
A POS terminal including an interface encapsulation module, a broadcast module, and a scan module,
The interface encapsulation module is used to encapsulate a broadcast interface for filling in broadcast information and a scan interface for obtaining broadcast information, and the POS terminal opens a data broadcast thread and a data scan thread.
The broadcast module calls the broadcast interface through the data broadcast thread of the POS terminal, enters the broadcast information after encryption into a data payload in a data structure, obtains an encrypted data payload, and encapsulates it Used to generate a broadcast data packet and broadcast the broadcast data packet with an ibeacon Bluetooth module;
The scan module obtains the broadcast data packet through a callback function of the scan interface using an ibeacon Bluetooth module by calling a data reception thread at the POS terminal, and decapsulates the broadcast data packet to be encrypted. A POS terminal, wherein the broadcast information is obtained by decrypting the encrypted data payload after obtaining the data payload.
前記ブロードキャストモジュール及び前記スキャンモジュールは、ブルートゥースを通じて前記ブロードキャストデータパケットをブロードキャスト及びスキャンし、前記ブロードキャストインターフェースがブロードキャスト待ちのデータをibeaconブロードキャストのデータペイロードに挿入することによってロードキャスト情報を記入し、
前記スキャンインターフェースは周辺機器のブロードキャスト情報をスキャンすることによってブロードキャスト情報内のデータを取得することを特徴とする請求項9に記載のPOSターミナル。
The broadcast module and the scan module broadcast and scan the broadcast data packet through Bluetooth, and the broadcast interface fills in the loadcast information by inserting the data waiting for broadcast into the data payload of the ibeacon broadcast,
The POS terminal according to claim 9, wherein the scan interface acquires data in broadcast information by scanning broadcast information of peripheral devices.
JP2016562760A 2014-04-17 2015-01-09 Communication method between mobile terminal and POS terminal, communication system and POS terminal Active JP6228690B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201410154811.7A CN103906000B (en) 2014-04-17 2014-04-17 The communication means and system of a kind of mobile terminal and POS terminal
CN201410154811.7 2014-04-17
PCT/CN2015/070398 WO2015158168A1 (en) 2014-04-17 2015-01-09 Method and apparatus for communication between mobile terminal and pos terminal, and pos terminal

Publications (2)

Publication Number Publication Date
JP2017516386A true JP2017516386A (en) 2017-06-15
JP6228690B2 JP6228690B2 (en) 2017-11-08

Family

ID=50997112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016562760A Active JP6228690B2 (en) 2014-04-17 2015-01-09 Communication method between mobile terminal and POS terminal, communication system and POS terminal

Country Status (3)

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

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103906000B (en) * 2014-04-17 2017-09-29 福建联迪商用设备有限公司 The communication means and system of a kind of mobile terminal and POS terminal
CN104077169A (en) * 2014-07-21 2014-10-01 北京深思数盾科技有限公司 BLE (Bluetooth Low Energy) device, information safety device and automatic start-up method of application program
CN104218979A (en) * 2014-07-31 2014-12-17 北京升哲科技有限公司 Sensor for acquiring sensing data in disconnected state and intelligent device and method
CN104244131B (en) * 2014-09-10 2018-05-08 青岛歌尔声学科技有限公司 A kind of method and bluetooth headset of interior Voice Navigation
CN105581774A (en) * 2014-10-22 2016-05-18 长天科技股份有限公司 Physiological information monitoring system following Bluetooth low-power-consumption communication protocol
CN104486755B (en) * 2014-12-03 2019-01-25 北京京东尚科信息技术有限公司 The system and method for the WIFI configuration of smart machine are realized based on ibeacon
CN105635150B (en) * 2015-12-31 2019-06-11 宇龙计算机通信科技(深圳)有限公司 Encryption method, decryption method and its device and terminal
CN105764058B (en) * 2016-04-12 2020-06-09 Oppo广东移动通信有限公司 Method, device and system for accessing network
CN105956845A (en) * 2016-04-20 2016-09-21 福建联迪商用设备有限公司 POS terminal with integrated Bluetooth iBeacon module, payment method thereof and POS system
CN106454706A (en) * 2016-10-12 2017-02-22 广州视源电子科技股份有限公司 Notification information push method and system
CN107194689A (en) * 2017-06-16 2017-09-22 南京维智感网络科技有限公司 The hand call payment system and method detected based near field magnetic communication and proximity relation
CN108419225B (en) * 2018-03-16 2020-12-04 上海百联集团股份有限公司 Authorization end, authorized end, server and authorization method
CN111510862B (en) * 2020-04-24 2021-09-21 支付宝(杭州)信息技术有限公司 Terminal area positioning method and device and electronic equipment

Citations (2)

* 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
JP2016510566A (en) * 2013-02-04 2016-04-07 ショップキック・インコーポレーテッドShopkick Incorporated Presence detection using Bluetooth and hybrid mode transmitters

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130259230A1 (en) * 2012-03-29 2013-10-03 Broadcom Corporation Bluetooth Low Energy Privacy
KR101934293B1 (en) * 2012-08-03 2019-01-02 엘지전자 주식회사 Mobile terminal and nfc payment method thereof
US9357336B2 (en) * 2012-12-03 2016-05-31 Samsung Electronics Co., Ltd. Information providing method and mobile terminal therefor
CN103906000B (en) * 2014-04-17 2017-09-29 福建联迪商用设备有限公司 The communication means and system of a kind of mobile terminal and POS terminal

Patent Citations (2)

* 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
JP2016510566A (en) * 2013-02-04 2016-04-07 ショップキック・インコーポレーテッドShopkick Incorporated Presence detection using Bluetooth and hybrid mode transmitters

Also Published As

Publication number Publication date
CN103906000A (en) 2014-07-02
JP6228690B2 (en) 2017-11-08
CN103906000B (en) 2017-09-29
WO2015158168A1 (en) 2015-10-22

Similar Documents

Publication Publication Date Title
JP6228690B2 (en) Communication method between mobile terminal and POS terminal, communication system and POS terminal
EP3637814B1 (en) Communication device, control method for communication device and program
US11109206B2 (en) Security method and system for supporting discovery and communication between proximity based service terminals in mobile communication system environment
EP3484199A1 (en) Virtual card downloading method and terminal
EP3442250B1 (en) Data transmission
WO2018098633A1 (en) Data transmission method, data transmission apparatus, electronic device and computer program product
CN108886685A (en) A kind of Terminal-Matching, device
WO2017133021A1 (en) Security processing method and relevant device
JP2018501746A (en) Connection establishment method, apparatus, program, and recording medium
EP2687000A1 (en) Hybrid networking simple-connect setup via proxy device
WO2022143071A1 (en) Connection establishment method and electronic device
CN105025472A (en) Method and system for encrypting, hiding and discovering of WIFI access point
CN108156604B (en) Group calling encryption transmission method and device of cluster system, cluster terminal and system
JP6471039B2 (en) Wireless communication system and wireless terminal
WO2014172836A1 (en) Method and apparatus for accessing network, and network system
CN115669022A (en) Method for providing ranging-based service by electronic equipment and electronic equipment
WO2014206104A1 (en) Direct-link communication method and relevant device and system
CN105228096B (en) A kind of communication establishing method and device based on WIFI
CN113383356B (en) Offline payment method and device, electronic equipment and storage medium
CN111163462B (en) Network distribution method and related product
CN108924641A (en) Live broadcasting method, device and computer equipment and storage medium
US20150180663A1 (en) Method and apparatus for performing secure voice call
CN108924642B (en) Stream media live broadcasting method, device and computer equipment and storage medium
WO2019021770A1 (en) Communication device, control method for communication device and program
WO2023050373A1 (en) Communication method, apparatus and system

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20171003

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171013

R150 Certificate of patent or registration of utility model

Ref document number: 6228690

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250