[go: up one dir, main page]

JP2018006814A - Information processing device, control method thereof, and program - Google Patents

Information processing device, control method thereof, and program Download PDF

Info

Publication number
JP2018006814A
JP2018006814A JP2016126732A JP2016126732A JP2018006814A JP 2018006814 A JP2018006814 A JP 2018006814A JP 2016126732 A JP2016126732 A JP 2016126732A JP 2016126732 A JP2016126732 A JP 2016126732A JP 2018006814 A JP2018006814 A JP 2018006814A
Authority
JP
Japan
Prior art keywords
communication
packet
wireless
wireless lan
ble
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.)
Pending
Application number
JP2016126732A
Other languages
Japanese (ja)
Inventor
好造 戸田
Yoshizo Toda
好造 戸田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2016126732A priority Critical patent/JP2018006814A/en
Publication of JP2018006814A publication Critical patent/JP2018006814A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem in which: when BLE and wireless LAN is alternatively switched and used for communication, data communication by the wireless LAN cannot be helped but stopped during transmission of a beacon by the BLE; therefore, throughput of the wireless LAN is reduced during simultaneous operation of the BLE and the wireless LAN in comparison with only data communication of the wireless LAN without simultaneous operation.SOLUTION: An information processing device includes a first radio communication unit for communicating by transmission of a beacon and radio, and a second radio communication unit for communicating by radio different from the first radio communication unit, controls radio communication by the radio communication units by determining the number of terminals connected by the second radio communication unit, and by switching the first radio communication unit and the second radio communication unit in time division, and changes a time interval to transmit a beacon according to the determined number of terminals when the first radio communication unit transmits the beacon while the second radio communication unit is communicating data.SELECTED DRAWING: Figure 4

Description

本発明は、情報処理装置とその制御方法、及びプログラムに関する。   The present invention relates to an information processing apparatus, a control method thereof, and a program.

近年、無線通信技術の進歩により携帯端末の利便性が飛躍的に向上しており、これまで利用されてきたパーソナルコンピュータ(PC)等に代わり、携帯端末の普及が爆発的に進んでいる。また、携帯端末の使われ方も、個人的な通信機器からビジネス用途にまで広がり、パーソナルコンピュータに代わる勢いで、その利用が拡大している。これに伴い、携帯端末と無線通信を用いて連携して、文書の印刷やスキャン、各種データの転送などを行う情報処理装置(多機能処理装置)もビジネス用途を中心に一般的になりつつある。   In recent years, the convenience of mobile terminals has improved dramatically due to advances in wireless communication technology, and the spread of mobile terminals has exploded explosively in place of personal computers (PCs) and the like that have been used so far. In addition, the usage of mobile terminals has also expanded from personal communication devices to business use, and its use is expanding with the momentum replacing personal computers. Along with this, information processing devices (multifunctional processing devices) that perform printing and scanning of documents, transfer of various data, etc. in cooperation with mobile terminals using wireless communication are becoming more common mainly for business use. .

現在、これらの装置に用いられる無線通信として2.4GHz帯のISM(Industrial Scienctific and Medical)バンドを使用する無線通信技術の普及が特に進んでいる。例えば、IEEE802.11規格に基づく無線LANは、既に携帯端末をはじめとする各種装置における無線通信方式として、最も標準的に採用されている。また、他の無線通信方式として、同じくISMバンドの利用により、携帯端末等との近距離での無線通信を目的とする、Bluetooth(登録商標)もその採用が進んでいる。近年、Bluetoothにおいては、その消費電力の低減を目的とした規格BLE(BLE)が追加され、さらに普及が進むことが期待されている。これらの無線通信方式はそれぞれに特徴があり、ユーザによる使われ方も異なることから、近年の傾向として、1台の装置でなるべく多くの無線通信方式に対応できることが求められている。   Currently, wireless communication technology using an ISM (Industrial Scientific and Medical) band of 2.4 GHz band as wireless communication used in these apparatuses is particularly widespread. For example, a wireless LAN based on the IEEE 802.11 standard has already been adopted as the most standard as a wireless communication method in various devices including portable terminals. As another wireless communication method, Bluetooth (registered trademark), which is also intended for wireless communication at a short distance with a portable terminal or the like, is also being adopted by using the ISM band. In recent years, in Bluetooth, a standard BLE (BLE) for the purpose of reducing the power consumption is added, and further spread is expected. Since these wireless communication systems have their respective characteristics and are used in different ways by users, as a recent trend, it is required that one apparatus can support as many wireless communication systems as possible.

そこで、ISMバンドを使用した複数の異なる無線通信方式に対応する装置の場合、同じ周波数帯を用いながら、異なる無線通信方式を同時に動作させなければならないため、さまざまな設計上の考慮が必要になる。例えば、無線LANとBluetoothを同時に使用する際の互いの通信の干渉を回避する技術が特許文献1に記載されている。   Therefore, in the case of a device that supports a plurality of different wireless communication systems using the ISM band, different wireless communication systems must be operated at the same time while using the same frequency band, which requires various design considerations. . For example, Patent Document 1 discloses a technique for avoiding mutual communication interference when using a wireless LAN and Bluetooth at the same time.

特許文献1によれば、無線LANによる無線通信とBluetoothによる無線通信とを時分割的で制御し、無線LANのユーザデータのパケットサイズに応じて、Bluetoothの制御データの送信間隔を変更するようにしている。そして、Bluetoothの制御データの送信間隔の間隙を利用して無線LANのユーザデータのパケット通信を行うことにより、Bluetoothの制御データの送信が無線LANによる無線通信の干渉源になることを防止している。   According to Patent Document 1, wireless communication using a wireless LAN and wireless communication using Bluetooth are controlled in a time-sharing manner, and the transmission interval of Bluetooth control data is changed according to the packet size of user data of the wireless LAN. ing. And, by performing packet communication of wireless LAN user data using the gap between the transmission intervals of the Bluetooth control data, it is possible to prevent the transmission of the Bluetooth control data from becoming an interference source of wireless communication by the wireless LAN. Yes.

特開2005−45368号公報JP 2005-45368 A

近年、携帯端末のビジネス用途での使用の拡大に応じて、情報処理装置においても携帯端末との連携機能の拡充が求められている。このため、情報処理装置における無線通信機能として、従来から一般的となっている無線LANのみならず、BLEへの対応が進みつつある。   In recent years, in accordance with the expansion of use of mobile terminals for business purposes, information processing apparatuses are also required to have enhanced functions for cooperation with mobile terminals. For this reason, as a wireless communication function in the information processing apparatus, not only a wireless LAN that has been conventionally used, but also a correspondence to BLE is progressing.

また、一方で、携帯端末を使用したアプリケーションとして、BLEによるビーコンを用いて携帯端末の位置検出を行う技術が提案されている。ここでは一定の時間間隔で送信されるビーコンを携帯端末で受信し、その受信電波強度(RSSI:Received Signal Strength Indicator)により、ビーコンの送信源と携帯端末の相対的な距離を求めている。従って、情報処理装置においてもBLEに対応することにより、ビーコンを送信して、連携する携帯端末との距離を求めて様々なサービスを提供することが考えられている。   On the other hand, as an application using a mobile terminal, a technique for detecting the position of the mobile terminal using a BLE beacon has been proposed. Here, a beacon transmitted at a constant time interval is received by the mobile terminal, and a relative distance between the beacon transmission source and the mobile terminal is obtained based on the received radio wave strength (RSSI: Received Signal Strength Indicator). Accordingly, it is considered that the information processing apparatus also provides various services by transmitting a beacon to obtain the distance from the associated mobile terminal by supporting BLE.

このため情報処理装置は、BLEによるビーコンを一定の時間間隔で送信しつつ、無線LANによるデータ通信を行うという、同時動作に対応する必要がある。この対応として情報処理装置は、BLEによるビーコンの送信と無線LANによるデータ通信を時分割的に切換えることで、この同時動作に対応することが考えられる。   For this reason, the information processing apparatus needs to cope with the simultaneous operation of performing data communication by wireless LAN while transmitting beacons by BLE at regular time intervals. As this correspondence, the information processing apparatus can cope with this simultaneous operation by switching beacon transmission by BLE and data communication by wireless LAN in a time division manner.

しかしながらこの場合、BLEと、無線LANとを択一的に切り換えて通信を行うため、BLEによるビーコンの送信中は、無線LANのデータ通信は停止せざるを得ない。このため、BLEと無線LANとの同時動作時では、同時動作を行わずに無線LANのデータ通信のみを行っている場合に比較して、無線LANのスループットが低下するという課題がある。   However, in this case, since communication is performed by selectively switching between BLE and wireless LAN, wireless LAN data communication must be stopped during beacon transmission by BLE. For this reason, the simultaneous operation of the BLE and the wireless LAN has a problem that the throughput of the wireless LAN is reduced as compared with the case where only the wireless LAN data communication is performed without performing the simultaneous operation.

本発明の目的は、上記従来技術の課題を解決することにある。   An object of the present invention is to solve the above-described problems of the prior art.

本発明の目的は、2つの無線通信を時分割で実行するときに、一方の無線通信で接続された端末の数が増えることによりスループットが低下するのを防止する技術を提供することにある。   An object of the present invention is to provide a technique for preventing a decrease in throughput due to an increase in the number of terminals connected by one radio communication when two radio communications are executed in a time division manner.

上記目的を達成するために本発明の一態様に係る情報処理装置は以下のような構成を備える。即ち、
ビーコンの送信、及び無線により通信を行う第1の無線通信手段と、
前記第1の無線通信手段とは異なる無線により通信を行う第2の無線通信手段と、
前記第2の無線通信手段により接続された端末の数を判定する判定手段と、
前記第1の無線通信手段と前記第2の無線通信手段とを時分割で切換えて、各無線通信手段による無線通信を制御するとともに、前記第2の無線通信手段によりデータの通信が行われている際に前記第1の無線通信手段が前記ビーコンを送信する場合、前記判定手段が判定した前記端末の数に応じて前記ビーコンを送信する時間間隔を変更する無線制御手段と、を有することを特徴とする。
In order to achieve the above object, an information processing apparatus according to an aspect of the present invention has the following arrangement. That is,
A first wireless communication means for performing beacon transmission and wireless communication;
Second wireless communication means for performing communication by wireless different from the first wireless communication means;
Determining means for determining the number of terminals connected by the second wireless communication means;
The first wireless communication means and the second wireless communication means are switched in a time-sharing manner to control wireless communication by each wireless communication means, and data communication is performed by the second wireless communication means. A wireless control means for changing a time interval for transmitting the beacon according to the number of the terminals determined by the determination means when the first wireless communication means transmits the beacon. Features.

本発明によれば、2つの無線通信を時分割で実行するときに、一方の無線通信で接続された端末の数が増えることによりスループットが低下するのを防止することができる。   According to the present invention, when two wireless communications are executed in a time-sharing manner, it is possible to prevent a decrease in throughput due to an increase in the number of terminals connected by one wireless communication.

本発明のその他の特徴及び利点は、添付図面を参照とした以下の説明により明らかになるであろう。尚、添付図面においては、同じ若しくは同様の構成には、同じ参照番号を付す。   Other features and advantages of the present invention will become apparent from the following description with reference to the accompanying drawings. In the accompanying drawings, the same or similar components are denoted by the same reference numerals.

添付図面は明細書に含まれ、その一部を構成し、本発明の実施形態を示し、その記述と共に本発明の原理を説明するために用いられる。
本発明の実施形態に係る情報処理装置の概観の一例を示す図。 実施形態に係る情報処理装置を含むシステムの一例を示す図。 実施形態に係る情報処理装置のハードウェア構成の一例を説明するブロック図。 実施形態に係る情報処理装置の無線通信部のハードウェア構成の一例を説明するブロック図。 実施形態に係る携帯端末のハードウェア構成の一例を説明するブロック図。 実施形態に係る切換部における通信経路の切換えと、BLE通信と無線LAN通信との優先順位を説明する図。 実施形態に係る情報処理装置と携帯端末との間で行われるBluetooth通信のフローを概略的に示した図。 実施形態に係る情報処理装置の制御部がBLEビーコンを送信する時間間隔を設定する処理を説明するフローチャート。 実施形態に係る情報処理装置の無線通信部が制御部からBLEビーコンの時間間隔の設定値を受信して、その時間をタイマに設定する処理を説明するフローチャート。 実施形態に係る情報処理装置の無線制御部がBLEのビーコンパケットを送信する処理を説明するフローチャート。 実施形態に係る情報処理装置の無線制御部がBLEのデータパケットを受信する処理を説明するフローチャート。 実施形態に係る情報処理装置の無線制御部が無線LANのデータパケットを送信する処理を説明するフローチャート。 実施形態に係る情報処理装置の無線制御部が無線LANのデータパケットを受信する処理を説明するフローチャート。 実施形態に係る携帯端末でBLEによる無線通信の要求が発生し、携帯端末からデータパケットを送信する処理を説明するフローチャート。 実施形態に係る情報処理装置における、パケットレベルでBLE通信と無線LAN通信の同時動作を説明する図。 実施形態に係る無線LAN通信の優先度と、その優先度に応じたBLEビーコンの時間間隔の設定値の一例を示す図。 実施形態に係る情報処理装置からBLE通信のビーコンパケットの送信中に、無線LAN通信のデータパケットの受信が発生した時の同時動作を説明する図。 実施形態に係る情報処理装置からBLE通信のビーコンパケットの送信中に、無線LAN通信のデータパケットの送信が発生した時の同時動作を説明する図。
The accompanying drawings are included in the specification, constitute a part thereof, show an embodiment of the present invention, and are used together with the description to explain the principle of the present invention.
The figure which shows an example of the general view of the information processing apparatus which concerns on embodiment of this invention. The figure which shows an example of the system containing the information processing apparatus which concerns on embodiment. FIG. 2 is a block diagram for explaining an example of a hardware configuration of the information processing apparatus according to the embodiment. 2 is an exemplary block diagram illustrating an example of a hardware configuration of a wireless communication unit of the information processing apparatus according to the embodiment. FIG. The block diagram explaining an example of the hardware constitutions of the portable terminal which concerns on embodiment. The figure explaining switching of the communication path | route in the switching part which concerns on embodiment, and the priority of BLE communication and wireless LAN communication. The figure which showed schematically the flow of the Bluetooth communication performed between the information processing apparatus which concerns on embodiment, and a portable terminal. The flowchart explaining the process which sets the time interval which the control part of the information processing apparatus which concerns on embodiment transmits a BLE beacon. The flowchart explaining the process which the wireless communication part of the information processing apparatus which concerns on embodiment receives the setting value of the time interval of a BLE beacon from a control part, and sets the time to a timer. 6 is a flowchart for describing processing in which the wireless control unit of the information processing apparatus according to the embodiment transmits a BLE beacon packet. 9 is a flowchart for describing processing in which the wireless control unit of the information processing apparatus according to the embodiment receives a BLE data packet. 6 is a flowchart for describing processing in which the wireless control unit of the information processing apparatus according to the embodiment transmits a data packet of a wireless LAN. 6 is a flowchart for describing processing in which the wireless control unit of the information processing apparatus according to the embodiment receives a data packet of a wireless LAN. 6 is a flowchart for describing processing for transmitting a data packet from a mobile terminal when a request for wireless communication by BLE occurs in the mobile terminal according to the embodiment. The figure explaining simultaneous operation | movement of BLE communication and wireless LAN communication by the packet level in the information processing apparatus which concerns on embodiment. The figure which shows an example of the setting value of the time interval of the priority of wireless LAN communication which concerns on embodiment, and the BLE beacon according to the priority. , FIG. 6 is a diagram for explaining simultaneous operation when reception of a data packet for wireless LAN communication occurs during transmission of a beacon packet for BLE communication from the information processing apparatus according to the embodiment. , 6 is a diagram for explaining simultaneous operation when transmission of a data packet for wireless LAN communication occurs during transmission of a beacon packet for BLE communication from the information processing apparatus according to the embodiment. FIG.

以下、添付図面を参照して本発明の実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the present invention according to the claims, and all combinations of features described in the embodiments are not necessarily essential to the solution means of the present invention. .

図1は、本発明の実施形態に係る情報処理装置100の概観の一例を示す図である。また図2は、実施形態に係る情報処理装置100を含むシステムの一例を示す図である。   FIG. 1 is a diagram illustrating an example of an overview of an information processing apparatus 100 according to an embodiment of the present invention. FIG. 2 is a diagram illustrating an example of a system including the information processing apparatus 100 according to the embodiment.

この情報処理装置100は、例えば、コピー機能、スキャン機能、FAX機能及び印刷機能など各種機能を備える一般的な複合機(MFP)である。また、この情報処理装置100は、ユーザによる操作指示を入力する操作パネル101と、ユーザが所持する携帯端末200と無線通信を行うための無線通信部202(いずれも図2)を備えている。無線通信部202は、インターフェイスを介してこの情報処理装置100の動作を制御する制御部102と接続されている。   The information processing apparatus 100 is a general multifunction peripheral (MFP) having various functions such as a copy function, a scan function, a FAX function, and a print function. The information processing apparatus 100 also includes an operation panel 101 for inputting an operation instruction by the user, and a wireless communication unit 202 (both of which are shown in FIG. 2) for performing wireless communication with the mobile terminal 200 possessed by the user. The wireless communication unit 202 is connected to the control unit 102 that controls the operation of the information processing apparatus 100 via an interface.

携帯端末200はユーザが所持するもので、ユーザは、携帯端末200を使用して情報処理装置100と通信を行い、情報処理装置100を使用して各種処理を実行させることができる。また携帯端末211〜215はそれぞれユーザが所持する携帯端末であり、各ユーザは、自分の携帯端末を使用して情報処理装置100と通信し、情報処理装置100を使用して各種処理を実行させることができる。尚、本実施形態では携帯端末は、最大5台まで同時に情報処理装置100と接続して通信が行えるものとする。   The mobile terminal 200 is possessed by the user, and the user can communicate with the information processing apparatus 100 using the mobile terminal 200 and execute various processes using the information processing apparatus 100. Each of the mobile terminals 211 to 215 is a mobile terminal possessed by the user, and each user communicates with the information processing apparatus 100 using his / her mobile terminal and causes the information processing apparatus 100 to execute various processes. be able to. In the present embodiment, it is assumed that up to five portable terminals can be connected to the information processing apparatus 100 and can communicate with each other.

図3は、実施形態に係る情報処理装置100のハードウェア構成の一例を説明するブロック図である。   FIG. 3 is a block diagram illustrating an example of a hardware configuration of the information processing apparatus 100 according to the embodiment.

情報処理装置100は、この情報処理装置100の動作を制御する制御部102と、操作パネル101、印刷処理を実行する印刷処理部308、原稿を読み取って画像データを生成する読取部307と、各種情報を記憶する記憶装置305を有する。これらはバス309を介して接続される。また、上述したように、無線通信部202は、インターフェイスを介して、制御部102と通信可能に構成される。   The information processing apparatus 100 includes a control unit 102 that controls the operation of the information processing apparatus 100, an operation panel 101, a print processing unit 308 that executes print processing, a reading unit 307 that reads a document and generates image data, A storage device 305 that stores information is included. These are connected via a bus 309. Further, as described above, the wireless communication unit 202 is configured to be able to communicate with the control unit 102 via an interface.

制御部102は、CPU301とメモリ302とを備え、この情報処理装置100の各部の動作を制御する。CPU301は、記憶装置305に記憶されているプログラム306を読み出し、メモリ302に展開して実行する。プログラム306は、制御部102(CPU301)に後述する各種処理を実行させる機能を有するプログラムである。メモリ302は例えばDRAMなどを有し、CPU301が実行するプログラムが展開されるエリアや、一時的なデータの記憶等に使用されるワークメモリエリアを有している。操作パネル101は、ユーザによる操作指示を受付け、またユーザへのメッセージなどを表示する。例えば操作パネル101は、例えば液晶パネルなどで構成されて各種情報を表示する表示部303と、ユーザによる操作指示を入力する操作入力部304を有している。尚、表示部303はタッチパネル機能を有している。   The control unit 102 includes a CPU 301 and a memory 302, and controls the operation of each unit of the information processing apparatus 100. The CPU 301 reads out the program 306 stored in the storage device 305, expands it in the memory 302, and executes it. The program 306 is a program having a function for causing the control unit 102 (CPU 301) to execute various processes described later. The memory 302 includes, for example, a DRAM, and has an area where a program executed by the CPU 301 is expanded and a work memory area used for temporary data storage. The operation panel 101 receives an operation instruction from the user and displays a message to the user. For example, the operation panel 101 includes, for example, a display unit 303 that is configured with a liquid crystal panel and displays various types of information, and an operation input unit 304 that inputs an operation instruction by a user. Note that the display unit 303 has a touch panel function.

無線通信部202は、無線通信の規格に基づいて外部機器と無線による通信処理を行い、外部機器と制御部102との間で行われるデータの入出力を行う。本実施形態では、無線通信部202は、無線LAN規格及びBLE規格に準拠した通信を行うものとする。尚、無線LAN規格に関しては、無線LANアクセスポイントを介さずに外部機器と直接無線LAN通信を行うことができる無線LANダイレクトモードに対応しているものとする。   The wireless communication unit 202 performs wireless communication processing with an external device based on a wireless communication standard, and performs input / output of data performed between the external device and the control unit 102. In the present embodiment, the wireless communication unit 202 performs communication based on the wireless LAN standard and the BLE standard. Note that the wireless LAN standard corresponds to a wireless LAN direct mode in which wireless LAN communication can be performed directly with an external device without using a wireless LAN access point.

印刷処理部308は、画像データに基づき印刷処理を実行することで印刷物を出力する。例えば、1枚ずつ給紙された用紙に対して、画像データに基づき画像形成を行う画像形成部、画像形成部によって形成されるトナー像(画像)を用紙に転写させる転写部、用紙に転写されたトナー像を定着させる定着部等を備える。また、印刷された印刷物を排出する搬送部なども備えている。   The print processing unit 308 outputs a printed matter by executing print processing based on the image data. For example, an image forming unit that forms an image based on image data, a transfer unit that transfers a toner image (image) formed by the image forming unit to a sheet, and the sheet transferred to the sheet A fixing unit for fixing the toner image. In addition, a transport unit for discharging the printed matter is also provided.

読取部307は、原稿の画像を読み取って、その画像に対応する画像データを生成する。例えば、原稿載置台に載置された複数の原稿から1枚ずつ搬送する原稿搬送部や、読み取った原稿の画像を画像データに変換して生成する画像データ出力部などを備えている。記憶装置305は、上述したプログラム306等を記憶する、例えばハードディスクドライブ(HDD)やSDメモリなどである。   The reading unit 307 reads an image of a document and generates image data corresponding to the image. For example, a document transport unit that transports one document at a time from a plurality of documents placed on a document placing table, and an image data output unit that converts an image of a read document into image data and generates the image data. The storage device 305 is, for example, a hard disk drive (HDD) or an SD memory that stores the above-described program 306 and the like.

図4は、実施形態に係る情報処理装置100の無線通信部202のハードウェア構成の一例を説明するブロック図である。   FIG. 4 is a block diagram illustrating an example of a hardware configuration of the wireless communication unit 202 of the information processing apparatus 100 according to the embodiment.

無線LAN通信部401は、無線LAN規格に基づき無線LAN通信処理を行い、具体的には無線LANの通信手順に従って、データパケットの送信、受信の処理を行う。尚、上述したように、無線LAN通信部401は無線LANダイレクトモードに対応している。即ち、無線LANダイレクトモードにおいては、無線LAN通信部401が無線LANアクセスポイント(ソフトアクセスポイント)として動作することにより、外部の無線LANアクセスポイントを介さずに無線LAN通信を行うことができる。   The wireless LAN communication unit 401 performs wireless LAN communication processing based on the wireless LAN standard, and specifically performs data packet transmission and reception processing according to a wireless LAN communication procedure. As described above, the wireless LAN communication unit 401 corresponds to the wireless LAN direct mode. That is, in the wireless LAN direct mode, the wireless LAN communication unit 401 operates as a wireless LAN access point (soft access point), so that wireless LAN communication can be performed without going through an external wireless LAN access point.

BLE通信部402は、Bluetooth規格に従ってBLE通信の処理を行うもので、具体的にはBLE通信手順に従って、BLEビーコンパケットの送信、データパケットの送信、受信の処理を行う。無線制御部403は、無線LAN通信部401とBLE通信部402の通信の処理を制御するものである。無線制御部403は、タイマ404を備えており、タイマ404により必要な計時動作を行う。また、無線制御部403は、インターフェイスを介して制御部102と接続されており、無線LAN通信部401、及びBLE通信部402により行われる無線通信に関する各種のデータを、制御部102との間でやりとりすることができる。   The BLE communication unit 402 performs BLE communication processing according to the Bluetooth standard. Specifically, the BLE communication unit 402 performs BLE beacon packet transmission, data packet transmission, and reception processing according to the BLE communication procedure. The wireless control unit 403 controls communication processing between the wireless LAN communication unit 401 and the BLE communication unit 402. The wireless control unit 403 includes a timer 404 and performs a necessary time measuring operation by the timer 404. The wireless control unit 403 is connected to the control unit 102 via an interface, and various data related to wireless communication performed by the wireless LAN communication unit 401 and the BLE communication unit 402 are exchanged with the control unit 102. You can communicate.

切換部405は、無線LAN通信部401、BLE通信部402による通信処理において、それぞれの送信信号、受信信号とアンテナ406との接続を切換え、通信経路の切換えを行うスイッチである。尚、上述した切換部405の通信経路の切換え制御は無線制御部403により行われる。アンテナ406は、外部機器から到来する電波を受信し、また、外部機器に対して電波を送信するためのアンテナである。アンテナ406は、電波として受信した信号を、切換部405を介して無線LAN通信部401、BLE通信部402に供給し、また無線LAN通信部401、BLE通信部402から入力した信号を電波として送信する。   The switching unit 405 is a switch for switching the connection between the transmission signal and the reception signal and the antenna 406 and switching the communication path in the communication processing by the wireless LAN communication unit 401 and the BLE communication unit 402. Note that the switching control of the communication path of the switching unit 405 described above is performed by the wireless control unit 403. The antenna 406 is an antenna for receiving radio waves coming from an external device and transmitting radio waves to the external device. The antenna 406 supplies a signal received as a radio wave to the wireless LAN communication unit 401 and the BLE communication unit 402 via the switching unit 405, and transmits a signal input from the wireless LAN communication unit 401 and the BLE communication unit 402 as a radio wave. To do.

本実施形態では、無線通信部202は、無線LAN規格及びBLE規格に対応しており、いずれの規格も2.4GHz帯を使用しているため、前述したように、一つのアンテナ406を切換えて共用することが可能である。   In this embodiment, the wireless communication unit 202 is compatible with the wireless LAN standard and the BLE standard, and both standards use the 2.4 GHz band. Therefore, as described above, one antenna 406 is switched. It can be shared.

図5は、実施形態に係る携帯端末200、211〜215のハードウェア構成の一例を説明するブロック図である。   FIG. 5 is a block diagram illustrating an example of a hardware configuration of the mobile terminals 200 and 211 to 215 according to the embodiment.

制御部501は、携帯端末200、211〜215の動作を制御しており、CPU502、メモリ503を有している。CPU502は、記憶装置504に記憶されている各種プログラムをメモリ503に展開して実行する。メモリ503は、CPU502がプログラムを実行することに伴う一時的なデータなどを記憶する。   The control unit 501 controls the operations of the mobile terminals 200 and 211 to 215, and includes a CPU 502 and a memory 503. The CPU 502 develops various programs stored in the storage device 504 in the memory 503 and executes them. The memory 503 stores temporary data associated with the CPU 502 executing the program.

無線LAN通信部505は、無線LAN規格に基づいて外部機器との通信処理を行い、外部機器と制御部501の間で行われるデータの入出力処理を行う。BLE通信部506は、Bluetooth規格に基づいて外部機器とのBLE通信処理を行い、外部機器と制御部501の間で行われるデータ入出力処理を行う。操作パネル507は、ユーザによる操作指示を入力する構成を備えている。即ち、操作パネル507は、液晶パネルを有し各種情報を表示する表示部508と、その表示部508に対する操作を検知することでユーザによる操作指示を入力する操作入力部509を有している。ここで表示部508はタッチパネル機能を有している。また、図示していないが、携帯端末200はバッテリや電源制御部など携帯端末として必要な電源供給の構成を備えている。   The wireless LAN communication unit 505 performs communication processing with an external device based on the wireless LAN standard, and performs data input / output processing performed between the external device and the control unit 501. The BLE communication unit 506 performs BLE communication processing with an external device based on the Bluetooth standard, and performs data input / output processing performed between the external device and the control unit 501. The operation panel 507 has a configuration for inputting an operation instruction by a user. That is, the operation panel 507 includes a display unit 508 that has a liquid crystal panel and displays various types of information, and an operation input unit 509 that inputs an operation instruction by the user by detecting an operation on the display unit 508. Here, the display unit 508 has a touch panel function. Although not shown, the mobile terminal 200 has a power supply configuration necessary for the mobile terminal, such as a battery and a power control unit.

上述したように図2において、携帯端末200及び携帯端末211〜215が、情報処理装置100の無線通信部202と通信を行うものとした。そこで本実施形態では、携帯端末200は、無線通信部202とBLE通信を行い、携帯端末211〜215が無線通信部202と無線LAN通信を行うものとする。即ち、携帯端末200はBLE通信部506を制御し、一方、情報処理装置100は、BLE通信部402を制御してお互いにBLE通信の接続を行い、BLE通信手順に従い通信を行う。   As described above, in FIG. 2, the mobile terminal 200 and the mobile terminals 211 to 215 communicate with the wireless communication unit 202 of the information processing apparatus 100. Therefore, in the present embodiment, the mobile terminal 200 performs BLE communication with the wireless communication unit 202, and the mobile terminals 211 to 215 perform wireless LAN communication with the wireless communication unit 202. That is, the mobile terminal 200 controls the BLE communication unit 506, while the information processing apparatus 100 controls the BLE communication unit 402 to connect each other for BLE communication and perform communication according to the BLE communication procedure.

また携帯端末211〜215は無線LAN通信部505を制御し、一方、情報処理装置100は、無線LAN通信部401を制御して互いに無線LAN通信の接続を行い、無線LAN通信手順に従って通信を行う。尚、上述したように、情報処理装置100の無線LAN通信部401は無線LANダイレクトモードに対応しており、無線LANアクセスポイント(ソフトアクセスポイント)として動作して、携帯端末211〜215と無線LAN通信を行う。無線LANダイレクトモード時の、携帯端末211〜215との同時接続台数は最大5台であり、最大5台の携帯端末211〜215と同時に無線LAN接続して通信を行うことができる。   The mobile terminals 211 to 215 control the wireless LAN communication unit 505, while the information processing apparatus 100 controls the wireless LAN communication unit 401 to connect to each other for wireless LAN communication and perform communication according to the wireless LAN communication procedure. . As described above, the wireless LAN communication unit 401 of the information processing apparatus 100 corresponds to the wireless LAN direct mode, operates as a wireless LAN access point (soft access point), and the mobile terminals 211 to 215 and the wireless LAN. Communicate. At the time of the wireless LAN direct mode, the maximum number of simultaneous connection with the portable terminals 211 to 215 is five, and communication can be performed by connecting to the wireless LAN simultaneously with the maximum of five portable terminals 211 to 215.

次に図4に示す無線通信部202による切換部405の制御について詳述する。   Next, the control of the switching unit 405 by the wireless communication unit 202 shown in FIG. 4 will be described in detail.

上述したように無線通信部202は、無線LAN通信部401とBLE通信部402とを有しており、それぞれ、無線LAN規格に基づいた無線LAN通信とBluetooth規格に基づいたBLE通信が可能である。これに対してアンテナ406は、無線LAN通信とBLE通信で共用されるため、切換部405により、それぞれの通信状態に応じて、通信経路を切換えながら通信を行う必要がある。このため、各通信状態に応じた通信経路の切り替えにおいて優先順位が発生する。   As described above, the wireless communication unit 202 includes the wireless LAN communication unit 401 and the BLE communication unit 402, and can perform wireless LAN communication based on the wireless LAN standard and BLE communication based on the Bluetooth standard, respectively. . On the other hand, since the antenna 406 is shared by the wireless LAN communication and the BLE communication, the switching unit 405 needs to perform communication while switching the communication path according to each communication state. For this reason, priority is generated in switching the communication path according to each communication state.

図4に示すように、切換部405は、切換え用の接点405a、405b、405cと、共通接点とを有するスイッチであり、共通接点はアンテナ406に接続されている。ここで接点405aは、無線LAN通信部401から送信される無線LAN送信信号に接続されている。また接点405bは、無線LAN通信部401に送られる無線LAN受信信号、及び、BLE通信部402に送られるBLE受信信号に並列的に接続されている。また接点405cは、BLE通信部402から送信されるBLE送信信号に接続される。   As shown in FIG. 4, the switching unit 405 is a switch having switching contacts 405 a, 405 b, and 405 c and a common contact, and the common contact is connected to the antenna 406. Here, the contact point 405 a is connected to a wireless LAN transmission signal transmitted from the wireless LAN communication unit 401. The contact point 405 b is connected in parallel to the wireless LAN reception signal sent to the wireless LAN communication unit 401 and the BLE reception signal sent to the BLE communication unit 402. The contact 405 c is connected to a BLE transmission signal transmitted from the BLE communication unit 402.

尚、このBLE送信信号に関しては、Bluetooth規格で規定される、BLEのビーコンパケットの送信、及びBLEのデータ通信におけるデータパケットの送信の各状態を含んでいるものとする。   The BLE transmission signal includes states of transmission of a BLE beacon packet and transmission of a data packet in BLE data communication defined by the Bluetooth standard.

図6は、実施形態に係る切換部405における通信経路の切換えと、BLE通信と無線LAN通信との優先順位を説明する図である。   FIG. 6 is a diagram illustrating communication path switching in the switching unit 405 according to the embodiment, and priorities of BLE communication and wireless LAN communication.

まず、BLE通信部402による、BLEのパケット送信の優先順位が「1」(最優先)であり、このとき切換部405の切換え接点は405cに設定される。次に、BLE通信部402による、BLEのパケット受信の優先順位は「2」であり、このとき切換部405の切換え接点は405bに設定される。次に、無線LAN通信部401による、無線LANのパケット送信の優先順位が「3」となり、このとき切換部405の切換え接点は405aに設定される。次に、無線LAN通信部401による、無線LANのパケット受信の優先順位が「4」となり、このとき切換部405の切換え接点は405bに設定される。いずれの無線通信も行っていないアイドル状態においては、切換部405の切換え接点は405bであるとする。   First, the priority of BLE packet transmission by the BLE communication unit 402 is “1” (highest priority), and at this time, the switching contact of the switching unit 405 is set to 405c. Next, the priority order of BLE packet reception by the BLE communication unit 402 is “2”. At this time, the switching contact of the switching unit 405 is set to 405b. Next, the priority of wireless LAN packet transmission by the wireless LAN communication unit 401 is “3”. At this time, the switching contact of the switching unit 405 is set to 405a. Next, the priority of wireless LAN packet reception by the wireless LAN communication unit 401 is “4”. At this time, the switching contact of the switching unit 405 is set to 405b. In an idle state where no wireless communication is performed, the switching contact of the switching unit 405 is assumed to be 405b.

尚、上述した、各通信状態の優先順位に応じた、無線LAN通信部401、BLE通信部402における通信制御、及び切換部405の切換え制御は、無線制御部403によって行われる。   Note that the wireless control unit 403 performs the communication control in the wireless LAN communication unit 401 and the BLE communication unit 402 and the switching control of the switching unit 405 according to the priority order of each communication state described above.

図7は、実施形態に係る情報処理装置100と携帯端末200との間で行われるBluetooth通信のフローを概略的に示した図である。尚、この通信フローは、Bluetooth規格で規定されるBLE通信のフローに基づくものである。   FIG. 7 is a diagram schematically illustrating a flow of Bluetooth communication performed between the information processing apparatus 100 and the mobile terminal 200 according to the embodiment. This communication flow is based on the BLE communication flow defined by the Bluetooth standard.

ここで情報処理装置100は、上述した無線制御部403により、BLE通信部402、及び切換部405を制御してBLE通信を行う。   Here, the information processing apparatus 100 controls the BLE communication unit 402 and the switching unit 405 by the above-described wireless control unit 403 to perform BLE communication.

まず無線制御部403は、制御部102により指示された一定の時間間隔で、BLE通信部402、及び切換部405を制御して、不特定多数の装置を対象としたビーコンパケット700を送信する。尚、本実施形態では、このビーコンパケットを送信する時間間隔をTbeaconとする。また、本実施形態において、情報処理装置100が送信するビーコンパケット700には、情報処理装置100の機種名等、装置を特定するための属性情報が含まれているとする。   First, the wireless control unit 403 controls the BLE communication unit 402 and the switching unit 405 at a certain time interval instructed by the control unit 102, and transmits a beacon packet 700 targeting an unspecified number of devices. In this embodiment, the time interval for transmitting this beacon packet is Tbeacon. In the present embodiment, it is assumed that the beacon packet 700 transmitted by the information processing apparatus 100 includes attribute information for identifying the apparatus such as the model name of the information processing apparatus 100.

携帯端末200では、ユーザによる操作により記憶装置504のプログラムが起動され、BLE通信の要求が発生すると、制御部501のCPU502はBLE通信部506に対して通信の開始を命令する。BLE通信部506は、接続対象となるビーコンパケットのサーチを行い、BLE通信部506は接続対象となるビーコンパケットを見つけると、BLE通信要求を示すリクエストパケット701を送信する。   In the portable terminal 200, when a program in the storage device 504 is activated by a user operation and a BLE communication request is generated, the CPU 502 of the control unit 501 instructs the BLE communication unit 506 to start communication. The BLE communication unit 506 searches for a beacon packet to be connected. When the BLE communication unit 506 finds a beacon packet to be connected, the BLE communication unit 506 transmits a request packet 701 indicating a BLE communication request.

このリクエストパケット701が情報処理装置100のBLE通信部402により受信されると、情報処理装置100は、携帯端末200からのデータパケットの受信に移行する。これと同時に情報処理装置100は、BLE通信部402を制御して、ビーコンパケット700の送信を中止する。   When the request packet 701 is received by the BLE communication unit 402 of the information processing apparatus 100, the information processing apparatus 100 shifts to reception of a data packet from the mobile terminal 200. At the same time, the information processing apparatus 100 controls the BLE communication unit 402 and stops transmitting the beacon packet 700.

この後、携帯端末200は、通信規定に従い、1番目のデータパケット702を送信する。そして、1番目のデータパケット702に対する1番目のレスポンスパケット703を受信するとパケット内のデータを取り出し、制御部501のCPU502に出力する。制御部501のCPU502は、更なるデータ通信が必要であれば、送信データをBLE通信部506に対して出力し、データ転送を命令する。命令を受けたBLE通信部506は2番目のデータパケット704を送信し、これに対する2番目のレスポンスパケット705を受信する。   Thereafter, the mobile terminal 200 transmits the first data packet 702 in accordance with the communication rules. When the first response packet 703 for the first data packet 702 is received, the data in the packet is extracted and output to the CPU 502 of the control unit 501. If further data communication is necessary, the CPU 502 of the control unit 501 outputs transmission data to the BLE communication unit 506 and instructs data transfer. Upon receiving the command, the BLE communication unit 506 transmits the second data packet 704 and receives the second response packet 705 corresponding thereto.

上記処理を繰り返して、携帯端末200から情報処理装置100へデータの転送を行う。そして、更なるデータ転送が無ければ、BLE通信の切断を行い終了する。   The above process is repeated to transfer data from the portable terminal 200 to the information processing apparatus 100. If there is no further data transfer, the BLE communication is disconnected and the process ends.

以上の説明を踏まえて、本実施形態において、BLE通信と無線LAN通信を同時に行う際に、BLEビーコンパケットの時間間隔を制御する動作について、以下にフローチャート、及び図を参照して詳しく説明する。   Based on the above description, the operation for controlling the time interval of the BLE beacon packet when performing BLE communication and wireless LAN communication at the same time in the present embodiment will be described in detail below with reference to flowcharts and drawings.

まず、情報処理装置100の制御部102が、無線通信部202におけるBLEビーコン送信の時間間隔を設定する動作を図8のフローチャートを参照して説明する。   First, an operation in which the control unit 102 of the information processing apparatus 100 sets a time interval of BLE beacon transmission in the wireless communication unit 202 will be described with reference to a flowchart of FIG.

図8は、実施形態に係る情報処理装置100の制御部102がBLEビーコンを送信する時間間隔を設定する処理を説明するフローチャートである。尚、この処理をCPU301に実行させるプログラムは記憶装置305に記憶されており、プログラムの実行時にメモリ302に展開され、CPU301がそのプログラムを実行することにより、このフローチャートで示す処理が達成される。   FIG. 8 is a flowchart for describing processing for setting a time interval at which the control unit 102 of the information processing apparatus 100 according to the embodiment transmits a BLE beacon. Note that a program that causes the CPU 301 to execute this processing is stored in the storage device 305, and is expanded in the memory 302 when the program is executed. When the CPU 301 executes the program, the processing shown in this flowchart is achieved.

まずS801でCPU301は、BLEビーコンの時間間隔の初期値を無線通信部202に転送して無線通信部202に設定する。具体的には、BLEビーコンの時間間隔の初期値は記憶装置305に記憶されており、CPU301は記憶装置305から、このBLEビーコンの時間間隔の初期値を読出して無線通信部202に送信する。次にS802に進みCPU301は、新たに携帯端末211〜215のいずれかと無線LANダイレクト通信の接続を開始したかどうか判断する。即ち、CPU301は、新たに携帯端末211〜215のいずれかと無線LANダイレクト通信の接続が開始されると、無線制御部403からその旨の通知を受け、新たに携帯端末との無線LANダイレクト通信の接続が開始されたと判定する。S802で新たに携帯端末との無線LANダイレクト通信の接続が開始されたと判定した場合はS804に処理を進め、そうでないときはS803に処理を進める。S803でCPU301は、接続中の携帯端末との無線LANダイレクト通信が終了したかどうか判定する。即ち、CPU301は、接続中の携帯端末211〜215のいずれかとの無線LANダイレクト通信が終了すると、無線制御部403からその旨の通知を受け、接続中の携帯端末との無線LANダイレクト通信が終了したと判定する。ここで接続中の携帯端末との無線LANダイレクト通信が終了したと判定するとS804に処理を進め、そうでないときはS802に戻る。   First, in step S <b> 801, the CPU 301 transfers the initial value of the BLE beacon time interval to the wireless communication unit 202 and sets it in the wireless communication unit 202. Specifically, the initial value of the BLE beacon time interval is stored in the storage device 305, and the CPU 301 reads the initial value of the BLE beacon time interval from the storage device 305 and transmits it to the wireless communication unit 202. In step S802, the CPU 301 determines whether a wireless LAN direct communication connection with any of the mobile terminals 211 to 215 has been newly started. That is, when the wireless LAN direct communication connection is newly started with any of the mobile terminals 211 to 215, the CPU 301 receives a notification from the wireless control unit 403 and newly performs wireless LAN direct communication with the mobile terminal. It is determined that the connection has started. If it is determined in step S802 that a new wireless LAN direct communication connection with the mobile terminal has been started, the process proceeds to step S804. If not, the process proceeds to step S803. In step S <b> 803, the CPU 301 determines whether the wireless LAN direct communication with the connected mobile terminal has ended. That is, when the wireless LAN direct communication with any of the connected mobile terminals 211 to 215 is completed, the CPU 301 receives a notification from the wireless control unit 403 and ends the wireless LAN direct communication with the connected mobile terminal. It is determined that If it is determined here that the wireless LAN direct communication with the connected portable terminal has been completed, the process proceeds to S804. If not, the process returns to S802.

S804でCPU301は、無線LANダイレクト通信により、同時に接続している携帯端末の台数を判定する。即ち、S802、S803の判定の結果によりCPU301は、現時点で無線LANダイレクト通信で、同時に接続している携帯端末の台数を判定する。そしてS805に進みCPU301は、S804で判定した同時に接続している携帯端末の台数が5台かどうか判定する。尚、上述したように、情報処理装置100が無線LANダイレクト通信により同時に接続できる携帯端末の数は最大で5であり、5台を超えての同時接続はできないものとする。S805でCPU301が、同時に接続している携帯端末の台数が5と判定するとS809に処理を進め、同時に接続している携帯端末の台数が5でない(5よりも少ない)と判定するとS806に処理を進める。   In step S <b> 804, the CPU 301 determines the number of mobile terminals that are simultaneously connected through wireless LAN direct communication. That is, the CPU 301 determines the number of mobile terminals connected at the same time through wireless LAN direct communication based on the determination results of S802 and S803. In step S805, the CPU 301 determines whether the number of mobile terminals connected at the same time determined in step S804 is five. As described above, the maximum number of portable terminals to which the information processing apparatus 100 can be connected simultaneously by wireless LAN direct communication is five, and simultaneous connection of more than five cannot be performed. If the CPU 301 determines in S805 that the number of simultaneously connected mobile terminals is 5, the process proceeds to S809, and if it is determined that the number of simultaneously connected mobile terminals is not 5 (less than 5), the process proceeds to S806. Proceed.

S806でCPU301は、無線通信部202をBLEビーコンを送信するモードに設定してS807に進む。S807でCPU301は、接続している携帯端末の台数に対応するBLEビーコンの時間間隔を決定する。具体的には、CPU301は、記憶装置305に記憶されている、無線LANダイレクト通信で接続している携帯端末の台数とBLEビーコンの時間間隔とを関連付けたテーブルを参照して、BLEビーコンの時間間隔を決定する。そしてS808に進みCPU301は、S807で決定したBLEビーコンの時間間隔の設定値を無線通信部202に送信して無線通信部202に設定してS802に処理を進める。一方、S809でCPU301は、無線通信部202に対して、BLEビーコンを送信しないモードに設定してS802に処理を進める。   In step S806, the CPU 301 sets the wireless communication unit 202 to a mode for transmitting a BLE beacon and proceeds to step S807. In S807, the CPU 301 determines the time interval of the BLE beacon corresponding to the number of connected mobile terminals. Specifically, the CPU 301 refers to a table in which the number of mobile terminals connected by wireless LAN direct communication and the BLE beacon time interval stored in the storage device 305 is associated, and the BLE beacon time Determine the interval. In step S808, the CPU 301 transmits the set value of the BLE beacon time interval determined in step S807 to the wireless communication unit 202, sets the wireless communication unit 202, and advances the process to step S802. On the other hand, in step S809, the CPU 301 sets the wireless communication unit 202 to a mode in which no BLE beacon is transmitted, and advances the process to step S802.

尚、無線LANダイレクト通信で接続している携帯端末の台数に応じて、BLEビーコンを送信する時間間隔を制御する処理は詳しく後述する。   A process for controlling the time interval for transmitting the BLE beacon according to the number of mobile terminals connected by wireless LAN direct communication will be described in detail later.

図9は、実施形態に係る情報処理装置100の無線通信部202が制御部102からBLEビーコンの時間間隔の設定値を受信して、その時間をタイマ404に設定する処理を説明するフローチャートである。   FIG. 9 is a flowchart for describing processing in which the wireless communication unit 202 of the information processing apparatus 100 according to the embodiment receives the set value of the BLE beacon time interval from the control unit 102 and sets the time in the timer 404. .

まずS901で無線通信部202の無線制御部403は、制御部102からBLEビーコンの時間間隔の設定値を受信したかどうか判定する。ここでBLEビーコン時間間隔の設定値を受信したと判定するとS902に移行する。一方、BLEビーコン間隔の設定値を受信していないと判定するとS901に戻る。S902で無線制御部403は、制御部102から受信した、BLEビーコンの時間間隔の設定値をタイマ404に設定する。そしてS903に進み無線制御部403は、S902でタイマ404に設定したBLEビーコン時間間隔の設定値に基づき、タイマ404を起動して、この処理を終了する。   First, in step S <b> 901, the wireless control unit 403 of the wireless communication unit 202 determines whether or not the setting value of the BLE beacon time interval has been received from the control unit 102. If it is determined that the set value of the BLE beacon time interval has been received, the process proceeds to S902. On the other hand, if it is determined that the set value of the BLE beacon interval has not been received, the process returns to S901. In step S <b> 902, the wireless control unit 403 sets the set value of the BLE beacon time interval received from the control unit 102 in the timer 404. In step S903, the wireless control unit 403 activates the timer 404 based on the set value of the BLE beacon time interval set in the timer 404 in step S902, and ends this process.

上述したように、無線制御部403は、制御部102からBLEビーコン時間間隔の設定値を受信する度にタイマ404の設定と起動を行う。   As described above, the radio control unit 403 sets and activates the timer 404 every time it receives a set value of the BLE beacon time interval from the control unit 102.

図10は、実施形態に係る情報処理装置100の無線制御部403がBLEのビーコンパケットを送信する処理を説明するフローチャートである。   FIG. 10 is a flowchart for describing processing in which the wireless control unit 403 of the information processing apparatus 100 according to the embodiment transmits a BLE beacon packet.

まずS1001で無線制御部403は、無線通信部202がBLEビーコンを送信するモードに設定されているかどうか判定する。即ち、無線制御部403は、前述のS806で、BLEビーコンを送信するモードの指示を受けていればBLEビーコンを送信するモードが設定されていると判定する。一方S809で、BLEビーコンを送信しないモードの指示を受けていれ、BLEビーコンを送信しないモードを判定する。S1001で無線制御部403は、BLEビーコンを送信しないモードと判定するとS1001に戻るが、BLEビーコンを送信するモードと判定するとS1002に処理を進める。S1002で無線制御部403は、タイマ404によるタイマ割り込みが発生したかどうか判定する。ここで、タイマ割り込みの発生は、図9のフローチャートに従ってタイマ404に設定された、BLEのビーコンの時間間隔時間が経過したことを示すものである。S1002で無線制御部403が、タイマ割り込みが発生したと判断するとS1003に移行する。一方、無線制御部403が、タイマ割り込みが発生していない判断した場合はS1002に戻る。S1003で無線制御部403は、切換部405の切換え接点を405cに設定する。即ち、BLE通信部402が切換部405を介してBLE送信信号(BLEビーコン)を送信できるようにする。次にS1004に進み無線制御部403は、BLE通信部402を制御して、BLEのビーコンパケットを送信する。次にS1005に進み無線制御部403は、切換部405の切換え接点を405bに設定してS1002に戻る。即ち、BLEのパケット或いは無線LANのパケットの受信が可能な状態にしてS1002に進む。こうしてS1002からS1005をループすることにより、BLEビーコンの時間間隔の設定に従って、その時間間隔でタイマ404によるタイマ割り込みが発生し、BLEビーコンパケットの送信が繰り返し行われる。   First, in step S1001, the wireless control unit 403 determines whether the wireless communication unit 202 is set to a mode for transmitting a BLE beacon. That is, if the wireless control unit 403 receives an instruction for a mode for transmitting a BLE beacon in S806 described above, the wireless control unit 403 determines that a mode for transmitting a BLE beacon is set. On the other hand, in S809, an instruction for a mode in which a BLE beacon is not transmitted is received, and a mode in which a BLE beacon is not transmitted is determined. If the wireless control unit 403 determines in S1001 that the mode is not to transmit a BLE beacon, the wireless control unit 403 returns to S1001. In step S1002, the wireless control unit 403 determines whether a timer interrupt by the timer 404 has occurred. Here, the occurrence of the timer interrupt indicates that the time interval time of the BLE beacon set in the timer 404 according to the flowchart of FIG. 9 has elapsed. If the wireless control unit 403 determines in S1002 that a timer interrupt has occurred, the process proceeds to S1003. On the other hand, if the wireless control unit 403 determines that the timer interrupt has not occurred, the process returns to S1002. In S1003, the wireless control unit 403 sets the switching contact of the switching unit 405 to 405c. That is, the BLE communication unit 402 can transmit a BLE transmission signal (BLE beacon) via the switching unit 405. In step S1004, the wireless control unit 403 controls the BLE communication unit 402 to transmit a BLE beacon packet. Next, proceeding to S1005, the wireless control unit 403 sets the switching contact of the switching unit 405 to 405b and returns to S1002. In other words, the BLE packet or wireless LAN packet can be received, and the process advances to step S1002. By looping from S1002 to S1005 in this manner, a timer interrupt by the timer 404 is generated at the time interval according to the setting of the time interval of the BLE beacon, and transmission of the BLE beacon packet is repeatedly performed.

図11は、実施形態に係る情報処理装置100の無線制御部403がBLEのデータパケットを受信する処理を説明するフローチャートである。   FIG. 11 is a flowchart for describing processing in which the wireless control unit 403 of the information processing apparatus 100 according to the embodiment receives a BLE data packet.

S1101で無線制御部403は、切換部405の切換え接点を405bに設定する。即ち、BLEのパケット或いは無線LANのパケットの受信が可能な状態にする。次にS1102に進み無線制御部403は、BLE通信部402を制御して携帯端末200から自機宛てのBLE通信のリクエストパケットを受信したかどうか判定する。ここでBLE通信のリクエストパケットを受信したと判定するとS1103に処理を進めるが、そうでないときはS1102に戻る。   In S1101, the wireless control unit 403 sets the switching contact of the switching unit 405 to 405b. In other words, a BLE packet or a wireless LAN packet can be received. In step S1102, the wireless control unit 403 controls the BLE communication unit 402 to determine whether a BLE communication request packet addressed to itself is received from the mobile terminal 200. If it is determined that a BLE communication request packet has been received, the process proceeds to S1103. If not, the process returns to S1102.

S1103で無線制御部403は、BLEのビーコンパケットの送信を中止する。即ち、無線制御部403は、BLE通信部402を制御して、図10のフローチャートで示したBLEのビーコンパケットの送信動作を中止する。次にS1104に進み無線制御部403は、BLE通信部402を制御して携帯端末200から自機宛てのデータパケットを受信したかどうか判定する。ここでBLEのデータパケットを受信したと判定するとS1105に処理を進めるが、そうでないときS1104に戻る。S1105で無線制御部403は、BLE通信部402を制御して受信したデータパケットを解析する。即ち、Bluetoothの通信規定に基づき、受信したデータパケットのCRC等を行い、受信パケットのデータに誤りが無いか解析する。次にS1106に進み無線制御部403は、S1105の受信パケットの解析結果に基づき、受信パケットが正常かどうか判定する。ここで受信データパケットが正常であると判定するとS1107に処理を進め、そうでないときはS1104に戻る。   In step S1103, the wireless control unit 403 stops transmission of the BLE beacon packet. That is, the wireless control unit 403 controls the BLE communication unit 402 to stop the transmission operation of the BLE beacon packet shown in the flowchart of FIG. In step S1104, the wireless control unit 403 controls the BLE communication unit 402 to determine whether a data packet addressed to itself is received from the mobile terminal 200. If it is determined that a BLE data packet has been received, the process proceeds to S1105. If not, the process returns to S1104. In step S1105, the wireless control unit 403 controls the BLE communication unit 402 to analyze the received data packet. That is, based on the Bluetooth communication regulations, CRC of the received data packet is performed, and the received packet data is analyzed for errors. In step S1106, the wireless control unit 403 determines whether the received packet is normal based on the analysis result of the received packet in step S1105. If it is determined that the received data packet is normal, the process proceeds to S1107. If not, the process returns to S1104.

S1107で無線制御部403は、切換部405の切換え接点を405cに設定する。即ち、BLE通信部402が切換部405を介して、受信したデータパケットに対するレスポンスを送信できるようにする。そしてS1108に進み無線制御部403は、BLE通信部402を制御して、BLEのレスポンスパケットを送信する。そしてS1109に進み無線制御部403は、切換部405の切換え接点を405bに設定してS1110に進む。即ち、BLEのパケット或いは無線LANのパケットの受信が可能な状態にしてS1110に進む。S1110で無線制御部403は、BLE通信部402を制御して、BLEデータパケットを全て受信して、データパケットの受信を終了するかどうかを判定する。即ち、Bluetoothの通信規定の通信制御に基づき、期待されたパケットを全て受信するとデータ通信は終了と判定してS1111に処理を進めるが、そうでないときはS1104に移行して、データパケットの受信を繰り返す。S1111で無線制御部403は、BLE通信部402を制御して、BLE受信したデータを制御部102に転送する。具体的には、無線制御部403は、BLE通信部402を制御して、S1104〜S1110で受信したBLEの受信パケットのペイロード部からユーザデータを抜き出して、これをまとめて受信データとして制御部102に転送する。   In step S1107, the wireless control unit 403 sets the switching contact of the switching unit 405 to 405c. That is, the BLE communication unit 402 can transmit a response to the received data packet via the switching unit 405. In step S1108, the wireless control unit 403 controls the BLE communication unit 402 and transmits a BLE response packet. In step S1109, the wireless control unit 403 sets the switching contact of the switching unit 405 to 405b, and proceeds to step S1110. That is, the BLE packet or the wireless LAN packet can be received, and the process advances to step S1110. In step S1110, the wireless control unit 403 controls the BLE communication unit 402 to receive all BLE data packets and determine whether to end reception of the data packets. That is, based on the communication control of the Bluetooth communication regulation, when all the expected packets are received, it is determined that the data communication is completed and the process proceeds to S1111. Otherwise, the process proceeds to S1104 and the reception of the data packet is performed. repeat. In step S1111, the wireless control unit 403 controls the BLE communication unit 402 to transfer the BLE received data to the control unit 102. Specifically, the wireless control unit 403 controls the BLE communication unit 402 to extract user data from the payload portion of the BLE received packet received in S1104 to S1110, and collectively collect the user data as received data. Forward to.

図12は、実施形態に係る情報処理装置100の無線制御部403が無線LANのデータパケットを送信する処理を説明するフローチャートである。   FIG. 12 is a flowchart for describing processing in which the wireless control unit 403 of the information processing apparatus 100 according to the embodiment transmits a data packet of a wireless LAN.

まずS1201で無線制御部403は、制御部102から送信データを受信する。即ち、情報処理装置100において、制御部102が無線LANのデータ送信が必要と判断すると、制御部102により生成された無線LANの送信データは、制御部102から無線制御部403に転送されて無線制御部403により受信される。次にS1202に進み無線制御部403は、制御部102から転送されて受信した送信データを無線LAN通信規定に基づき、送信パケットの形態に変換して送信パケットを生成する。そしてS1203に進み無線制御部403は、切換部405の切換え接点を405aに設定する。即ち、無線LAN通信部401から無線LANのパケット送信を可能にしてS1204に進む。S1204で無線制御部403は、無線LAN通信部401を制御して、通信相手である携帯端末(211〜215)に無線LANのデータパケットを送信する。そしてS1205に進み無線制御部403は、切換部405の切換え接点を405bに設定する。即ち、BLEのパケット或いは無線LANのパケットの受信が可能な状態にしてS1206に進む。尚、携帯端末(211〜215)は、5台接続しているときは携帯端末211〜215を全て含むが、それ以下の数が接続されている場合は、携帯端末211〜215のいずれかが接続されていることを意味している。ここでは携帯端末200と区別するために、以下、このような記述を採用している。   First, in step S <b> 1201, the wireless control unit 403 receives transmission data from the control unit 102. That is, in the information processing apparatus 100, when the control unit 102 determines that wireless LAN data transmission is necessary, the wireless LAN transmission data generated by the control unit 102 is transferred from the control unit 102 to the wireless control unit 403 and wirelessly transmitted. Received by the control unit 403. In step S1202, the wireless control unit 403 converts the transmission data transferred from the control unit 102 and received into a transmission packet format based on the wireless LAN communication rule, and generates a transmission packet. In step S1203, the wireless control unit 403 sets the switching contact of the switching unit 405 to 405a. That is, the wireless LAN communication unit 401 enables wireless LAN packet transmission, and the process advances to step S1204. In step S1204, the wireless control unit 403 controls the wireless LAN communication unit 401 to transmit wireless LAN data packets to the mobile terminals (211 to 215) that are communication partners. In step S1205, the wireless control unit 403 sets the switching contact of the switching unit 405 to 405b. In other words, the BLE packet or wireless LAN packet can be received, and the process advances to step S1206. In addition, when five mobile terminals (211 to 215) are connected, all of the mobile terminals 211 to 215 are included. However, when a smaller number is connected, one of the mobile terminals 211 to 215 is It means that it is connected. Here, in order to distinguish from the mobile terminal 200, the following description is adopted.

S1206で無線制御部403は、無線LAN通信部401を制御して、通信相手である携帯端末(211〜215)から、無線LAN通信規定の通信制御に基づき、ACKパケットを受信したかどうか判定する。ここでACKパケットを受信したと判定するとS1207に処理を進めるが、そうでないときはS1208に処理を進める。S1208で無線制御部403は、S1204で送信したデータパケットが、通信相手である携帯端末(211〜215)に正常に受信されていないと判定し、S1204で送信した無線LANのデータパケットを再送してS1206に進む。そしてS1206で無線制御部403が、ACKパケットを受信したかどうか判定する。そしてS1206で、ACKパケットを受信できなかった場合は、S1208に移行してデータパケットの再送を行い、通信相手である携帯端末(211〜215)から正しくACKパケットを受信できるまで繰り返す。   In step S <b> 1206, the wireless control unit 403 controls the wireless LAN communication unit 401 to determine whether an ACK packet has been received from the mobile terminal (211 to 215) that is the communication partner, based on communication control defined by wireless LAN communication. . If it is determined that an ACK packet has been received, the process proceeds to S1207. If not, the process proceeds to S1208. In step S1208, the wireless control unit 403 determines that the data packet transmitted in step S1204 has not been normally received by the mobile terminal (211 to 215) that is the communication partner, and retransmits the wireless LAN data packet transmitted in step S1204. Then, the process proceeds to S1206. In step S1206, the wireless control unit 403 determines whether an ACK packet has been received. If the ACK packet cannot be received in S1206, the process proceeds to S1208, where the data packet is retransmitted, and the process is repeated until the ACK packet is correctly received from the mobile terminal (211 to 215) that is the communication partner.

S1207で無線制御部403は、無線LAN通信部401を制御して、無線LANデータパケットを全て送信して、データパケットの送信を終了するかどうかを判定する。即ち、無線LANの通信規定の通信制御に基づき、期待されたパケットを全て送信して、データ通信は終了したと判定すると、この動作を終了する。一方、期待されたパケットを全て受信しておらず、データ通信は終了でないと判定した場合はS1202に戻り、前述したデータパケットの送信を繰り返し実行する。   In step S <b> 1207, the wireless control unit 403 controls the wireless LAN communication unit 401 to transmit all wireless LAN data packets and determines whether to end the data packet transmission. That is, based on the communication control of the wireless LAN communication regulation, when all the expected packets are transmitted and it is determined that the data communication is finished, this operation is finished. On the other hand, if all the expected packets have not been received and it is determined that the data communication has not ended, the process returns to S1202, and the above-described data packet transmission is repeatedly executed.

図13は、実施形態に係る情報処理装置100の無線制御部403が無線LANのデータパケットを受信する処理を説明するフローチャートである。尚、ここでは上述したように、情報処理装置100の無線制御部403は、無線LANダイレクトモードに対応しており、無線LANアクセスポイント(ソフトアクセスポイント)として通信制御を行う。   FIG. 13 is a flowchart for describing processing in which the wireless control unit 403 of the information processing apparatus 100 according to the embodiment receives a data packet of a wireless LAN. Here, as described above, the wireless control unit 403 of the information processing apparatus 100 supports the wireless LAN direct mode, and performs communication control as a wireless LAN access point (soft access point).

まずS1301で無線制御部403は、切換部405の切換え接点を405bに設定する。即ち、BLEのパケット或いは無線LANのパケットの受信が可能な状態にしてS1302に進む。S1302で無線制御部403は、無線LAN通信部401を制御して携帯端末(211〜215)から自機宛てのデータパケットを受信したかどうか判定する。ここで無線LANのデータパケットを受信したと判定するとS1303に処理を進め、そうでないときはS1302に戻る。S1303で無線制御部403は、無線LAN通信部401を制御して受信したデータパケットを解析する。即ち、無線LANの通信規定に基づき、受信したデータパケットのフレームチェック等を行い、受信パケットのデータに誤りが無いか解析する。次にS1304に進み無線制御部403は、S1303の受信パケットの解析結果に基づいて受信パケットが正常かどうか判定する。ここで受信データパケットが正常と判定するとS1305に処理を進め、そうでない場合はS1302に戻る。   First, in step S1301, the wireless control unit 403 sets the switching contact of the switching unit 405 to 405b. That is, the BLE packet or the wireless LAN packet can be received, and the process advances to step S1302. In step S1302, the wireless control unit 403 controls the wireless LAN communication unit 401 to determine whether or not a data packet addressed to itself is received from the mobile terminal (211 to 215). If it is determined that a wireless LAN data packet has been received, the process advances to step S1303. If not, the process returns to step S1302. In step S1303, the wireless control unit 403 controls the wireless LAN communication unit 401 to analyze the received data packet. That is, based on the wireless LAN communication regulations, the received data packet is subjected to frame check and the like to analyze whether there is an error in the received packet data. In step S1304, the wireless control unit 403 determines whether the received packet is normal based on the analysis result of the received packet in step S1303. If it is determined that the received data packet is normal, the process proceeds to S1305. If not, the process returns to S1302.

S1305で無線制御部403は、切換部405の切換え接点を405aに設定して無線LANによる送信に切り換える。即ち、無線LAN通信部401から無線LANのパケット送信を可能にしてS1204に進む。次にS1306に進み無線制御部403は、無線LAN通信部401を制御して、無線LANの通信規定の通信制御に従ったACKパケットを携帯端末(211〜215)に送信する。次にS1307に進み無線制御部403は、切換部405の切換え接点を405bに設定して無線LANによる受信に切り換える。次にS1308に進み無線制御部403は、無線LAN通信部401を制御して、無線LANデータパケットを全て受信して、データパケットの受信を終了するかどうかを判定する。即ち、無線LANの通信規定の通信制御に基づき、期待されたパケットを全て受信して、データ通信は終了と判定するとS1309に処理を進め、そうでないときはS1302に戻り、データパケットの受信を繰り返す。S1309で無線制御部403は、無線LAN通信部401を制御して、無線LANで受信したデータを制御部102に転送する。具体的には、無線制御部403は、無線LAN通信部401を制御して、S1302〜S1308により受信した無線LANの受信パケットのペイロード部からユーザデータを抜き出して、これをまとめて受信データとして制御部102に転送する。   In step S1305, the wireless control unit 403 sets the switching contact of the switching unit 405 to 405a and switches to transmission by wireless LAN. That is, the wireless LAN communication unit 401 enables wireless LAN packet transmission, and the process advances to step S1204. In step S1306, the wireless control unit 403 controls the wireless LAN communication unit 401 to transmit an ACK packet in accordance with communication control defined by wireless LAN communication to the portable terminals (211 to 215). In step S1307, the wireless control unit 403 sets the switching contact of the switching unit 405 to 405b and switches to reception by wireless LAN. In step S1308, the wireless control unit 403 controls the wireless LAN communication unit 401 to receive all wireless LAN data packets and determine whether to end the reception of data packets. That is, all expected packets are received based on the communication control of the wireless LAN communication regulation, and if it is determined that the data communication is completed, the process proceeds to S1309. If not, the process returns to S1302, and the reception of the data packet is repeated. . In step S <b> 1309, the wireless control unit 403 controls the wireless LAN communication unit 401 to transfer data received via the wireless LAN to the control unit 102. Specifically, the wireless control unit 403 controls the wireless LAN communication unit 401 to extract user data from the payload portion of the wireless LAN received packet received in steps S1302 to S1308, and collectively control this as received data. Forward to the unit 102.

情報処理装置100は、上述した図12のフローチャートに従って携帯端末(211〜215)に無線LANデータパケットを送信し、図13のフローチャートに従って携帯端末(211〜215)から無線LANデータパケットを受信する。   The information processing apparatus 100 transmits wireless LAN data packets to the portable terminals (211 to 215) according to the flowchart of FIG. 12 described above, and receives wireless LAN data packets from the portable terminals (211 to 215) according to the flowchart of FIG.

これは、情報処理装置100が無線LANダイレクトモードにより、無線LANアクセスポイント(ソフトアクセスポイント)として携帯端末(211〜215)と無線LAN通信の接続を行うことで行われる。即ち、情報処理装置100は、携帯端末(211〜215)から無線LAN通信の接続要求を受けると無線通信部202が無線LAN通信部401を制御して行われる。無線通信部202は、携帯端末(211〜215)から無線LAN通信の接続要求を受け、無線LAN通信の接続を開始するとこれを制御部102に通知する。一方、無線通信部202は、上述した図12、図13のフローチャートに従って、無線LANデータパケットの送信、無線LANデータパケットの受信を行うことで無線LAN通信を行う。無線LAN通信を終了したら、無線LAN通信の接続を終了し、これを制御部102に通知する。   This is performed by the information processing apparatus 100 performing wireless LAN communication connection with the mobile terminals (211 to 215) as wireless LAN access points (soft access points) in the wireless LAN direct mode. In other words, when the information processing apparatus 100 receives a connection request for wireless LAN communication from the mobile terminals (211 to 215), the wireless communication unit 202 controls the wireless LAN communication unit 401. The wireless communication unit 202 receives a connection request for wireless LAN communication from the mobile terminals (211 to 215), and notifies the control unit 102 of this when starting connection for wireless LAN communication. On the other hand, the wireless communication unit 202 performs wireless LAN communication by transmitting wireless LAN data packets and receiving wireless LAN data packets in accordance with the flowcharts of FIGS. 12 and 13 described above. When the wireless LAN communication is terminated, the wireless LAN communication connection is terminated, and this is notified to the control unit 102.

図14は、実施形態に係る携帯端末200でBLEによる無線通信の要求が発生し、携帯端末200からデータパケットを送信する処理を説明するフローチャートである。尚、この処理をCPU501に実行させるプログラムは記憶装置504に記憶されており、プログラムの実行時にメモリ503に展開され、CPU502がそのプログラムを実行することにより、このフローチャートで示す処理が達成される。   FIG. 14 is a flowchart for describing processing for transmitting a data packet from the mobile terminal 200 when a request for wireless communication by BLE occurs in the mobile terminal 200 according to the embodiment. Note that a program for causing the CPU 501 to execute this processing is stored in the storage device 504. The program is expanded in the memory 503 when the program is executed, and the processing shown in this flowchart is achieved by the CPU 502 executing the program.

まずS1401でCPU502は、携帯端末200上で動作するアプリケーションソフトウエアにおいてBLEを使用するものからの通信の接続要求が発生したかを判定する。接続要求があった場合はS1402に処理を進め、接続要求がない場合は接続要求が発生するまで待つ。S1402でCPU502は、BLE通信部506によりビーコンパケットをサーチする。そしてS1403でCPU502は、ビーコンパケットが検出できたかを判定し、ビーコンパケットが検出できなかった場合は1402に戻り、ビーコンパケットが検出された場合はS1404に移行する。S1404でCPU15は、検出したビーコンパケットのパケット内部のデータを取り出して、そのデータを解析する。尚、このビーコンパケットには、前述したように、情報処理装置100の機種名等、装置を特定するための属性情報が含まれている。そしてS1405でCPU502は、ビーコンパケットのデータに含まれている情報処理装置100の機種名等の属性情報を読み出して、探している情報処理装置100かどうかを判定する。ここで、探している情報処理装置100でない場合はS1402に戻り、探している装置である場合はS1406に処理を進める。   First, in step S <b> 1401, the CPU 502 determines whether a communication connection request is generated from an application software operating on the portable terminal 200 using BLE. If there is a connection request, the process proceeds to S1402. If there is no connection request, the process waits until a connection request is generated. In step S1402, the CPU 502 searches for a beacon packet using the BLE communication unit 506. In step S1403, the CPU 502 determines whether a beacon packet has been detected. If a beacon packet has not been detected, the process returns to step 1402. If a beacon packet has been detected, the process proceeds to step S1404. In S1404, the CPU 15 extracts the data inside the detected beacon packet and analyzes the data. Note that, as described above, the beacon packet includes attribute information for specifying the device such as the model name of the information processing device 100. In step S1405, the CPU 502 reads out attribute information such as the model name of the information processing apparatus 100 included in the data of the beacon packet, and determines whether the information processing apparatus 100 is being searched for. If the information processing apparatus 100 is not being searched for, the process returns to S1402. If the information processing apparatus 100 is being searched for, the process proceeds to S1406.

S1406でCPU502は、BLE通信部506により、通信相手である情報処理装置100に対してリクエストパケットを生成して送信する。次にS1407に進みCPU502は、BLE通信部506により、通信相手である情報処理装置100に対するデータパケットを生成する。次にS1408に進みCPU502は、BLE通信部506により、通信相手である情報処理装置100に対するデータパケットを送信してS1409に進む。S1409でCPU502は、BLE通信部506により、S1408のデータパケット送信に対する、情報処理装置100からのレスポンスパケットを受信したかどうか判定する。ここでレスポンスパケットを受信できなかったと判定した場合はS1411に処理を進める。S1411でCPU502は、S1409で送信したデータパケットが情報処理装置100に正常に受信されていないものとして、S1409で送信したデータパケットを再送してS1409に処理を進める。そしてS1409でCPU502はBLE通信部506により、S1408のデータパケット送信に対する、情報処理装置100からのレスポンスパケットを受信したかを判定する。即ち、S1409において情報処理装置100からのレスポンスパケットを受信できなかったと判定した場合は、S1411に移行してデータパケットの再送を行い、レスポンスパケットを受信するまで繰り返す。   In step S <b> 1406, the CPU 502 generates and transmits a request packet to the information processing apparatus 100 that is a communication partner using the BLE communication unit 506. In step S <b> 1407, the CPU 502 uses the BLE communication unit 506 to generate a data packet for the information processing apparatus 100 that is a communication partner. In step S1408, the CPU 502 uses the BLE communication unit 506 to transmit a data packet to the information processing apparatus 100 that is a communication partner, and then advances to step S1409. In step S1409, the CPU 502 determines whether the BLE communication unit 506 has received a response packet from the information processing apparatus 100 for the data packet transmission in step S1408. If it is determined that the response packet has not been received, the process proceeds to S1411. In S1411, the CPU 502 assumes that the data packet transmitted in S1409 is not normally received by the information processing apparatus 100, retransmits the data packet transmitted in S1409, and advances the processing to S1409. In step S1409, the CPU 502 determines whether the BLE communication unit 506 has received a response packet from the information processing apparatus 100 for the data packet transmission in step S1408. That is, if it is determined in S1409 that the response packet from the information processing apparatus 100 has not been received, the process proceeds to S1411 to retransmit the data packet, and repeats until a response packet is received.

一方、S1409でCPU502は、レスポンスパケットを受信したと判定した場合はS1410に処理を進める。S1410でCPU502は、全てのデータパケットの送信を行い、通信を終了して良いかどうか判定する。ここでCPU502が全てのデータの送信を終了して通信を終了して良いと判定した場合はそのままBLEのデータ送信を終了する。一方、CPU502が、データパケットの送信を行う必要があると判定した場合はS1402に処理を進めて、データパケットの送信を繰り返す。   On the other hand, if the CPU 502 determines in step S1409 that a response packet has been received, the process advances to step S1410. In step S1410, the CPU 502 transmits all data packets and determines whether communication can be terminated. If the CPU 502 determines that transmission of all data is completed and communication is completed, BLE data transmission is terminated as it is. On the other hand, if the CPU 502 determines that it is necessary to transmit the data packet, the process proceeds to S1402, and the transmission of the data packet is repeated.

次に、ここで、以上の説明を踏まえて、実施形態に係る情報処理装置100における、BLE通信と無線LAN通信の同時動作について、図を参照して詳しく説明する。   Next, based on the above description, the simultaneous operation of BLE communication and wireless LAN communication in the information processing apparatus 100 according to the embodiment will be described in detail with reference to the drawings.

本実施形態では、情報処理装置100は、携帯端末200とBLE通信を行い、BLEデータを受信するものとする。また情報処理装置100は、無線LANダイレクトモードで無線LANアクセスポイント(ソフトアクセスポイント)として携帯端末(211〜215)と無線LAN通信を行うものとする。この際に、情報処理装置100において、BLE通信と無線LAN通信の同時動作が発生することになる。   In the present embodiment, the information processing apparatus 100 performs BLE communication with the mobile terminal 200 and receives BLE data. In addition, the information processing apparatus 100 performs wireless LAN communication with the mobile terminals (211 to 215) as a wireless LAN access point (soft access point) in the wireless LAN direct mode. At this time, in the information processing apparatus 100, simultaneous operation of BLE communication and wireless LAN communication occurs.

ここでは、情報処理装置100は携帯端末200と図7で示すシーケンスに従ってBLE通信を行う。また情報処理装置100は、図10のフローチャートに従って、BLEビーコンパケット(Tbeacon)を、所定の時間間隔で送信する。これに対して、携帯端末200は、図14のフローチャートに基づきBLEデータパケットを送信する。そして、情報処理装置100において、図11のフローチャートに従ってBLEデータパケットの受信が行われる。   Here, the information processing apparatus 100 performs BLE communication with the mobile terminal 200 according to the sequence shown in FIG. Further, the information processing apparatus 100 transmits BLE beacon packets (Tbeacon) at predetermined time intervals according to the flowchart of FIG. On the other hand, the portable terminal 200 transmits a BLE data packet based on the flowchart of FIG. Then, the information processing apparatus 100 receives the BLE data packet according to the flowchart of FIG.

一方、情報処理装置100は、図12のフローチャートに従って携帯端末(211〜215)に対して、無線LANデータのパケット送信を行う。また情報処理装置100は、図13のフローチャートに従って、携帯端末(211〜215)から、無線LANデータのパケット受信を行う。   On the other hand, the information processing apparatus 100 transmits a packet of wireless LAN data to the mobile terminals (211 to 215) according to the flowchart of FIG. Further, the information processing apparatus 100 receives packets of wireless LAN data from the mobile terminals (211 to 215) according to the flowchart of FIG.

図15は、実施形態に係る情報処理装置100における、パケットレベルでBLE通信と無線LAN通信の同時動作を説明する図である。図15において、白抜きの方形で示したパケットは情報処理装置100が送信した送信パケットを示し、黒塗りの方形で示したパケットは情報処理装置100が受信した受信パケットを示す。また横軸は時間の経過を意味するものとする。   FIG. 15 is a diagram illustrating the simultaneous operation of BLE communication and wireless LAN communication at the packet level in the information processing apparatus 100 according to the embodiment. In FIG. 15, packets indicated by white squares indicate transmission packets transmitted by the information processing apparatus 100, and packets indicated by black squares indicate reception packets received by the information processing apparatus 100. The horizontal axis means the passage of time.

図15(A)は、情報処理装置100における、BLE通信のビーコンパケットの送信と無線LAN通信のデータパケットの受信の同時動作を示す。   FIG. 15A shows the simultaneous operation of transmitting a BLE communication beacon packet and receiving a wireless LAN communication data packet in the information processing apparatus 100.

送信パケット1501は、BLE通信で情報処理装置100から送信されるビーコンパケットを示しており、これは、図10のフローチャートに従って、Tbeaconで示される一定の時間間隔で送信される。受信パケット1502は、無線LAN通信で受信されるデータパケットを示しており、これは図13のフローチャートに従って受信される。この受信パケット1502は、S1304で正常なパケットであると判定されると、情報処理装置100は、S1306でACKパケット1503を送信する。このように、データパケットである受信パケット1502が正常に受信されると、これに対する、ACKパケット1503が送信される。   A transmission packet 1501 indicates a beacon packet transmitted from the information processing apparatus 100 by BLE communication, and is transmitted at a constant time interval indicated by Tbeacon according to the flowchart of FIG. A received packet 1502 indicates a data packet received by wireless LAN communication, and is received according to the flowchart of FIG. If it is determined that the received packet 1502 is a normal packet in S1304, the information processing apparatus 100 transmits an ACK packet 1503 in S1306. As described above, when the received packet 1502 that is a data packet is normally received, an ACK packet 1503 corresponding to the received packet 1502 is transmitted.

ここで、BLE通信のビーコン送信パケット1501を送信するタイミングで、無線LAN通信のデータ受信パケット1504が受信されたとする。このとき図6で示した通り、BLE送信は優先順位が一番高いためBLE送信が優先される。そして図10のフローチャートに従い、S1003で切換部405の切換え接点を405cに設定して、S1004でBLE通信部402からBLEビーコンパケットを送信する。この後、S1005で切換部405の切換え接点を405bに設定する。こうして切換部405が切換え接点405cに設定されている間は、受信されたパケット1504は無線LAN通信部401に到達しない。このため図13のS1304で、このパケット1504は正常でないと判定される。従って、このパケット1504に対するACKパケットは送信されずに、再びS1302に戻り、データパケットの受信を行うことになる。   Here, it is assumed that a data reception packet 1504 for wireless LAN communication is received at the timing of transmitting a beacon transmission packet 1501 for BLE communication. At this time, as shown in FIG. 6, since BLE transmission has the highest priority, BLE transmission is given priority. Then, according to the flowchart of FIG. 10, the switching contact of the switching unit 405 is set to 405c in S1003, and the BLE beacon packet is transmitted from the BLE communication unit 402 in S1004. Thereafter, the switching contact of the switching unit 405 is set to 405b in S1005. Thus, the received packet 1504 does not reach the wireless LAN communication unit 401 while the switching unit 405 is set to the switching contact 405c. Therefore, in step S1304 in FIG. 13, it is determined that the packet 1504 is not normal. Therefore, the ACK packet for this packet 1504 is not transmitted, but the process returns to S1302 to receive the data packet.

一方、無線LANの通信相手である、携帯端末(211〜215)では、送信したデータパケットで1504に対して、ACKパケットが受信されないため無線LAN通信規格の通信制御に従ってパケット1504の再送を行う。このパケット1504の再送パケットをパケット1505で示す。尚、無線LAN通信規格の通信制御によれば、ACKパケットが検出されないために、データパケットの再送を行う場合は、一定の時間(図中のt1)経過後に再送する必要がある。ここで、この再送パケット1505は、正しく無線LAN通信部401に到達するため、S1304で正常なパケットであると判定され、情報処理装置100は、S1306においてACKパケットを送信する。これを、パケット1506で示す。そしてこの後は再び、データパケットであるパケット1502が正常に受信されると、これに対する、ACKパケット1503が送信される。このように、BLEビーコンパケット送信のタイミングで無線LANデータパケットの受信が発生すると、無線LANデータパケットの受信が正常に行われないため、データパケットの再送が発生する。これにより、この再送パケットの受信、及びその待ち時間(図中のt1)により、無線LANデータパケットの受信のスループットの低下が発生することになる。   On the other hand, since the mobile terminal (211 to 215), which is a communication partner of the wireless LAN, does not receive an ACK packet for the transmitted data packet 1504, the packet 1504 is retransmitted according to the communication control of the wireless LAN communication standard. A retransmission packet of this packet 1504 is indicated by a packet 1505. According to the communication control of the wireless LAN communication standard, since an ACK packet is not detected, when a data packet is retransmitted, it is necessary to retransmit after a certain time (t1 in the figure) elapses. Here, since this retransmission packet 1505 reaches the wireless LAN communication unit 401 correctly, it is determined in S1304 that it is a normal packet, and the information processing apparatus 100 transmits an ACK packet in S1306. This is indicated by packet 1506. After that, when the packet 1502 which is a data packet is normally received again, an ACK packet 1503 corresponding thereto is transmitted. As described above, when the reception of the wireless LAN data packet occurs at the timing of transmitting the BLE beacon packet, since the wireless LAN data packet is not normally received, the data packet is retransmitted. Thereby, the reception throughput of the wireless LAN data packet is lowered due to the reception of the retransmission packet and the waiting time (t1 in the figure).

図15(B)は、情報処理装置100における、BLE通信のビーコンパケットの送信と無線LAN通信のデータパケットの送信の同時動作を説明する図である。   FIG. 15B is a diagram for explaining the simultaneous operation of transmission of a BLE communication beacon packet and wireless LAN communication data packet in the information processing apparatus 100.

上述したように、送信パケット1501は、BLE通信で送信されるビーコンパケットを示しており、これは、図10のフローチャートに従い、Tbeaconで示される一定の時間間隔で送信される。パケット1507は、無線LAN通信で送信されるデータパケットを示しており、これは、図12のフローチャートに従って情報処理装置100から送信される。   As described above, the transmission packet 1501 indicates a beacon packet transmitted by BLE communication, and is transmitted at a constant time interval indicated by Tbeacon according to the flowchart of FIG. A packet 1507 indicates a data packet transmitted by wireless LAN communication, and is transmitted from the information processing apparatus 100 according to the flowchart of FIG.

パケット1507はS1204で送信されると、この後、通信相手である携帯端末(211〜215)からACKパケット1508が受信される。そしてS1206において、ACKパケット1508を受信したと判定すると、パケット1507の送信が正しく送信行われたことになる。このように、データパケット1507が正常に送信されると、これに対する、ACKパケット1508が受信される。   When the packet 1507 is transmitted in S1204, an ACK packet 1508 is received from the portable terminal (211 to 215) which is a communication partner thereafter. If it is determined in S1206 that the ACK packet 1508 has been received, the packet 1507 has been transmitted correctly. As described above, when the data packet 1507 is normally transmitted, an ACK packet 1508 corresponding to the data packet 1507 is received.

ここで、無線LAN通信のデータパケットを送信するタイミングが、BLE通信のビーコンの送信のタイミングに近づいたとする。   Here, it is assumed that the timing for transmitting a data packet for wireless LAN communication approaches the timing for transmitting a beacon for BLE communication.

ここでは図6で示したように、BLE送信は優先順位が一番高いため、BLE送信が優先される。そして図10のフローチャートに従い、S1003で切換部405の切換え接点405cに設定して、S1004でBLEビーコンパケットを送信する。この後、S1005で切換部405の切換え接点405bに設定する。ここで切換部405の切換え接点405bに設定されている間は、無線LAN通信のデータパケット送信できない。このため無線制御部403は、タイマ404を参照して、BLEビーコンパケット1501の送信のタイミングが近い場合は、無線LAN通信のデータパケット1507を送信するタイミングを一定の時間(図中のt2)だけ遅延させる。この後、BLEのビーコンパケットの送信が終了した後に、図12のフローチャートに従い、無線LAN通信のデータパケットを送信する。この遅延して送信される、無線LAN通信のデータパケットをパケット1509で示す。また、この後、通信相手である携帯端末(211〜215)から受信されるACKパケットを1510で示す。この後は再び、データパケット1507が正常に送信されると、これに対する、ACKパケット1508が受信される。上述の説明から明らかなように、無線LAN通信のデータパケットの送信の待ち時間(図中のt2)により、無線LANデータパケットの送信のスループットの低下が発生することになる。   Here, as shown in FIG. 6, since BLE transmission has the highest priority, BLE transmission is given priority. Then, according to the flowchart of FIG. 10, the switching contact 405c of the switching unit 405 is set in S1003, and the BLE beacon packet is transmitted in S1004. Thereafter, the switching contact 405b of the switching unit 405 is set in S1005. Here, while the switching contact point 405b of the switching unit 405 is set, data packet transmission of wireless LAN communication cannot be performed. Therefore, the wireless control unit 403 refers to the timer 404, and when the transmission timing of the BLE beacon packet 1501 is close, the wireless control unit 403 sets the transmission timing of the data packet 1507 for wireless LAN communication only for a certain time (t2 in the figure). Delay. Thereafter, after the transmission of the BLE beacon packet is completed, the wireless LAN communication data packet is transmitted according to the flowchart of FIG. A data packet for wireless LAN communication transmitted with a delay is indicated by a packet 1509. Further, an ACK packet received from the mobile terminal (211 to 215) that is a communication partner is indicated by 1510. Thereafter, when the data packet 1507 is normally transmitted again, an ACK packet 1508 corresponding to the data packet 1507 is received. As is clear from the above description, the transmission latency of the wireless LAN data packet is reduced due to the waiting time (t2 in the figure) for transmitting the data packet of the wireless LAN communication.

図15(C)は、情報処理装置100における、BLE通信のデータパケットの受信と無線LAN通信のデータパケット受信の同時動作を説明する図である。   FIG. 15C is a diagram for explaining the simultaneous operation of receiving a data packet for BLE communication and receiving a data packet for wireless LAN communication in the information processing apparatus 100.

上述したように、パケット1501はBLE通信で送信されるビーコンパケットを示しており、これは、図10のフローチャートに従い、Tbeaconで示される一定の時間間隔で送信される。この後、図11のフローチャートに従い、BLE通信のデータパケット受信が行われる。   As described above, the packet 1501 indicates a beacon packet transmitted by BLE communication, which is transmitted at a constant time interval indicated by Tbeacon according to the flowchart of FIG. Thereafter, the data packet reception of the BLE communication is performed according to the flowchart of FIG.

一方、通信相手である携帯端末200は、図14のフローチャートに従い、BLE通信のデータパケットを送信する。携帯端末200は、BLEビーコンパケットであるパケット1501を検知すると、S1406でリクエストパケットを送信する。これにより情報処理装置100は、S1102でリクエストパケットが受信されたと判定される。この受信したリクエストパケットをパケット1511で示す。この後、BLEデータパケットの受信に移行するため、S1103でBLEビーコンパケットの送信を中止する。   On the other hand, the mobile terminal 200 that is the communication partner transmits a data packet of BLE communication according to the flowchart of FIG. When the portable terminal 200 detects a packet 1501 that is a BLE beacon packet, the portable terminal 200 transmits a request packet in S1406. Accordingly, the information processing apparatus 100 determines that the request packet has been received in S1102. This received request packet is indicated by a packet 1511. Thereafter, in order to shift to reception of a BLE data packet, transmission of the BLE beacon packet is stopped in S1103.

次に携帯端末200がS1408で送信したデータパケットは、情報処理装置100ではS1104で受信されたと判定され、S1108で情報処理装置100からレスポンスパケットが送信される。この受信されたデータパケットをパケット1512として示し、これに対して送信されるレスポンスパケットをパケット1513として示す。   Next, the data packet transmitted by the portable terminal 200 in S1408 is determined to have been received in S1104 by the information processing apparatus 100, and a response packet is transmitted from the information processing apparatus 100 in S1108. This received data packet is indicated as a packet 1512, and a response packet transmitted thereto is indicated as a packet 1513.

ここで、上述したBLE通信のリクエストパケット、及びデータパケットの受信の最中に、無線LAN通信のデータ受信パケットであるパケット1514が受信されたとする。このとき情報処理装置100では、S1101で切換部405の切換え接点405bに設定されてBLE通信の受信、無線LAN通信の受信が可能となっている。しかしながら図6より、無線LAN通信の受信よりも、BLE通信の受信の方の優先順位が高いため、無線制御部403は、BLE通信部402により、BLEの受信を優先して行う。このため、BLEのリクエストパケット1511が正常に受信される。そしてこれに続く、データパケット1512も、BLE通信の受信の方の優先順位が高いため、無線制御部403は、BLE通信部402により、BLEの受信を優先して行い、正しく受信される。従って、S1106で正常に受信されたと判定され、S1108により、レスポンスパケット1513が送信されることにより、BLEのデータパケットの受信は正常に行われる。   Here, it is assumed that a packet 1514 that is a data reception packet for wireless LAN communication is received during reception of the above-described BLE communication request packet and data packet. At this time, the information processing apparatus 100 is set to the switching contact 405b of the switching unit 405 in S1101 and can receive BLE communication and wireless LAN communication. However, as shown in FIG. 6, since the priority of receiving BLE communication is higher than receiving wireless LAN communication, the wireless control unit 403 prioritizes BLE reception by the BLE communication unit 402. Therefore, the BLE request packet 1511 is normally received. The subsequent data packet 1512 also has a higher priority for receiving the BLE communication, so that the radio control unit 403 gives priority to receiving the BLE by the BLE communication unit 402 and is received correctly. Accordingly, it is determined in S1106 that the packet has been normally received, and the response packet 1513 is transmitted in S1108, whereby the BLE data packet is normally received.

一方で、無線LANの受信は優先順位が低いため、BLEのリクエストパケット1511が受信されている間は、受信されたパケット1514は、無線LAN通信部401で処理されない。従って、S1304の判定で受信パケットは正常でないと判定されてS1302に戻ってデータパケットの受信を行うため、ACKパケットは送信されない。   On the other hand, since the reception priority of the wireless LAN is low, the received packet 1514 is not processed by the wireless LAN communication unit 401 while the BLE request packet 1511 is being received. Therefore, since it is determined in S1304 that the received packet is not normal and the process returns to S1302 to receive the data packet, the ACK packet is not transmitted.

一方、無線LANの通信相手である、携帯端末(211〜215)では、送信したデータパケットであるパケット1514に対してACKパケットが受信されないため、無線LAN通信規格の通信制御に従い、パケット1514の再送を行う。このパケット1514の再送パケットをパケット1515として示す。尚、無線LAN通信規格の通信制御によれば、ACKパケットが検出されないためにデータパケットの再送を行う場合は、一定の時間(図中のt1)経過後に再送する必要がある。しかし、再送パケットのパケット1515の送信時においても、優先順位が高いBLE通信のデータパケットの受信が行われている。このため、BLEのデータパケット1512が受信されている間は、受信されたパケット1515は、無線LAN通信部401で処理されない。従って、S1304の判定でS1302に戻り、データパケットの受信を行うため、再び、ACKパケットは送信されない。このため、携帯端末(211〜215)では、ACKパケットが受信されないため、無線LAN通信規格の通信制御に従い、再度、パケット1515の再送を行う。   On the other hand, the mobile terminal (211 to 215), which is a communication partner of the wireless LAN, does not receive an ACK packet for the packet 1514 that is a transmitted data packet. I do. A retransmission packet of this packet 1514 is shown as a packet 1515. According to the communication control of the wireless LAN communication standard, when an ACK packet is not detected, a data packet needs to be retransmitted after a certain time (t1 in the figure) has elapsed. However, even when a retransmission packet 1515 is transmitted, a BLE communication data packet having a high priority is received. For this reason, while the BLE data packet 1512 is being received, the received packet 1515 is not processed by the wireless LAN communication unit 401. Accordingly, the process returns to S1302 in the determination of S1304, and the data packet is received, so that the ACK packet is not transmitted again. For this reason, since the mobile terminal (211 to 215) does not receive the ACK packet, the packet 1515 is retransmitted again according to the communication control of the wireless LAN communication standard.

この時点でBLE通信のデータ受信は終了しており、再送パケット1515は、正しく無線LAN通信部401に到達するため、S1304で正常なパケットと判定されると、情報処理装置100は、S1306においてACKパケット1516を送信する。そしてこの後は再び、データパケットであるパケット1517が正常に受信されると、これに対する、ACKパケット1518が送信される。   At this time, the data reception of the BLE communication is completed, and the retransmission packet 1515 correctly reaches the wireless LAN communication unit 401. Therefore, when the information processing apparatus 100 determines that the packet is a normal packet in S1304, the information processing apparatus 100 receives an ACK in S1306. Packet 1516 is transmitted. After that, when the packet 1517 which is a data packet is normally received again, an ACK packet 1518 corresponding thereto is transmitted.

このように、BLE通信のリクエストパケット、データパケットの受信の最中に、無線LANデータパケットの受信が発生すると、無線LANデータパケットの受信が正常に行われないため、データパケットの再送が発生する。そして、この再送パケットの受信、及びその待ち時間((図中のt1)により、無線LANデータパケットの受信のスループットの低下が発生することになる。   As described above, if reception of a wireless LAN data packet occurs during reception of a BLE communication request packet and data packet, the wireless LAN data packet is not normally received, and therefore, retransmission of the data packet occurs. . Then, due to the reception of this retransmission packet and its waiting time ((t1 in the figure)), the reception throughput of the wireless LAN data packet is reduced.

次に、ここで、これまでの説明を踏まえて、情報処理装置100における、BLE通信と無線LAN通信の同時動作時の動作について詳細に説明する。即ち、ここでは、同時動作時に、無線LANダイレク通信で接続している携帯端末(211〜215)の台数に応じて、BLE通信のビーコンパケットの送信間隔を制御する処理について詳しく説明する。   Next, based on the above description, the operation of the information processing apparatus 100 during the simultaneous operation of BLE communication and wireless LAN communication will be described in detail. That is, here, a process for controlling the transmission interval of beacon packets for BLE communication according to the number of mobile terminals (211 to 215) connected by wireless LAN direct communication during simultaneous operation will be described in detail.

図17及び図18は、実施形態に係る情報処理装置100からBLE通信のビーコンパケットの送信中に、無線LAN通信のデータパケットの受信が発生した時の同時動作を説明する図である。ここでも、白抜きの方形で示したパケットは情報処理装置100が送信した送信パケットを示し、黒塗りの方形で示したパケットは情報処理装置100が受信した受信パケットを示す。   FIGS. 17 and 18 are diagrams for explaining the simultaneous operation when reception of a data packet for wireless LAN communication occurs during transmission of a beacon packet for BLE communication from the information processing apparatus 100 according to the embodiment. Here, a packet indicated by a white square indicates a transmission packet transmitted by the information processing apparatus 100, and a packet indicated by a black square indicates a reception packet received by the information processing apparatus 100.

図17(A)は、BLE通信のビーコンパケットの送信間隔が、Tbeacon=30msecのときの同時動作の動作を示している。BLE通信では、上述した手順で、ビーコンパケットが送信され、これをパケット1701として示す。一方、無線LAN通信では、無線LANダイレクト通信により、無線LANアクセスポイント(ソフトアクセスポイント)として、携帯端末(211〜215)からデータパケットを受信しているものとする。   FIG. 17A shows the simultaneous operation when the transmission interval of beacon packets for BLE communication is Tbeacon = 30 msec. In BLE communication, a beacon packet is transmitted by the above-described procedure, and this is indicated as a packet 1701. On the other hand, in wireless LAN communication, it is assumed that data packets are received from mobile terminals (211 to 215) as wireless LAN access points (soft access points) by wireless LAN direct communication.

ここでまず、制御部102は、図8のフローチャートのS804の判定処理により、現時点で、無線LANダイレクト通信により接続している携帯端末(211〜215)の台数を判定する。   Here, first, the control unit 102 determines the number of mobile terminals (211 to 215) currently connected by wireless LAN direct communication by the determination process of S804 in the flowchart of FIG.

図16は、実施形態に係る無線LANダイレクト通信の接続台数と、BLEビーコン間隔であるTbeaconの設定値の一例を示す図である。この情報は、情報処理装置100の記憶装置305に記憶されているものとする。   FIG. 16 is a diagram illustrating an example of the number of wireless LAN direct communication connections according to the embodiment and a set value of Tbeacon that is a BLE beacon interval. This information is assumed to be stored in the storage device 305 of the information processing apparatus 100.

ここでは、制御部102(CPU301)は、S804で無線LANダイレクト通信により接続している携帯端末(211〜215)の台数が、0〜2台であったと判定したとする。これに応じて、S806で、BLEビーコンを送信するモードを無線通信部202に設定する。そして制御部102は、S807で、Tbeacon=30msecと決定して、S808でこの設定値を無線通信部202に転送して設定する。無線通信部202では、無線制御部403がこの設定値を図9のフローチャートに基づき受信して、S902で、BLEビーコンの時間間隔としてタイマ404に設定し、S903でタイマ404による計時を開始させる。従ってこれ以降、BLE通信のBLEビーコンパケットは、図10のフローチャートに従い、設定されたTbeacon=30msecの時間間隔で送信される。これは、図17(A)のパケット1701で示されている。   Here, it is assumed that the control unit 102 (CPU 301) determines that the number of mobile terminals (211 to 215) connected by wireless LAN direct communication is 0 to 2 in S804. In response to this, the mode for transmitting the BLE beacon is set in the wireless communication unit 202 in S806. In step S807, the control unit 102 determines that Tbeacon = 30 msec. In step S808, the control unit 102 transfers the setting value to the wireless communication unit 202 and sets it. In the wireless communication unit 202, the wireless control unit 403 receives this set value based on the flowchart of FIG. 9, sets the time interval of the BLE beacon in the timer 404 in S902, and starts time measurement by the timer 404 in S903. Therefore, thereafter, the BLE beacon packet of BLE communication is transmitted at a set time interval of Tbeacon = 30 msec according to the flowchart of FIG. This is indicated by the packet 1701 in FIG.

この後、無線LANダイレクト通信において情報処理装置100は、携帯端末(211〜215)から送信されたデータパケットを図13のフローチャートに従って受信する。 図17(A)において、情報処理装置100により正常に受信されたデータパケットはパケット1704で示され、これに対するACKパケットはパケット1705で示されている。しかし、上述したように、BLE通信のビーコンの送出のタイミングに、無線LANダイレクト通信の受信パケットが到来した場合は、このデータパケットは正常に受信されない。パケット1706は、この正常に受信できないデータパケットを示しており、このため、再送されたデータパケットが受信され、これはパケット1707で示される。また、この再送されたパケット1707が正常に受信されたときのACKパケットは、パケット1708で示される。このようにして無線制御部403は、順次、処理を行い、データパケットを受信していく。こうして無線制御部403は、無線LAN通信規定の通信制御に従って、全てのデータパケットを受信すると、S1308でデータ受信が終了したと判定してS1309に進み、受信データを制御部102に転送して、この受信処理を終了する。   Thereafter, in wireless LAN direct communication, the information processing apparatus 100 receives data packets transmitted from the mobile terminals (211 to 215) according to the flowchart of FIG. In FIG. 17A, a data packet normally received by the information processing apparatus 100 is indicated by a packet 1704, and an ACK packet corresponding thereto is indicated by a packet 1705. However, as described above, if a reception packet for wireless LAN direct communication arrives at the timing of sending a beacon for BLE communication, this data packet is not normally received. Packet 1706 indicates a data packet that cannot be normally received. Therefore, a retransmitted data packet is received, which is indicated by packet 1707. An ACK packet when the retransmitted packet 1707 is normally received is indicated by a packet 1708. In this way, the wireless control unit 403 sequentially performs processing and receives data packets. In this way, when the wireless control unit 403 receives all data packets in accordance with the communication control specified by the wireless LAN communication rule, the wireless control unit 403 determines in S1308 that the data reception is completed, proceeds to S1309, transfers the received data to the control unit 102, This reception process is terminated.

図17(B)は、BLE通信のビーコンパケットの送信時間間隔が、Tbeacon=100msecのときの同時動作の動作を示している。BLE通信においては、上述した手順で、ビーコンパケットが送信され、これをパケット1709で示す。一方、無線LAN通信では、無線LANダイレクト通信により無線LANアクセスポイント(ソフトアクセスポイント)として、携帯端末(211〜215)からのデータパケットが受信されているものとする。ここで制御部102は、図8のフローチャートに従い、S804における判定により、現時点で、無線LANダイレクト通信により接続している携帯端末(211〜215)の台数を判定する。ここでは制御部102は、S804で無線LANダイレクト通信により接続している携帯端末(211〜215)の台数が3〜4台であったと判定したとする。これに応じて、S806でBLEビーコンを送信するモードを無線通信部202に設定する。そして制御部102は、S806で、図16からTbeacon=100msecと決定し、S806で、この設定値を無線通信部202に転送して設定する。無線通信部202は、無線制御部403がこの設定値を図9のフローチャートに従って受信して、S902で、BLEビーコンの時間間隔としてタイマ404に設定し、S903でタイマ404による計時をスタートする。従って、これ以降、BLE通信のBLEビーコンパケットは、図10のフローチャートに従い、設定されたTbeacon=100msecの時間間隔で送信される。これは、図17(B)のパケット1709で示される。   FIG. 17B shows the simultaneous operation when the transmission time interval of the BLE communication beacon packet is Tbeacon = 100 msec. In BLE communication, a beacon packet is transmitted by the above-described procedure, and this is indicated by a packet 1709. On the other hand, in wireless LAN communication, it is assumed that data packets from the mobile terminals (211 to 215) are received as wireless LAN access points (soft access points) by wireless LAN direct communication. Here, the control unit 102 determines the number of mobile terminals (211 to 215) currently connected by wireless LAN direct communication based on the determination in S804 according to the flowchart of FIG. Here, it is assumed that the control unit 102 determines that the number of mobile terminals (211 to 215) connected by wireless LAN direct communication is 3 to 4 in S804. In response to this, a mode for transmitting a BLE beacon is set in the wireless communication unit 202 in S806. In step S806, the control unit 102 determines that Tbeacon = 100 msec from FIG. 16, and transfers the setting value to the wireless communication unit 202 and sets it in step S806. In the wireless communication unit 202, the wireless control unit 403 receives this set value according to the flowchart of FIG. 9, and sets the time interval of the BLE beacon in the timer 404 in S 902, and starts time measurement by the timer 404 in S 903. Therefore, thereafter, BLE beacon packets for BLE communication are transmitted at a set time interval of Tbeacon = 100 msec according to the flowchart of FIG. This is indicated by a packet 1709 in FIG.

この後、無線LANダイレクト通信において情報処理装置100は、携帯端末(211〜215)から送信されたデータパケットを図13のフローチャートに従って順次、受信する。図17(B)において、情報処理装置100が正常に受信したデータパケットはパケット1712で示され、これに対するACKパケットはパケット1713で示される。   Thereafter, in wireless LAN direct communication, the information processing apparatus 100 sequentially receives data packets transmitted from the portable terminals (211 to 215) according to the flowchart of FIG. In FIG. 17B, a data packet normally received by the information processing apparatus 100 is indicated by a packet 1712, and an ACK packet corresponding thereto is indicated by a packet 1713.

しかし上述したように、BLE通信のビーコン1709の送出のタイミングに無線LAN通信の受信パケットが到来した場合は、このデータパケットは正常に受信されない。パケット1714は正常に受信できないデータパケットを示しており、このため、再送されたデータパケットが受信され、これはパケット1715で示される。また、この再送されたパケット1715が正常に受信された場合のACKパケットはパケット1716で示されている。無線制御部403は、順次、処理を行い、データパケットを受信していく。こうして無線制御部403は、無線LAN通信規定の通信制御に従って、全てのデータパケットを受信すると、S1308でデータ受信が終了したと判定してS1309に進み、受信データを制御部102に転送する。   However, as described above, when a reception packet of wireless LAN communication arrives at the timing of transmission of the BLE communication beacon 1709, this data packet is not normally received. Packet 1714 indicates a data packet that cannot be received normally, and therefore, a retransmitted data packet is received, which is indicated by packet 1715. An ACK packet when the retransmitted packet 1715 is normally received is indicated by a packet 1716. The wireless control unit 403 sequentially performs processing and receives data packets. In this way, when the wireless control unit 403 receives all data packets in accordance with communication control stipulated by the wireless LAN communication regulation, the wireless control unit 403 determines that the data reception is completed in S1308, proceeds to S1309, and transfers the received data to the control unit 102.

図18は、BLE通信のビーコンの送信を停止しているときの動作を説明するタイミング図である。ここでは、BLE通信のビーコン送出は停止している
一方、無線LAN通信では、無線LANダイレクト通信により無線LANアクセスポイント(ソフトアクセスポイント)として、携帯端末(211〜215)からのデータパケットが受信されているものとする。ここで制御部102は、図8のS804の判定により、現時点で、無線LANダイレクト通信により接続している携帯端末(211〜215)の台数を判定する。ここでは無線LANダイレクト通信により接続している携帯端末(211〜215)の台数が5台であったと判定したとする。この場合はS809に進み、無線通信部202に対して、BLEビーコンを送信しないモードを指示する。これにより無線通信部202は、図10のフローチャートのS1001で、BLEビーコンを送信しないモードが指示されている判定し、BLEビーコンパケットの送信が行われない。従って、図18で示すように、BLEのビーコンパケットの送信は停止している。
FIG. 18 is a timing chart for explaining the operation when transmission of a BLE communication beacon is stopped. Here, beacon transmission of BLE communication is stopped, while in wireless LAN communication, data packets from mobile terminals (211 to 215) are received as wireless LAN access points (soft access points) by wireless LAN direct communication. It shall be. Here, the control unit 102 determines the number of mobile terminals (211 to 215) currently connected by wireless LAN direct communication based on the determination in S804 of FIG. Here, it is assumed that the number of mobile terminals (211 to 215) connected by wireless LAN direct communication is determined to be five. In this case, the process proceeds to S809, and a mode in which the BLE beacon is not transmitted is instructed to the wireless communication unit 202. Accordingly, the wireless communication unit 202 determines in S1001 in the flowchart of FIG. 10 that the mode for not transmitting the BLE beacon is instructed, and the transmission of the BLE beacon packet is not performed. Therefore, as shown in FIG. 18, the transmission of the BLE beacon packet is stopped.

この状態で、無線LANダイレクト通信が実行され、情報処理装置100は、携帯端末(211〜215)から送信されたデータパケットを図13のフローチャートに従って受信する。図18において、情報処理装置100により正常に受信されたデータパケットはパケット1717で示され、これに対するACKパケットはパケット1718で示される。この場合は、BLEビーコンパケットの送信は停止しているので、無線LAN通信の受信パケットが到来すると、常にこのデータパケットは正常に受信される。こうして無線制御部403は、順次、処理を行い、データパケットを受信していく。そして無線制御部403は無線LAN通信規定の通信制御に従って、全てのデータパケットを受信すると、S1308でデータ受信が終了したと判定してS1309に進み、受信データを制御部102に転送する。   In this state, wireless LAN direct communication is executed, and the information processing apparatus 100 receives data packets transmitted from the mobile terminals (211 to 215) according to the flowchart of FIG. In FIG. 18, a data packet normally received by the information processing apparatus 100 is indicated by a packet 1717, and an ACK packet corresponding thereto is indicated by a packet 1718. In this case, since transmission of the BLE beacon packet is stopped, this data packet is normally received whenever a reception packet for wireless LAN communication arrives. In this way, the wireless control unit 403 sequentially performs processing and receives data packets. When the wireless control unit 403 receives all data packets in accordance with the communication control specified by the wireless LAN communication rule, the wireless control unit 403 determines in S1308 that the data reception is completed, proceeds to S1309, and transfers the received data to the control unit 102.

図17(A)のTbeacon=30msec、図17(B)のTbeacon=100msecで示すように、同時接続している携帯端末(211〜215)の台数に応じて、Tbeaconの時間間隔を変更する。即ち、台数が多くなると時間間隔を長くすることにより、無線LANのデータパケットの再送回数を低減できる。即ち、再送に伴う再送遅延時間(図中のt1)の発生回数を低減できる。従って、同時接続している携帯端末(211〜215)の台数に応じて、BLEのビーコンの時間間隔を変更することにより、単位時間(t4)における、無線LANのデータパケット受信のスループットを改善することができる。   As indicated by Tbeacon = 30 msec in FIG. 17A and Tbeacon = 100 msec in FIG. 17B, the time interval of Tbeacon is changed according to the number of mobile terminals (211 to 215) connected simultaneously. That is, the number of retransmissions of the data packet of the wireless LAN can be reduced by increasing the time interval when the number increases. That is, the number of occurrences of retransmission delay time (t1 in the figure) accompanying retransmission can be reduced. Therefore, by changing the BLE beacon time interval according to the number of simultaneously connected mobile terminals (211 to 215), the wireless LAN data packet reception throughput is improved in unit time (t4). be able to.

さらに、図18で示すように、同時接続している携帯端末(211〜215)の台数が最大の5台の場合は、BLEビーコンの送信を停止する。これにより、同時動作による遅延を発生させずに、単位時間(t4)あたりの、無線LAN通信のデータパケット受信のスループットを上げることができる。   Furthermore, as shown in FIG. 18, when the number of simultaneously connected mobile terminals (211 to 215) is five, transmission of BLE beacons is stopped. Thereby, the throughput of data packet reception of wireless LAN communication per unit time (t4) can be increased without causing a delay due to the simultaneous operation.

図19及び図20は、実施形態に係る情報処理装置100からBLE通信のビーコンパケットの送信中に、無線LAN通信のデータパケットの送信が発生した時の同時動作を説明する図である。ここでも、白抜きの方形で示したパケットは情報処理装置100が送信した送信パケットを示し、黒塗りの方形で示したパケットは情報処理装置100が受信した受信パケットを示す。   FIGS. 19 and 20 are diagrams for explaining the simultaneous operation when transmission of a data packet for wireless LAN communication occurs during transmission of a beacon packet for BLE communication from the information processing apparatus 100 according to the embodiment. Here, a packet indicated by a white square indicates a transmission packet transmitted by the information processing apparatus 100, and a packet indicated by a black square indicates a reception packet received by the information processing apparatus 100.

図19(A)は、BLE通信のビーコンパケットの送信時間間隔が、Tbeacon=30msecのときの同時動作の動作を示している。BLE通信においては、上述した手順で、ビーコンパケットが送信され、これをパケット1801で示す。一方、無線LAN通信においては、無線LANダイレクト通信により無線LANアクセスポイント(ソフトアクセスポイント)として、携帯端末(211〜215)に対してデータパケットを送信しているものとする。   FIG. 19A shows the simultaneous operation when the transmission time interval of the BLE communication beacon packet is Tbeacon = 30 msec. In BLE communication, a beacon packet is transmitted by the above-described procedure, and this is indicated by a packet 1801. On the other hand, in wireless LAN communication, it is assumed that data packets are transmitted to mobile terminals (211 to 215) as wireless LAN access points (soft access points) by wireless LAN direct communication.

ここでまず、制御部102は、図8のS804の判定で、その時点で、無線LANダイレクト通信により接続している携帯端末(211〜215)の台数を判定する。   Here, first, the control unit 102 determines the number of portable terminals (211 to 215) connected by wireless LAN direct communication at the time of determination in S804 of FIG.

図16は、無線LANダイレクト通信の接続台数と、BLEビーコン間隔であるTbeaconの設定値を示したものである。この情報は記憶装置305に記憶されているものとする。   FIG. 16 shows the number of connected wireless LAN direct communications and the set value of Tbeacon, which is the BLE beacon interval. It is assumed that this information is stored in the storage device 305.

ここでは、制御部102は、S804により、無線LANダイレクト通信により接続している携帯端末(211〜215)の台数が0〜2台であったと判定して、これに応じてS806で、BLEビーコンを送信するモードを無線通信部202に設定する。そして制御部102は、S807で、Tbeacon=30msecと決定して、S808でこの設定値を無線通信部202に転送して設定する。これにより無線通信部202の無線制御部403が、S902で、このTbeaconをタイマ404に設定し、S903でタイマ404による計時をスタートさせる。従ってこれ以降、BLE通信のBLEビーコンパケットは、図10のフローチャートに従い、設定されたTbeacon=30msecの時間間隔で送信される。これは、図19(A)のパケット1801で示される。   Here, the control unit 102 determines that the number of mobile terminals (211 to 215) connected by wireless LAN direct communication is 0 to 2 in S804, and in response to this, the BLE beacon in S806. Is set in the wireless communication unit 202. In step S807, the control unit 102 determines that Tbeacon = 30 msec. In step S808, the control unit 102 transfers the setting value to the wireless communication unit 202 and sets it. As a result, the wireless control unit 403 of the wireless communication unit 202 sets this Tbeacon in the timer 404 in S902, and starts time measurement by the timer 404 in S903. Therefore, thereafter, the BLE beacon packet of BLE communication is transmitted at a set time interval of Tbeacon = 30 msec according to the flowchart of FIG. This is indicated by the packet 1801 in FIG.

この後、無線LANダイレクト通信においては、情報処理装置100は、携帯端末(211〜215)に対して、図13のフローチャートに従い順次データパケットを送信する。図19(A)において、情報処理装置100により送信されるデータパケットはパケット1802で示され、これに対して受信されるACKパケットはパケット1803で示される。ここで上述したように、BLE通信のビーコン送出のタイミングに近いタイミングで送信される無線LAN通信の送信パケットは、BLE通信のビーコンを送出した後まで遅延して送信される。パケット1804は、この遅延して送出されるパケットを示しており、このパケットに対して受信されるACKパケットはパケット1805で示される。無線制御部403は、このように、順次、処理を行い、データパケットを送信していく。そして無線制御部403は、無線LAN通信規定の通信制御に従って、全ての無線LAN通信のデータパケットを送信すると、S1207でデータ送信が終了したと判定して、データ送信を終了する。   Thereafter, in wireless LAN direct communication, the information processing apparatus 100 sequentially transmits data packets to the mobile terminals (211 to 215) according to the flowchart of FIG. In FIG. 19A, a data packet transmitted by the information processing apparatus 100 is indicated by a packet 1802, and an ACK packet received in response thereto is indicated by a packet 1803. As described above, the wireless LAN communication transmission packet transmitted at a timing close to the BLE communication beacon transmission timing is transmitted with a delay until after the BLE communication beacon is transmitted. A packet 1804 indicates a packet transmitted with a delay, and an ACK packet received for this packet is indicated by a packet 1805. In this way, the wireless control unit 403 sequentially performs processing and transmits data packets. When the wireless control unit 403 transmits all the data packets for wireless LAN communication according to the communication control specified by the wireless LAN communication rule, the wireless control unit 403 determines in S1207 that the data transmission has ended, and ends the data transmission.

図19(B)は、BLE通信のビーコンパケットの送信間隔が、Tbeacon=100msecのときの同時動作の動作を示している。このBLE通信では、上述した手順でビーコンパケットが送信され、これをパケット1816で示す。   FIG. 19B shows the simultaneous operation when the beacon packet transmission interval of BLE communication is Tbeacon = 100 msec. In this BLE communication, a beacon packet is transmitted by the above-described procedure, and this is indicated by a packet 1816.

一方、無線LAN通信においては、無線LANダイレクト通信により無線LANアクセスポイント(ソフトアクセスポイント)として、携帯端末(211〜215)に対してデータパケットを送信しているものとする。ここで制御部102は、図8のS804の判定処理で、その時点で、無線LANダイレクト通信により接続している携帯端末(211〜215)の台数を判定する。ここでは無線LANダイレクト通信により接続している携帯端末(211〜215)の台数が3〜4台であったと判定したとする。これに応じて、S806でBLEビーコンを送信するモードを無線通信部202に設定する。また制御部102は、S807で、図16に基づいて、Tbeacon=100msecと決定して、S808で、この設定値を無線通信部202に転送して設定する。これにより無線通信部202の無線制御部403は、この設定値をS902でタイマ404に設定し、S903でタイマ404による計時を開始させる。従って、これ以降、BLE通信のBLEビーコンパケットは、図10のフローチャートに従い、設定されたTbeacon=100msecの間隔で送信される。これは、図19(B)のパケット1816で示される。   On the other hand, in wireless LAN communication, it is assumed that data packets are transmitted to mobile terminals (211 to 215) as wireless LAN access points (soft access points) by wireless LAN direct communication. Here, the control unit 102 determines the number of mobile terminals (211 to 215) connected by wireless LAN direct communication at that time in the determination process of S804 of FIG. Here, it is assumed that the number of mobile terminals (211 to 215) connected by wireless LAN direct communication is determined to be 3 to 4. In response to this, a mode for transmitting a BLE beacon is set in the wireless communication unit 202 in S806. Further, in step S807, the control unit 102 determines that Tbeacon = 100 msec based on FIG. 16, and transfers the setting value to the wireless communication unit 202 and sets it in step S808. As a result, the wireless control unit 403 of the wireless communication unit 202 sets this set value in the timer 404 in S902, and starts time measurement by the timer 404 in S903. Therefore, thereafter, BLE beacon packets for BLE communication are transmitted at an interval of set Tbeacon = 100 msec according to the flowchart of FIG. This is indicated by the packet 1816 in FIG.

また無線LANダイレクト通信においては、情報処理装置100は、携帯端末(211〜215)に対して、図13のフローチャートに従い順次データパケットを送信する。図19(B)において、情報処理装置100により送信されるデータパケットはパケット1807で示され、これに対して受信される、ACKパケットはパケット1808で示される。しかし上述したように、BLE通信のビーコン1816の送出タイミングに近いタイミングで送信される無線LAN通信の送信パケットは、BLE通信のビーコンを送出した後まで遅延して送信される。パケット1809はこの遅延させて送出されるパケットを示し、このパケットに対して受信されるACKパケットはパケット1810で示される。無線制御部403は、このように、順次、処理を行い、データパケットを送信していく。そして無線制御部403は無線LAN通信規定の通信制御に従って、全ての無線LAN通信のデータパケットを送信すると、S1207でデータ送信が終了したと判定して、データ送信を終了する。   In wireless LAN direct communication, the information processing apparatus 100 sequentially transmits data packets to the mobile terminals (211 to 215) according to the flowchart of FIG. In FIG. 19B, a data packet transmitted by the information processing apparatus 100 is indicated by a packet 1807, and an ACK packet received in response thereto is indicated by a packet 1808. However, as described above, the wireless LAN communication transmission packet transmitted at a timing close to the transmission timing of the BLE communication beacon 1816 is transmitted with a delay until after the transmission of the BLE communication beacon. A packet 1809 indicates a packet transmitted with a delay, and an ACK packet received for this packet is indicated by a packet 1810. In this way, the wireless control unit 403 sequentially performs processing and transmits data packets. When the wireless control unit 403 transmits all data packets for wireless LAN communication according to the communication control stipulated by the wireless LAN communication rule, the wireless control unit 403 determines in S1207 that the data transmission is completed, and ends the data transmission.

図20は、BLE通信のビーコンの送信が停止されたときの動作を示すタイミング図である。ここでは、BLE通信のビーコン送出は停止している。   FIG. 20 is a timing chart showing an operation when transmission of a BLE communication beacon is stopped. Here, beacon transmission in BLE communication is stopped.

一方、無線LAN通信においては、無線LANダイレクト通信により無線LANアクセスポイント(ソフトアクセスポイント)として、携帯端末(211〜215)に対して、データパケットが送信されているものとする。ここで制御部102は、図8のフローチャートに従い、S804の判定で、その時点で、無線LANダイレクト通信により接続している携帯端末(211〜215)の台数を判定する。ここでは制御部102は、無線LANダイレクト通信により接続している携帯端末(211〜215)の台数が5台であったと判定したとする。ここれにより制御部102は、S809で、無線通信部202に対して、BLEビーコンの送信を行わないモードを指示する。無線通信部202は、図10のフローチャートに従ってS1001で、BLEビーコンを送信しないモードであると判定するため、S1002〜S1005の処理が行われず、よって、BLEビーコンパケットの送信が行われない。従って、図20に示すように、BLEのビーコンパケットの送信は停止している。このとき無線LANダイレクト通信で、情報処理装置100は、携帯端末(211〜215)に対して、データパケットを図13のフローチャートに従い順次、送信していく。図20において、情報処理装置100により正常に受信されたデータパケットはパケット1811で示され、これに対するACKパケットはパケット1812で示される。   On the other hand, in wireless LAN communication, it is assumed that data packets are transmitted to mobile terminals (211 to 215) as wireless LAN access points (soft access points) by wireless LAN direct communication. Here, according to the flowchart of FIG. 8, the control unit 102 determines the number of mobile terminals (211 to 215) connected by wireless LAN direct communication at that time in the determination of S <b> 804. Here, it is assumed that the control unit 102 determines that the number of mobile terminals (211 to 215) connected by wireless LAN direct communication is five. Thereby, the control unit 102 instructs the wireless communication unit 202 in a mode in which the transmission of the BLE beacon is not performed in S809. Since the wireless communication unit 202 determines in S1001 that the BLE beacon is not transmitted in accordance with the flowchart of FIG. 10, the processing of S1002 to S1005 is not performed, and therefore the transmission of the BLE beacon packet is not performed. Therefore, as shown in FIG. 20, the transmission of the BLE beacon packet is stopped. At this time, the information processing apparatus 100 sequentially transmits data packets to the portable terminals (211 to 215) by wireless LAN direct communication according to the flowchart of FIG. In FIG. 20, a data packet normally received by the information processing apparatus 100 is indicated by a packet 1811, and an ACK packet corresponding thereto is indicated by a packet 1812.

この場合は、BLEビーコンパケットの送信は停止しているので、無線LAN通信のパケット送信が発生すると、常に、このデータパケットは遅延なく送信される。無線制御部403は、このように、順次、処理を行い、データパケットを送信していく。そして無線制御部403は無線LAN通信規定の通信制御に従って、全ての無線LAN通信のデータパケットを送信すると、S1207でデータ送信が終了したと判定して、データ送信を終了する。   In this case, since transmission of the BLE beacon packet is stopped, when data transmission of wireless LAN communication occurs, this data packet is always transmitted without delay. In this way, the wireless control unit 403 sequentially performs processing and transmits data packets. When the wireless control unit 403 transmits all data packets for wireless LAN communication according to the communication control stipulated by the wireless LAN communication rule, the wireless control unit 403 determines in S1207 that the data transmission is completed, and ends the data transmission.

図19(A)のTbeacon=30msec、図19(B)のTbeacon=100msecで示した通り、同時接続している携帯端末(211〜215)の台数に応じて、Tbeaconの時間間隔を変更する。即ち、同時接続している携帯端末(211〜215)の台数が多くなると、Tbeaconの時間間隔を長くすることにより、無線LANのデータパケットの送信時の遅延時間(図中のt2)の発生回数を低減できる。こうして、同時接続している携帯端末(211〜215)の台数に応じて、BLEのビーコン時間間隔を変更することにより、単位時間(t4)における、無線LANのデータパケット受信のスループットを改善することができる。   As indicated by Tbeacon = 30 msec in FIG. 19A and Tbeacon = 100 msec in FIG. 19B, the time interval of Tbeacon is changed according to the number of mobile terminals (211 to 215) connected simultaneously. That is, when the number of simultaneously connected mobile terminals (211 to 215) increases, the number of occurrences of the delay time (t2 in the figure) at the time of transmitting the data packet of the wireless LAN by increasing the Tbeacon time interval. Can be reduced. In this way, by changing the BLE beacon time interval according to the number of mobile terminals (211 to 215) that are simultaneously connected, the throughput of wireless LAN data packet reception in unit time (t4) is improved. Can do.

更に、図20に示したように、同時接続している携帯端末(211〜215)の台数が最大の5台となった場合は、BLEビーコンの送信を停止する。これにより、同時動作による遅延を発生させずに、単位時間(t4)当たりの、無線LAN通信のデータパケット送信のスループットを向上させることができる。   Furthermore, as shown in FIG. 20, when the number of simultaneously connected mobile terminals (211 to 215) reaches five, the transmission of the BLE beacon is stopped. Thereby, the throughput of data packet transmission of wireless LAN communication per unit time (t4) can be improved without causing a delay due to the simultaneous operation.

以上説明したように本実施形態によれば、情報処理装置100において、BLE通信と無線LAN通信の同時動作時に、無線LANダイレクト通信により同時接続している携帯端末の台数に応じて、BLE通信のビーコンパケットの送信時間間隔を制御する。   As described above, according to the present embodiment, in the information processing apparatus 100, when the BLE communication and the wireless LAN communication are simultaneously performed, the BLE communication is performed according to the number of portable terminals simultaneously connected by the wireless LAN direct communication. Controls the transmission time interval of beacon packets.

また無線LANダイレクト通信により、同時接続している携帯端末の台数が最大許容数以上の場合は、BLEビーコンの送出を停止することができる。   Also, when the number of mobile terminals connected simultaneously by wireless LAN direct communication is greater than or equal to the maximum allowable number, transmission of BLE beacons can be stopped.

また、BLE通信のビーコンパケットの送信時間間隔を制御することにより、携帯端末との間の無線LANダイレクト通信におけるデータパケットの送信、受信のスループットを改善することができる。   Further, by controlling the transmission time interval of beacon packets for BLE communication, it is possible to improve the throughput of data packet transmission and reception in wireless LAN direct communication with a mobile terminal.

無線LANダイレクト通信においては、情報処理装置100は無線LANアクセスポイント(ソフトアクセスポイント)として動作している。即ち、同時接続している携帯端末の台数が増えるに従い、情報処理装置1の無線LANアクセスポイント(ソフトアクセスポイント)としてのスループットが改善する。従って、接続している携帯端末の1台あたりのスループットが改善することになる。   In wireless LAN direct communication, the information processing apparatus 100 operates as a wireless LAN access point (soft access point). That is, as the number of mobile terminals connected simultaneously increases, the throughput of the information processing apparatus 1 as a wireless LAN access point (soft access point) improves. Therefore, the throughput per connected mobile terminal is improved.

また、これにより、携帯端末を使用しているユーザは、同時接続している携帯端末の台数により、無線LANダイレクト通信のスループットが変動する不具合を回避することができる。   Thereby, the user using the portable terminal can avoid the problem that the throughput of the wireless LAN direct communication varies depending on the number of portable terminals connected simultaneously.

本実施形態では、無線LANダイレクト通信により同時接続している携帯端末の台数によりBLE通信のビーコンの時間間隔を100msecと30msecで切換えるとした。また同時接続している台数が最大の5台である場合は、BLEビーコンの送信を停止するとした。しかし、同時接続している台数の判定をさらに細かく分類し、台数に応じて、ビーコンの時間間隔を、さらに多段階で変更するようにしてもよい。   In the present embodiment, the beacon time interval of BLE communication is switched between 100 msec and 30 msec depending on the number of mobile terminals simultaneously connected by wireless LAN direct communication. In addition, when the maximum number of simultaneous connections is five, transmission of BLE beacons is stopped. However, the determination of the number of simultaneously connected units may be further classified, and the beacon time interval may be changed in more stages according to the number of units.

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

本発明は上記実施形態に制限されるものではなく、本発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、本発明の範囲を公にするために、以下の請求項を添付する。   The present invention is not limited to the above-described embodiment, and various changes and modifications can be made without departing from the spirit and scope of the present invention. Therefore, in order to make the scope of the present invention public, the following claims are attached.

100…情報処理装置、101…操作パネル、102…制御部、200…携帯端末、201…アクセスポイント、202…無線通信部、401…無線LAN通信部、402…BLE通信部、403…無線制御部、404…タイマ、405…切換部   DESCRIPTION OF SYMBOLS 100 ... Information processing apparatus 101 ... Operation panel 102 ... Control part 200 ... Portable terminal 201 ... Access point 202 ... Wireless communication part 401 ... Wireless LAN communication part 402 ... BLE communication part 403 ... Wireless control part 404, timer, 405, switching unit

Claims (8)

ビーコンの送信、及び無線により通信を行う第1の無線通信手段と、
前記第1の無線通信手段とは異なる無線により通信を行う第2の無線通信手段と、
前記第2の無線通信手段により接続された端末の数を判定する判定手段と、
前記第1の無線通信手段と前記第2の無線通信手段とを時分割で切換えて、各無線通信手段による無線通信を制御するとともに、前記第2の無線通信手段によりデータの通信が行われている際に前記第1の無線通信手段が前記ビーコンを送信する場合、前記判定手段が判定した前記端末の数に応じて前記ビーコンを送信する時間間隔を変更する無線制御手段と、
を有することを特徴とする情報処理装置。
A first wireless communication means for performing beacon transmission and wireless communication;
Second wireless communication means for performing communication by wireless different from the first wireless communication means;
Determining means for determining the number of terminals connected by the second wireless communication means;
The first wireless communication means and the second wireless communication means are switched in a time-sharing manner to control wireless communication by each wireless communication means, and data communication is performed by the second wireless communication means. A wireless control means for changing a time interval for transmitting the beacon according to the number of the terminals determined by the determination means when the first wireless communication means transmits the beacon when
An information processing apparatus comprising:
前記無線制御手段は、前記判定手段が判定した前記端末の数が多いほど、前記ビーコンを送信する時間間隔を長くすることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the radio control unit increases the time interval for transmitting the beacon as the number of the terminals determined by the determination unit increases. 前記無線制御手段は、前記判定手段が判定した前記端末の数が最大許容数以上の場合、前記ビーコンを送信しないように前記第1の無線通信手段を制御することを特徴とする請求項1に記載の情報処理装置。   The wireless control means controls the first wireless communication means not to transmit the beacon when the number of the terminals determined by the determination means is equal to or greater than a maximum allowable number. The information processing apparatus described. 時間を計時する計時手段を更に有し、
前記無線制御手段は、前記計時手段に前記ビーコンを送信する時間間隔を設定し、前記計時手段が前記時間間隔に対応する時間を計時したことに応じて前記第1の無線通信手段に前記ビーコンを送信するように指示することを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。
It further has a timing means for timing time,
The wireless control means sets a time interval for transmitting the beacon to the time measuring means, and the beacon is sent to the first wireless communication means in response to the time measuring means measuring the time corresponding to the time interval. The information processing apparatus according to claim 1, wherein the information processing apparatus instructs transmission.
前記第1の無線通信手段は、BLE規格に基づく無線通信手段であり、前記第2の無線通信手段は無線LAN規格に基づく無線通信手段であることを特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。   The first wireless communication unit is a wireless communication unit based on the BLE standard, and the second wireless communication unit is a wireless communication unit based on a wireless LAN standard. The information processing apparatus according to item 1. 前記第1及び第2の無線通信手段とアンテナとの間に設けられ、BLE規格に基づくデータの送信、前記無線LAN規格に基づくデータの送信、及びBLE規格と前記無線LAN規格に基づくデータの受信のための経路を切り換える切換手段を更に有し、
前記無線制御手段は前記切換手段による前記経路の切り換えを制御することを特徴とする請求項5に記載の情報処理装置。
Provided between the first and second wireless communication means and the antenna, transmit data based on the BLE standard, transmit data based on the wireless LAN standard, and receive data based on the BLE standard and the wireless LAN standard Switching means for switching the route for
The information processing apparatus according to claim 5, wherein the wireless control unit controls switching of the path by the switching unit.
情報処理装置を制御する制御方法であって、
ビーコンの送信、及び無線により通信を行う第1の無線通信工程と、
前記第1の無線通信工程とは異なる無線により通信を行う第2の無線通信工程と、
前記第2の無線通信工程で通信を行うために接続された端末の数を判定する判定工程と、
前記第1の無線通信工程と前記第2の無線通信工程とを時分割で切換えて、各無線通信工程による無線通信を制御するとともに、前記第2の無線通信工程でデータの通信が行われている際に前記第1の無線通信工程が前記ビーコンを送信する場合、前記判定工程が判定した前記端末の数に応じて前記ビーコンを送信する時間間隔を変更する無線制御工程と、
を有することを特徴とする情報処理装置の制御方法。
A control method for controlling an information processing apparatus,
A first wireless communication step of transmitting a beacon and communicating wirelessly;
A second wireless communication step of performing communication by wireless different from the first wireless communication step;
A determination step of determining the number of terminals connected to perform communication in the second wireless communication step;
The first wireless communication step and the second wireless communication step are switched in a time-sharing manner to control wireless communication by each wireless communication step, and data communication is performed in the second wireless communication step. A wireless control step of changing a time interval for transmitting the beacon according to the number of the terminals determined by the determination step when the first wireless communication step transmits the beacon when
A method for controlling an information processing apparatus, comprising:
コンピュータを、請求項1乃至6のいずれか1項に記載の情報処理装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the information processing apparatus of any one of Claims 1 thru | or 6.
JP2016126732A 2016-06-27 2016-06-27 Information processing device, control method thereof, and program Pending JP2018006814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016126732A JP2018006814A (en) 2016-06-27 2016-06-27 Information processing device, control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016126732A JP2018006814A (en) 2016-06-27 2016-06-27 Information processing device, control method thereof, and program

Publications (1)

Publication Number Publication Date
JP2018006814A true JP2018006814A (en) 2018-01-11

Family

ID=60949908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016126732A Pending JP2018006814A (en) 2016-06-27 2016-06-27 Information processing device, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP2018006814A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115662181A (en) * 2022-12-12 2023-01-31 深圳市中智车联科技有限责任公司 Multi-beacon control method, device and system for parking lot
US11838968B2 (en) 2020-06-23 2023-12-05 Brother Kogyo Kabushiki Kaisha Communication device and non-transitory computer-readable recording medium storing computer-readable instructions for terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11838968B2 (en) 2020-06-23 2023-12-05 Brother Kogyo Kabushiki Kaisha Communication device and non-transitory computer-readable recording medium storing computer-readable instructions for terminal device
CN115662181A (en) * 2022-12-12 2023-01-31 深圳市中智车联科技有限责任公司 Multi-beacon control method, device and system for parking lot

Similar Documents

Publication Publication Date Title
JP6813970B2 (en) Information processing device, its control method, and program
JP6179157B2 (en) Information processing apparatus, communication terminal apparatus, and information processing apparatus program
JP6676469B2 (en) Communication device, control method therefor, and program
US9696956B2 (en) Communication device communicating target data with external device according to near field communication
JP7483789B2 (en) Information processing device, method for controlling information processing device, and program
JP6179778B2 (en) Image forming system, image forming apparatus, terminal, program
JP2019140495A (en) Communication terminal, control method thereof, and program
JP2016143999A (en) Communication apparatus, control method, and program
JP2018006814A (en) Information processing device, control method thereof, and program
US8601092B2 (en) Communication apparatus and method for controlling the same
US20160291912A1 (en) Information processing apparatus including near-field wireless communication tag, method of controlling the same, and storage medium
JP2016186774A (en) Method of searching for image forming apparatus, portable terminal, and program
JP2018007072A (en) Information processing device, control method thereof, and program
JP2018006813A (en) Information processing device, control method thereof, and program
JP6818532B2 (en) Image processing device, its control method, and program
JP2018007073A (en) Information processing device, control method thereof, and program
JP6472263B2 (en) Information processing apparatus, control method, and program
US20240303016A1 (en) Data processing system that performs access control of information processing apparatus, information processing apparatus, mobile communication device, and method of controlling information processing apparatus
US20240303006A1 (en) Data processing system that performs access control of information processing apparatus, information processing apparatus, mobile communication device, and control method
US20250119504A1 (en) Non-transitory computer-readable storage medium storing program
JP2019089336A (en) Image forming device, terminal device, error screen providing method and computer program
JP6302169B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
US20250119500A1 (en) Non-transitory computer-readable storage medium storing program, and method
JP7631973B2 (en) Information processing device, information processing system, and information processing program
JP6264436B2 (en) Communication device