JP5096128B2 - Communication apparatus and program - Google Patents
Communication apparatus and program Download PDFInfo
- Publication number
- JP5096128B2 JP5096128B2 JP2007332487A JP2007332487A JP5096128B2 JP 5096128 B2 JP5096128 B2 JP 5096128B2 JP 2007332487 A JP2007332487 A JP 2007332487A JP 2007332487 A JP2007332487 A JP 2007332487A JP 5096128 B2 JP5096128 B2 JP 5096128B2
- Authority
- JP
- Japan
- Prior art keywords
- mobile phone
- received
- data
- request signal
- transmission
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は、装置間で無線通信する通信システムに用いられる無線通信機能を有した通信装置及びプログラムに関する。 The present invention relates to communication equipment and programs having a wireless communication function to be used in communication systems that the wireless communication between devices.
従来知られる無線通信技術としては、ブルートゥース(登録商標)通信技術などの短距離無線通信技術が知られている。また、この種の無線通信技術を用いた通信システムとしては、無線通信により、複数の機器を、一つのリモートコントローラにて操作可能な通信システムが知られている。 As a conventionally known wireless communication technology, a short-range wireless communication technology such as a Bluetooth (registered trademark) communication technology is known. As a communication system using this type of wireless communication technology, a communication system capable of operating a plurality of devices with a single remote controller by wireless communication is known.
また、この種の通信システムとしては、複数の機器の空間的な配置を記述したトポロジーマップを、予めリモートコントローラ内のメモリに蓄積して、ユーザがリモートコントローラの方向キーを見た目の配置通りに操作すると、リモートコントローラがその方向キーの入力通りに、トポロジーマップを参照するものが知られている。この通信システムによれば、ユーザが機器の物理的な配置に合わせて方向キーを操作する程度で、操作対象の機器を選択できるといった利点がある。
しかしながら、上述した技術では、ユーザにキー操作をさせなければ、特定の機器を通信先として選択して、当該機器との通信を確立することができないといった問題があった。即ち、ユーザは、所望の機器を、特定の通信装置(リモートコントローラ等)から操作しようとした場合に、まず、当該特定の通信装置に用意された操作性が必ずしも良いとはいえないキーを操作して、操作対象の機器を選択しなければ、所望の機器を遠隔操作することができず、機器の選択操作に煩わしさを感じる場合があった。 However, the above-described technique has a problem that unless a user performs a key operation, a specific device cannot be selected as a communication destination and communication with the device cannot be established. That is, when a user tries to operate a desired device from a specific communication device (such as a remote controller), first, the user operates a key that is not necessarily good operability prepared for the specific communication device. If the device to be operated is not selected, the desired device cannot be remotely operated, and there are cases where the user is inconvenienced in selecting the device.
本発明は、こうした問題に鑑みなされたものであり、ユーザに煩わしいキー操作をさせなくても済む技術を提供することを目的とする。 The present invention has been made in view of these problems, and an object of the present invention is to provide a technique that does not require a user to perform troublesome key operations.
かかる目的を達成するためになされた第一の発明は、通信装置であって、無線電波の形態で周囲に要求信号を出力する外部通信装置から出力される、当該無線電波を受信可能な無線受信手段と、無線受信手段が外部通信装置から受信した要求信号が自装置宛の要求信号であるか否かを、要求信号出力時の自装置に対する外部通信装置の運動状態に基づき、判定する判定手段と、判定手段により、受信した要求信号が自装置宛の要求信号であると判定されると、受信した要求信号に対応した処理を実行する処理実行手段と、を備えることを特徴とする。また、判定手段は、外部通信装置の運動状態をカメラにより撮影して、外部通信装置が要求信号出力時に自装置に向かって変位すると、当該要求信号が自装置宛の要求信号であると判定することを特徴とする。 A first invention made to achieve such an object is a communication device, which is a wireless receiver capable of receiving the radio wave output from an external communication device that outputs a request signal to the surroundings in the form of a radio wave And means for determining whether the request signal received from the external communication device by the wireless reception means is a request signal addressed to the own device based on the motion state of the external communication device relative to the own device when the request signal is output And a process execution means for executing a process corresponding to the received request signal when the determination means determines that the received request signal is a request signal addressed to the own apparatus. Further, the determination means captures the motion state of the external communication device with a camera, and determines that the request signal is a request signal addressed to the own device when the external communication device is displaced toward the own device when the request signal is output. It is characterized by that.
第一の発明によれば、ユーザは、要求信号出力時に自己が有する装置を当該通信装置に向けて変位させる程度で、自己が有する装置から当該通信装置に向けて処理の実行を要求し、要求した処理を当該通信装置に実行させることができる。 According to the first invention, when the user outputs a request signal, the user requests the execution of processing from the device he owns toward the communication device to the extent that the device he owns is displaced toward the communication device, and requests It is possible to cause the communication device to execute the process.
例えば、発明の適用された通信装置がテレビジョン受信機や録画機等の電化製品であり、ユーザが有する装置がリモートコントローラである場合、ユーザは、従来のように、リモートコントローラの方向ボタンを操作しなくても、リモートコントローラを手に持って、操作対象の電化製品に向けリモートコントローラを動かす程度で、操作対象の電化製品を操作することができる。 For example, when the communication device to which the invention is applied is an electrical appliance such as a television receiver or a recorder, and the device that the user has is a remote controller, the user operates the direction button of the remote controller as in the past. Even if it does not, it is possible to operate the electrical appliance to be operated simply by holding the remote controller and moving the remote controller toward the electrical appliance to be operated.
この他、携帯電話装置に、本発明を適用すれば、携帯電話装置から他の携帯電話装置に向けて、写真データや動画データ等を送信する際に、キー操作で送信先をユーザに選択させなくてもよく、簡単に携帯電話装置間にてデータ交換できるようにすることができる。 In addition, if the present invention is applied to a mobile phone device, when transmitting photo data, moving image data, etc. from the mobile phone device to another mobile phone device, the user can select a transmission destination by a key operation. It is not necessary, and data can be easily exchanged between mobile phone devices.
尚、従来の携帯電話装置では、赤外線通信にてデータ交換をしているため通信先を選択する必要がないが、赤外線通信では、指向性が高いため、携帯電話装置間で、送信部と受信部とを向き合わせた状態で通信をする必要がある。一方、本発明によれば、無指向性及び略無指向性の無線通信技術を用いても、通信先をキー操作でユーザに選択させる必要がないので、大変便利である。 In the conventional mobile phone device, it is not necessary to select a communication destination because data is exchanged by infrared communication. However, since directivity is high in infrared communication, the transmission unit and the reception unit are connected between the mobile phone devices. It is necessary to communicate with the part facing each other. On the other hand, according to the present invention, even if a non-directional and substantially non-directional wireless communication technology is used, it is not necessary for the user to select a communication destination by a key operation, which is very convenient.
第二の発明は、通信装置が要求信号と共に外部通信装置から出力されるプローブ信号としての所定周波数の音信号又は電磁波信号を受信可能なプローブ信号受信手段を備えることを特徴とする。また、判定手段は、プローブ信号受信手段が受信したプローブ信号を周波数解析して、外部通信装置から出力されたプローブ信号のドップラーシフト量を算出し、算出したドップラーシフト量に基づき、要求信号出力時に外部通信装置が自装置に向かって変位したか否かを判定することを特徴とする。 According to a second aspect of the invention, the communication device includes probe signal receiving means capable of receiving a sound signal or electromagnetic wave signal having a predetermined frequency as a probe signal output from the external communication device together with the request signal. Further, the determination means frequency-analyzes the probe signal received by the probe signal reception means, calculates a Doppler shift amount of the probe signal output from the external communication device, and outputs a request signal based on the calculated Doppler shift amount. It is characterized in that it is determined whether or not the external communication device is displaced toward its own device.
この判定手段は、要求信号出力時に自装置に向かって変位した外部通信装置からの要求信号を自装置宛の要求信号であると判定する。 The determination means determines that the request signal from the external communication device displaced toward the own device when the request signal is output is a request signal addressed to the own device.
このように、ドップラーシフト量に基づいて外部通信装置が自装置に向かって変位したか否かを判定するようにすれば、例えば、通信装置にカメラを設けて外部通信装置のモーションを撮影し、これを画像処理して、外部通信装置が自装置に向かって変位したか否かを判定する場合よりも、少ない処理負荷で、簡単に、上記判定を実現することができる。 Thus, if such an external communication device based on the Doppler shift amount it is determined whether or not displaced toward the own device, for example, by a camera provided to the communication device by photographing the motion of the external communication device, The above determination can be easily realized with a smaller processing load than when image processing is performed and it is determined whether or not the external communication device is displaced toward the own device.
付言すれば、携帯電話装置等の通信装置には、赤外線等の電磁波を入出力する手段や音を入出力する手段(スピーカやマイクロフォン)等が他の用途のために予め設けられているので、この通信装置によれば、従来技術の通信装置を基にして簡単に構成することができる。 In other words, a communication device such as a mobile phone device is provided in advance with other means for inputting and outputting electromagnetic waves such as infrared rays and means for inputting and outputting sound (speakers and microphones). According to this communication apparatus, it can be simply configured based on the communication apparatus of the prior art.
以下、本発明の実施例について図面と共に説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明が適用された第一実施例の携帯電話1の構成を表すブロック図である。本実施例の携帯電話1は、操作部11、マイクロフォン13、表示部15、スピーカ17、加速度センサ19、短距離無線通信部21、赤外線通信部23及び制御部25等を備える。
FIG. 1 is a block diagram showing a configuration of a
操作部11は、ユーザからの指令を受け付けるためのユーザ操作可能なユーザインタフェースとして機能し、電話番号や文章等を手動入力するための複数の操作キーを有するものである。また、マイクロフォン(以下、単に「マイク」と称する。)13は、入力される音を電気信号に変換する装置であり、ユーザが発する音声や、他の携帯電話1が発するプローブ信号としての音波等が入力されると、これを電気信号に変換して制御部25に入力する。
The
この他、表示部15は、カラー表示装置であり、液晶モニタ等で構成される。この表示部15には、制御部25の制御により、発信画面・着信画面や各種の操作画面が表示される。また、スピーカ17は、制御部25から入力された出力対象の信号を音波に変換して外部に出力するものであり、例えば、制御部25が、セルラー網を通じて外部の携帯電話から受信した通話信号に基づき、通話相手の携帯電話にて集音された音声を、出力する。
In addition, the
また、加速度センサ19は、携帯電話1に生じる加速度を測定して、この測定結果を制御部25に入力するものである。この他、短距離無線通信部21は、無線電波の形態で自己周囲の通信装置と直接通信可能な無指向性の無線通信手段であり、特定方向に限定されず、四方に位置する通信装置と通信可能な構成にされている。この短距離無線通信部21は、例えば、無指向性の無線通信手段として周知のブルートゥース(登録商標)規格の通信モジュールで構成され、周囲に位置するブルートゥース(登録商標)機器と通信可能な構成にされる。
The
この他、赤外線通信部23は、特定方向(赤外線発射方向)に位置する外部通信装置と無線通信可能な指向性の無線通信手段であり、特定方向に位置する外部通信装置とのみ赤外線を用いた情報の送受信が可能な通信モジュールとして構成されている。また、制御部25は、CPU、RAM、フラッシュメモリ等から構成され、CPUにて、フラッシュメモリに記憶された各種プログラムを実行することにより、装置内各部を統括制御し、セルラー網を通じて外部端末と通信して、通話機能および通信機能などを実現する。
In addition, the
ところで、従来から携帯電話間では、携帯電話に記録された写真データや動画データ等のデータ交換が行われているが、このデータ交換を、無指向性の短距離無線通信にて実現しようとすると、ユーザに、通信相手の携帯電話を指定させる必要がある。この場合には、例えば、ユーザにキー操作で通信相手をリストから選択させることにより、ユーザから通信相手の指定情報を取得する方法があるが、この方法では、ユーザに煩わしいキー操作をさせなければならず、操作性が悪い。 By the way, data exchange such as photograph data and moving image data recorded on a mobile phone has been conventionally performed between mobile phones, but when trying to realize this data exchange by omnidirectional short-range wireless communication It is necessary for the user to designate a mobile phone as a communication partner. In this case, for example, there is a method of acquiring designation information of a communication partner from the user by causing the user to select a communication partner from a list by a key operation. In this method, however, the user must perform troublesome key operations. The operability is poor.
そこで、本実施例の携帯電話1には、ユーザが、携帯電話本体をスイングする(振る)と、そのスイング先(振った先)の携帯電話を、通信相手として特定して、その通信相手の携帯電話との接続を確立し、ユーザから指定された送信対象のデータを、当該接続先の携帯電話に送信する機能を付与している。
Therefore, in the
以下には、この機能を実現するために制御部25が実行する処理について説明する。尚、上記機能は、データ送信元及びデータ受信先の各携帯電話が、以下に説明する本実施例の携帯電話1と同一の機能を有していることを前提として実現される。
Below, the process which the
図2(a)は、制御部25が主体となって実行する第一送信処理を表すフローチャートである。この第一送信処理は、操作部11を通じて所定の送信開始操作がなされると(換言すれば、操作開始指令が操作部11から入力されると)、制御部25により開始される。
FIG. 2A is a flowchart showing a first transmission process executed mainly by the
図2(a)に示す第一送信処理を開始すると、制御部25は、内蔵のフラッシュメモリに記憶されたユーザデータ(写真データや動画データ等)の中から、送信対象のデータをユーザに指定させるためのデータ選択画面を表示部15に表示して、送信対象のデータを問い合わせ、その回答を操作部11を通じてユーザから取得する(S110)。
When the first transmission process shown in FIG. 2A is started, the
次に、短距離無線通信部21を通じて、無線電波の形態で、問合せパケットをブロードキャストし、その応答パケットを受信することにより、短距離無線通信可能な通信圏内に位置する他の携帯電話1を発見する(S120)。具体的には、問合せパケットに対する応答パケットを送信してきた携帯電話1を、通信圏内に位置する他の携帯電話1として発見する。
Next, by broadcasting an inquiry packet in the form of radio waves through the short-range
そして、S120の終了後には、データ送信先の携帯電話に向けて、自己の携帯電話1をスイングするように指示するメッセージを表示画面に表示して、ユーザに対し、自己の携帯電話1のスイングを促す(S130)。尚、スイングについては、後で図6を用いて説明する。
After the end of S120, a message instructing the user to swing his / her
次に、予め定められた周波数に強いピークを持つ音波を、プローブ信号として、所定時間、スピーカ17を通じて出力すると共に、プローブ信号の出力開始時点から時間ΔTを遅れた時点から、加速度センサ19によって測定された加速度の情報を、合計(n+1)回(nは任意の自然数)、所定周期ΔTで周期的に加速度センサ19から取得して、加速度の時系列データを生成する(S140)。尚、このときのプローブ信号の出力時間は、(n+1)・ΔTであるものとする。
Next, a sound wave having a strong peak at a predetermined frequency is output as a probe signal through the
即ち、S140では、音波(プローブ信号)の出力期間中、所定周期ΔTで周期的に加速度センサ19から加速度の測定結果を取得して、加速度の時系列データを生成する。尚、S140で生成されるデータは、加速度のスカラー値の時系列データであり、[aT0,aT1,・・・,aTn]のように表せる。ここで、aTkは時刻Tk(0≦k≦n、kは整数)における加速度を表す。
That is, in S140, during the output period of the sound wave (probe signal), the acceleration measurement result is periodically acquired from the
次に、制御部25は、S140で得られた何れかの加速度の値が、所定の閾値以上であるかを判断する(S145)。S140で得られた全ての加速度の値が、所定の閾値未満であれば(S145:No)、第一送信処理を終える。
Next, the
一方、どれか一つの加速度が所定の閾値以上であれば(S145:Yes)、S140にて生成した加速度の時系列データと、当該時系列データに対応するデータ番号とを、格納したアドレス応答要求パケットを、短距離無線通信部21を通じて、無線電波の形態で、S120で発見した自装置周囲に位置する全ての携帯電話に送信する(S150)。
On the other hand, if any one of the accelerations is equal to or greater than a predetermined threshold (S145: Yes), the address response request storing the time series data of the acceleration generated in S140 and the data number corresponding to the time series data. The packet is transmitted through the short-range
このデータ番号は、ランダムに定められたり時刻を基に定められたりして、第一送信処理が行われる度に変更される。これを送信する理由は、後の処理で上記アドレス応答要求パケットに対応する応答パケットを受信したときに、当該応答パケットが、自装置の第一送信処理にて送信したアドレス応答要求パケットに応答して送信されたパケットであるか否かを判断するためである。 This data number is randomly determined or determined based on the time, and is changed each time the first transmission process is performed. The reason for transmitting this is that when a response packet corresponding to the address response request packet is received in a later process, the response packet responds to the address response request packet transmitted in the first transmission process of its own device. This is to determine whether or not the packet is transmitted.
即ち、アドレス応答要求パケットの送信を終えると、制御部25は、アドレス応答要求パケットに対する応答パケットとして、パケット送信元携帯電話のアドレスと、当該パケットを送信する原因となった時系列データのデータ番号と、が格納されたパケットを、短距離無線通信部21を通じて受信したか否かを判断する(S160)。そして、アドレス応答要求パケットの送信後、所定時間内に、応答パケットを受信することができなかった場合には、S160でNoと判断して、当該第一送信処理を終了する。
That is, when the transmission of the address response request packet is finished, the
一方、短距離無線通信部21を通じて応答パケットを受信したと判断すると(S160:Yes)、制御部25は、受信した応答パケットが示すデータ番号が、直前のS150でアドレス応答要求パケットに格納したデータ番号と一致するか否かを判断する(S170)。そして、S160で受信したデータ番号とS150で送信したデータ番号とが一致しなければ(S170:No)、第一送信処理を終える。
On the other hand, when determining that the response packet has been received through the short-range wireless communication unit 21 (S160: Yes), the
これに対し、S160で受信したデータ番号とS150で送信したデータ番号とが一致するのであれば(S170:Yes)、受信した応答パケットが示すアドレス先の携帯電話(応答パケット送信元の携帯電話)を、通信相手に決定して、当該アドレス先の携帯電話に対して接続要求を送信し、当該アドレス先の携帯電話と、自装置との接続を確立する(S180)。そして、S110で指定された送信対象のデータを、接続が確立された上記携帯電話1に短距離無線通信部21を通じて送信して(S190)、第一送信処理を終える。
On the other hand, if the data number received in S160 matches the data number transmitted in S150 (S170: Yes), the mobile phone at the address indicated by the received response packet (the mobile phone from which the response packet was sent) Is determined as the communication partner, a connection request is transmitted to the mobile phone of the address destination, and the connection between the mobile phone of the address destination and the own device is established (S180). Then, the transmission target data specified in S110 is transmitted to the
次は、図2(b)を用いて、制御部25が主体となって実行する第一受信処理について説明する。第一受信処理は、自装置に対して送信されてくるプローブ信号を解析し、そのプローブ信号を送信してきた携帯電話1が、自装置に対して、アドレス応答要求パケットに対する応答パケットの送信を要求しているかを判断するものである。
Next, the first reception process executed mainly by the
尚、この第一受信処理は、携帯電話1がオンにされているときに、制御部25により、繰り返し実行される。第一受信処理を開始すると、制御部は、まず、周波数特定処理を行う(S210)。ここで、図3を用いて周波数特定処理を説明する。図3は、制御部25が実行する周波数特定処理を表すフローチャートである。
This first reception process is repeatedly executed by the
この周波数特定処理では、まず、マイク13を通じて入力される音波の情報を取得する(S2110)。そして、現在時刻Tcより所定時間ΔT前の時刻(Tc−ΔT)から現在時刻Tcまでに、マイク13を通じて受信した音波の時系列データをFFT解析し、この期間にマイク13を通じて受信した音波についてのパワースペクトルを求める(S2120)。
In this frequency specifying process, first, information on sound waves input through the
そして、S2120で求めたパワースペクトルにおける予め定められた周波数帯域(具体的には、プローブ信号の送信周波数を中心とした所定幅の周波数帯域)において、パワーが所定の閾値以上のピーク(極大点)を検索し(S2130)、パワースペクトル内に、パワーが閾値以上のピークが一つ以上あるか否かを判断する(S2140)。 Then, in a predetermined frequency band (specifically, a frequency band having a predetermined width centered on the probe signal transmission frequency) in the power spectrum obtained in S2120, a peak (maximum point) having a power equal to or higher than a predetermined threshold value. Is searched (S2130), and it is determined whether or not there is at least one peak whose power is equal to or greater than a threshold in the power spectrum (S2140).
そして、パワーが閾値以上のピークが一つ以上あれば(S2140:Yes)、当該パワースペクトルにおいてパワーが閾値以上の各ピークについて、そのピーク周波数及びピーク周波数でのパワーの情報を対応付けてなる計測データ(prT,frT)を、制御部25に内蔵されたRAMに記録する(S2150)。そして、S2110に戻る。 If there is at least one peak whose power is equal to or greater than the threshold (S2140: Yes), the measurement is performed by associating the peak frequency and the power information at the peak frequency for each peak whose power is equal to or greater than the threshold in the power spectrum. The data (p rT , f rT ) is recorded in the RAM built in the control unit 25 (S2150). Then, the process returns to S2110.
尚、ここで、変数pは、該当するピークのパワー、変数fは、そのピーク周波数を表す。また、添え字rは、パワーが閾値以上のピークの内、パワーがr番目に大きいピークについての情報であることを示す添え字であり、添え字Tは、時刻(T−ΔT)から時刻Tまでの音波の時系列データに基づく計測データであることを示す添え字である。 Here, the variable p represents the power of the corresponding peak, and the variable f represents the peak frequency. The subscript r is a subscript indicating that it is information on the r-th largest peak of power among the peaks whose power is equal to or greater than the threshold, and the subscript T is from time (T−ΔT) to time T. It is a subscript which shows that it is measurement data based on the time series data of the sound wave until.
パワースペクトルにおいてパワーが閾値以上のピークがR個見つかった場合、S2150では、計測データとして、パワーが大きいピークの順に、値(p1T,f1T),値(p2T,f2T),…,(pRT,fRT)を、RAMに記録する。因みに、パワーが閾値以上のピークの個数は、定まらないので、計測データとしてRAMに記録されるデータの個数も、一定ではない。 In the case where R peaks whose power is equal to or greater than the threshold value are found in the power spectrum, in S2150, as the measurement data, values (p 1T , f 1T ), values (p 2T , f 2T ) ,. (P RT , f RT ) is recorded in the RAM. Incidentally, since the number of peaks whose power is equal to or greater than the threshold is not determined, the number of data recorded in the RAM as measurement data is not constant.
一方、パワースペクトル内に、パワーが閾値以上のピークが一つもない場合(S2140:No)、制御部25は、RAMに何も記録せずに、当該周波数特定処理を終える。
尚、図4は、周波数特定処理のS2150で記録される計測データ群を表す図である。本実施例では、プローブ信号が外部の携帯電話1から送信されてくると、そのプローブ信号の出力期間中、継続的にパワーが閾値以上のピークが検出されるため、その期間中には、S2110〜S2150の処理が繰返し実行されて、その期間に得られた各時刻及び各ピークの計測データがRAMに記録される。
On the other hand, when there is no peak whose power is greater than or equal to the threshold in the power spectrum (S2140: No), the
FIG. 4 is a diagram illustrating the measurement data group recorded in S2150 of the frequency specifying process. In the present embodiment, when the probe signal is transmitted from the external
具体的に、本実施例においては、プローブ信号が、時間(n+1)・ΔTの間継続的に出力されるため、RAMには、パワースペクトルに対する計測データを、パワースペクトル(n+1)個分蓄積可能な計測データ記憶領域が、予め確保されている。 Specifically, in this embodiment, since the probe signal is continuously output for time (n + 1) · ΔT, the measurement data for the power spectrum can be stored in the RAM for the power spectrum (n + 1). A measurement data storage area is secured in advance.
また、周波数特定処理を終えると、制御部25は、アドレス応答要求パケットの受信待機状態に遷移し、周波数特定処理を終えた直後から所定時間が経過するまでに、アドレス応答要求パケットを受信すると(S220:Yes)、アドレス応答要求パケットに含まれる加速度の時系列データに基づいて、ズレ量算出処理を実行する(S230)。
When the frequency specifying process is completed, the
一方、所定時間内に、アドレス応答要求パケットを受信することが出来なかった場合には(S220:No)、当該第一受信処理を終了する。尚、直前の周波数特定処理で所定時間以上連続的に閾値以上のピークを検出することができなかった場合、制御部25は、形式的に、S220でNoと判断して、当該第一受信処理を終了する。即ち、この場合には、アドレス応答要求パケットについての受信待機を行わず、形式的に、S220でNoと判断して、当該第一受信処理を終了する。
On the other hand, when the address response request packet cannot be received within the predetermined time (S220: No), the first reception process is terminated. Note that, when the peak that is equal to or greater than the threshold value cannot be detected continuously for a predetermined time or more in the immediately preceding frequency specifying process, the
続いて、S220でYesと判断したときに、制御部25が実行するズレ量算出処理について説明する。図5は、制御部25が実行するズレ量算出処理を表すフローチャートである。この処理を開始すると、制御部25は、まず、S220で受信した加速度の時系列データを、速度の時系列データに変換する(S2310)。時刻Tkにおける速度VTkは、次式で求める。
Next, the deviation amount calculation process executed by the
そして、S2310で計算した、各時刻における速度の時系列データを基に、ドップラーシフトにより変化するプローブ信号の受信周波数の理論値を計算する(S2320)。この理論値は、音波(プローブ信号)の発信源と自装置とを結ぶ直線上を、音波(プローブ信号)の発信源が移動したと仮定し、その移動時点で、自装置は静止していたと仮定して算出する。即ち、時刻Tkにおける受信周波数の理論値fTk理論については、次式で求める。 Based on the time-series data of the speed at each time calculated in S2310, the theoretical value of the reception frequency of the probe signal that changes due to the Doppler shift is calculated (S2320). This theoretical value assumes that the sound wave (probe signal) source has moved on a straight line connecting the sound wave (probe signal) source and the device, and that the device was stationary at the time of the movement. Calculated assuming. That is, the theoretical value f Tk of the reception frequency at time T k is obtained by the following equation.
また、周波数特定処理のS2150で記録したデータから、最大のパワーに対応する周波数の時系列データ、つまり(f1T0,f1T1,・・・,f1Tm)を、プローブ信号の受信周波数の実測値として読み出す(S2330)。尚、本実施例では、プローブ信号の出力時間が(n+1)・ΔT時間に定められているので、変数mは、基本的に値nを採るが、ノイズ等による影響で、必ずしもm=nになるわけではない。 Also, using the data recorded in S2150 frequency identification process, time-series data of the frequency corresponding to the maximum power, i.e. (f 1T0, f 1T1, ··· , f 1Tm) a measured value of the reception frequency of the probe signal (S2330). In this embodiment, since the probe signal output time is set to (n + 1) · ΔT time, the variable m basically takes the value n. It doesn't mean.
そして、各時刻Tkにおける受信周波数の理論値及び実測値の差をそれぞれ計算し、算出された差を二乗した上で、全て足し合わせる(S2340)。計算結果をZ´として、式で表すと次のようになる。 Then, the difference between the theoretical value and the actual measurement value of the reception frequency at each time T k is calculated, and the calculated difference is squared and added together (S2340). The calculation result is expressed as an equation with Z ′ as follows.
また、上記応答パケットの送信後、所定時間内に、外部の携帯電話1から接続要求を短距離無線通信部21を通じて受信した場合には(S260:Yes)、接続要求に応答して、接続要求元の携帯電話1との接続を確立する(S270)。一方、応答パケットの送信後、所定時間内に、接続要求を受信することができなかった場合には(S260:No)、当該第一受信処理を終了する。
In addition, when a connection request is received from the external
また、接続要求元の携帯電話1との接続を確立すると、制御部25は、短距離無線通信部21を通じてS270で接続を確立した通信相手から、所定時間以内に、データを受信したか否かを判断する(S280)。そして、データを受信していなければ(S280:No)、第一受信処理を終える。一方、データを受信したのであれば(S280:Yes)、受信したデータをフラッシュメモリに格納して(S290)、第一受信処理を終える。
In addition, when the connection with the
以上に、本実施例の携帯電話1の構成について説明したが、上述した機能、即ち、ユーザが、携帯電話本体をスイングすると、そのスイング先の携帯電話との接続が確立されて、ユーザから指定された送信対象のデータが、当該接続先の携帯電話に送信される機能は、本実施例の携帯電話1が通信圏内に2つ以上存在する状態で、ある一つの携帯電話1をユーザが操作することにより、第一送信処理が制御部25によって実行され、その第一送信処理に対応して、他の携帯電話1が第一受信処理を実行することで実現される。
The configuration of the
尚、第一受信処理を実行する携帯電話1(以下、「受信端末」という。)は、第一送信処理を実行する携帯電話1(以下、「送信端末」という。)のS140にて送信されるプローブ信号に基づいて、S210で周波数特定処理を実行すると共に、送信端末のS150で送信されるアドレス応答要求パケットをS220で受信して、この加速度の時系列データに基づき、ズレ量算出処理(S230)を実行する。そして、受信端末は、ズレ量が閾値以下である場合に限って、アドレス応答要求パケットが、自装置宛の要求パケットであると判断して、S250で、応答パケットをブロードキャストする。
The
送信端末は、この応答パケットを、S160にて受信すると、応答パケットに格納されたアドレスの情報から、接続要求すべきスイング先の受信端末を特定し、特定した受信端末に接続要求を送信して、当該受信端末との接続を確立する(S180)。そして、接続が確立した受信端末に送信対象のデータを送信して、ユーザからの送信開始操作に応える。本実施例では、以上のようにして、送信端末から受信端末へのデータ送信が実現される。 When the transmission terminal receives this response packet in S160, it identifies the swing destination reception terminal to which a connection request is to be made from the address information stored in the response packet, and transmits the connection request to the identified reception terminal. The connection with the receiving terminal is established (S180). Then, the data to be transmitted is transmitted to the receiving terminal with which the connection has been established to respond to the transmission start operation from the user. In the present embodiment, data transmission from the transmission terminal to the reception terminal is realized as described above.
ここで、携帯電話本体のスイングによるデータ送信先の携帯電話の特定方法について、図6を用いて詳述する。まず、以下では、データの送信をしようとしているユーザが使用する携帯電話1を送信端末、送信端末のユーザがデータの送信先として所望している携帯電話1を受信端末A、送信端末のユーザがデータの送信先として所望していない携帯電話1を受信端末B、と呼ぶことにする。図6(a)は、送信端末のユーザが、送信端末を受信端末Aに向けてスイングしている様子を表した図である。因みに、受信端末Bは紙面の奥に位置しているので、小さく描かれている。
Here, a method of specifying the mobile phone of the data transmission destination by the swing of the mobile phone body will be described in detail with reference to FIG. First, in the following, the
さらに、図6(b)を用いて、スイングを別の視点から説明する。図6(b)は、図6(a)を上から見た図である。図6(a)に示すユーザは、図6(b)において、省略されている。図6(b)に示すように、スイングは受信端末Aに向けてなされているので、受信端末Aにはドップラー効果が顕著に観察される音波が届き、受信端末Bにはドップラー効果がわずかにしか観察されない音波が届く。そして、この現象を定量化した値が、ズレ量算出処理で算出するズレ量である。 Furthermore, the swing will be described from another viewpoint with reference to FIG. FIG.6 (b) is the figure which looked at Fig.6 (a) from the top. The user shown in FIG. 6A is omitted in FIG. As shown in FIG. 6B, since the swing is made toward the receiving terminal A, the receiving terminal A receives a sound wave in which the Doppler effect is observed remarkably, and the receiving terminal B has a slight Doppler effect. Sound waves that can only be observed arrive. A value obtained by quantifying this phenomenon is a shift amount calculated by the shift amount calculation process.
そして、受信端末Aが算出するズレ量は、受信端末Bのそれよりも小さい。なぜなら、ズレ量とは、実測値と理論値とのズレを計算した値であり、理論値は、送信端末と受信端末とを結ぶ直線上を、送信端末が移動したことを仮定して算出されるからである。つまり、その直線上により近い経路に沿って送信端末が移動した方が、ズレ量は小さくなる。そしてこの場合は、当然、受信端末Aの移動経路の方が、Bのそれより直線に近い。従って、受信端末Aが算出するズレ量は、受信端末Bのそれよりも小さいということになる。 The amount of deviation calculated by the receiving terminal A is smaller than that of the receiving terminal B. This is because the deviation amount is a value obtained by calculating a deviation between the actual measurement value and the theoretical value, and the theoretical value is calculated on the assumption that the transmission terminal moves on a straight line connecting the transmission terminal and the reception terminal. This is because that. That is, the amount of deviation becomes smaller as the transmitting terminal moves along a route closer to the straight line. In this case, naturally, the moving route of the receiving terminal A is closer to the straight line than that of B. Therefore, the amount of deviation calculated by the receiving terminal A is smaller than that of the receiving terminal B.
従って、受信端末Aが実行する第一受信処理のS240ではYesと判断され、受信端末Bが実行する第一受信処理のS240ではNoと判断されるようなズレ量の閾値を定めることが可能である。また、そのようにすることで、送信端末は、ユーザが所望する受信端末にデータを送信することになり、目的を達成できる。 Accordingly, it is possible to set a threshold for the amount of deviation that is determined to be Yes in S240 of the first reception process executed by the receiving terminal A and No in S240 of the first reception process executed by the receiving terminal B. is there. In addition, by doing so, the transmitting terminal transmits data to the receiving terminal desired by the user, and the object can be achieved.
尚、S2330では、周波数特定処理に含まれるS2150で記録したデータから、最大のパワーに対応する周波数の時系列データを、ドップラーシフトを受けたプローブ信号の受信周波数の実測値として読み出す。そして、ここで読み出した周波数が時間経過に伴って変化する原因は、ドップラー効果であるとみなして、その後の処理を行っている。 In S2330, the time-series data of the frequency corresponding to the maximum power is read out from the data recorded in S2150 included in the frequency specifying process as an actual measurement value of the reception frequency of the probe signal subjected to the Doppler shift. The cause that the read frequency changes with the passage of time is assumed to be the Doppler effect, and the subsequent processing is performed.
ところが、ここで読み出したデータが、送信端末からプローブ信号として受信した同じ周波数成分の音波として出力されたものを追い続けているとは限らない。換言すると、最大のパワーに対応し、時々刻々変化する周波数を追いかけていくとき、変化した原因が、ドップラー効果によるものであって雑音によるものでないということが、必ずしも担保されていない。そこで、これを担保するために、本実施例では、次のような工夫をしている。 However, the data read here does not always follow the output of the sound wave having the same frequency component received as the probe signal from the transmitting terminal. In other words, when chasing a frequency that changes every moment corresponding to the maximum power, it is not always guaranteed that the cause of the change is due to the Doppler effect and not due to noise. Therefore, in order to ensure this, the present embodiment is devised as follows.
即ち、本実施例では、プローブ信号の送信周波数を、超音波領域の周波数とし、S2130では、S2120で求めたパワースペクトルにおけるプローブ信号に対応した周波数帯域において、所定の閾値以上のパワーを持つピークを検索し、そのピーク周波数を特定している。このように、プローブ信号を、超音波とすれば、プローブ信号の出力音がヒトに感知されることはないので、十分なS/N比を確保できる程度に高い出力でプローブ信号を送信端末から出力しても、ヒトに不快感を与えることがない。従って、本実施例によれば、高い出力でプローブ信号を出力することができて、雑音による誤判定を極力抑えることができる。 That is, in this embodiment, the transmission frequency of the probe signal is set to the frequency of the ultrasonic region, and in S2130, a peak having a power equal to or higher than a predetermined threshold in the frequency band corresponding to the probe signal in the power spectrum obtained in S2120. Search and identify its peak frequency. In this way, if the probe signal is an ultrasonic wave, the output sound of the probe signal is not perceived by humans, so the probe signal is transmitted from the transmitting terminal with a high output sufficient to ensure a sufficient S / N ratio. Even if it outputs, it does not give a human discomfort. Therefore, according to the present embodiment, the probe signal can be output at a high output, and erroneous determination due to noise can be suppressed as much as possible.
本実施例(第二実施例)は、携帯電話1間の位置関係に基づき、ユーザがデータ送信先として望んでいる携帯電話を特定して、ユーザが所有する携帯電話と、ユーザが望んでいるデータ送信先の携帯電話とを接続し、ユーザから指定された送信対象のデータを、特定した携帯電話に送信するものである。具体的に、本実施例では、送信端末が、自装置のユーザに対して、データ送信先として望んでいる携帯電話を近づけるように指示する。一方、受信端末は、自装置から送信端末までの距離が所定の閾値以下である送信端末を通信相手として特定する。
In the present embodiment (second embodiment), the mobile phone that the user desires as a data transmission destination is specified based on the positional relationship between the
以下には、この機能を実現するための制御部25が実行する第二送信処理及び第二受信処理について説明する。尚、上記機能は、データ送信元及びデータ受信先の各携帯電話が、以下に説明する本実施例の携帯電話1と同一の機能を有していることを前提として実現される。また、本実施例の携帯電話1のハードウェア構成は、第一実施例と同一であるので、ここでは、携帯電話1のハードウェア構成に係る説明を、省略する。
Below, the 2nd transmission process and the 2nd reception process which the
図7(a)は、制御部25が実行する第二送信処理を表すフローチャートである。図7(a)に示す第二送信処理を開始すると、制御部25は、内蔵のフラッシュメモリに記憶されたユーザデータ(写真データや動画データ等)の中から、送信対象のデータをユーザに指定させるためのデータ選択画面を表示部15に表示して、送信対象のデータを問い合わせ、その回答を操作部11を通じてユーザから取得する(S310)。
FIG. 7A is a flowchart showing the second transmission process executed by the
次に、短距離無線通信部21を通じて、無線電波の形態で、問合せパケットをブロードキャストし、その応答パケットを受信することにより、通信圏内に位置する他の携帯電話1を発見する(S320)。具体的には、問合せパケットに対する応答パケットを送信してきた携帯電話1を、通信圏内に位置する他の携帯電話1として発見する。
Next, an inquiry packet is broadcast in the form of radio waves through the short-range
そして、データ送信先の携帯電話に対して自己の携帯電話1を近づけるように指示するメッセージを、表示部15に表示して、ユーザに対し、自己の携帯電話1をデータ送信先の携帯電話に近づけるように促す(S330)。
Then, a message for instructing the
次に、所定周波数に強いピークを持つ音波を、プローブ信号として所定時間、スピーカ17を通じて出力すると共に、この音波の出力期間中、アドレス応答要求パケットを、短距離無線通信部21を通じて、S320で発見された各携帯電話1に送信する(S340)。尚、この音波の周波数(プローブ信号の送信周波数)は、S340の処理実行の度、予め定められた周波数帯域の範囲内で、ランダムに変更される。但し、音波の出力時の信号強度(パワー)は、一定値に固定されているものとする。このように、パワーが固定値にされているのは、受信端末で、送信端末から送信されてきたアドレス応答要求パケットが自装置宛のパケットであるか否かを、同時期に受信した音波の信号強度から判断するためであり、特に、パワーの情報を、送信端末−受信端末間でやりとりしなくても、上記判断を実行できるようにするためである。
Next, a sound wave having a strong peak at a predetermined frequency is output as a probe signal through the
そして、音波の送信を終えると、制御部25は、所定時間、アドレス応答要求パケットに対する応答パケットとして、パケット送信元携帯電話のアドレスと、当該パケットを送信する原因となった音波のピーク周波数の情報とが格納されたパケットの受信を受け付ける。
When the transmission of the sound wave is finished, the
そして、所定時間内に、アドレス応答要求パケットに対する応答パケットとして、パケット送信元携帯電話のアドレスと、当該パケットを送信する原因となった音波のピーク周波数の情報とが格納されたパケットを、短距離無線通信部21を通じて受信したか否かを判断する(S360)。そして、アドレス応答要求パケットの送信後、所定時間内に、応答パケットを受信することができなかった場合には、S360でNoと判断して、当該第二送信処理を終了する。 Then, within a predetermined time, as a response packet to the address response request packet, a packet in which the address of the packet transmission source mobile phone and the information of the peak frequency of the sound wave that caused the transmission of the packet is stored is a short distance. It is determined whether it is received through the wireless communication unit 21 (S360). If the response packet cannot be received within a predetermined time after the transmission of the address response request packet, it is determined No in S360 and the second transmission process is terminated.
一方、短距離無線通信部21を通じて上記応答パケットを受信したと判断すると(S360:Yes)、制御部25は、受信した各応答パケットについて、応答パケット内に記されたピーク周波数と、S340で送信した音波のピーク周波数との差が、所定の閾値以下か否かを判断する(S370)。そして、受信した全ての応答パケットについて、パケット内に記されたピーク周波数とS340で送信したピーク周波数との差が所定の閾値以下でなければ(S370:No)、第二送信処理を終える。
On the other hand, if it is determined that the response packet has been received through the short-range wireless communication unit 21 (S360: Yes), the
これに対し、受信した応答パケットの内、いずれかの応答パケットについて、パケット内に記されたピーク周波数とS340で送信した音波のピークの周波数との差が、所定の閾値以下であれば(S370:Yes)、受信した応答パケットであって、パケット内に記されたピーク周波数とS340で送信した音波のピークの周波数との差が閾値以下の各応答パケット、が示すアドレス先(応答パケット送信元)の携帯電話を、通信相手に決定して、当該アドレス先の携帯電話に対して接続要求を送信し、当該アドレス先の携帯電話と、自装置との接続を確立する(S380)。そして、S310で指定された送信対象のデータを、接続が確立された上記携帯電話1に短距離無線通信部21を通じて送信して(S390)、第二送信処理を終える。
On the other hand, for any one of the received response packets, if the difference between the peak frequency written in the packet and the peak frequency of the sound wave transmitted in S340 is equal to or smaller than a predetermined threshold (S370). : Yes), which is the received response packet, and the address indicated by each response packet in which the difference between the peak frequency described in the packet and the peak frequency of the sound wave transmitted in S340 is less than or equal to the threshold (response packet transmission source) ) Is determined as the communication partner, a connection request is transmitted to the mobile phone of the address destination, and the connection between the mobile phone of the address destination and the own device is established (S380). Then, the transmission target data designated in S310 is transmitted through the short-range
次には、図7(b)を用いて、制御部25が主体となって実行する第二受信処理について説明する。図7(b)は、制御部25が繰返し実行する第二受信処理を表すフローチャートである。この第二受信処理は、自装置に対して送信されてくるプローブ信号を解析し、そのプローブ信号を送信してきた携帯電話1が、自装置に対して、アドレス応答要求パケットに対する応答パケットの送信を要求しているかを判断するものである。
Next, a second reception process executed mainly by the
第二受信処理を開始すると、制御部25は、アドレス応答要求パケットを、短距離無線通信部21を通じて受信するまで待機する(S410)。そして、アドレス応答要求パケットを受信すると、マイク13を通じて受信した音波の受信信号を対象に、周波数特定処理を行う(S420)。周波数特定処理は、第一実施例で説明したものと同じであるので、ここでは説明しない。
When the second reception process is started, the
また、周波数特定処理を終えると、S420で取得した最大ピークの時系列データ{p1T0,p1T1,・・・,p1Tm}のなかで、パワーが所定の閾値以上のものが何個あるかを数え、その数が、予め定められた個数以上であるかを判断する(S440)。そして、その数が、予め定められた個数以上でないと判断すると(S440:No)、第二受信処理を終える。 Upon completion of frequency specific processing, time series data of the maximum peak acquired in S420 {p 1T0, p 1T1, ···, p 1Tm} Among whether power is how many are more than a predetermined threshold value And determine whether the number is equal to or greater than a predetermined number (S440). If it is determined that the number is not equal to or greater than the predetermined number (S440: No), the second reception process is terminated.
一方、その数が予め定められた個数以上であると判断すると(S440:Yes)、S420で取得した最大ピークの時系列データ{f1T0,f1T1,・・・,f1Tm}が示す各ピーク周波数の平均値及び標準偏差を計算する(S443)。そして、S443で計算した標準偏差が所定の閾値以下であるか否かを判断し(S447)、S443で計算した標準偏差が所定の閾値以下でないと判断すると(S447:No)、第二受信処理を終える。 On the other hand, if it is determined that the number is the number than the predetermined (S440: Yes), the time series data of the maximum peak acquired in S420 {f 1T0, f 1T1, ···, f 1Tm} each peak indicated The average value and standard deviation of the frequency are calculated (S443). Then, it is determined whether or not the standard deviation calculated in S443 is less than or equal to a predetermined threshold (S447), and if the standard deviation calculated in S443 is not less than or equal to the predetermined threshold (S447: No), the second reception process Finish.
S447の処理についてその意義を説明すると、標準偏差が大きいということは、最大のパワーに対応する周波数が大きく変動したことを意味する。ところが、送信端末から送信されてくる音波のピーク周波数(送信周波数)は、一定である。つまり、周波数が大きく変動したということは、雑音などによって音波の受信が不調に終わった、或いは、もともと第二送信処理によって送信されてきた音波ではない可能性が高い。そこで、本実施例では、この場合、第二受信処理を終了する。 The significance of the processing in S447 will be described. A large standard deviation means that the frequency corresponding to the maximum power has greatly fluctuated. However, the peak frequency (transmission frequency) of the sound wave transmitted from the transmission terminal is constant. That is, if the frequency fluctuates greatly, there is a high possibility that the reception of the sound wave has failed due to noise or the like, or that the sound wave has not been transmitted originally by the second transmission process. Therefore, in this embodiment, the second reception process is terminated in this case.
一方、S443で計算した標準偏差が所定の閾値以下であると判断すれば(S447:Yes)、S443で計算した周波数の平均値を、パケットを送信する原因となったピーク周波数の情報として、自装置のアドレスと共に格納した、アドレス応答要求パケットに対する応答パケットを生成して、これを短距離無線通信部21を通じてブロードキャストする(S450)。 On the other hand, if it is determined that the standard deviation calculated in S443 is equal to or less than the predetermined threshold (S447: Yes), the average value of the frequency calculated in S443 is automatically used as information on the peak frequency that caused the packet transmission. A response packet for the address response request packet stored together with the device address is generated and broadcast through the short-range wireless communication unit 21 (S450).
また、上記応答パケットの送信後、所定時間内に、外部の携帯電話1から接続要求を短距離無線通信部21を通じて受信すると(S460:Yes)、接続要求に応答して、接続要求元の携帯電話1との接続を確立する(S470)。一方、応答パケットの送信後、所定時間内に、接続要求を受信することができなかった場合には(S460:No)、当該第二受信処理を終了する。
In addition, when a connection request is received from the external
また、接続要求元の携帯電話1との接続を確立すると、制御部25は、短距離無線通信部21を通じてS470で接続を確立した通信相手から、所定時間以内に、データを受信したか否かを判断する(S480)。そして、データを受信していなければ(S480:No)、第二受信処理を終える。一方、データを受信したのであれば(S480:Yes)、受信したデータをフラッシュメモリに格納して(S490)、第二受信処理を終える。
In addition, when the connection with the connection request source
以上に、本実施例の携帯電話1の構成について説明したが、ユーザが、携帯電話本体を他の携帯電話に近づけると、その近づけられた他の携帯電話との接続が確立されて、ユーザから指定された送信対象のデータが、当該接続先の携帯電話に送信される機能は、本実施例の携帯電話1が通信圏内に2つ以上存在する状態で、ある一つの携帯電話1をユーザが操作することにより、第二送信処理が制御部25によって実行され、その第二送信処理に対応して、他の携帯電話1が第二受信処理を実行することで実現される。
As described above, the configuration of the
尚、受信端末は、送信端末のS340にて送信されるプローブ信号に基づいて、S420で周波数特定処理を実行し、この周波数特定処理で得られたプローブ信号の受信強度(パワー)の情報に基づき、送信端末が自装置を基準とした所定範囲内に存在するか否かを推定する。そして、プローブ信号の出力期間に、パワーが閾値を超えた回数が閾値以上であった場合に限って、送信端末が自装置を基準とした所定範囲内に存在すると推定して、アドレス応答要求パケットが自装置宛であると判断し、S450で、応答パケットをブロードキャストする。 The receiving terminal executes the frequency specifying process in S420 based on the probe signal transmitted in S340 of the transmitting terminal, and based on the information on the reception intensity (power) of the probe signal obtained by this frequency specifying process. Then, it is estimated whether or not the transmitting terminal is within a predetermined range based on the own device. Then, only when the number of times that the power exceeds the threshold is greater than or equal to the threshold during the output period of the probe signal, it is estimated that the transmitting terminal is within a predetermined range based on the own device, and the address response request packet Is addressed to its own device, and a response packet is broadcast in S450.
送信端末は、この応答パケットを、S360にて受信すると、応答パケットに格納されたアドレスの情報から、接続要求すべき携帯電話を特定し、特定した携帯電話に接続要求を送信して、当該受信端末との接続を確立する(S380)。そして、接続が確立した受信端末に送信対象のデータを送信して、ユーザからの送信開始操作に応える。本実施例では、以上のようにして、送信端末から受信端末へのデータ送信が実現される。 When the transmission terminal receives this response packet in S360, the transmission terminal identifies the mobile phone that should make a connection request from the address information stored in the response packet, transmits the connection request to the specified mobile phone, and receives the response A connection with the terminal is established (S380). Then, the data to be transmitted is transmitted to the receiving terminal with which the connection has been established to respond to the transmission start operation from the user. In the present embodiment, data transmission from the transmission terminal to the reception terminal is realized as described above.
本実施例の冒頭で述べたように、本実施例は、受信端末が自装置を基準とした所定範囲内に送信端末が存在するか否かを推定し、自装置を基準とした所定範囲内に位置する送信端末を通信相手として特定することを特徴としている。また、距離の推定は、パワーが距離の二乗に比例して小さくなるという性質を利用して、S440で行われている。 As described at the beginning of the present embodiment, the present embodiment estimates whether or not the receiving terminal exists within a predetermined range based on the own device, and within the predetermined range based on the own device. The transmitting terminal located in is identified as a communication partner. Further, the estimation of the distance is performed in S440 using the property that the power becomes smaller in proportion to the square of the distance.
つまり、受信端末では、送信端末から第二送信処理のS340において送信される、予め定められたパワーのピークを持つ音波を受信して、取得した音波のパワーと、予め定められた送信時のパワーとに基づき、自装置から送信端末までのおおよその距離を推定する。本実施例の受信端末は、このような原理で、送信端末が所定距離内に存在するかしないかを判断している。 In other words, the receiving terminal receives the sound wave having a predetermined power peak transmitted in S340 of the second transmission process from the transmitting terminal, and acquires the power of the acquired sound wave and the predetermined power at the time of transmission. Based on the above, the approximate distance from the own device to the transmitting terminal is estimated. The receiving terminal of this embodiment determines whether or not the transmitting terminal exists within a predetermined distance based on such a principle.
従って、本実施例によれば、携帯電話1のユーザは、データを送信したいと思ったとき、自身が所持する携帯電話1を、データ送信先の携帯電話に近づける程度で、その携帯電話に、データを送信することができて、従来のように送信先をリストから選択することなく、簡単に、所望の携帯電話に対して、データを送信することができる。よって、本実施例によれば、データ交換に際しての操作性が向上する。
Therefore, according to the present embodiment, when the user of the
本実施例は、上述した第一実施例及び第二実施例とは異なり、赤外線通信を利用して通信相手を特定するものである。つまり、本実施例では、指向性の強い赤外線通信を用いて、ユーザがデータを送信しようとしている通信相手を特定し、その後、無指向性の短距離無線通信を用いて、特定した通信相手と通信することにより、リストから通信相手を選択しなくても、ユーザが特定の携帯電話1に宛ててデータを送信することができるようにすると共に、データ送信中、常に赤外線通信部を通信相手に向けなければいけない従来の赤外線通信の不便さを解消する。
In the present embodiment, unlike the first and second embodiments described above, the communication partner is specified using infrared communication. In other words, in this embodiment, the communication partner to which the user intends to transmit data is identified using highly directional infrared communication, and then the identified communication partner is identified using non-directional short-range wireless communication. By communicating, it is possible for the user to transmit data to a specific
以下には、この機能を実現するために制御部25が実行する処理について説明する。尚、上記機能は、データ送信元及びデータ受信先の各携帯電話が、以下に説明する本実施例の携帯電話1と同一の機能を有していることを前提として実現される。また、本実施例の携帯電話1のハードウェア構成は、第一実施例と同一であるので、ここでは、携帯電話1のハードウェア構成に係る説明を、省略する。
Below, the process which the
図8(a)は、制御部25が主体となって実行する第三送信処理を表すフローチャートである。この第三送信処理は、操作部11を通じて所定の送信開始操作がなされると、制御部25により開始される。
FIG. 8A is a flowchart showing a third transmission process executed mainly by the
図8(a)に示す第三送信処理を開始すると、制御部25は、内蔵のフラッシュメモリに記憶されたユーザデータ(写真データや動画データ等)の中から、送信対象のデータをユーザに指定させるためのデータ選択画面を表示部15に表示して、送信対象のデータを問い合わせ、その回答を操作部11を通じてユーザから取得する(S510)。
When the third transmission process shown in FIG. 8A is started, the
次に、短距離無線通信部21を通じて、無線電波の形態で、問合せパケットをブロードキャストし、その応答パケットを受信することにより、通信圏内に位置する他の携帯電話1を発見する(S520)。具体的には、問合せパケットに対する応答パケットを送信してきた携帯電話1を、通信圏内に位置する他の携帯電話1として発見する。
Next, an inquiry packet is broadcast in the form of a radio wave through the short-range
そして、S520の終了後には、データ送信先の携帯電話に対し赤外線通信部23を向けて、赤外線の発信に対応した操作キーを操作するように指示するメッセージを表示画面に表示することで、データ送信先の携帯電話に対し赤外線通信部23を向けて、赤外線の発信を指示するようにユーザに促す(S530)。そして、所定時間以内に、赤外線の発信に対応した操作キーが操作されたかを判断する(S535)。ここで、所定時間以内に、赤外線の発信に対応した操作キーが操作されなかったと判断すると(S535:No)、第三送信処理を終える。
After the end of S520, the
一方、所定時間以内に、赤外線の発信に対応した操作キーを操作されたと判断すると(S535:Yes)、赤外線通信部23を通じて、アドレス応答要求信号を、赤外線の形態で発信する(S540)。その後、制御部25は、短距離無線通信部21を通じた通信に必要なアドレス(例えば、ブルートゥース(登録商標)アドレス)の情報を、赤外線通信部23を通じて、赤外線の形態で、所定時間以内に受信したか否かを判断する(S560)。そして、所定時間内に、アドレスの情報を受信することができなかった場合には、S560でNoと判断して、当該第三送信処理を終了する。
On the other hand, if it is determined that an operation key corresponding to infrared transmission has been operated within a predetermined time (S535: Yes), an address response request signal is transmitted in the form of infrared through the infrared communication unit 23 (S540). After that, the
一方、アドレスの情報を、赤外線通信部23を通じて、所定時間以内に受信したと判断すると(S560:Yes)、赤外線の形態で受信したアドレスが、S520で発見した携帯電話のアドレスの何れかに一致するかを判断する(S570)。そして、赤外線の形態で受信したアドレスが、S520で発見したアドレスの何れにも一致しないと判断すると(S570:No)、第三送信処理を終える。 On the other hand, if it is determined that the address information has been received within the predetermined time through the infrared communication unit 23 (S560: Yes), the address received in the infrared form matches one of the mobile phone addresses found in S520. Judgment is made (S570). When it is determined that the address received in the form of infrared rays does not match any of the addresses found in S520 (S570: No), the third transmission process is terminated.
また、赤外線の形態で受信したアドレスが、S520で発見したアドレスの何れかに一致すると判断すると(S570:Yes)、制御部25は、受信したアドレス先の携帯電話を、通信相手に決定して、短距離無線通信部21を通じ、当該アドレス先の携帯電話に対して接続要求を送信し、当該アドレス先の携帯電話と、自装置との接続を確立する(S580)。そして、S510で指定された送信対象のデータを、接続が確立された上記携帯電話1に短距離無線通信部21を通じて送信して(S590)、第三送信処理を終える。
If it is determined that the address received in the form of infrared rays matches any of the addresses found in S520 (S570: Yes), the
次は、図8(b)を用いて、制御部25が主体となって繰返し実行する第三受信処理を説明する。この第三受信処理は、自装置に対して送信されてくる赤外線の形態のアドレス応答要求信号に応答して、自装置の短距離無線通信用のアドレスを返信するものである。
Next, with reference to FIG. 8B, a third reception process that is repeatedly executed mainly by the
この第三受信処理を開始すると、制御部25は、赤外線通信部23を介して、アドレス応答要求信号を受信するまで待機する(S610)。そして、アドレス応答要求信号を受信すると、自装置の短距離無線通信用のアドレスを、赤外線通信部23を通じて、アドレス応答要求信号送信元の携帯電話1に赤外線の形態で発信する(S650)。
When the third reception process is started, the
そして、S650の処理から所定時間内に、外部の携帯電話1から接続要求を短距離無線通信部21を通じて受信すると(S660:Yes)、接続要求に応答して、接続要求元の携帯電話1との接続を短距離無線通信部21を通じて確立する(S670)。一方、S650の処理から所定時間内に、接続要求を受信することができなかった場合には(S660:No)、第三受信処理を終了する。
Then, when a connection request is received from the external
また、接続要求元の携帯電話1との接続を確立すると、制御部25は、短距離無線通信部21を通じてS670で接続を確立した通信相手から、所定時間以内に、データを受信したか否かを判断する(S680)。そして、データを受信していなければ(S680:No)、第三受信処理を終える。一方、データを受信したのであれば(S680:Yes)、受信したデータをフラッシュメモリに格納して(S690)、第三受信処理を終える。
In addition, when the connection with the connection request source
以上に、本実施例の携帯電話1の構成について説明したが、ユーザが、携帯電話本体を他の携帯電話に向けて、赤外線を発信すると、それを受信した携帯電話との接続が短距離無線通信部21を通じて確立されて、ユーザから指定された送信対象のデータが、短距離無線通信部21を通じて当該接続先の携帯電話に送信される機能は、本実施例の携帯電話1が通信圏内に2つ以上存在する状態で、ある一つの携帯電話1をユーザが操作することにより第三送信処理が制御部25によって実行され、その第三送信処理に対応して、他の携帯電話1が第三受信処理を実行することで実現される。
Although the configuration of the
尚、受信端末は、送信端末が実行するS540での処理により、送信端末から赤外線の形態で送信されるアドレス応答要求信号をS610で赤外線通信部23を通じて受信すると、S650で、自装置のアドレスを赤外線通信部23を通じて赤外線の形態で返信する。
When the receiving terminal receives an address response request signal transmitted in the form of infrared from the transmitting terminal through the
送信端末は、アドレス応答要求信号に対する応答信号として、短距離無線通信用のアドレスをS560で、赤外線通信により赤外線通信部23を通じて受信すると、受信したアドレスの情報から、接続要求すべき受信端末を特定し、特定した受信端末に短距離無線通信部21を通じて接続要求を送信して、当該受信端末との短距離無線通信部21による接続を確立する(S580)。そして、接続が確立した受信端末に、無指向性の短距離無線通信にて、送信対象のデータを送信して、ユーザからの送信開始操作に応える。
As a response signal to the address response request signal, the transmitting terminal receives an address for short-range wireless communication in S560 through the
本実施例では、以上のようにして、送信端末から受信端末へのデータ送信が実現される。
冒頭でも述べたように、本実施例は、指向性の強い赤外線通信を用いて、ユーザがデータを送信しようとしている通信相手を特定し、その後には、無指向性の短距離無線通信にて、特定した通信相手とデータ通信することに特徴がある。
In the present embodiment, data transmission from the transmission terminal to the reception terminal is realized as described above.
As described at the beginning, this embodiment uses a highly directional infrared communication to identify a communication partner to which a user is going to transmit data, and then uses a non-directional short-range wireless communication. It is characterized by data communication with the specified communication partner.
この点について詳述すると、指向性が強いということは、通信相手を特定するのには便利である。しかし、データの送受信中に、通信中の端末を、通信不可能な方向に向けてしまうと、送受信が失敗することになる。しかも、赤外線による送受信の通信速度は、一般的にブルートゥース(登録商標)のような無線電波を用いた短距離無線通信の速度より遅い。よって、赤外線通信によるデータ送受信では、ユーザは、送信端末と受信端末とを向け合いながら、送受信が終わるのを待たねばならず、不便さを感じることになる。 This point will be described in detail. The strong directivity is convenient for specifying a communication partner. However, if the communicating terminal is pointed in a direction incapable of communication during data transmission / reception, the transmission / reception fails. Moreover, the communication speed of infrared transmission / reception is generally slower than the speed of short-range wireless communication using radio waves such as Bluetooth (registered trademark). Therefore, in the data transmission / reception by infrared communication, the user must wait for the transmission / reception to end while facing the transmission terminal and the reception terminal, which is inconvenient.
一方、本実施例のように、赤外線通信は通信相手を特定するためだけに用いて、データの送受信は無指向性の短距離無線通信で行うようにすれば、データ送受信中に、端末を、通信相手に向けておく必要もないし、高速にデータ送受信できるので、上述した不便さを解消することができる。 On the other hand, as in this embodiment, if infrared communication is used only for specifying a communication partner and data transmission / reception is performed by omnidirectional short-range wireless communication, a terminal can be connected during data transmission / reception, There is no need for the communication partner, and data can be transmitted and received at high speed, so that the inconvenience described above can be eliminated.
尚、S650の処理においては、第三送信処理を実行する送信端末に対して、赤外線を返信できることが担保されていないようにみえる。しかし、S610からS650までを短時間で処理すれば、送信端末と受信端末との赤外線通信部23同士による通信可能な状態は、S540で送信端末のユーザが保ち続けていると考えられる。従って、誤って他の通信端末に送信してしまう可能性は低い。
In the process of S650, it seems that it is not guaranteed that infrared rays can be returned to the transmission terminal that executes the third transmission process. However, if processing from S610 to S650 is performed in a short time, it is considered that the user of the transmitting terminal continues to maintain the state in which the
本実施例は、携帯電話1を、家庭用電気製品(以下、家電という)100を操作するためのリモートコントローラ(以下、リモコンという)として用い、ユーザが操作を所望する家電100との通信確立のきっかけを、スイングによって実現しようとするものである。操作対象の家電としては、例えばテレビジョン受像機やエアコンディショナなどを挙げることができる。
In this embodiment, the
ここで、図9を用いて、家電100の構成ならびに家電100及び携帯電話1が構成する通信システムを説明する。家電100は、マイク113、短距離無線通信部121及び制御部125を備える。マイク113は、携帯電話1から発せられるプローブ信号としての音波を取得可能に構成され、短距離無線通信部121は、携帯電話1が備える短距離無線通信部21と、同じ短距離無線通信規格によって通信することが可能に構成されている。
Here, the configuration of the
制御部125は、CPU、RAM、フラッシュメモリ等から構成され、CPUにて、フラッシュメモリに記憶された各種プログラムを実行することにより、装置内各部を統括制御する。
The
続いて、本実施例の携帯電話1が実行する処理について説明する。図10(a)は、携帯電話1の制御部25が主体となって実行する第四送信処理を表すフローチャートである。尚、本実施例の携帯電話1は、上記第四送信処理とは別に、定期的に短距離無線通信部21を通じて通信可能な周囲の通信端末を検索し、S120と同様の手法で、通信圏内に存在する通信端末を発見するように構成されているものとする。
Subsequently, a process executed by the
即ち、第四送信処理は、当該携帯電話1が短距離無線通信圏内に存在する通信端末を発見した状態で、制御部25により実行される。具体的に、第四送信処理は、通信端末を発見した状態で、加速度センサ19により所定閾値以上の加速度が検出されると、制御部25により開始される。
That is, the fourth transmission process is executed by the
この処理を開始すると、制御部25は、第一実施例で説明したS140での処理と同様にして、予め定められた周波数に強いピークを持つ音波を、プローブ信号として、所定時間、スピーカ17を通じて出力すると共に、プローブ信号の出力開始時点から時間ΔTを遅れた時点から、加速度センサ19によって測定された加速度の情報を、合計(n+1)回(nは任意の自然数)、所定周期ΔTで周期的に加速度センサ19から取得して、加速度の時系列データ[aT0,aT1,・・・,aTn]を生成する(S720)。
When this processing is started, the
その後、S150での処理と同様に、S720で生成した加速度の時系列データと、当該時系列データに対応するデータ番号とを、格納したアドレス応答要求パケットを、短距離無線通信部21を通じて、予め発見した全ての携帯電話に送信する(S730)。
Thereafter, similarly to the processing at S150, an address response request packet storing the time series data of the acceleration generated at S720 and the data number corresponding to the time series data is transmitted in advance through the short-range
このようにしてアドレス応答要求パケットの送信を終えると、制御部25は、アドレス応答要求パケットに対する応答パケットとして、当該応答パケットを送信する原因となった時系列データのデータ番号とパケット送信元のアドレスとが格納されたパケットを、短距離無線通信部21を通じて受信したか否かを判断する(S740)。そして、アドレス応答要求パケットの送信後、所定時間内に、応答パケットを受信することができなかった場合には、S740でNoと判断して、第四送信処理を終了する。
When the transmission of the address response request packet is completed in this way, the
一方、短距離無線通信部21を通じて応答パケットを受信したと判断すると(S740:Yes)、制御部25は、受信した応答パケットが示すデータ番号が、S730でアドレス応答要求パケットに格納したデータ番号と一致するか否かを判断する(S745)。そして、S740で受信したデータ番号とS730で送信したデータ番号とが一致しなければ(S745:No)、第四送信処理を終える。
On the other hand, when determining that the response packet has been received through the short-range wireless communication unit 21 (S740: Yes), the
これに対し、S740で受信したデータ番号とS730で送信したデータ番号とが一致するのであれば(S745:Yes)、受信したアドレス先の家電100(即ち、応答パケット送信元の家電100)を通信相手に決定して、当該アドレス先の家電100に対して接続要求を送信し、当該アドレス先の家電と、自装置との接続を確立する(S750)。そして、接続を確立した家電の操作画面を表示部15に表示する(S760)。
On the other hand, if the data number received in S740 matches the data number transmitted in S730 (S745: Yes), the received addressed home appliance 100 (that is, the response packet transmission source home appliance 100) communicates. It determines to the other party, transmits a connection request to the
また、操作画面の表示後には、操作の終了操作(換言すれば操作画面を閉じる操作)が、操作部11を通じてなされたか否かを判断する(S770)。そして、操作の終了操作が、操作部11を通じてなされていない場合には(S770:No)、接続が確立している家電100に対する操作情報が、操作部11を介して入力されたか否かを判断する(S775)。
Further, after the operation screen is displayed, it is determined whether or not an operation end operation (in other words, an operation for closing the operation screen) has been performed through the operation unit 11 (S770). If the operation end operation has not been performed through the operation unit 11 (S770: No), it is determined whether operation information for the
ここで、家電100に対する操作情報が、操作部11を介して入力されたと判断すると(S775:Yes)、制御部25は、その操作情報を、短距離無線通信部21を介して、接続が確立している家電100に送信し(S780)、S770に戻る。また、家電100に対する操作情報が、操作部11を介して入力されていないと判断すると(S775:No)、S780の処理を実行することなくS770に戻る。
When it is determined that the operation information for the
そして、操作の終了操作が操作部11を通じてなされたのであれば(S770:Yes)、接続が確立している家電100に対し、短距離無線通信部21を通じて、接続解除要求を送信し、当該家電100との接続を解除する(S790)。その後、第四送信処理を終了する。
If the operation end operation is performed through the operation unit 11 (S770: Yes), a connection release request is transmitted to the
次は、図10(b)を用いて、家電100の制御部125が主体となって実行する第四受信処理を説明する。第四受信処理は、自装置に対して送信されてくるプローブ信号を解析し、そのプローブ信号を送信してきた携帯電話1が、自装置に対して、アドレス応答要求パケットに対する応答パケットの送信を要求しているか否かを判断するものである。
Next, a fourth reception process executed mainly by the
この第四受信処理は、各家電100において、制御部125により、繰り返し実行される。当該第四受信処理を開始すると、制御部125は、マイク113を通じて入力される情報に基づいて、図3に示す周波数特定処理を行う(S810)。
This fourth reception process is repeatedly executed by the
尚、図3に示す周波数特定処理の内容については、第一実施例で説明したが、S810では、周波数特定処理を実行する主体が家電100の制御部125であるので、それに合わせて、S810で実行する周波数特定処理は、上述した周波数特定処理(第一実施例)の説明において、マイク13を、マイク113に読み替え、制御部25に内蔵されたRAMを、制御部125に内蔵されたRAMに読み替えて、解釈される内容であるものとする。
In addition, although the content of the frequency specific process shown in FIG. 3 was demonstrated in 1st Example, in S810, since the main body which performs a frequency specific process is the
このようにして周波数特定処理を終えると、制御部125は、アドレス応答要求パケットの受信待機状態に遷移し、周波数特定処理を終えた直後から所定時間が経過するまでに、アドレス応答要求パケットを受信すると(S820:Yes)、アドレス応答要求パケットに含まれる加速度の時系列データに基づいて、図5に示すズレ量算出処理を実行する(S830)。ズレ量算出処理は第一実施例で説明したので、ここでは説明しない。
When the frequency specifying process is completed in this way, the
一方、所定時間内に、アドレス応答要求パケットを受信することが出来なかった場合には(S820:No)、第四受信処理を終了する。但し、直前の周波数特定処理で所定時間以上連続的に閾値以上のピークを検出することができなかった場合、制御部25は、形式的に、S820でNoと判断して、当該第一受信処理を終了する。
On the other hand, if the address response request packet cannot be received within the predetermined time (S820: No), the fourth reception process is terminated. However, when the peak exceeding the threshold value cannot be detected continuously for a predetermined time or more in the immediately preceding frequency specifying process, the
ズレ量算出処理を終えると、制御部125は、S830で算出したズレ量が、所定の閾値以下かを判断する(S840)。ズレ量が所定の閾値以下でないと判断すれば(S840:No)、第四受信処理を終える。一方、ズレ量が所定の閾値以下と判断すれば(S840:Yes)、自装置のアドレスと、ズレ量の算出に用いた加速度の時系列データと共に受信した当該時系列データのデータ番号と、格納したアドレス応答要求パケットに対する応答パケットを生成して、これを短距離無線通信部21を通じてブロードキャストする(S850)。
When the deviation amount calculation process is completed, the
また、上記応答パケットの送信後、所定時間内に、外部の携帯電話1から接続要求を短距離無線通信部21を通じて受信すると(S860:Yes)、接続要求に応答して、接続要求元の携帯電話1との接続を確立する(S870)。一方、応答パケットの送信後、所定時間内に、接続要求を受信することができなかった場合には(S860:No)、当該第四受信処理を終了する。
In addition, if a connection request is received from the external
また、接続要求元の携帯電話1との接続を確立すると、家電100の制御部125は、主機能をオンにする処理を実行して、自装置を、待機状態から作動状態に遷移させた後(S875)、S880に移行する。例えば、家電100がテレビジョン受像機である場合には、モニタの電源をオンする処理を実行することで、テレビジョン受像機としての主たる機能をオンにする。但し、このとき既に主機能がオンであったならば、S875では何ら処理を実行することなく、S880に移行するものとする。
In addition, after establishing a connection with the
S880に移行すると、制御部125は、短距離無線通信部121を介して、接続解除要求を受信したかを判断する。ここで、接続解除要求を受信していないと判断すると(S880:No)、制御部125は、短距離無線通信部121を介して、自装置に対する操作情報を受信したかを判断する(S885)。そして、操作情報を受信した場合には(S885:Yes)、受信した操作情報に基づいて、携帯電話1にて操作画面を通じてユーザにより行われた操作に対応する処理を実行し(S890)、S880に戻る。一方、操作情報を受信していない場合には(S885:No)、S890を実行することなく、S880に戻る。
After shifting to S880, the
また、接続解除要求を受信したと判断すると(S880:Yes)、接続解除要求送信元の携帯電話1と自装置との接続を解除して(S895)、第四受信処理を終了する。
以上に説明したように、本実施例の通信システムによれば、携帯電話1を家電100に向けてスイングする程度で、スイング先の家電100を、携帯電話1をリモコンとして用いて操作することができる。従って、複数の家電100が存在する室内においても、ユーザは、携帯電話1をキー操作して、操作対象の家電100を選択したり、操作対象の家電専用のリモコンを探して手にとらなくとも、手元にある携帯電話1を通じて、簡単に、所望の家電100を操作したりすることができ、本実施例の通信システムによれば、家電100に対する操作性が向上する。
If it is determined that a connection release request has been received (S880: Yes), the connection between the
As described above, according to the communication system of the present embodiment, the swing
本実施例は、第二実施例と類似しており、送信端末と受信端末との距離を推定して、所定距離以下であれば、通信相手とみなす処理を行うものである。第二実施例との相違点は、本実施例では、送信端末が距離の推定を行う点である。 The present embodiment is similar to the second embodiment, and estimates the distance between the transmitting terminal and the receiving terminal, and performs processing that is regarded as a communication partner if it is equal to or less than a predetermined distance. The difference from the second embodiment is that in this embodiment, the transmitting terminal estimates the distance.
以下には、この機能を実現するための制御部25が実行する処理について説明する。尚、上記機能は、データ送信元及びデータ受信先の各携帯電話が、以下に説明する本実施例の携帯電話1と同一の機能を有していることを前提として実現される。
Below, the process which the
図11(a)は、制御部25が主体となって実行する第五送信処理を表すフローチャートである。この第五送信処理は、操作部11を通じて所定の送信開始操作がなされると、制御部25により開始される。
FIG. 11A is a flowchart showing a fifth transmission process executed mainly by the
図11(a)に示す第五送信処理を開始すると、制御部25は、内蔵のフラッシュメモリに記憶されたユーザデータ(写真データや動画データ等)の中から、送信対象のデータをユーザに指定させるためのデータ選択画面を表示部15に表示して、送信対象のデータを問い合わせ、その回答を操作部11を通じてユーザから取得する(S910)。
When the fifth transmission process shown in FIG. 11A is started, the
次に、短距離無線通信部21を通じて、無線電波の形態で、問合せパケットをブロードキャストし、その応答パケットを受信することにより、通信圏内に位置する他の携帯電話1を発見する(S920)。具体的には、問合せパケットに対する応答パケットを送信してきた携帯電話1を、通信圏内に位置する他の携帯電話1として発見する。
Next, an inquiry packet is broadcast in the form of radio waves through the short-range
そして、一つも携帯電話を発見できなかった場合には(S923:No)、第五送信処理を終える。一方、一つでも携帯電話を発見したできた場合には(S923:Yes)、発見した各携帯電話1に接続要求を送信して、各携帯電話1との接続を確立する(S925)。
If no mobile phone is found (S923: No), the fifth transmission process is terminated. On the other hand, if at least one mobile phone is found (S923: Yes), a connection request is transmitted to each found
また、S925での処理を終えると、制御部25は、S925で接続した各携帯電話1に対し、プローブ信号の送信周波数として、固有の周波数を割り当てる(S930)。そして、S925で接続した各携帯電話1に対して、S930で割り当てた周波数の情報を、短距離無線通信部21を通じて送信する(S935)。
When the process in S925 is completed, the
また、S935の終了後には、データ送信先の携帯電話1に対して、自己の携帯電話を近づけるように指示するメッセージを表示画面に表示して、ユーザに対し、自己の携帯電話をデータ送信先の携帯電話に近づけるように促す(S940)。そしてS940の直後から、周波数特定処理を行う(S945)。周波数特定処理は第一実施例で説明したものと同じであるので、ここでは説明しない。
Also, after the end of S935, a message instructing the
そして、直前のS945で取得したデータに基づき、所定回数以上、閾値以上のパワーが得られた周波数、が割り当てられた携帯電話1以外の携帯電話1との接続を解除する(S950)。そして、S925で接続を確立した携帯電話1の何れかと、まだ接続が継続されているかを判断する(S960)。そして、何れの携帯電話1とも接続が継続されていないのであれば(S960:No)、第五送信処理を終える。
Then, based on the data acquired in the immediately preceding S945, the connection with the
一方、何れかの携帯電話1と接続が継続されているのであれば(S960:Yes)、制御部25は、その接続継続中の携帯電話1に短距離無線通信部21を通じて、S910で特定したデータを送信して(S990)、第五送信処理を終える。
On the other hand, if the connection with any one of the
次は、図11(b)を用いて、制御部25が主体となって実行する第五受信処理を説明する。制御部25は、この第五受信処理を開始すると、短距離無線通信部21を介して、他の携帯電話1との接続が確立されるまで待機する(S1010)。そして、接続が確立されると、接続が確立された上記他の携帯電話1から短距離無線通信部21を介して、周波数の情報を受信したかを判断する(S1020)。そして、接続先から、短距離無線通信部21を介して、周波数の情報を受信していないと判断すると(S1020:No)、上記携帯電話1との接続が解除されたかを判断する(S1030)。そして、接続が解除されていない場合には(S1030:No)、S1020に戻る。つまり、S1020又はS1030のどちらかでYesと判断されるまで待機する。
Next, the fifth reception process executed mainly by the
そして、接続が解除されたと判断すると(S1030:Yes)、第五受信処理を終える。一方、接続された他の携帯電話1から、短距離無線通信部21を介して、周波数の情報を受信したと判断すれば(S1020:Yes)、受信した周波数の情報を用いて、その周波数に強いピークを持つ音波を、プローブ信号として、マイク13を通じ発信する(S1040)。
If it is determined that the connection has been released (S1030: Yes), the fifth reception process ends. On the other hand, if it is determined that the frequency information is received from the other connected
次に、接続が解除されたかを判断する(S1050)。そして、接続が解除されたと判断すれば(S1050:Yes)、第五受信処理を終える。
一方、接続が解除されていないと判断すると(S1050:No)、制御部25は、S1010で接続が確立された通信相手から、短距離無線通信部21を通じて所定時間以内に、データを受信したか否かを判断する(S1060)。そして、データを受信していないと判断すると(S1060:No)、第五受信処理を終える。一方、データを受信したと判断すると(S1060:Yes)、受信したデータをフラッシュメモリに格納して(S1070)、第五受信処理を終える。
Next, it is determined whether the connection has been released (S1050). If it is determined that the connection has been released (S1050: Yes), the fifth reception process ends.
On the other hand, if it is determined that the connection has not been released (S1050: No), the
本実施例では、以上のようにして、送信端末から受信端末へのデータ送信が実現される。 In the present embodiment, data transmission from the transmission terminal to the reception terminal is realized as described above.
本実施例は、第二実施例及び第五実施例と類似しており、送信端末と受信端末との距離を推定して、所定距離以下であれば、通信相手とみなす処理を行うものである。第二実施例及び第五実施例との相違点は、本実施例では、短距離無線通信用の電波を用いて距離の推定を行う点である。 The present embodiment is similar to the second embodiment and the fifth embodiment, and estimates the distance between the transmitting terminal and the receiving terminal, and performs processing that is regarded as a communication partner if it is equal to or less than a predetermined distance. . The difference from the second embodiment and the fifth embodiment is that in this embodiment, the distance is estimated using radio waves for short-range wireless communication.
以下には、この機能を実現するための制御部25が実行する処理について説明する。尚、上記機能は、データ送信元及びデータ受信先の各携帯電話が、以下に説明する本実施例の携帯電話1と同一の機能を有していることを前提として実現される。
Below, the process which the
図12(a)に示す第六送信処理を開始すると、制御部25は、内蔵のフラッシュメモリに記憶されたユーザデータ(写真データや動画データ等)の中から、送信対象のデータをユーザに指定させるためのデータ選択画面を表示部15に表示して、送信対象のデータを問い合わせ、その回答を操作部11を通じてユーザから取得する(S1110)。
When the sixth transmission process shown in FIG. 12A is started, the
次に、短距離無線通信部21を通じて、無線電波の形態で、問合せパケットをブロードキャストし、その応答パケットを受信することにより、通信圏内に位置する他の携帯電話1を発見する(S1120)。具体的には、問合せパケットに対する応答パケットを送信してきた携帯電話1を、通信圏内に位置する他の携帯電話1として発見する。そして、S1120の終了後に、データ送信先の携帯電話に対して、自己の携帯電話を近づけるように指示するメッセージを表示画面に表示して、ユーザに対し、自己の携帯電話をデータ送信先の携帯電話に近づけるように促す(S1130)。
Next, an inquiry packet is broadcast in the form of radio waves through the short-range
そして、短距離無線通信部21を通じて、電波強度の情報を格納したアドレス応答要求パケットを、無線電波として上記電波強度で周囲に送信する(S1140)。即ち、この電波強度の情報は、S1140で送信する無線電波の出力強度の情報である。詳述すると、電波を送信する前には、諸条件に基づいて電波強度を決定し、その決定した電波強度で送信を行うように、携帯電話1は構成されている。そして、その決定した電波強度の情報をアドレス応答要求パケットに格納して送信するのが、S1140の処理である。
Then, the address response request packet storing the radio field strength information is transmitted as a radio wave to the surroundings with the radio field intensity through the short-range radio communication unit 21 (S1140). That is, the information on the radio wave intensity is information on the output intensity of the radio wave transmitted in S1140. More specifically, the
また、この処理を終えると、制御部25は、所定時間、アドレス応答要求パケットに対する応答パケットとして、パケット送信元携帯電話のアドレスと電波強度の情報とが格納されたパケットの受信を受け付ける。
When this process is completed, the
そして、所定時間内に、アドレス応答要求パケットに対する応答パケットとして、パケット送信元携帯電話のアドレスと電波強度の情報とが格納されたパケットを、短距離無線通信部21を通じて受信したか否かを判断する(S1150)。そして、アドレス応答要求パケットの送信後、所定時間内に、応答パケットを受信することができなかった場合には、S1150でNoと判断して、当該第六送信処理を終了する。
Then, it is determined whether or not the packet storing the address of the packet transmission source mobile phone and the radio wave intensity information is received through the short-range
一方、短距離無線通信部21を通じて上記応答パケットを受信したと判断すると(S1150:Yes)、制御部25は、受信した各応答パケットについて、応答パケット内に記された電波強度とS1140で送信した際の電波強度との差が、所定の閾値以下か否かを判断する(S1160)。そして、受信した全ての応答パケットについて、パケット内に記された電波強度の情報と、S1140で送信した電波強度との差が所定の閾値以下でなければ(S1160:No)、第六送信処理を終える。
On the other hand, if it is determined that the response packet has been received through the short-range wireless communication unit 21 (S1150: Yes), the
これに対し、受信した応答パケットの内、いずれかの応答パケットについて、パケット内に記された電波強度と、S1140で送信した電波強度との差が、所定の閾値以下であれば(S1160:Yes)、受信した応答パケットであって、パケット内に記された電波強度とS1140で送信した電波強度との差が閾値以下の各応答パケット、が示すアドレス先の携帯電話を、通信相手に決定して、当該アドレス先の携帯電話に対して接続要求を送信し、当該アドレス先の携帯電話と、自装置との接続を確立する(S1170)。そして、S1110で指定された送信対象のデータを、接続が確立された上記携帯電話1に短距離無線通信部21を通じて送信して(S1180)、第六送信処理を終える。
On the other hand, for any one of the received response packets, if the difference between the radio wave intensity recorded in the packet and the radio wave intensity transmitted in S1140 is equal to or smaller than a predetermined threshold (S1160: Yes) ), The received response packet, and the addressed mobile phone indicated by each response packet in which the difference between the radio wave intensity described in the packet and the radio wave intensity transmitted in S1140 is equal to or less than a threshold is determined as the communication partner. Then, a connection request is transmitted to the mobile phone of the address destination, and the connection between the mobile phone of the address destination and the own device is established (S1170). Then, the transmission target data specified in S1110 is transmitted to the
次は、図12(b)を用いて、制御部25が主体となって実行する第六受信処理を説明する。第六受信処理は、自装置に対して送信されてくる無線電波の減衰量から、その無線電波を送信してきた携帯電話1が、自装置に対して、アドレス応答要求パケットに対する応答パケットの送信(換言すれば、接続)を要求しているかを判断するものである。
Next, the sixth reception process executed mainly by the
第六受信処理は、制御部25が、繰り返し実行する処理である。この第六受信処理を開始すると、制御部25は、電波強度の情報が格納されたアドレス応答要求パケットを、短距離無線通信部21を通じて受信するまで待機し(S1210)、当該アドレス応答要求パケットを受信すると、その際に短距離無線通信部21を通じて受信した電波の強度を測定する(S1220)。
The sixth reception process is a process that the
そして、S1220で測定した電波強度を、S1210で受信したパケットに格納されていた電波強度の情報が示す電波強度で除算することで、受信した無線電波の送信時からの強度比を求めて、当該強度比が所定の閾値以上であるかを判断する(S1225)。この処理を説明すると、電波強度は、短距離においては、距離の二乗に比例して減衰すると近似できる。よって、本実施例では、送信端末が発信した際の電波強度と、受信端末が受信した電波の強度とに基づいて、自装置から送信端末まで距離を大凡推定する。 Then, by dividing the radio wave intensity measured in S1220 by the radio wave intensity indicated by the radio wave intensity information stored in the packet received in S1210, the intensity ratio from the time of transmission of the received radio wave is obtained. It is determined whether the intensity ratio is greater than or equal to a predetermined threshold (S1225). Explaining this process, the radio wave intensity can be approximated to be attenuated in proportion to the square of the distance at a short distance. Therefore, in this embodiment, the distance from the own apparatus to the transmission terminal is roughly estimated based on the radio wave intensity when the transmission terminal transmits and the radio wave intensity received by the reception terminal.
そして、S1225で計算した値が所定の閾値以上でないと判断すると(S1225:No)、送信端末が遠くに位置すると見做して、第六受信処理を終える。一方、S1225で計算した値が所定の閾値以上であると判断すると(S1225:Yes)、送信端末が近くに位置すると見做して、S1210で取得した電波強度の情報と自装置のアドレスとを格納した、アドレス応答要求パケットに対する応答パケットを生成し、これを短距離無線通信部21を通じてブロードキャストする(S1230)。 If it is determined that the value calculated in S1225 is not equal to or greater than the predetermined threshold (S1225: No), it is assumed that the transmitting terminal is located far away, and the sixth reception process is terminated. On the other hand, if it is determined that the value calculated in S1225 is equal to or greater than a predetermined threshold (S1225: Yes), it is assumed that the transmitting terminal is located nearby, and the radio wave intensity information acquired in S1210 and the address of the own device are obtained. A response packet for the stored address response request packet is generated and broadcast through the short-range wireless communication unit 21 (S1230).
また、上記応答パケットの送信後、所定時間内に、外部の携帯電話1から接続要求を短距離無線通信部21を通じて受信すると(S1240:Yes)、接続要求に応答して、接続要求元の携帯電話1との接続を確立する(S1250)。一方、応答パケットの送信後、所定時間内に、接続要求を受信することができなかった場合には(S1240:No)、第六受信処理を終了する。
In addition, when a connection request is received from the external
また、接続要求元の携帯電話1との接続を確立すると、次に、制御部25は、短距離無線通信部21を通じてS1250で接続を確立した通信相手から、所定時間以内に、データを受信したか否かを判断する(S1260)。そして、データを受信していなければ(S1260:No)、第六受信処理を終える。一方、データを受信したのであれば(S1260:Yes)、受信したデータをフラッシュメモリに格納して(S1270)、第六受信処理を終える。
In addition, when the connection with the connection request source
このように、無線電波を用いて距離の推定を行えば、音波を入出力するスピーカやマイクを備えていない通信機器にも本発明を適用することができ、用途の幅が拡大する。
尚、本発明の実施態様は、上に記載された実施例に限定されない。
As described above, if the distance is estimated using radio waves, the present invention can be applied to a communication device that does not include a speaker or a microphone that inputs and outputs sound waves, and the range of applications is expanded.
The embodiments of the present invention are not limited to the examples described above.
例えば、第四実施例に記載の通信システムにおいては、携帯電話1を、対応する機能を有する専用のリモコン機器として構成してもよく、この専用機器を用いて、家電100を遠隔操作可能な通信システムを構成してもよい。
For example, in the communication system described in the fourth embodiment, the
この他、第一〜第六実施例においては、携帯電話1に、本発明を適用した例を示したが、本発明の通信装置としての機能は、携帯型のパーソナルコンピュータやPDA等にも組み込むことができる。
In addition, in the first to sixth embodiments, an example in which the present invention is applied to the
また、プローブ信号として電磁波を用いる例について、ここで説明する。これを実現するには、第一又は第四実施例において、プローブ信号として電磁波を用いればよい。因みに、この電磁波は可視光線がよい。そうすれば、プローブ信号を、通信を所望する受信端末を目がけて発信するのが容易になる。また、第二実施例において、音波を電磁波に置き換えてもよい。 Further, an example of using the electromagnetic wave as probe signals, will now be described. In order to realize this, an electromagnetic wave may be used as a probe signal in the first or fourth embodiment. Incidentally, this electromagnetic wave is preferably visible light. If it does so, it will become easy to send a probe signal aiming at the receiving terminal which desires communication. Further, in the second embodiment may be replaces sound waves to the electromagnetic wave.
また、第一実施例の変形例として、携帯電話1は、次のように構成されてもよい。即ち、第一受信処理においては、S240の処理を実行せず、常にS250の処理を実行して、アドレス応答要求パケットに対する応答パケットをブロードキャストするようにし、更に、S250では、アドレス応答要求パケットに対する応答パケットとして、上記データ番号及び自装置のアドレスと共に、S230で算出したズレ量を格納した応答パケットを生成し、これを送信するようにする。
As a modification of the first embodiment, the
一方、第一送信処理においては、アドレス応答要求パケットの送信後、所定時間、応答パケットの受信を受け付け、所定時間内に、アドレス応答要求パケットに対する応答パケットとして、パケット送信元携帯電話のアドレス及びデータ番号及びパケット送信元で算出されたズレ量が格納されたパケットを受信したか否かを判断する(S160)。 On the other hand, in the first transmission process, the reception of the response packet is accepted for a predetermined time after the transmission of the address response request packet, and the address and data of the packet transmission source mobile phone are received as a response packet for the address response request packet within the predetermined time. It is determined whether a packet storing the number and the amount of deviation calculated by the packet transmission source is received (S160).
そして、一以上の応答パケットを受信したと判断すると(S160でYes)、受信した各応答パケットについて、応答パケットに記されたデータ番号が、直前のS150でアドレス応答要求パケットに格納したデータ番号と一致するか否かを判断する(S170)。 If it is determined that one or more response packets have been received (Yes in S160), the data number described in the response packet for each received response packet is the data number stored in the address response request packet in the immediately preceding S150. It is determined whether or not they match (S170).
そして、受信した応答パケットの内、いずれかの応答パケットについて、応答パケットに記されたデータ番号とS150で送信したデータ番号とが一致するのであれば(S170:Yes)、受信した応答パケットであって上記データ番号が一致すると判断した応答パケットの中から、パケット内に記されたズレ量が最小の応答パケットを一つだけ選択し、選択した当該応答パケットが示すアドレス先の携帯電話(応答パケット送信元の携帯電話)を、通信相手に決定して、当該アドレス先の携帯電話に対して接続要求を送信し、当該アドレス先の携帯電話と、自装置との接続を確立する(S180)。 If any of the received response packets matches the data number written in the response packet with the data number transmitted in S150 (S170: Yes), the response packet is not received. Then, from the response packets that are determined to match the data numbers, only one response packet with the smallest amount of deviation described in the packet is selected, and the mobile phone at the address indicated by the selected response packet (response packet) The transmission source mobile phone) is determined as the communication partner, a connection request is transmitted to the mobile phone of the address destination, and the connection between the mobile phone of the address destination and the own device is established (S180).
このように携帯電話1を構成した場合でも、第一実施例と同様の効果を得ることができる。
また、第四実施例の携帯電話1及び家電100についても同様の構成にすることができる。即ち、第四受信処理においては、S840の処理を実行せず、常にS850の処理を実行するようにする。また、S850では、S250での処理と同様に、アドレス応答要求パケットに対する応答パケットに、S830で算出したズレ量の情報を格納する。
Even when the
The
一方、第四送信処理においては、アドレス応答要求パケットの送信後、所定時間、応答パケットの受信を受け付け、所定時間内に、アドレス応答要求パケットに対する応答パケットを受信したか否かを判断する(S740)。そして、応答パケットを一以上受信したと判断した場合には(S740でYes)、S745の処理を経てS750に移行する。 On the other hand, in the fourth transmission process, reception of the response packet is accepted for a predetermined time after transmitting the address response request packet, and it is determined whether or not a response packet for the address response request packet has been received within the predetermined time (S740). ). If it is determined that one or more response packets have been received (Yes in S740), the process proceeds to S750 through the process of S745.
そして、S750では、受信した応答パケットであって上記データ番号が一致すると判断した応答パケットの中から、パケット内に記されたズレ量が最小の応答パケットを一つだけ選択し、選択した当該応答パケットが示すアドレス先の家電100(応答パケット送信元の家電100)を、通信相手に決定して、当該アドレス先の家電100に対して接続要求を送信し、当該アドレス先の家電100と、自装置との接続を確立する(S750)。
Then, in S750, only one response packet with the smallest amount of deviation written in the packet is selected from the response packets that have been determined that the data numbers match, and the selected response packet is selected. The
このように携帯電話1及び家電100を構成した場合でも、第四実施例と同様の効果を得ることができる。
また、第二実施例の変形例として、携帯電話1は、次のように構成されてもよい。即ち、第二受信処理のS450で送信する応答パケットに格納するピーク周波数を算出する際に、S443で用いた各ピーク周波数のパワーの平均値を、この応答パケットに格納するようにする。
Thus, even when the
As a modification of the second embodiment, the
そして、第二送信処理のS380では、受信した応答パケットであって、パケット内に記されたピーク周波数とS340で送信した音波のピークの周波数との差が閾値以下の応答パケットの中から、パケット内に記されたパワーが最大の応答パケットを一つだけ選択し、選択した当該応答パケットが示すアドレス先の携帯電話(応答パケット送信元の携帯電話)を、通信相手に決定して、当該アドレス先の携帯電話に対して接続要求を送信し、当該アドレス先の携帯電話と、自装置との接続を確立する。 Then, in S380 of the second transmission process, the packet is a response packet received from the response packets in which the difference between the peak frequency described in the packet and the peak frequency of the sound wave transmitted in S340 is equal to or less than the threshold value. Select only one response packet with the maximum power in the address, determine the mobile phone of the address destination indicated by the selected response packet (the mobile phone from which the response packet was sent) as the communication partner, and A connection request is transmitted to the destination mobile phone, and the connection between the mobile phone of the address destination and the own device is established.
このように携帯電話1を構成すれば、最も接近した携帯電話1間でデータ授受することができる。
この他、第五実施例の変形例として、携帯電話1は、次のように構成されてもよい。即ち、第五送信処理のS990では、近辺にいる他の携帯電話の内、自装置に最も近い位置に存在する携帯電話をデータ送信先とするために、S990において、接続が継続されている携帯電話1の内、自装置にて受信した音波のパワーが最大の携帯電話1をデータ送信先に選択して、選択した携帯電話1に短距離無線通信部21を通じて、S910で特定したデータを送信する。 このように携帯電話1を構成すれば、最も接近した携帯電話1間でデータ授受することができる。
If the
In addition, as a modification of the fifth embodiment, the
また、第六実施例の変形例として、携帯電話1は、次のように構成されてもよい。即ち、第六受信処理においては、S1225の処理を実行せず、常にS1230の処理を実行して、S1230では、アドレス応答要求パケットに対する応答パケットとして、S1210で取得した出力電波強度の情報及び自装置のアドレスの情報と共に、S1220で測定した受信電波強度の情報を格納した応答パケットを生成し、これを短距離無線通信部21を通じてブロードキャストする。
As a modification of the sixth embodiment, the
一方、第六受信処理のS1150では、アドレス応答要求パケットの送信後、所定時間、応答パケットの受信を受け付け、S1170では、受信した応答パケットであって、パケット内に記された出力電波強度とS1140での出力電波強度との差が閾値以下の応答パケットの内、パケット内に記された受信電波強度が最大の応答パケットを一つだけ選択し、選択した当該応答パケットが示すアドレス先の携帯電話(応答パケット送信元の携帯電話)を、通信相手に決定して、当該アドレス先の携帯電話に対して接続要求を送信し、当該アドレス先の携帯電話と、自装置との接続を確立する(S1170)。 On the other hand, in S1150 of the sixth reception process, reception of the response packet is accepted for a predetermined time after the transmission of the address response request packet. In S1170, the received response packet includes the output radio wave intensity indicated in the packet and S1140. From the response packets whose difference from the output radio wave intensity at the threshold is less than or equal to the threshold value, select only one response packet with the maximum received radio wave intensity indicated in the packet, and the mobile phone at the address indicated by the selected response packet (Response packet transmission source mobile phone) is determined as a communication partner, a connection request is transmitted to the mobile phone of the address destination, and the connection between the mobile phone of the address destination and the own device is established ( S1170).
このように携帯電話1を構成すれば、最も接近した携帯電話1間でデータ授受をすることができる。
If the
1…携帯電話、11…操作部、13,113…マイク、15…表示部、17…スピーカ、19…加速度センサ、21,121…短距離無線通信部、23…赤外線通信部、25,125…制御部、家電…100
DESCRIPTION OF
Claims (3)
前記無線受信手段が前記外部通信装置から受信した要求信号が自装置宛の要求信号であるか否かを、要求信号出力時の自装置に対する前記外部通信装置の運動状態に基づき、判定する判定手段と、
前記判定手段により、前記受信した要求信号が自装置宛の要求信号であると判定されると、前記受信した要求信号に対応した処理を実行する処理実行手段と、
を備え、
前記判定手段は、前記外部通信装置の運動状態をカメラにより撮影して、前記外部通信装置が前記要求信号出力時に自装置に向かって変位すると、当該要求信号が自装置宛の要求信号であると判定することを特徴とする通信装置。 A wireless receiving means capable of receiving the wireless radio wave output from an external communication device that outputs a request signal to the surroundings in the form of a wireless radio wave;
Determination means for determining whether or not the request signal received by the wireless reception means from the external communication device is a request signal addressed to the own device based on the motion state of the external communication device relative to the own device when the request signal is output. When,
When the determination means determines that the received request signal is a request signal addressed to the own apparatus, a process execution means for executing a process corresponding to the received request signal;
With
The determination means captures a motion state of the external communication device with a camera, and when the external communication device is displaced toward the own device when the request signal is output, the request signal is a request signal addressed to the own device. A communication device characterized by determining.
前記無線受信手段が前記外部通信装置から受信した要求信号が自装置宛の要求信号であるか否かを、要求信号出力時の自装置に対する前記外部通信装置の運動状態に基づき、判定する判定手段と、
前記判定手段により、前記受信した要求信号が自装置宛の要求信号であると判定されると、前記受信した要求信号に対応した処理を実行する処理実行手段と、
前記要求信号と共に前記外部通信装置から出力されるプローブ信号としての所定周波数の音信号又は電磁波信号を受信可能なプローブ信号受信手段と、
を備え、
前記判定手段は、前記プローブ信号受信手段が受信したプローブ信号を周波数解析して、前記外部通信装置から出力されたプローブ信号のドップラーシフト量を算出し、前記算出したドップラーシフト量に基づき、前記要求信号出力時に前記外部通信装置が自装置に向かって変位したか否かを判定する構成にされ、前記要求信号出力時に自装置に向かって変位した前記外部通信装置からの前記要求信号を自装置宛の要求信号であると判定することを特徴とする通信装置。 A wireless receiving means capable of receiving the wireless radio wave output from an external communication device that outputs a request signal to the surroundings in the form of a wireless radio wave;
Determination means for determining whether or not the request signal received by the wireless reception means from the external communication device is a request signal addressed to the own device based on the motion state of the external communication device relative to the own device when the request signal is output. When,
When the determination means determines that the received request signal is a request signal addressed to the own apparatus, a process execution means for executing a process corresponding to the received request signal;
Probe signal receiving means capable of receiving a sound signal or electromagnetic wave signal of a predetermined frequency as a probe signal output from the external communication device together with the request signal;
With
The determination unit performs frequency analysis on the probe signal received by the probe signal reception unit, calculates a Doppler shift amount of the probe signal output from the external communication device, and based on the calculated Doppler shift amount, the request The external communication device is configured to determine whether or not the external communication device is displaced toward the own device when a signal is output. The request signal from the external communication device that is displaced toward the own device when the request signal is output is addressed to the own device. A communication apparatus, characterized in that it is determined that the signal is a request signal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007332487A JP5096128B2 (en) | 2007-12-25 | 2007-12-25 | Communication apparatus and program |
JP2012178455A JP5400941B2 (en) | 2007-12-25 | 2012-08-10 | Communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007332487A JP5096128B2 (en) | 2007-12-25 | 2007-12-25 | Communication apparatus and program |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012178455A Division JP5400941B2 (en) | 2007-12-25 | 2012-08-10 | Communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009159066A JP2009159066A (en) | 2009-07-16 |
JP5096128B2 true JP5096128B2 (en) | 2012-12-12 |
Family
ID=40962640
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007332487A Expired - Fee Related JP5096128B2 (en) | 2007-12-25 | 2007-12-25 | Communication apparatus and program |
JP2012178455A Expired - Fee Related JP5400941B2 (en) | 2007-12-25 | 2012-08-10 | Communication device |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012178455A Expired - Fee Related JP5400941B2 (en) | 2007-12-25 | 2012-08-10 | Communication device |
Country Status (1)
Country | Link |
---|---|
JP (2) | JP5096128B2 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101706978B1 (en) * | 2009-08-26 | 2017-02-17 | 삼성전자주식회사 | Method for bluetooth communication and terminal applying the same |
JP5060534B2 (en) * | 2009-09-09 | 2012-10-31 | 日立アプライアンス株式会社 | Air conditioner |
JP5430519B2 (en) * | 2010-08-16 | 2014-03-05 | Kddi株式会社 | Relative direction estimation method, search side terminal, and searched side terminal |
JP5810005B2 (en) * | 2012-02-27 | 2015-11-11 | Kddi株式会社 | Terminal designation system, operation terminal thereof and designated terminal |
JP2013174537A (en) * | 2012-02-27 | 2013-09-05 | Kddi Corp | Mobile follow-up system, follow-up terminal therefor, and mobile terminal |
JP6029292B2 (en) * | 2012-03-02 | 2016-11-24 | オリンパス株式会社 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
JP6051691B2 (en) * | 2012-08-31 | 2016-12-27 | 株式会社リコー | Device cooperation program, device cooperation system, device cooperation method, and portable terminal |
CN104427350A (en) * | 2013-08-29 | 2015-03-18 | 中兴通讯股份有限公司 | Associated content processing method and system |
JP2015056776A (en) * | 2013-09-12 | 2015-03-23 | 株式会社リコー | Image processing device, mobile information terminal, network system, and program |
JP6160447B2 (en) * | 2013-10-31 | 2017-07-12 | ヤマハ株式会社 | Terminal device and program |
JP6527206B2 (en) * | 2017-10-19 | 2019-06-05 | 三菱電機株式会社 | CONTROL DEVICE, DEVICE OPERATION SYSTEM, CONTROL METHOD, AND PROGRAM |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10252366A (en) * | 1997-03-14 | 1998-09-22 | Sanwa Shutter Corp | Remote control device in electric shutter for construction |
JP2000106057A (en) * | 1998-09-29 | 2000-04-11 | Hitachi Ltd | Remote operation device |
JP2000152352A (en) * | 1998-11-18 | 2000-05-30 | Sharp Corp | Radio remote control system |
JP2001258082A (en) * | 2000-03-09 | 2001-09-21 | Seiko Epson Corp | Remote control system |
JP3979856B2 (en) * | 2002-01-31 | 2007-09-19 | 文化シヤッター株式会社 | Controlled-side radio apparatus and radio open / close control system |
JP2003284170A (en) * | 2002-03-20 | 2003-10-03 | Toto Ltd | Radio wave remote control system |
JP2004052482A (en) * | 2002-07-24 | 2004-02-19 | Matsushita Electric Ind Co Ltd | Remote control system |
JP2004096685A (en) * | 2002-09-04 | 2004-03-25 | Sony Corp | Remote controller and method for operating electronic device |
JP2007318512A (en) * | 2006-05-26 | 2007-12-06 | Canon Inc | Remote apparatus control system |
-
2007
- 2007-12-25 JP JP2007332487A patent/JP5096128B2/en not_active Expired - Fee Related
-
2012
- 2012-08-10 JP JP2012178455A patent/JP5400941B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2012253809A (en) | 2012-12-20 |
JP2009159066A (en) | 2009-07-16 |
JP5400941B2 (en) | 2014-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5096128B2 (en) | Communication apparatus and program | |
EP2541800B1 (en) | Connection establishment between two devices via a relaying device using nfc | |
JP5746244B2 (en) | Imaging operation terminal, imaging system, imaging operation method, and program | |
US20180192460A1 (en) | Method for establishing connection between devices | |
JP6782348B2 (en) | Communication device and control method of communication device | |
US10345891B2 (en) | First information processing apparatus, second information processing apparatus, information processing system, and information processing method | |
CN113015065B (en) | Connection method, device, equipment and computer storage medium | |
EP3836582B1 (en) | Relay device for voice commands to be processed by a voice assistant, voice assistant and wireless network | |
WO2020252958A1 (en) | Intercom communication method, device and system, storage medium and intercom | |
WO2019037190A1 (en) | Wi-fi hotspot connection method and terminal | |
JPWO2014203657A1 (en) | Wireless communication apparatus and communication control apparatus | |
WO2023284418A1 (en) | Positioning method and apparatus, and electronic device and computer-readable storage medium | |
WO2015085487A1 (en) | Method and device for controlling device | |
US20210019112A1 (en) | Acoustic system | |
WO2019057119A1 (en) | Mobile terminal-based wifi hotspot connection method, mobile terminal and storage medium | |
CN108540659B (en) | Method, terminal and computer readable storage medium for reducing TDD noise influence | |
JP6177618B2 (en) | Information processing apparatus, information system, and computer program | |
CN113079246B (en) | Audio playing method and device, equipment and storage medium | |
JP5199970B2 (en) | System and method for displaying user in viewable range on display of operation target device | |
JP2016171428A (en) | Information processing unit, communication system, information processing method and program | |
EP4344100A1 (en) | Communication method, and system, and storage medium | |
WO2024077425A1 (en) | Mobile network perception methods and apparatuses, storage medium, perception execution end and perception application function network element | |
WO2023193655A1 (en) | Device determination method, remote control device, electronic device and system | |
WO2023178578A1 (en) | Information processing method and apparatus, communication device, and storage medium | |
KR20110048682A (en) | Method for communicating a bluetooth communication and a bluetooth device and a system therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20101015 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120203 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120214 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120416 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120612 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120810 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120828 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120920 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5096128 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150928 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: R3D02 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: R3D04 |
|
LAPS | Cancellation because of no payment of annual fees |