JP2015115626A - Source device, sink device, program, and communication system - Google Patents

Source device, sink device, program, and communication system Download PDF

Info

Publication number
JP2015115626A
JP2015115626A JP2013253853A JP2013253853A JP2015115626A JP 2015115626 A JP2015115626 A JP 2015115626A JP 2013253853 A JP2013253853 A JP 2013253853A JP 2013253853 A JP2013253853 A JP 2013253853A JP 2015115626 A JP2015115626 A JP 2015115626A
Authority
JP
Japan
Prior art keywords
connection
unit
communication unit
communication
source device
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
JP2013253853A
Other languages
Japanese (ja)
Inventor
山本 学
Manabu Yamamoto
学 山本
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.)
Funai Electric Co Ltd
Original Assignee
Funai Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Funai Electric Co Ltd filed Critical Funai Electric Co Ltd
Priority to JP2013253853A priority Critical patent/JP2015115626A/en
Publication of JP2015115626A publication Critical patent/JP2015115626A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a source device which is connectable with the nearest device even when the source device is carried.SOLUTION: A source device includes: a first communication part and a second communication part for radio communication with a source device; a requesting part for letting the first communication part request a connection signal for wireless LAN connection to a plurality of source devices; a determination part for determining a sink device to be a subject to be connected according to a signal strength comparison result of the connection signals when the connection signals are received from a plurality of sink devices through the first communication part; and a connection setting part for wireless LAN connection with the sink device determined as a subject to be connected using the second communication part.

Description

本発明は、ピアツーピアの無線通信の設定に関する。   The present invention relates to setting up a peer-to-peer wireless communication.

従来、無線ルーター等の機器を介することなく、デバイス間で無線通信を行うピアツーピアの無線通信が知られている。このようなピアツーピアの無線通信として、IEEE.802.11の規格をもとにWiFiアライアンスが策定したWiFiダイレクトが知られている。WiFiダイレクトでは、一方のデバイスの通信可能エリアに他方のデバイスが位置していれば、デバイスが有する通信機能を用いて無線通信を行うことができる。   Conventionally, peer-to-peer wireless communication for performing wireless communication between devices without using a device such as a wireless router is known. As such peer-to-peer wireless communication, IEEE. There is known WiFi Direct established by the WiFi Alliance based on the 802.11 standard. With WiFi Direct, if the other device is located in the communicable area of one device, wireless communication can be performed using the communication function of the device.

WiFiダイレクトでは、デバイス間の無線通信を行う前に、ソースデバイスとシンクデバイスとのあいだでアドレス情報やセキュリティ設定を含めた設定を行なう必要がある。   With WiFi Direct, it is necessary to make settings including address information and security settings between a source device and a sink device before performing wireless communication between devices.

特許文献1には、デバイスがピアツーピアの無線通信の接続を行なう前に、接続対象となるデバイスを自動で探索する方法が開示されている。この探索方法では、まず、デバイスは、周囲に存在するデバイスから出力されるプローブレスポンスの信号強度を測定する。次に、デバイスは、信号強度の順に接続順序を設定するテーブルを作成する。そして、デバイスは、上記した探索方法により作成されたテーブルをもとデバイスとの接続を行う(例えば、特許文献1参照。)。   Patent Document 1 discloses a method for automatically searching for a device to be connected before the device performs peer-to-peer wireless communication connection. In this search method, first, the device measures the signal strength of the probe response output from the devices existing around it. Next, the device creates a table for setting the connection order in the order of signal strength. The device then connects to the device based on the table created by the search method described above (see, for example, Patent Document 1).

特開2013−162381号公報JP 2013-162381 A

デバイスが持ち運び可能である場合、ユーザは持ち運んだ先の最寄りのデバイスと接続したいと考える場合がある。しかし、特許文献1に開示される接続方法は、デバイスが移動しないことを前提に接続の優先順位を定めている。そのため、ユーザがデバイスを移動させて、新たな場所でデバイスを接続する場合、探索されたデバイスがユーザが意図する接続先のデバイスとならない場合がある。   If the device is portable, the user may want to connect to the nearest device that he has carried. However, the connection method disclosed in Patent Document 1 defines the connection priority order on the assumption that the device does not move. Therefore, when the user moves the device and connects the device at a new location, the searched device may not be a connection destination device intended by the user.

本発明は、上記課題にかんがみてなされたもので、デバイスを持ち運ぶ場合でも、最寄りのデバイスと接続を行うことができるソースデバイスを提供する。   The present invention has been made in view of the above problems, and provides a source device that can be connected to the nearest device even when the device is carried.

上記課題を解決するために、本発明の一態様では、シンクデバイスとピアツーピアの無線通信を行うソースデバイスであって、前記ソースデバイスと無線通信を行う第1の通信部、及び第2の通信部と、複数のソースデバイスに対して無線LANの接続を行うための接続用信号を前記第1の通信部に要求させる要求部と、前記第1の通信部を通じて複数のシンクデバイスから前記接続用信号を受信した場合に、前記接続用信号の信号強度の比較結果に基づいて接続対象となるシンクデバイスを判定する判定部と、接続対象として判定された前記シンクデバイスと前記第2の通信部を用いて無線LANの接続を行なう接続設定部と、を有する。   In order to solve the above problems, in one aspect of the present invention, a source device that performs peer-to-peer wireless communication with a sink device, the first communication unit that performs wireless communication with the source device, and the second communication unit A request unit that requests the first communication unit to connect to the plurality of source devices for wireless LAN connection, and the connection signal from the plurality of sink devices through the first communication unit. A determination unit that determines a sink device to be connected based on a comparison result of signal strengths of the connection signal, and the sink device that is determined as a connection target and the second communication unit A connection setting unit for performing a wireless LAN connection.

上記のように構成された発明では、要求部は、複数のソースデバイスに対して無線LANの接続を行うための接続用信号を前記第1の通信部に要求させる。また、判定部は、第1の通信部を通じて複数のシンクデバイスから接続用信号を受信した場合に、接続用信号の信号強度に基づいて接続対象となるシンクデバイスを判定する。
そのため、ソースデバイスを移動させた場合でも、周囲のデバイスとのあいだで行なわれる接続用信号の信号強度をもとに、最寄りのシンクデバイスと接続することができる。
In the invention configured as described above, the request unit causes the first communication unit to request a connection signal for performing wireless LAN connection to a plurality of source devices. In addition, when the determination unit receives connection signals from a plurality of sink devices through the first communication unit, the determination unit determines a sink device to be connected based on the signal strength of the connection signal.
Therefore, even when the source device is moved, it is possible to connect to the nearest sink device based on the signal strength of the connection signal performed with the surrounding devices.

また、本発明の一態様では、前記判定部は、前記接続用信号の信号強度の変化をもとに比較を行い、前記信号強度が増加する前記接続用信号を出力するシンクデバイスを接続対象とする。
上記のように構成された発明では、ユーザの動きの方向に応じて、最適な位置のシンクデバイスを接続対象とすることができる。
In the aspect of the invention, the determination unit performs a comparison based on a change in signal strength of the connection signal, and sets a sink device that outputs the connection signal whose signal strength increases as a connection target. To do.
In the invention configured as described above, the sink device at the optimum position can be set as the connection target in accordance with the direction of movement of the user.

そして、本発明の一態様では、前記要求部は、前記ソースデバイスから発行されるビーコンを検出した場合、前記第1の通信部に前記接続用信号の要求を行わせる。
上記のように構成された発明では、シンクデバイスがビーコンを発する場合でも、本発明を適用することができる。
In the aspect of the invention, when the request unit detects a beacon issued from the source device, the request unit causes the first communication unit to request the connection signal.
In the invention configured as described above, the present invention can be applied even when the sink device emits a beacon.

また、本発明の一態様では、前記ソースデバイスの動き量を検出する動き検出部を有し、前記要求部は、前記動き検出部により前記ソースデバイスの動き量の変化が検出された場合に、前記第1の通信部に前記接続用信号の要求を行わせる。
上記のように構成された発明では、ソースデバイスが移動する状態を、動き検出部により検出することができる。
Further, in one aspect of the present invention, it has a motion detection unit for detecting the amount of motion of the source device, the request unit, when a change in the amount of motion of the source device is detected by the motion detection unit, The first communication unit is made to request the connection signal.
In the invention configured as described above, the state where the source device moves can be detected by the motion detection unit.

さらに、本発明の一態様では、前記接続設定部により接続された無線LANをもとに、映像データを前記シンクデバイスに送信する通信制御部を有する。
上記のように構成された発明では、映像データをシンクデバイスに転送する場合に、利用者の移動に応じて、最寄りのシンクデバイスに映像を表示させることができる。
Furthermore, according to an aspect of the present invention, the communication control unit includes a communication control unit that transmits video data to the sink device based on the wireless LAN connected by the connection setting unit.
In the invention configured as described above, when video data is transferred to the sink device, the video can be displayed on the nearest sink device according to the movement of the user.

また、本発明の一態様では、前記要求部は、第1のシンクデバイスとのあいだで前記無線LANの接続後、複数のソースデバイスに対して前記接続用信号を要求し、前記判定部は、前記接続用信号の信号強度に基づいて切替え対象となるシンクデバイスを判定し、前記接続設定部は、前記第1のシンクデバイスとの接続を切断した後、切替え対象として判定された第2のシンクデバイスと前記第2の通信部を用いて無線LANの接続を行なう。
上記のように構成された発明では、ソースデバイスがシンクデバイスと接続している場合でも、ユーザの移動とともに、他のシンクデバイスへ接続を切替えることができる。その結果、ユーザが接続切り替えのための操作を行う必要がなく、ユーザの負担を軽減することができる。
In one aspect of the present invention, the request unit requests the connection signal from a plurality of source devices after the wireless LAN is connected with the first sink device, and the determination unit includes: The sink device to be switched is determined based on the signal strength of the connection signal, and the connection setting unit disconnects the connection with the first sink device and then determines the second sink to be switched. Wireless LAN connection is performed using the device and the second communication unit.
In the invention configured as described above, even when the source device is connected to the sink device, the connection can be switched to another sink device as the user moves. As a result, it is not necessary for the user to perform an operation for switching connections, and the burden on the user can be reduced.

そして、本発明は、ソースデバイスと接続するシンクデバイスの発明としても捉えることができる。即ち、本発明の一態様では、ソースデバイスとピアツーピアの無線通信を行うシンクデバイスであって、無線通信を行う第3の通信部、及び第4の通信部と、前記ソースデバイスから出力された接続要求に応じて、前記ソースデバイスと前記無線通信の接続を行うための接続用信号を前記第3の通信部から出力させる応答部と、出力した前記接続用信号にもとづいて、前記ソースデバイスから接続要求信号を受信した場合に、前記ソースデバイスと前記第4の通信部を用いて接続を行なう接続設定部と、を有する。   The present invention can also be understood as an invention of a sink device connected to a source device. That is, in one aspect of the present invention, a sink device that performs peer-to-peer wireless communication with a source device, the third communication unit that performs wireless communication, the fourth communication unit, and the connection output from the source device In response to the request, a response unit for outputting a connection signal for performing the wireless communication connection with the source device from the third communication unit, and a connection from the source device based on the output connection signal A connection setting unit configured to perform connection using the source device and the fourth communication unit when a request signal is received.

さらに、本発明は、ソースデバイスに対して、シンクデバイスとのあいだでピアツーピアの無線通信の接続を行わせるプログラムの発明としても捉えることができる。
また、本発明は、シンクデバイスと、シンクデバイスとピアツーピアの無線通信を行うソースデバイスとを有する通信システムとしても捉えることができる。
Furthermore, the present invention can be understood as an invention of a program that causes a source device to establish a peer-to-peer wireless communication connection with a sink device.
The present invention can also be understood as a communication system having a sink device and a source device that performs peer-to-peer wireless communication with the sink device.

通信システム100の構成を示す図である。1 is a diagram showing a configuration of a communication system 100. FIG. 通信システム100の機能を説明する機能ブロック図である。2 is a functional block diagram illustrating functions of the communication system 100. FIG. ユーザ端末10のハードウェア構成を示す図である。2 is a diagram illustrating a hardware configuration of a user terminal 10. FIG. 表示装置30(50)のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the display apparatus 30 (50). 通信システム100により実現される無線LAN構築処理を説明するフローチャートである。4 is a flowchart for explaining a wireless LAN construction process realized by the communication system 100. ユーザ端末と表示装置とのあいだで行なわれる処理を説明するシーケンス図である。It is a sequence diagram explaining the process performed between a user terminal and a display apparatus. ユーザ端末と表示装置とのあいだで行なわれる処理を説明するシーケンス図である。It is a sequence diagram explaining the process performed between a user terminal and a display apparatus. ステップS3において実行される判定処理を説明する図である。It is a figure explaining the determination process performed in step S3. 第2の実施形態の通信システムを説明する図である。It is a figure explaining the communication system of 2nd Embodiment. 第2の実施形態において、ユーザ端末10と表示装置30、50とのあいだで行なわれる処理(接続要求)を説明するシーケンス図である。It is a sequence diagram explaining the process (connection request | requirement) performed between the user terminal 10 and the display apparatuses 30 and 50 in 2nd Embodiment. 第3の実施形態にかかる通信システム100を説明する図である。It is a figure explaining the communication system 100 concerning 3rd Embodiment. 第3の実施形態における処理を説明するフローチャートである。It is a flowchart explaining the process in 3rd Embodiment. 図12の接続要求(ステップS21)、接続の対象の判定(ステップS22)において、ユーザ端末10と表示装置30、50とのあいだで行なわれる処理を示すシーケンスである。12 is a sequence showing processing performed between the user terminal 10 and the display devices 30 and 50 in the connection request (step S21) and the determination of the connection target (step S22) in FIG. 図12の接続要求(ステップS21)、接続の対象の判定(ステップS22)において、ユーザ端末10と表示装置30、50とのあいだで行なわれる処理を示すシーケンスである。12 is a sequence showing processing performed between the user terminal 10 and the display devices 30 and 50 in the connection request (step S21) and the determination of the connection target (step S22) in FIG.

以下、下記の順序に従って本発明の実施形態を説明する。
1.第1の実施形態:
(1)通信システムの構成
(2)無線LAN構築処理
2.第2の実施形態:
3.第3の実施形態:
4.その他の実施形態:
Hereinafter, embodiments of the present invention will be described in the following order.
1. First embodiment:
(1) Configuration of communication system (2) Wireless LAN construction processing Second embodiment:
3. Third embodiment:
4). Other embodiments:

1.第1の実施形態:
(1)通信システムの構成
図1は、通信システム100の構成を示す図である。通信システム100は、ソースデバイスとしてのユーザ端末10と、シングデバイスとしての表示装置30、50とを有する。ユーザ端末10と、表示装置30、50とはそれぞれピアツーピアの通信を行うことができる。
1. First embodiment:
(1) Configuration of Communication System FIG. 1 is a diagram illustrating a configuration of a communication system 100. The communication system 100 includes a user terminal 10 as a source device and display devices 30 and 50 as single devices. The user terminal 10 and the display devices 30 and 50 can perform peer-to-peer communication.

通信システム100では、ユーザ端末10は、最寄りのシンクデバイス(表示装置30または表示装置50)とのあいだで接続設定を自動で行うことができる。例えば、図1では、ユーザが部屋Bから部屋Aへ移動することにより、ユーザ端末10と表示装置30との距離が最も近くなるため、ユーザ端末10は表示装置30と接続設定を行なう。   In the communication system 100, the user terminal 10 can automatically perform connection setting with the nearest sink device (the display device 30 or the display device 50). For example, in FIG. 1, when the user moves from room B to room A, the distance between the user terminal 10 and the display device 30 becomes the shortest, so the user terminal 10 performs connection setting with the display device 30.

図2は、通信システム100の機能を説明する機能ブロック図である。ユーザ端末10は、要求部11、判定部12、接続設定部13、通信制御部14、第1の通信部15、第2の通信部16の各機能を有する。また、表示装置30(50)は、応答部31、接続設定部32、通信制御部33、第3の通信部34、第4の通信部35の各機能を有する。なお、表示装置50は、表示装置30と同様の機能、ハードウェア構成を備えるため、説明を省略する。   FIG. 2 is a functional block diagram illustrating functions of the communication system 100. The user terminal 10 has functions of a request unit 11, a determination unit 12, a connection setting unit 13, a communication control unit 14, a first communication unit 15, and a second communication unit 16. The display device 30 (50) has the functions of a response unit 31, a connection setting unit 32, a communication control unit 33, a third communication unit 34, and a fourth communication unit 35. Note that the display device 50 has the same functions and hardware configuration as the display device 30, and thus description thereof is omitted.

通信システム100における接続設定では、まず、ユーザ端末10の要求部11が、第1の通信部15を用いて、表示装置30、50に対して接続要求を行う。表示装置30、50では、第3の通信部34により接続要求を受信すると、応答部31がこの応答に応じて接続用信号を出力する。ユーザ端末10では、第1の通信部15を通じて表示装置30および表示装置50から接続用信号を受けると、判定部12が、接続用信号の信号強度の比較に応じてシンクデバイス(表示装置)との距離を判断し、接続対象となる表示装置30(図1)を判定する。   In connection setting in the communication system 100, first, the request unit 11 of the user terminal 10 makes a connection request to the display devices 30 and 50 using the first communication unit 15. In the display devices 30 and 50, when the connection request is received by the third communication unit 34, the response unit 31 outputs a connection signal in response to the response. When the user terminal 10 receives the connection signal from the display device 30 and the display device 50 through the first communication unit 15, the determination unit 12 determines whether the signal strength of the connection signal is compared with the sink device (display device). The display device 30 (FIG. 1) to be connected is determined.

そして、ユーザ端末10の接続設定部13は、接続先として判定された表示装置(接続設定部32)とのあいだで、接続設定を行う。この接続設定では、第2の通信部16と第4の通信部35とが用いられる。その後、通信制御部14は、シンクデバイス(図1では表示装置30)とのあいだで構築された無線LANをもとにピアツーピアの無線通信を行う。   Then, the connection setting unit 13 of the user terminal 10 performs connection setting with the display device (connection setting unit 32) determined as the connection destination. In this connection setting, the second communication unit 16 and the fourth communication unit 35 are used. Thereafter, the communication control unit 14 performs peer-to-peer wireless communication based on the wireless LAN established with the sink device (the display device 30 in FIG. 1).

図3は、ユーザ端末10のハードウェア構成を示す図である。本実施形態では、ユーザ端末10は、表示装置30(50)とのあいだで接続された無線LANをもとに、映像データを転送(送信)するミラーリング処理を行なうことができる。例えば、ユーザ端末10は、スマートフォンや、携帯型PC等により実現される。   FIG. 3 is a diagram illustrating a hardware configuration of the user terminal 10. In the present embodiment, the user terminal 10 can perform a mirroring process for transferring (transmitting) video data based on a wireless LAN connected to the display device 30 (50). For example, the user terminal 10 is realized by a smartphone, a portable PC, or the like.

ユーザ端末10は、第1の通信部15、第2の通信部16、操作部17、動きセンサ(動き検出部)18、CPU19、RAM20、メモリ21、バッファメモリ22、バス23とを有する。各部は、バス23を通じて接続されており、互いに通信を行うことができる。   The user terminal 10 includes a first communication unit 15, a second communication unit 16, an operation unit 17, a motion sensor (motion detection unit) 18, a CPU 19, a RAM 20, a memory 21, a buffer memory 22, and a bus 23. Each unit is connected through the bus 23 and can communicate with each other.

第1の通信部15と、第2の通信部16とは、共に、WiFiダイレクトに準じた無線通信を行うことができる無線通信IFにより実現される。第1の通信部15と、第2の通信部16とは、バス23を通じてCPU19に接続されており、CPU19からの要求を、無線信号に変換して出力することができる。また、第1の通信部15と、第2の通信部16とは、表示装置30(50)から送信された無線信号を受信し、この無線信号を電気信号に変換した後、バス23を通じてCPU19に送信することができる。   Both the first communication unit 15 and the second communication unit 16 are realized by a wireless communication IF capable of performing wireless communication according to WiFi Direct. The first communication unit 15 and the second communication unit 16 are connected to the CPU 19 through the bus 23, and can convert a request from the CPU 19 into a radio signal and output it. The first communication unit 15 and the second communication unit 16 receive a radio signal transmitted from the display device 30 (50), convert the radio signal into an electric signal, and then perform the CPU 19 through the bus 23. Can be sent to.

また、ユーザ端末10がミラーリング処理を行う場合、第1の通信部15と第2の通信部16とは、映像データが合成された無線信号を送受信する。即ち、無線LAN等を通じて送信された無線信号は、第1の通信部15により受信される。第1の通信部15は、無線信号から映像信号を抽出すると、この映像信号をアナログ・デジタル変換し、バス23を通じてバッファメモリ22に出力する。CPU19は、バッファメモリ22に記録された映像データを読み出すと、この映像データを第2の通信部16を通じて、表示装置30(50)に転送する。   In addition, when the user terminal 10 performs the mirroring process, the first communication unit 15 and the second communication unit 16 transmit and receive a wireless signal in which video data is combined. That is, a wireless signal transmitted through a wireless LAN or the like is received by the first communication unit 15. When the first communication unit 15 extracts the video signal from the wireless signal, the first communication unit 15 performs analog / digital conversion on the video signal and outputs the video signal to the buffer memory 22 through the bus 23. When the CPU 19 reads the video data recorded in the buffer memory 22, the CPU 19 transfers the video data to the display device 30 (50) through the second communication unit 16.

さらに、第1の通信部15と第2の通信部16には、信号強度を検出する機能を備えている。例えば、信号強度を測定する機能としては、RSSI(Received Signal Strength Indicator)である。   Furthermore, the first communication unit 15 and the second communication unit 16 have a function of detecting signal strength. For example, the function of measuring signal strength is RSSI (Received Signal Strength Indicator).

操作部17は、ユーザによる操作を受付けるタッチパネルや、操作キーを備える。
動きセンサ18は、ユーザ端末10を移動させた場合に、ユーザ端末10の動き量の変化を検出することができる。
The operation unit 17 includes a touch panel that receives an operation by the user and operation keys.
The motion sensor 18 can detect a change in the amount of motion of the user terminal 10 when the user terminal 10 is moved.

また、メモリ21には、アプリケーションプログラムAPと、登録テーブルRDとが記録されている。CPU19は、アプリケーションプログラムAPをRAM20に展開して実行することで、図2に示す、要求部11、判定部12、接続設定部13、通信制御部14の各機能を実現する。
また、登録テーブルRDには、WiFiダイレクト通信を行う対象である表示装置30、50の登録情報を記録している。例えば、登録テーブルRDには、デバイス名、デバイスのMACアドレス、デバイスタイプをそれぞれ記録している。
In the memory 21, an application program AP and a registration table RD are recorded. The CPU 19 implements the functions of the request unit 11, the determination unit 12, the connection setting unit 13, and the communication control unit 14 illustrated in FIG. 2 by developing and executing the application program AP in the RAM 20.
The registration table RD records registration information of the display devices 30 and 50 that are targets of WiFi direct communication. For example, a device name, a device MAC address, and a device type are recorded in the registration table RD.

図4は、表示装置30(50)のハードウェア構成を示す図である。表示装置30は、第3の通信部34、第4の通信部35、CPU36、RAM37、ROM38、ディスプレイコントローラ39、バッファメモリ40、表示ディスプレイ41、バス42とを備える。   FIG. 4 is a diagram illustrating a hardware configuration of the display device 30 (50). The display device 30 includes a third communication unit 34, a fourth communication unit 35, a CPU 36, a RAM 37, a ROM 38, a display controller 39, a buffer memory 40, a display display 41, and a bus 42.

第3の通信部34と、第4の通信部35とは、共に、WiFiダイレクトに準じた無線通信を行うことができる。第3の通信部34と、第4の通信部35とは、バス42を通じてCPU36に接続されている。そのため、第3の通信部34と、第4の通信部35とは、CPU36から出力された要求を無線信号に変換して出力することができる。また、第3の通信部34と、第4の通信部35とは、ユーザ端末10から送信された無線信号を受信し、この無線信号を電気信号に変換した後、バス42を通じてCPU36に送信することができる。   Both the third communication unit 34 and the fourth communication unit 35 can perform wireless communication according to WiFi Direct. The third communication unit 34 and the fourth communication unit 35 are connected to the CPU 36 through the bus 42. Therefore, the third communication unit 34 and the fourth communication unit 35 can convert the request output from the CPU 36 into a radio signal and output it. The third communication unit 34 and the fourth communication unit 35 receive a radio signal transmitted from the user terminal 10, convert the radio signal into an electric signal, and then transmit the radio signal to the CPU 36 through the bus 42. be able to.

また、表示装置30(50)がユーザ端末10とのあいだでミラーリングを行う場合、ユーザ端末10から送信された無線信号は、第4の通信部35により受信される。そして、第4の通信部35は、無線信号から映像信号を抽出すると、この映像信号をアナログ・デジタル変換し、バス42を通じてバッファメモリ40に出力する。   In addition, when the display device 30 (50) performs mirroring with the user terminal 10, the wireless signal transmitted from the user terminal 10 is received by the fourth communication unit 35. Then, when the fourth communication unit 35 extracts the video signal from the wireless signal, the fourth communication unit 35 performs analog / digital conversion on the video signal and outputs the video signal to the buffer memory 40 through the bus 42.

そして、ディスプレイコントローラ39は、バッファメモリ40から映像データを読み出し、読み出した映像データをもとに駆動信号を生成する。駆動信号は、表示ディスプレイ41を駆動するためのアナログ信号である。表示ディスプレイ41は、例えば、液晶表示ディスプレイであり、解像度に応じた数の画素を縦横に配列している。そして、表示ディスプレイ41は、ディスプレイコントローラ39から出力された駆動信号をもとに画素を駆動し、映像を表示する。   Then, the display controller 39 reads the video data from the buffer memory 40 and generates a drive signal based on the read video data. The drive signal is an analog signal for driving the display display 41. The display 41 is a liquid crystal display, for example, and has a number of pixels arranged vertically and horizontally according to the resolution. Then, the display 41 drives the pixels based on the drive signal output from the display controller 39 and displays an image.

ROM38には、図示しないプログラムが記録されている。CPU36がROM38に記録されたプログラムをRAM37に展開して実行することで、図2に示した、応答部31、接続設定部32、通信制御部33の各機能を実現する。   The ROM 38 stores a program (not shown). The CPU 36 develops and executes the program recorded in the ROM 38 in the RAM 37, thereby realizing the functions of the response unit 31, the connection setting unit 32, and the communication control unit 33 shown in FIG.

(2)無線LAN構築処理
図5は、通信システム100により実現される無線LAN構築処理を説明するフローチャートである。
(2) Wireless LAN Construction Process FIG. 5 is a flowchart for explaining the wireless LAN construction process realized by the communication system 100.

図5に示す処理では、まず、ユーザ端末10は、表示装置30、50の登録を行う(ステップS1:登録処理)。この登録処理では、ユーザ端末10が記録する登録テーブルRDに表示装置30、50の登録情報が記録される。例えば、ユーザ端末10と表示装置30、50とのあいだで、ビーコンを用いた通信処理が行なわれ、デバイス名、MACアドレス、デバイスタイプが登録テーブルRDに記録される。なお、登録処理の方法は、これ以外にも、どのようなものであってもよい。   In the process shown in FIG. 5, first, the user terminal 10 registers the display devices 30 and 50 (step S1: registration process). In this registration process, the registration information of the display devices 30 and 50 is recorded in the registration table RD recorded by the user terminal 10. For example, communication processing using a beacon is performed between the user terminal 10 and the display devices 30 and 50, and the device name, MAC address, and device type are recorded in the registration table RD. Note that any other registration method may be used.

次に、ユーザ端末10は、登録テーブルRDに記録された表示装置30、50のそれぞれに接続要求を行う(ステップS2)。次に、ユーザ端末10は、接続要求に応じて表示装置30、50から返信された接続用信号(プローブレスポンス)の信号強度の比較結果をもとに接続対象となる表示装置30(50)が判定される(ステップS3)。次に、ユーザ端末10は、ステップS3で判定された接続対象と接続設定を行なう(ステップS4)   Next, the user terminal 10 makes a connection request to each of the display devices 30 and 50 recorded in the registration table RD (step S2). Next, the user terminal 10 determines that the display device 30 (50) to be connected is based on the comparison result of the signal strength of the connection signal (probe response) returned from the display devices 30 and 50 in response to the connection request. Determination is made (step S3). Next, the user terminal 10 performs connection setting with the connection target determined in step S3 (step S4).

そして、表示装置との接続が完了し、ユーザがユーザ端末10を操作してミラーリング処理の実行を選択した場合(ステップS5:YES)、ユーザ端末10と、表示装置30(50)とのあいだでミラーリング処理が行われる(ステップS6)。   When the connection with the display device is completed and the user selects to execute the mirroring process by operating the user terminal 10 (step S5: YES), between the user terminal 10 and the display device 30 (50). A mirroring process is performed (step S6).

次に、図5のステップS2−S4で示した各処理について詳細に説明する。図6、図7は、ユーザ端末と表示装置とのあいだで行なわれる処理を説明するシーケンス図である。図6、図7に示す処理は、図5のステップS2−S4で行われる処理の一例を具体的に示すものである。   Next, each process shown in steps S2-S4 of FIG. 5 will be described in detail. 6 and 7 are sequence diagrams illustrating processing performed between the user terminal and the display device. The processing shown in FIGS. 6 and 7 specifically shows an example of the processing performed in steps S2 to S4 in FIG.

まず、登録処理が完了すると(図5のステップS1)、ユーザ端末10は、最寄りのデバイスに対して接続要求を開示する(ステップS2)。
接続要求では、まず、ユーザ端末10から、第1の通信部15を用いた接続要求(接続リクエスト)が周辺の機器に出力される。この接続要求では、まず、ユーザ端末10のCPU19(要求部11)は、第1の通信部15に対して接続リクエストを要求する(ステップS2−1)。この接続リクエストは、ユーザ端末10の通信可能領域に位置するシンクデバイス(表示装置30、50)に対して接続レスポンスを返信させる無線信号である。そのため、第1の通信部15は、CPU19からの要求に応じて、接続リクエストを出力する(ステップS2−2)。
First, when the registration process is completed (step S1 in FIG. 5), the user terminal 10 discloses a connection request to the nearest device (step S2).
In the connection request, first, a connection request (connection request) using the first communication unit 15 is output from the user terminal 10 to peripheral devices. In this connection request, first, the CPU 19 (request unit 11) of the user terminal 10 requests a connection request from the first communication unit 15 (step S2-1). This connection request is a radio signal that returns a connection response to the sink devices (display devices 30 and 50) located in the communicable area of the user terminal 10. Therefore, the first communication unit 15 outputs a connection request in response to a request from the CPU 19 (step S2-2).

表示装置30、50では、第3の通信部34は、接続リクエストを受信すると、CPU36に接続レスポンスを送信する(ステップS2−3)。CPU36(応答部31)は、接続リクエストを受信すると、第3の通信部34に対して接続レスポンスを要求する(ステップS2−4)。接続レスポンスは、ユーザ端末10に対して接続許可を通知する無線信号である。そのため、第3の通信部34は、ユーザ端末10宛ての接続レスポンスを出力する(ステップS2−5)。   In the display devices 30 and 50, when receiving the connection request, the third communication unit 34 transmits a connection response to the CPU 36 (step S2-3). When receiving the connection request, the CPU 36 (response unit 31) requests a connection response from the third communication unit 34 (step S2-4). The connection response is a radio signal that notifies the user terminal 10 of connection permission. Therefore, the third communication unit 34 outputs a connection response addressed to the user terminal 10 (step S2-5).

ユーザ端末10では、第1の通信部15は接続レスポンスを受信すると、CPU19へ接続レスポンスを送信する(ステップS2−6)。また、第1の通信部15は接続レスポンスとともに、この接続レスポンスの信号強度をCPU19へ返信する。接続レスポンスを受信したCPU19(判定部12)は、接続レスポンスの信号強度をもとに、接続先となるシンクデバイス(表示装置30、50)を判定する(ステップS3)。   In the user terminal 10, when the first communication unit 15 receives the connection response, the first communication unit 15 transmits the connection response to the CPU 19 (step S2-6). The first communication unit 15 returns the signal strength of the connection response to the CPU 19 together with the connection response. The CPU 19 (determination unit 12) that has received the connection response determines the sink device (display devices 30 and 50) that is the connection destination based on the signal strength of the connection response (step S3).

図8は、ステップS3において実行される判定処理を説明する図である。図8は、横軸を時間とし、縦軸を接続レスポンスの信号強度(振幅)としたグラフである。図8(a)は、表示装置30から出力された接続レスポンスの変化を示す。また、図8(b)は、表示装置50から出力された接続レスポンスの変化を示す。図8(a)に示す接続レスポンスは時間の経過とともに、信号強度が増加している。一方、図8(b)に示す接続レスポンスは時間の経過とともに、信号強度が低下している。これは、図1に示したように、ユーザが部屋Bから部屋Aに移動することで、ユーザ端末10と表示装置30の距離が近づき、一方で、ユーザ端末10と表示装置50との距離が遠ざかっているためである。   FIG. 8 is a diagram illustrating the determination process executed in step S3. FIG. 8 is a graph in which the horizontal axis represents time and the vertical axis represents the signal strength (amplitude) of the connection response. FIG. 8A shows a change in connection response output from the display device 30. FIG. 8B shows a change in connection response output from the display device 50. In the connection response shown in FIG. 8A, the signal strength increases with time. On the other hand, in the connection response shown in FIG. 8B, the signal strength decreases with time. As shown in FIG. 1, when the user moves from the room B to the room A, the distance between the user terminal 10 and the display device 30 approaches, while the distance between the user terminal 10 and the display device 50 increases. This is because they are moving away.

CPU19(判定部12)は、信号強度の変化をもとに、接続対象となる表示装置を判定する。この第1の実施形態では、判定部12は、信号強度が許容可能な閾値以上であって、時間とともに増加する接続レスポンスを出力する表示装置(図8では、表示装置30)を接続対象と判定する。即ち、信号強度の比較では、表示装置50からの接続レスポンスが表示装置30からの接続レスポンスと比べて高い場合でも、信号強度接続が増加する(図8(a))方の接続レスポンスを判定する。   CPU19 (determination part 12) determines the display apparatus used as connection object based on the change of signal strength. In the first embodiment, the determination unit 12 determines that a display device (in FIG. 8, the display device 30) that outputs a connection response that has a signal strength that is greater than or equal to an acceptable threshold and increases with time is a connection target. To do. That is, in the comparison of the signal strength, even when the connection response from the display device 50 is higher than the connection response from the display device 30, the connection response in which the signal strength connection is increased (FIG. 8A) is determined. .

判定処理(ステップS3)により、接続対象の表示装置(この例では、表示装置30)が決定すると、ユーザ端末10のCPU19(接続設定部13)は、無線通信を行うための接続設定を行なう(図5:ステップS4)。この接続設定では、まず、CPU19(接続設定部13)は、SSID(Service Set Identifier)を作成する。そして、CPU19(接続設定部13)は、作成したSSID、パスワード、IPアドレス等、無線通信に必要な設定情報をメモリ21に記録する(ステップS4−1)。
ここで、SSIDは、ユーザ端末10と表示装置30との間で構築される無線LANを識別するための情報である。
When the display device to be connected (display device 30 in this example) is determined by the determination process (step S3), the CPU 19 (connection setting unit 13) of the user terminal 10 performs connection setting for performing wireless communication ( FIG. 5: Step S4). In this connection setting, first, the CPU 19 (connection setting unit 13) creates an SSID (Service Set Identifier). Then, the CPU 19 (connection setting unit 13) records setting information necessary for wireless communication such as the created SSID, password, and IP address in the memory 21 (step S4-1).
Here, the SSID is information for identifying a wireless LAN constructed between the user terminal 10 and the display device 30.

次に、CPU19(接続設定部13)は、無線層レベルでの無線LANを構築したことを通知する通知信号の送信を第2の通信部16に対して要求する(ステップS4−2)第2の通信部16は、表示装置30宛ての通知信号を出力する(ステップS4−3)。   Next, the CPU 19 (connection setting unit 13) requests the second communication unit 16 to transmit a notification signal notifying that a wireless LAN has been established at the wireless layer level (step S4-2). The communication unit 16 outputs a notification signal addressed to the display device 30 (step S4-3).

この後、CPU19(接続設定部13)は、WPS(Wi-Fi Protected Setup)方式によるセキュリティ情報設定を開始する(ステップS4−4)。そのため、ユーザ端末10と表示装置30とのあいだでセキュリティ設定が行われる(ステップS4−5)。
このようにして、ユーザ端末10と表示装置30とのあいだで、無線LANが構築される。
Thereafter, the CPU 19 (connection setting unit 13) starts security information setting by a WPS (Wi-Fi Protected Setup) method (step S4-4). Therefore, security setting is performed between the user terminal 10 and the display device 30 (step S4-5).
In this way, a wireless LAN is established between the user terminal 10 and the display device 30.

その後、ユーザがミラーリング処理を選択すると(図5、ステップS5:YES)、ユーザ端末10の通信制御部14と、表示装置30の通信制御部33とのあいだで、第2の通信部16と、第4の通信部35を用いたミラーリング処理が行われる(図5、ステップS6)。   Thereafter, when the user selects the mirroring process (FIG. 5, step S5: YES), the second communication unit 16 between the communication control unit 14 of the user terminal 10 and the communication control unit 33 of the display device 30; Mirroring processing using the fourth communication unit 35 is performed (FIG. 5, step S6).

以上説明したように、この第1の実施形態では、ユーザ端末(ソースデバイス)10を移動させた場合でも、周囲のシンクデバイスから出力される接続用信号の信号強度を比較して、最寄りのシンクデバイスと接続することができる。
また、接続用信号の信号強度の変化をもとに比較を行い、前記信号強度が増加する前記接続用信号を出力するシンクデバイスを接続対象とすることで、ユーザの動きに応じて、最適なデバイスを接続対象とすることができる。
As described above, in the first embodiment, even when the user terminal (source device) 10 is moved, the signal strengths of the connection signals output from the surrounding sink devices are compared, and the nearest sink Can connect with device.
In addition, a comparison is made based on a change in the signal strength of the connection signal, and the sink device that outputs the connection signal whose signal strength increases is selected as the connection target, so that an optimal response can be made according to the user's movement. Devices can be connected.

2.第2の実施形態:
この第2の実施形態では、表示装置30、50が待機モード中は、所定周期でビーコンを出力し、ユーザ端末10はビーコンを検出した場合に、接続要求を行う構成が第1の実施形態と異なる。
2. Second embodiment:
In the second embodiment, when the display devices 30 and 50 are in the standby mode, a beacon is output at a predetermined cycle, and the user terminal 10 is configured to make a connection request when detecting a beacon as in the first embodiment. Different.

図9は、第2の実施形態の通信システムを説明する図である。この第2の実施形態においても、室内には、ユーザ端末10と、表示装置30、50とが位置している。また、ユーザ端末10と、表示装置30、50とは、WiFiダイレクトに準じた無線通信を行うことができる。また、表示装置30、50は、所定の条件が成立した場合に、通常モードから、この通常モードと比べて電力消費が低い待機モードに切替えることができる。この待機モードでは、表示装置30、50は、接続レスポンスと比べて無線信号の出力レベルが弱いビーコンBEを出力する。このビーコンは、所定周期で第3の通信部34から出力される。また、ビーコンBEには、表示装置30(50)のMACアドレスが含まれる。   FIG. 9 is a diagram illustrating the communication system according to the second embodiment. Also in the second embodiment, the user terminal 10 and the display devices 30 and 50 are located in the room. Further, the user terminal 10 and the display devices 30 and 50 can perform wireless communication according to WiFi direct. In addition, the display devices 30 and 50 can switch from the normal mode to the standby mode in which power consumption is lower than that in the normal mode when a predetermined condition is satisfied. In this standby mode, the display devices 30 and 50 output a beacon BE whose wireless signal output level is weaker than the connection response. The beacon is output from the third communication unit 34 at a predetermined cycle. Further, the beacon BE includes the MAC address of the display device 30 (50).

図10は、第2の実施形態において、ユーザ端末10と表示装置30、50とのあいだで行なわれる処理(接続要求)を説明するシーケンス図である。ユーザ端末10は、第1の実施形態同様、無線LAN構築処理を行なう(図5)。そして、図10に示す処理は、無線LAN構築処理の内、接続要求を詳細に示している。   FIG. 10 is a sequence diagram illustrating a process (connection request) performed between the user terminal 10 and the display devices 30 and 50 in the second embodiment. As with the first embodiment, the user terminal 10 performs wireless LAN construction processing (FIG. 5). The process shown in FIG. 10 shows the connection request in detail in the wireless LAN construction process.

まず、表示装置30、50は、待機モードであるため、第3の通信部34からはビーコンBEが出力されている(ステップS12−1)。そのため、第1の通信部15がビーコンBEを受信すると、第1の通信部15は、ユーザ端末10のCPU19(要求部11)に出力する(ステップS12−2)。   First, since the display devices 30 and 50 are in the standby mode, the beacon BE is output from the third communication unit 34 (step S12-1). For this reason, when the first communication unit 15 receives the beacon BE, the first communication unit 15 outputs the beacon BE to the CPU 19 (request unit 11) of the user terminal 10 (step S12-2).

CPU19(要求部11)は、ビーコンBEに含まれるMACアドレスを解析する(ステップS12−3)。そして、解析されたMACアドレスが登録テーブルRDに含まれているMACアドレスと一致する場合、CPU19(要求部11)は、第1の通信部15に対して接続リクエストを要求する(ステップS12−4)。そのため、第1の通信部15は、CPU19からの要求に応じて、接続リクエストを出力する(ステップS12−5)。   The CPU 19 (request unit 11) analyzes the MAC address included in the beacon BE (step S12-3). When the analyzed MAC address matches the MAC address included in the registration table RD, the CPU 19 (request unit 11) requests a connection request from the first communication unit 15 (step S12-4). ). Therefore, the first communication unit 15 outputs a connection request in response to a request from the CPU 19 (step S12-5).

表示装置30、50では、第3の通信部34は、接続リクエストを受信すると、CPU36に接続レスポンスを送信する(ステップS12−6)。接続レスポンスを受信することで、CPU36は待機モードから通常モードに復帰する(ステップS12−7)。そして、CPU36(応答部31)は、第3の通信部34に対して接続レスポンスを要求する(ステップS12−8)。そのため、第3の通信部34は、ユーザ端末10宛ての接続レスポンスを出力する(ステップS12−9)。   In the display devices 30 and 50, when receiving the connection request, the third communication unit 34 transmits a connection response to the CPU 36 (step S12-6). By receiving the connection response, the CPU 36 returns from the standby mode to the normal mode (step S12-7). Then, the CPU 36 (response unit 31) requests a connection response to the third communication unit 34 (step S12-8). Therefore, the 3rd communication part 34 outputs the connection response addressed to the user terminal 10 (step S12-9).

ユーザ端末10では、第1の通信部15は接続レスポンスを受信すると、CPU19へ接続レスポンスを送信する(ステップS12−10)。また、第1の通信部15は接続レスポンスとともに、この接続レスポンスの信号強度をCPU19へ返信する。接続レスポンスを受信したCPU19(判定部12)は、接続レスポンスの信号強度をもとに、接続先となるシンクデバイス(表示装置30、50)を判定する(ステップS3)。   In the user terminal 10, when the first communication unit 15 receives the connection response, the first communication unit 15 transmits the connection response to the CPU 19 (step S12-10). The first communication unit 15 returns the signal strength of the connection response to the CPU 19 together with the connection response. The CPU 19 (determination unit 12) that has received the connection response determines the sink device (display devices 30 and 50) that is the connection destination based on the signal strength of the connection response (step S3).

この第2の実施形態においても、第1の実施形態同様、接続レスポンスの信号強度に応じて、接続対象となる表示装置が判定される(ステップS3)。そして、第1の実施形態と同様に、ユーザ端末10のCPU19(接続設定部13)は、接続対象のシンクデバイスとのあいだで、無線通信を行うための接続設定を行なう(図5、S4)。そして、ユーザ端末10と表示装置30とのあいだで、無線LANが構築されると、第2の通信部16と、第4の通信部35を介したミラーリング処理が開始される(図5、ステップS5、S6)。   Also in the second embodiment, as in the first embodiment, the display device to be connected is determined according to the signal strength of the connection response (step S3). Then, as in the first embodiment, the CPU 19 (connection setting unit 13) of the user terminal 10 performs connection setting for performing wireless communication with the sink device to be connected (FIG. 5, S4). . Then, when a wireless LAN is established between the user terminal 10 and the display device 30, a mirroring process via the second communication unit 16 and the fourth communication unit 35 is started (FIG. 5, step). S5, S6).

以上説明したようにこの第2の実施形態では、シンクデバイスが待機モードとなっている場合でも、ソースデバイスは最寄りのシンクデバイスと接続設定を行なうことができる。   As described above, in the second embodiment, even when the sink device is in the standby mode, the source device can set the connection with the nearest sink device.

3.第3の実施形態:
この第3の実施形態では、ユーザ端末10は、信号強度に応じて、接続されているシンクデバイスを切替える構成が他の実施形態と異なる。
3. Third embodiment:
In the third embodiment, the user terminal 10 is different from the other embodiments in the configuration for switching the connected sink device in accordance with the signal strength.

図11は、第3の実施形態にかかる通信システム100を説明する図である。図11では、室内には、ユーザ端末10と、表示装置30、50とが位置している。部屋Aには、ユーザ端末10と表示装置30とが位置している。そして、ユーザ端末10と表示装置(第1のシンクデバイス)30とのあいだには、Wi−Fiダイレクトに準じた無線LANが構築されており、ユーザ端末10から表示装置30に映像データが配信(ミラーリング)されている。また、部屋Bには、表示装置(第2のシンクデバイス)50が位置している。   FIG. 11 is a diagram illustrating the communication system 100 according to the third embodiment. In FIG. 11, the user terminal 10 and the display devices 30 and 50 are located in the room. In the room A, the user terminal 10 and the display device 30 are located. A wireless LAN according to Wi-Fi Direct is established between the user terminal 10 and the display device (first sink device) 30, and video data is distributed from the user terminal 10 to the display device 30 ( Mirroring). In the room B, the display device (second sink device) 50 is located.

図11に示した状態で、ユーザがユーザ端末10を保持したまま部屋Aから部屋Bに移動したとする。この第3の実施形態では、ユーザ端末10は、無線LANの接続先を表示装置30から表示装置50へと自動で切替える。   Assume that the user moves from room A to room B while holding the user terminal 10 in the state shown in FIG. In the third embodiment, the user terminal 10 automatically switches the wireless LAN connection destination from the display device 30 to the display device 50.

図12は、第3の実施形態における処理を説明するフローチャートである。図12に示すフローチャートは、動きセンサ18がユーザ端末10の動き量を検出した場合に実行される。   FIG. 12 is a flowchart for explaining processing in the third embodiment. The flowchart shown in FIG. 12 is executed when the motion sensor 18 detects the amount of motion of the user terminal 10.

まず、ユーザ端末10は、登録テーブルRDに記録された表示装置30、50に対して接続要求を行う(ステップS21)。次に、ユーザ端末10は、接続要求に応じて表示装置30、50から返信された接続レスポンスをもとに接続対象の判定が行われる(ステップS22)。次に、ユーザ端末10は、ステップS22で判定された接続対象が、現在の接続対象と異なる場合(ステップS23:YES)、新たな接続対象と接続設定を行なう(ステップS24)。即ち、接続対象が切り替えられる。一方、判定された接続対象が、現在の接続対象と同じ場合(ステップS23:NO)、接続対象の切り替えは行われない。図11において、表示装置30とユーザ端末10との距離が、表示装置50とユーザ端末10との距離に比べて近ければ、ユーザ端末10と表示装置30との接続は維持される。   First, the user terminal 10 makes a connection request to the display devices 30 and 50 recorded in the registration table RD (step S21). Next, the user terminal 10 determines the connection target based on the connection response returned from the display devices 30 and 50 in response to the connection request (step S22). Next, when the connection target determined in step S22 is different from the current connection target (step S23: YES), the user terminal 10 performs connection setting with a new connection target (step S24). That is, the connection target is switched. On the other hand, when the determined connection target is the same as the current connection target (step S23: NO), the connection target is not switched. In FIG. 11, if the distance between the display device 30 and the user terminal 10 is shorter than the distance between the display device 50 and the user terminal 10, the connection between the user terminal 10 and the display device 30 is maintained.

そして、接続が完了した後、ユーザ端末10から表示装置30(50)に対して映像データが転送されるミラーリング処理が再開される(ステップS25)。   Then, after the connection is completed, the mirroring process in which the video data is transferred from the user terminal 10 to the display device 30 (50) is resumed (step S25).

図13、図14は、図12の接続要求(ステップS21)、接続の対象の判定(ステップS22)において、ユーザ端末10と表示装置30、50とのあいだで行なわれる処理を示すシーケンスである。なお、図13、図14では、ユーザ端末10の接続先が表示装置30から表示装置50へ切替えられる場合を例に説明する。   13 and 14 are sequences showing processing performed between the user terminal 10 and the display devices 30 and 50 in the connection request (step S21) and the connection target determination (step S22) in FIG. 13 and 14, the case where the connection destination of the user terminal 10 is switched from the display device 30 to the display device 50 will be described as an example.

図13において、接続要求(ステップS21)では、まず、ユーザ端末10のCPU19(要求部11)は、第1の通信部15に対して接続リクエストを要求する(ステップS21−1)。この接続リクエストは、表示装置50に加えて、現在、ユーザ端末10と接続が行われている表示装置30に対しても行われる。第1の通信部15は、CPU19からの要求に応じて、接続リクエストを出力する(ステップS21−2)。   In FIG. 13, in the connection request (step S21), first, the CPU 19 (request unit 11) of the user terminal 10 requests the first communication unit 15 for a connection request (step S21-1). This connection request is made to the display device 30 that is currently connected to the user terminal 10 in addition to the display device 50. The first communication unit 15 outputs a connection request in response to a request from the CPU 19 (step S21-2).

表示装置30、50では、第3の通信部34は、接続リクエストを受信すると、CPU36に接続レスポンスを送信する(ステップS21−3)。CPU36(応答部31)は、接続リクエストを受信すると、第3の通信部34に対して接続レスポンスを要求する(ステップS21−4)。そのため、第3の通信部34は、ユーザ端末10宛ての接続レスポンスを出力する(ステップS21−5)。   In the display devices 30 and 50, when receiving the connection request, the third communication unit 34 transmits a connection response to the CPU 36 (step S21-3). When receiving the connection request, the CPU 36 (response unit 31) requests a connection response from the third communication unit 34 (step S21-4). Therefore, the 3rd communication part 34 outputs the connection response addressed to the user terminal 10 (step S21-5).

なお、この状態でも、ユーザ端末10と表示装置30とのあいだでは、第2の通信部16と第4の通信部35とを用いた無線LANの接続を維持している。   Even in this state, the wireless LAN connection using the second communication unit 16 and the fourth communication unit 35 is maintained between the user terminal 10 and the display device 30.

ユーザ端末10では、第1の通信部15は接続レスポンスを受信すると、CPU19へ接続レスポンスを送信する(ステップS21−6)。接続レスポンスを受信したCPU19(判定部12)は、接続レスポンスの信号強度をもとに、接続先を切替えるか否かの判定を行う(ステップS22、S23)。以下、判定結果により、無線LANの接続を表示装置30から表示装置50に切替える場合を例に説明する。   In the user terminal 10, when the first communication unit 15 receives the connection response, the first communication unit 15 transmits the connection response to the CPU 19 (step S21-6). The CPU 19 (determination unit 12) that has received the connection response determines whether to switch the connection destination based on the signal strength of the connection response (steps S22 and S23). Hereinafter, a case where the wireless LAN connection is switched from the display device 30 to the display device 50 based on the determination result will be described as an example.

判定処理(ステップS22、S23)により、接続対象を切替える場合(この例では、表示装置30から表示装置50へ接続対象を切替える場合)、ユーザ端末10のCPU19(接続設定部13)は、接続対象の切り替え処理が行われる(ステップS24)。   When the connection target is switched by the determination process (steps S22 and S23) (in this example, the connection target is switched from the display device 30 to the display device 50), the CPU 19 (connection setting unit 13) of the user terminal 10 Is switched (step S24).

図14に示すように、切り替え処理では、まず、CPU19(接続設定部13)は、第2の通信部16に対して、ユーザ端末10と表示装置30とのあいだの無線LANの切断を要求する(ステップS24−1)。そのため、第2の通信部16は、ユーザ端末10の第4の通信部35とのあいだで構築された無線LANを切断する(ステップS24−2)。   As illustrated in FIG. 14, in the switching process, first, the CPU 19 (connection setting unit 13) requests the second communication unit 16 to disconnect the wireless LAN between the user terminal 10 and the display device 30. (Step S24-1). For this reason, the second communication unit 16 disconnects the wireless LAN established with the fourth communication unit 35 of the user terminal 10 (step S24-2).

次に、ユーザ端末10のCPU19(接続設定部13)は、新たな接続対象となる表示装置50に対してSSIDを作成する。そして、CPU19(接続設定部13)は、作成したSSID、パスワード、IPアドレス等、無線通信に必要な設定情報をメモリ21に記録する(ステップS24−3)。   Next, the CPU 19 (connection setting unit 13) of the user terminal 10 creates an SSID for the display device 50 to be newly connected. Then, the CPU 19 (connection setting unit 13) records setting information necessary for wireless communication such as the created SSID, password, and IP address in the memory 21 (step S24-3).

次に、CPU19(接続設定部13)は、無線層レベルでの無線LANを構築したことを通知する通知信号の送信を第2の通信部16に対して要求する(ステップS24−4)。そのため、第2の通信部16は、表示装置50宛ての通知信号を出力する(ステップS24−5)。   Next, the CPU 19 (connection setting unit 13) requests the second communication unit 16 to transmit a notification signal notifying that a wireless LAN at the wireless layer level has been constructed (step S24-4). Therefore, the second communication unit 16 outputs a notification signal addressed to the display device 50 (step S24-5).

この後、CPU19(接続設定部13)は、WPS(Wi-Fi Protected Setup)方式によるセキュリティ情報設定を開始する(ステップS24−6)。そのため、ユーザ端末10と表示装置50とのあいだでセキュリティ設定が行われる(ステップS24−7)。   Thereafter, the CPU 19 (connection setting unit 13) starts security information setting by the WPS (Wi-Fi Protected Setup) method (step S24-6). Therefore, security setting is performed between the user terminal 10 and the display device 50 (step S24-7).

このようにして、ユーザ端末10と表示装置50とのあいだで、Wi−Fiダイレクトに応じた無線LANが構築されると、第2の通信部16と、第4の通信部35を介したミラーリング処理が再開される(図12、ステップS25)。   In this way, when a wireless LAN corresponding to Wi-Fi Direct is established between the user terminal 10 and the display device 50, mirroring via the second communication unit 16 and the fourth communication unit 35 is performed. The processing is resumed (FIG. 12, step S25).

以上説明したように、この第3の実施形態では、ソースデバイスがシンクデバイスと接続行している場合でも、ユーザの移動とともに、他のシンクデバイスへ接続を切替えることができる。その結果、ユーザが接続切り替えのための操作を行う必要がなく、ユーザの負担を軽減することができる。   As described above, in the third embodiment, even when the source device is connected to the sink device, the connection can be switched to another sink device as the user moves. As a result, it is not necessary for the user to perform an operation for switching connections, and the burden on the user can be reduced.

4.その他の実施形態:
本発明は、様々な実施形態が存在する。
ソースデバイスとしてユーザ端末を用い、シンクデバイスとして表示装置を用いたことは一例に過ぎない。例えば、ソースデバイスが表示装置であり、表示装置間で映像データを受け渡すものであってもよい。
ピアツーピアの無線通信としてWiFiダイレクトを用いたことは一例に過ぎない。
第1の通信部と、第2の通信部との役割は、CPUにより変更されるものであってもよい。
4). Other embodiments:
There are various embodiments of the present invention.
The use of a user terminal as a source device and a display device as a sink device is merely an example. For example, the source device may be a display device, and video data may be transferred between the display devices.
The use of WiFi Direct for peer-to-peer wireless communication is only an example.
The roles of the first communication unit and the second communication unit may be changed by the CPU.

なお、本発明は上記実施例に限られるものでないことは言うまでもない。
即ち、
上記実施例の中で開示した相互に置換可能な部材および構成等を適宜その組み合わせを変更して適用すること、
上記実施例の中で開示されていないが、公知技術であって上記実施例の中で開示した部材および構成等と相互に置換可能な部材および構成等を適宜置換し、またその組み合わせを変更して適用すること、
上記実施例の中で開示されていないが、公知技術等に基づいて当業者が上記実施例の中で開示した部材および構成等の代用として想定し得る部材および構成等と適宜置換し、またその組み合わせを変更して適用すること、
は本発明の一実施例として開示されるものである。
Needless to say, the present invention is not limited to the above embodiments.
That is,
Applying the combination of the mutually replaceable members and configurations disclosed in the above embodiments as appropriate,
Although not disclosed in the above embodiments, members and configurations that are known techniques and can be mutually replaced with members and configurations disclosed in the above embodiments are appropriately replaced, and combinations thereof are changed. Apply
Although not disclosed in the above-described embodiments, those skilled in the art will appropriately replace the members and configurations that can be assumed by those skilled in the art as substitutes for the members and configurations disclosed in the above-described embodiments. Changing and applying combinations,
Is disclosed as an embodiment of the present invention.

10…ユーザ端末、11…要求部、12…判定部、13…接続設定部、14…通信制御部、15…第1の通信部、16…第2の通信部、17…操作部、18…動きセンサ、19…CPU、20…RAM、21…メモリ、22…バッファメモリ、23…バス、30…表示装置、31…応答部、32…接続設定部、33…通信制御部、34…第3の通信部、35…第4の通信部、36…CPU、37…RAM、38…ROM、39…ディスプレイコントローラ、40…バッファメモリ、41…表示ディスプレイ、42…バス、50…表示装置、100…通信システム、AP…アプリケーションプログラム   DESCRIPTION OF SYMBOLS 10 ... User terminal, 11 ... Request part, 12 ... Determination part, 13 ... Connection setting part, 14 ... Communication control part, 15 ... 1st communication part, 16 ... 2nd communication part, 17 ... Operation part, 18 ... Motion sensor, 19 ... CPU, 20 ... RAM, 21 ... Memory, 22 ... Buffer memory, 23 ... Bus, 30 ... Display device, 31 ... Response unit, 32 ... Connection setting unit, 33 ... Communication control unit, 34 ... Third 35 ... fourth communication unit, 36 ... CPU, 37 ... RAM, 38 ... ROM, 39 ... display controller, 40 ... buffer memory, 41 ... display display, 42 ... bus, 50 ... display device, 100 ... Communication system, AP ... Application program

Claims (9)

シンクデバイスとピアツーピアの無線通信を行うソースデバイスであって、
前記ソースデバイスと無線通信を行う第1の通信部、及び第2の通信部と、
複数のソースデバイスに対して無線LANの接続を行うための接続用信号を前記第1の通信部に要求させる要求部と、
前記第1の通信部を通じて複数のシンクデバイスから前記接続用信号を受信した場合に、前記接続用信号の信号強度の比較結果に基づいて接続対象となるシンクデバイスを判定する判定部と、
接続対象として判定された前記シンクデバイスと前記第2の通信部を用いて無線LANの接続を行なう接続設定部と、を有することを特徴とするソースデバイス。
A source device that performs peer-to-peer wireless communication with a sink device,
A first communication unit that performs wireless communication with the source device, and a second communication unit;
A request unit that causes the first communication unit to request a connection signal for performing wireless LAN connection to a plurality of source devices;
A determination unit that determines a sink device to be connected based on a comparison result of signal strengths of the connection signals when the connection signals are received from a plurality of sink devices through the first communication unit;
A source device comprising: the sink device that is determined as a connection target; and a connection setting unit that performs a wireless LAN connection using the second communication unit.
前記判定部は、前記接続用信号の信号強度の変化をもとに比較を行い、前記信号強度が増加する前記接続用信号を出力するシンクデバイスを接続対象とする、ことを特徴とする請求項1に記載のソースデバイス。   The determination unit performs a comparison based on a change in signal strength of the connection signal, and targets a sink device that outputs the connection signal whose signal strength increases as a connection target. The source device according to 1. 前記要求部は、前記ソースデバイスから発行されるビーコンを検出した場合、前記第1の通信部に前記接続用信号の要求を行わせる、ことを特徴とする請求項1または請求項2のいずれか一項に記載のソースデバイス。   The request unit, when detecting a beacon issued from the source device, causes the first communication unit to request the connection signal. The source device according to one item. 前記ソースデバイスの動き量を検出する動き検出部を有し、
前記要求部は、前記動き検出部により前記ソースデバイスの動き量の変化が検出された場合に、前記第1の通信部に前記接続用信号の要求を行わせる、ことを特徴とする請求項1から請求項3のいずれか一項に記載のソースデバイス。
A motion detector for detecting a motion amount of the source device;
The request unit, when the change of the amount of motion of the source device is detected by the motion detection unit, makes the first communication unit request the connection signal. The source device according to claim 3.
前記接続設定部により接続された無線LANをもとに、映像データを前記シンクデバイスに送信する通信制御部を有することを特徴とする請求項1から請求項4のいずれか一項に記載のソースデバイス。   5. The source according to claim 1, further comprising a communication control unit that transmits video data to the sink device based on a wireless LAN connected by the connection setting unit. device. 前記要求部は、第1のシンクデバイスとのあいだで前記無線LANの接続後、複数のソースデバイスに対して前記接続用信号を要求し、
前記判定部は、前記接続用信号の信号強度に基づいて切替え対象となるシンクデバイスを判定し、
前記接続設定部は、前記第1のシンクデバイスとの接続を切断した後、切替え対象として判定された第2のシンクデバイスと前記第2の通信部を用いて無線LANの接続を行なう、ことを特徴とする請求項1から請求項5のいずれか一項に記載のソースデバイス。
The request unit requests the connection signal from a plurality of source devices after connection of the wireless LAN with the first sink device,
The determination unit determines a sink device to be switched based on the signal strength of the connection signal,
The connection setting unit disconnects the connection with the first sink device, and then performs a wireless LAN connection using the second sink device determined as a switching target and the second communication unit. The source device according to any one of claims 1 to 5, characterized in that:
ソースデバイスとピアツーピアの無線通信を行うシンクデバイスであって、
無線通信を行う第3の通信部、及び第4の通信部と、
前記ソースデバイスから出力された接続要求に応じて、前記ソースデバイスと前記無線通信の接続を行うための接続用信号を前記第3の通信部から出力させる応答部と、
出力した前記接続用信号にもとづいて、前記ソースデバイスから接続要求信号を受信した場合に、前記ソースデバイスと前記第4の通信部を用いて接続を行なう接続設定部と、を有することを特徴とするシンクデバイス。
A sink device that performs peer-to-peer wireless communication with a source device,
A third communication unit that performs wireless communication, and a fourth communication unit;
In response to a connection request output from the source device, a response unit that outputs a connection signal for performing wireless communication connection with the source device from the third communication unit;
A connection setting unit configured to connect with the source device using the fourth communication unit when a connection request signal is received from the source device based on the output connection signal; Sink device.
ソースデバイスに対して、シンクデバイスとのあいだでピアツーピアの無線通信の接続を行わせるプログラムであって、
前記ソースデバイスに、
複数のソースデバイスに対して無線LANの接続を行うための接続用信号を第1の通信部に要求させ、
前記第1の通信部を通じて複数のシンクデバイスから前記接続用信号を受信した場合に、前記接続用信号の信号強度の比較結果に基づいて接続対象となるシンクデバイスを判定させ、
接続対象として判定された前記シンクデバイスと第2の通信部を用いて無線LANの接続を行なわせる、ことを特徴とするプログラム。
A program that allows a source device to establish a peer-to-peer wireless communication connection with a sink device,
In the source device,
Causing the first communication unit to request a connection signal for performing wireless LAN connection to a plurality of source devices;
When the connection signals are received from a plurality of sink devices through the first communication unit, the sink device to be connected is determined based on the comparison result of the signal strength of the connection signals,
A program for causing a wireless LAN to be connected using the sink device determined as a connection target and a second communication unit.
シンクデバイスと、前記シンクデバイスとピアツーピアの無線通信を行うソースデバイスとを有する通信システムであって、
前記ソースデバイスは、
前記ソースデバイスと無線通信を行う第1の通信部、及び第2の通信部と、
複数のソースデバイスに対して前記無線通信の接続を行うための接続用信号を前記第1の通信部に要求させる要求部と、
前記第1の通信部を通じて複数のシンクデバイスから前記接続用信号を受信した場合に、前記接続用信号の信号強度の比較結果に基づいて接続対象となるシンクデバイスを判定する判定部と、
接続対象として判定された前記シンクデバイスと前記第2の通信部を用いて無線LANの接続を行なう接続設定部と、を有することを特徴とする通信システム。
A communication system comprising a sink device and a source device that performs peer-to-peer wireless communication with the sink device,
The source device is
A first communication unit that performs wireless communication with the source device, and a second communication unit;
A request unit that causes the first communication unit to request a connection signal for performing the wireless communication connection to a plurality of source devices;
A determination unit that determines a sink device to be connected based on a comparison result of signal strengths of the connection signals when the connection signals are received from a plurality of sink devices through the first communication unit;
A communication system comprising: the sink device determined as a connection target; and a connection setting unit configured to connect a wireless LAN using the second communication unit.
JP2013253853A 2013-12-09 2013-12-09 Source device, sink device, program, and communication system Pending JP2015115626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013253853A JP2015115626A (en) 2013-12-09 2013-12-09 Source device, sink device, program, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013253853A JP2015115626A (en) 2013-12-09 2013-12-09 Source device, sink device, program, and communication system

Publications (1)

Publication Number Publication Date
JP2015115626A true JP2015115626A (en) 2015-06-22

Family

ID=53529106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013253853A Pending JP2015115626A (en) 2013-12-09 2013-12-09 Source device, sink device, program, and communication system

Country Status (1)

Country Link
JP (1) JP2015115626A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017015693A (en) * 2015-06-26 2017-01-19 インテル コーポレイション Location estimation and wireless display device connection methods and device
WO2017104205A1 (en) * 2015-12-15 2017-06-22 ソニー株式会社 Information processing device, information processing method, and program
JP2017118233A (en) * 2015-12-22 2017-06-29 ソニー株式会社 Information processing device, information processing method, and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017015693A (en) * 2015-06-26 2017-01-19 インテル コーポレイション Location estimation and wireless display device connection methods and device
WO2017104205A1 (en) * 2015-12-15 2017-06-22 ソニー株式会社 Information processing device, information processing method, and program
CN108370608A (en) * 2015-12-15 2018-08-03 索尼公司 Information processing equipment, information processing method and program
CN108370608B (en) * 2015-12-15 2022-06-14 索尼公司 Information processing apparatus, information processing method, and program
US11409345B2 (en) 2015-12-15 2022-08-09 Sony Group Corporation Information processing apparatus, information processing method, and program
JP2017118233A (en) * 2015-12-22 2017-06-29 ソニー株式会社 Information processing device, information processing method, and program
CN108370542A (en) * 2015-12-22 2018-08-03 索尼公司 Information processing equipment, information processing method and program
CN108370542B (en) * 2015-12-22 2021-08-17 索尼公司 Information processing apparatus, information processing method, and program

Similar Documents

Publication Publication Date Title
JP6311755B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND COMMUNICATION SYSTEM
JP6368989B2 (en) Communication device
US9137851B2 (en) Wireless communication device for performing different wireless communications
KR20140144880A (en) Method and apparatus for registering wireless device in wireless communication system
JP6708212B2 (en) Information processing apparatus, information processing method, and program
JP2009302649A (en) Communication equipment, communication method of communication equipment, program, and storage medium
JP2015070756A (en) Power transmission device, power reception device, method of the same devices, and program
KR20120137759A (en) Apparatus and method for connecting peer to peer between a mobile terminal
JP6171297B2 (en) Wireless communication device
JP2015115626A (en) Source device, sink device, program, and communication system
JP2019062330A (en) Mobile communication device, channel scanning method and program
KR100801283B1 (en) Apparatus and method for providing service for media independent handover
WO2013153759A1 (en) Communication apparatus, communication apparatus control method, and program
JP6802716B2 (en) Communication equipment and its control method and program
JP2006050372A (en) System and method for connecting wireless lan, and access point
JP2007282129A (en) Radio information transmission system, radio communication terminal, and access point
JP7042351B2 (en) Roaming handoff method, central control device, and station
JP2015188173A (en) Wireless lan device, terminal and method
JP2016158102A (en) Communication device, communication method, and communication system
JP6315208B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND LINE SELECTION CONTROL METHOD
JP2017135607A (en) Communication device and communication system
JP6211778B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, CONTROL METHOD, AND PROGRAM
JP2019080089A (en) Communication device, image processing device, control method, and program
JP6391778B2 (en) Power transmission device, power transmission control method, and program
JP2012209840A (en) Remote operation terminal, information processing apparatus, remote operation system, terminal switching method and program