JP4970310B2 - Electronic device and communication control method - Google Patents

Electronic device and communication control method Download PDF

Info

Publication number
JP4970310B2
JP4970310B2 JP2008046184A JP2008046184A JP4970310B2 JP 4970310 B2 JP4970310 B2 JP 4970310B2 JP 2008046184 A JP2008046184 A JP 2008046184A JP 2008046184 A JP2008046184 A JP 2008046184A JP 4970310 B2 JP4970310 B2 JP 4970310B2
Authority
JP
Japan
Prior art keywords
electronic device
predetermined
connection
detected
force
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.)
Active
Application number
JP2008046184A
Other languages
Japanese (ja)
Other versions
JP2009206744A (en
Inventor
誠 山下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2008046184A priority Critical patent/JP4970310B2/en
Publication of JP2009206744A publication Critical patent/JP2009206744A/en
Application granted granted Critical
Publication of JP4970310B2 publication Critical patent/JP4970310B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は無線通信を実行する電子機器および同機器に適用される通信制御方法に関する。   The present invention relates to an electronic device that performs wireless communication and a communication control method applied to the device.

近年、電子機器間を接続するためのインタフェースとして、電子機器間を近距離無線通信システムのような無線通信方式を用いて無線接続する無線インタフェースが注目されている。   In recent years, as an interface for connecting electronic devices, a wireless interface for wirelessly connecting electronic devices using a wireless communication method such as a short-range wireless communication system has attracted attention.

このような無線インタフェースを利用することにより、ユーザは、ケーブルを介して機器同士を接続することなく、それら機器間の通信を容易に実行することができる。   By using such a wireless interface, a user can easily execute communication between devices without connecting the devices via a cable.

しかし、無線接続においては、通信対象の機器同士がケーブルを介して物理的に関連づけられる有線接続とは異なり、通信対象の機器間を関連付けるための特別な処理が必要となる。具体的には、例えば、ユーザは、ある機器の通信操作画面等を操作することにより、通信範囲内に存在する機器の中から接続相手とすべき機器を明示的に指定するといった操作を行うことが必要とされる。   However, in the wireless connection, different from the wired connection in which the communication target devices are physically associated with each other via a cable, a special process for associating the communication target devices is required. Specifically, for example, the user performs an operation of explicitly specifying a device to be a connection partner from devices existing within a communication range by operating a communication operation screen of a device. Is needed.

また、最近では、無線接続すべき機器間の関連付けを容易にするために、NFC(Near Field Communication)といったより通信範囲の狭い無線通信方式を使用することが提案され始めている。   Recently, in order to facilitate association between devices to be wirelessly connected, it has begun to be proposed to use a wireless communication system with a narrower communication range such as NFC (Near Field Communication).

しかし、NFCにおいては、使用する機器同士を所定の位置関係に設定しなければそれら機器間の通信を上手く行うことが出来ない等の不具合もある。   However, in NFC, there is a problem that communication between the devices cannot be performed successfully unless the devices to be used are set in a predetermined positional relationship.

特許文献1には、無線接続された2つのポータブル装置間でコンテンツの転送を行うシステムが開示されている。このシステムにおいては、2つのポータブル装置間が重ねられた状態で一緒に揺さぶられたことを契機に、それら装置間のコンテンツ転送が開始される。
特表2006−518507号公報
Patent Document 1 discloses a system for transferring content between two wirelessly connected portable devices. In this system, when two portable devices are shaken together in an overlapped state, content transfer between these devices is started.
JP 2006-518507 A

しかし、特許文献1のシステムにおいては、機器間を無線接続するための制御手順については特に考慮されていない。通常、2つの機器間の無線接続を確立するためには、一方の機器が無線接続処理を開始し、他方の機器が待ち受け状態に入ることが必要とされる。このように2つ機器それぞれに対して役割を適切に設定しなければ、2つの機器からの無線接続要求の衝突や、2つの機器が共に待ち受け状態に入ることなどにより、無線接続に失敗する可能性がある。   However, in the system of Patent Document 1, no particular consideration is given to a control procedure for wirelessly connecting devices. Normally, in order to establish a wireless connection between two devices, one device needs to start a wireless connection process and the other device needs to enter a standby state. In this way, if the roles are not set appropriately for each of the two devices, the wireless connection may fail due to the collision of wireless connection requests from the two devices or the two devices entering a standby state together. There is sex.

よって、ユーザによる操作画面の操作等の特別な操作無しで、所望の2つの機器間の無線接続を容易に確立することが可能な新たな機能の実現が必要である。   Therefore, it is necessary to realize a new function that can easily establish a wireless connection between two desired devices without a special operation such as an operation screen operation by the user.

本発明は上述の事情を考慮してなされたものであり、ユーザによる操作画面の操作無しで、接続相手との無線接続を容易に確立することが可能な電子機器および通信制御方法を提供することを目的とする。   The present invention has been made in consideration of the above-described circumstances, and provides an electronic device and a communication control method capable of easily establishing a wireless connection with a connection partner without a user operating an operation screen. With the goal.

上述の課題を解決するために、本発明の一態様によれば、無線通信を実行する無線通信部を含む電子機器であって、前記電子機器に外部から加わる力を検出する検出手段と、前記検出手段によって検出された力が予め決められた基準値を超えた場合、前記検出された力が前記基準値を超えたことが検出された検出時点よりも前の所定時間内に前記検出手段によって検出された力が所定値以上であるか否かを判別する手段と、前記検出時点よりも前の前記所定時間内に検出された力が前記所定値以上である場合、外部の電子機器に無線接続する手順を実行するための無線接続処理または外部の電子機器からの無線接続要求に応答する待ち受け処理の一方の処理を開始するよう前記無線通信部を制御し、前記検出時点よりも前の前記所定時間内に検出された力が前記所定値以上でない場合、前記無線接続処理または前記待ち受け処理の他方の処理を開始するよう前記無線通信部を制御する接続制御手段とを具備することを特徴とする電子機器が提供される。 In order to solve the above-described problem, according to one aspect of the present invention, an electronic device including a wireless communication unit that performs wireless communication, the detection unit that detects external force applied to the electronic device, When the force detected by the detection means exceeds a predetermined reference value, the detection means within a predetermined time before the detection time point when the detected force is detected to exceed the reference value. If the detected force is a means for determining whether a predetermined value or more, than said detected point is detected before the predetermined time period forces the predetermined value or more, the electronic apparatus of the external The wireless communication unit is controlled so as to start one of a wireless connection process for executing a wireless connection procedure or a standby process in response to a wireless connection request from an external electronic device, and before the detection time point. Within the predetermined time Electronic out force is characterized by comprising a connection control unit for controlling the wireless communication unit to start the other process of the case less than the predetermined value, prior Symbol wireless connection process or the waiting process Equipment is provided.

本発明の別の態様によれば、電子機器に設けられた無線通信部によって実行される無線通信を制御する通信制御方法であって、前記電子機器に外部から加わる力を検出する検出ステップと、前記検出ステップによって検出された力が予め決められた基準値を超えた場合、前記検出された力が前記基準値を超えたことが検出された検出時点よりも前の所定時間内に前記検出ステップによって検出された力が所定値以上であるか否かを判別するステップと、前記検出時点よりも前の前記所定時間内に検出された力が前記所定値以上である場合、外部の電子機器に無線接続する手順を実行するための無線接続処理または外部の電子機器からの無線接続要求に応答する待ち受け処理の一方の処理を開始するよう前記無線通信部を制御し、前記検出時点よりも前の前記所定時間内に検出された力が前記所定値以上でない場合、前記無線接続処理または前記待ち受け処理の他方の処理を開始するよう前記無線通信部を制御する接続制御ステップとを具備することを特徴とする通信制御方法が提供される。 According to another aspect of the present invention, there is provided a communication control method for controlling wireless communication executed by a wireless communication unit provided in an electronic device, the detection step for detecting a force applied to the electronic device from the outside, When the force detected by the detection step exceeds a predetermined reference value, the detection step is performed within a predetermined time before the detection time point when the detected force is detected to exceed the reference value. steps and, if the detected force in the predetermined time before the said detection time is the predetermined value or more, the external electronic device detected force is determined whether a predetermined value or more by It controls the radio communication unit to start one of the processing of waiting for response processing to the wireless connection request from the wireless connection processing or external electronic device to perform the steps for wireless connection to the detection time point If remote the predetermined time detected force in the front is not the predetermined value or more, and a connection control step of controlling the wireless communication unit to start the previous SL other processing of the wireless connection processing or the standby processing A communication control method is provided.

本発明によれば、ユーザによる操作画面の操作無しで、接続相手との無線接続を容易に確立することが可能となる。   According to the present invention, it is possible to easily establish a wireless connection with a connection partner without operating the operation screen by the user.

以下、図面を参照して本発明の実施形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態に係る電子機器のシステム構成を概略的に示している。この電子機器100は無線通信機能を有するデバイスであり、例えば、携帯型音楽プレーヤのような携帯型電子機器として実現されている。この電子機器100は、例えば、Bluetooth(登録商標)のような近距離無線通信方式を用いて、外部の電子機器200との無線通信を実行することができる。   FIG. 1 schematically shows a system configuration of an electronic apparatus according to an embodiment of the present invention. The electronic device 100 is a device having a wireless communication function, and is realized as a portable electronic device such as a portable music player, for example. The electronic device 100 can execute wireless communication with the external electronic device 200 using a short-range wireless communication method such as Bluetooth (registered trademark), for example.

電子機器200は、例えば、スピーカ、ヘッドセット等の携帯型電子機器として実現されている。この電子機器200も、電子機器100と同様の無線通信機能を有している。電子機器100から電子機器200へのデータ転送は、例えば、BluetoothのAdvanced Audio Distribution Profile(A2DP)に従って実行される。この場合、電子機器100はA2DPのソースデバイスとして機能し、また電子機器200はA2DPのシンクデバイスとして機能する。   The electronic device 200 is realized as a portable electronic device such as a speaker or a headset, for example. The electronic device 200 also has the same wireless communication function as the electronic device 100. Data transfer from the electronic device 100 to the electronic device 200 is executed in accordance with, for example, Bluetooth Advanced Audio Distribution Profile (A2DP). In this case, the electronic device 100 functions as an A2DP source device, and the electronic device 200 functions as an A2DP sink device.

ソースデバイスはストリーミング再生における転送元デバイスであり、ストリーミング再生すべき音楽等のオーディオデータのストリームを無線信号によって送信する。一方、シンクデバイスは、ストリーミング再生すべき音楽等のオーディオデータを受信する転送先デバイスであり、無線信号によって送られてくるオーディオデータのストリームを受信しながら再生する。   The source device is a transfer source device in streaming playback, and transmits a stream of audio data such as music to be streamed by wireless signal. On the other hand, the sink device is a transfer destination device that receives audio data such as music to be streamed and reproduced while receiving a stream of audio data transmitted by a radio signal.

電子機器100は、衝撃、振動、動きといった当該電子機器100自体に外部から加わる力を検出する検出部(以下、動き検出部と称する)を内蔵しており、電子機器100に外部から加わる力が基準値を超えたことをトリガに、他の電子機器との無線接続に必要な動作を開始するように構成されている。例えば、電子機器100を他の電子機器に軽く接触させた際に発生する、ある基準値以上の力(衝撃)が動き検出部によって検出された時に、無線接続のための動作が電子機器100によって自動的に開始される。同様に、電子機器200も動き検出部を備えており、電子機器200に外部から加わる力が基準値を超えたことをトリガに、他の電子機器との無線接続に必要な動作を開始する。   The electronic device 100 has a built-in detection unit (hereinafter referred to as a motion detection unit) that detects externally applied force to the electronic device 100 itself such as shock, vibration, and movement. An operation necessary for wireless connection with another electronic device is started when a reference value is exceeded. For example, when the motion detection unit detects a force (impact) greater than a certain reference value that is generated when the electronic device 100 is lightly contacted with another electronic device, the electronic device 100 performs an operation for wireless connection. It starts automatically. Similarly, the electronic device 200 also includes a motion detection unit, and starts an operation necessary for wireless connection with another electronic device when a force applied to the electronic device 200 from the outside exceeds a reference value.

したがって、例えば、ユーザが電子機器100を手に持って、その電子機器100を、机上等に置かれている電子機器200に軽く接触させた時などに、無線接続のための動作が電子機器100および電子機器200の各々によって自動的に開始されることになる。   Therefore, for example, when the user holds the electronic device 100 in his hand and makes the electronic device 100 lightly contact the electronic device 200 placed on a desk or the like, the operation for wireless connection is performed by the electronic device 100. And automatically started by each of the electronic devices 200.

この場合、検出された力が基準値を超えたことが検出された検出時点の直前に電子機器100および電子機器200それぞれに加わった力に応じて、電子機器100および電子機器200それぞれが実行すべき無線接続制御動作の内容が決定される。つまり、電子機器100と電子機器200とが接触される直前のある期間内における電子機器100および電子機器200のそれぞれの動きに応じて、電子機器100および電子機器200のどちらが、無線接続処理を開始するイニシエータとして動作し、どちらが無線接続要求を待ち受けるためのアクセプタとして機能するかが自動的に決定される。   In this case, each of the electronic device 100 and the electronic device 200 is executed according to the force applied to each of the electronic device 100 and the electronic device 200 immediately before the detection time point when the detected force is detected to exceed the reference value. The content of the wireless connection control operation to be determined is determined. That is, which of the electronic device 100 and the electronic device 200 starts the wireless connection process in accordance with the movement of the electronic device 100 and the electronic device 200 within a certain period immediately before the electronic device 100 and the electronic device 200 are brought into contact with each other. It is automatically determined which one functions as an acceptor that waits for a wireless connection request.

イニシエータは、外部の電子機器に無線接続する手順を実行するための無線接続処理を開始する側のデバイスである。一方、アクセプタは、イニシエータから送信される無線接続要求に応答する待ち受け処理を実行する側のデバイスである。   The initiator is a device that starts a wireless connection process for executing a procedure for wireless connection to an external electronic device. On the other hand, the acceptor is a device that executes a standby process in response to a wireless connection request transmitted from the initiator.

本実施形態では、検出された力が基準値を超えたことが検出された検出時点よりも前の所定時間内に加わった力が所定値以上の電子機器、つまりユーザによって動かされた側の電子機器がイニシエータとして機能し、検出時点よりも前の所定時間内に加わった力が所定値よりも低い電子機器、つまり静止されていた側の電子機器がアクセプタとして機能する。   In the present embodiment, an electronic device in which the force applied within a predetermined time before the detection time point when the detected force exceeds the reference value is greater than or equal to the predetermined value, that is, the electronic on the side moved by the user The device functions as an initiator, and an electronic device in which a force applied within a predetermined time before the detection time is lower than a predetermined value, that is, a stationary electronic device functions as an acceptor.

したがって、ユーザが電子機器100を手に持ってその電子機器100を電子機器200に軽く接触させた場合には、ユーザによって動かされた側のデバイスである電子機器100がイニシエータとして機能し初め、静止していた側のデバイスである電子機器200がアクセプタとして機能し始める。逆に、ユーザが電子機器200を手に持ってその電子機器200を電子機器100に軽く接触させた場合には、今度は、電子機器200がイニシエータとして機能し初め、電子機器100がアクセプタとして機能し始めることになる。   Therefore, when the user holds the electronic device 100 in his hand and makes the electronic device 100 lightly contact the electronic device 200, the electronic device 100 which is the device moved by the user begins to function as an initiator, The electronic device 200 that is the device on the other side starts to function as an acceptor. Conversely, when the user holds the electronic device 200 in his hand and makes the electronic device 200 lightly contact the electronic device 100, the electronic device 200 starts to function as an initiator and the electronic device 100 functions as an acceptor. Will begin to do.

よって、電子機器100および電子機器200の2つの機器が同時に無線接続要求を送出することによる無線接続要求の衝突や、これら2つの機器が共に待ち受け状態に入るといった事態の発生を防止することができる。ユーザは、例えば、電子機器100を電子機器200に軽く接触させるだけで、それら電子機器間を無線接続することができる。よって、ユーザによる操作画面の操作等の特別な操作無しで、所望の2つの機器間の無線接続を容易に確立することが可能となる。   Therefore, it is possible to prevent the occurrence of a situation in which the two devices, the electronic device 100 and the electronic device 200, simultaneously transmit a wireless connection request, and a situation in which these two devices enter a standby state. . For example, the user can wirelessly connect the electronic devices 100 by simply touching the electronic device 100 to the electronic device 200. Therefore, it is possible to easily establish a wireless connection between two desired devices without any special operation such as operation of the operation screen by the user.

次に、電子機器100の構成例を説明する。   Next, a configuration example of the electronic device 100 will be described.

電子機器100は、図1に示すように、メモリ101、システム制御部102、ユーザによる操作を入力する入力部103、アンテナ104、無線通信部105、動き検出部106、各種情報をユーザに表示するための表示部107、電源部108、ユーザに対する各種音声を出力するための音声出力部109、音声出力部109からの音声信号を音声として出力するためのスピーカ110より構成される。   As shown in FIG. 1, the electronic device 100 displays a memory 101, a system control unit 102, an input unit 103 for inputting a user operation, an antenna 104, a wireless communication unit 105, a motion detection unit 106, and various types of information to the user. Display unit 107, power supply unit 108, audio output unit 109 for outputting various audio to the user, and speaker 110 for outputting audio signals from audio output unit 109 as audio.

システム制御部102は電子機器100の動作を制御するために設けられたプロセッサであり、メモリ101に格納されたプログラムを実行することにより、入力部103、無線通信部105、動き検出部106、表示部107、電源部108、音声出力部109をそれぞれ制御する。メモリ101は例えば不揮発性のメモリデバイスから構成されており、ここには、電子機器100の動作を制御するためのプログラムが格納されている。このプログラムには、A2DPの機能と、動き検出部106を用いた接続制御処理とをシステム制御部102に実行させるためのルーチンなどが含まれている。   The system control unit 102 is a processor provided to control the operation of the electronic device 100, and by executing a program stored in the memory 101, the input unit 103, the wireless communication unit 105, the motion detection unit 106, a display Unit 107, power supply unit 108, and audio output unit 109 are controlled. The memory 101 is composed of, for example, a non-volatile memory device, and stores a program for controlling the operation of the electronic device 100. This program includes a routine for causing the system control unit 102 to execute the A2DP function and connection control processing using the motion detection unit 106.

無線通信部105は、外部の電子機器との無線通信をBluetooth規格等に準拠した手順で実行するデバイスであり、ベースバンド処理部およびRF部を備えている。動き検出部106は電子機器100に外部から加わる力を検出するモジュールであり、例えば、3次元の加速度センサーのような、物体の動き、振動等に伴う加速度を検出可能なモジュールから構成されている。また、動き検出部106としては、振動センサーなどを使用することもできる。   The wireless communication unit 105 is a device that executes wireless communication with an external electronic device according to a procedure compliant with the Bluetooth standard or the like, and includes a baseband processing unit and an RF unit. The motion detection unit 106 is a module that detects a force applied to the electronic apparatus 100 from the outside. For example, the motion detection unit 106 includes a module that can detect acceleration associated with the movement, vibration, etc. of an object, such as a three-dimensional acceleration sensor. . Further, a vibration sensor or the like can be used as the motion detection unit 106.

動き検出部106は、電子機器100に外部から加わる力、つまり電子機器100の加速度を一定時間間隔で検出し、その検出結果としての加速度データをシステム制御部102に送出する。なお、このシステムを構成している入力部103、表示部107、音声出力部109、スピーカ110についてはあくまでも一例であり、本発明のシステム構成として必ずしも必要なものでは無い。   The motion detection unit 106 detects an external force applied to the electronic device 100, that is, acceleration of the electronic device 100 at regular time intervals, and sends acceleration data as a detection result to the system control unit 102. Note that the input unit 103, the display unit 107, the audio output unit 109, and the speaker 110 constituting this system are merely examples, and are not necessarily required as the system configuration of the present invention.

システム制御部102は、電子機器100と外部の他の電子機器との間の無線接続を自動的に確立するための接続制御部102aとして動作する。この接続制御部102aは、動き検出部106からの加速度データに基づいて、電子機器100に加わる力が予め決められた基準値を超えたか否かを判別する。電子機器100に加わる力が基準値を越えたことが検出された場合、接続制御部102aは、電子機器100に加わる力が基準値を超えたことが検出された検出時点よりも前の所定時間内に動き検出部106から出力された加速度データに基づいて、その所定時間内に電子機器100に加わった力を判定する。所定時間内に電子機器100に加わった力が所定値以上であるならば、接続制御部102aは、無線通信部105を制御することによって、外部の電子機器に無線接続する手順を実行するための無線接続処理を開始する。一方、所定時間内に電子機器100に加わった力が所定値以上でなかったならば、接続制御部102aは、無線通信部105を制御することによって、外部の電子機器からの無線接続要求に応答する待ち受け処理を開始する。   The system control unit 102 operates as a connection control unit 102a for automatically establishing a wireless connection between the electronic device 100 and another external electronic device. Based on the acceleration data from the motion detection unit 106, the connection control unit 102a determines whether or not the force applied to the electronic device 100 exceeds a predetermined reference value. When it is detected that the force applied to the electronic device 100 exceeds the reference value, the connection control unit 102a determines the predetermined time before the detection time point when the force applied to the electronic device 100 is detected to exceed the reference value. On the basis of the acceleration data output from the motion detector 106, the force applied to the electronic device 100 within the predetermined time is determined. If the force applied to electronic device 100 within a predetermined time is equal to or greater than a predetermined value, connection control unit 102a controls wireless communication unit 105 to execute a procedure for wireless connection to an external electronic device. Start the wireless connection process. On the other hand, if the force applied to the electronic device 100 within a predetermined time is not greater than or equal to the predetermined value, the connection control unit 102a responds to a wireless connection request from an external electronic device by controlling the wireless communication unit 105. Start standby processing.

電子機器200も、電子機器100と同様の無線通信部、動き検出部、および接続制御部をそれぞれ備えている。   The electronic device 200 also includes the same wireless communication unit, motion detection unit, and connection control unit as the electronic device 100.

次に、図2のフローチャートを参照して、電子機器100によって実行される接続制御処理の手順を説明する。   Next, a procedure of connection control processing executed by the electronic device 100 will be described with reference to the flowchart of FIG.

いま、無線通信部105は、無線接続処理および待ち受け処理のどちらも実行しない状態に設定されているものとする。システム制御部102は、まず、動き検出部106より加速度データの取得を行い(ステップS10)、その加速度データに基づいて、電子機器100に加わる力が基準値を越えたか否かを判別する(ステップS11)。この基準値は、例えば電子機器100と電子機器200を軽く接触させた際に発生する力に対応する値に予め設定されている。物体の接触時には衝撃や振動によって一定量の加速度(重力加速度)が発生するので、その加速度(スカラー量)から上述の基準値を決めればよい。この場合、システム制御部102は、動き検出部106によって検出された電子機器100の加速度のスカラー量と、基準値として決められた加速度のスカラー量とを比較することにより、電子機器100に加わる力が基準値を越えたか否か、つまり電子機器100と他の電子機器との接触による衝撃が電子機器100に加わったか否かを判別することができる。   Now, it is assumed that the wireless communication unit 105 is set to a state in which neither the wireless connection process nor the standby process is executed. First, the system control unit 102 acquires acceleration data from the motion detection unit 106 (step S10), and determines whether or not the force applied to the electronic device 100 exceeds a reference value based on the acceleration data (step S10). S11). This reference value is set in advance to a value corresponding to a force generated when the electronic device 100 and the electronic device 200 are lightly contacted, for example. Since a certain amount of acceleration (gravity acceleration) is generated by impact or vibration when an object is in contact, the above-described reference value may be determined from the acceleration (scalar amount). In this case, the system control unit 102 compares the scalar amount of the acceleration of the electronic device 100 detected by the motion detection unit 106 with the scalar amount of the acceleration determined as the reference value, thereby applying a force applied to the electronic device 100. Can be determined, that is, whether or not an impact due to contact between the electronic device 100 and another electronic device has been applied to the electronic device 100.

電子機器100に加わる力が基準値を越えたならば(ステップS11のYES)、システム制御部102は、電子機器100が外部の電子機器に接触されたと判断する。そして、システム制御部102は、電子機器100に加わる力が基準値を越えたことが検出された時点から過去の所定定時間前までの期間内における加速度データに基づいて、その期間内に電子機器100の動きによってその電子機器100に所定値以上の力が加えられたかどうかを判別する(ステップS12)。ユーザが電子機器100を手に持って、電子機器100を他の電子機器に軽く接触させた場合、その接触の直前の一定時間内においては、電子機器100の揺れ等の動きによる加速度の変化により、所定値以上の力が電子機器100に加えられる。よって、他の電子機器との接触の直前の一定時間内に検出された加速度の変化量等に基づいて、電子機器100が他の電子機器との接触のためにユーザによって動かされた機器であるか、あるいは静止されていた機器であるかを判別することができる。   If the force applied to electronic device 100 exceeds the reference value (YES in step S11), system control unit 102 determines that electronic device 100 is in contact with an external electronic device. Then, the system control unit 102, based on the acceleration data in the period from the time when the force applied to the electronic apparatus 100 is detected to exceed the reference value to the previous predetermined time before the electronic apparatus 100 within the period It is determined whether or not a force of a predetermined value or more is applied to the electronic device 100 by the movement of 100 (step S12). When the user holds the electronic device 100 in his / her hand and makes the electronic device 100 lightly contact with another electronic device, due to a change in acceleration due to movement such as shaking of the electronic device 100 within a certain time immediately before the contact. A force equal to or greater than a predetermined value is applied to the electronic device 100. Therefore, the electronic device 100 is a device that is moved by the user for contact with the other electronic device based on the amount of change in acceleration detected within a predetermined time immediately before the contact with the other electronic device. Or a device that has been stationary.

例えば、ステップS12においては、電子機器100に加わる力が基準値を越えたことが検出された時点の直前の所定時間内に動き検出部106によって一定時間間隔毎に検出された力のサンプリング値、つまり所定時間内に動き検出部106によって一定時間間隔毎に検出された加速度のサンプリング値(スカラー量)の積算値を、所定時間内における加速度の変化量として算出するようにしてもよい。   For example, in step S12, a sampling value of the force detected at regular time intervals by the motion detection unit 106 within a predetermined time immediately before the time point when the force applied to the electronic device 100 is detected to exceed the reference value, In other words, an integrated value of acceleration sampling values (scalar amounts) detected at regular time intervals by the motion detection unit 106 within a predetermined time may be calculated as an acceleration change amount within a predetermined time.

この積算値は、所定時間内に電子機器100に加わる力の変動の大きさの総量、つまり所定時間内における加速度の変化量に相当するものである。したがって、この積算値と所定値とを比較することにより、電子機器100が他の電子機器との接触前にユーザによって動かされた機器であるか否かをより精度良く判定することができる。もちろん、所定時間内に電子機器100に加わる力の平均値などを算出し、その算出された平均値に基づいて、電子機器100が他の電子機器との接触前にユーザによって動かされた機器であるか否かを判定するようにしてもよい。   This integrated value corresponds to the total amount of fluctuation of the force applied to the electronic device 100 within a predetermined time, that is, the amount of change in acceleration within the predetermined time. Therefore, by comparing this integrated value with a predetermined value, it is possible to more accurately determine whether or not the electronic device 100 is a device that has been moved by the user before contact with another electronic device. Of course, an average value or the like of the force applied to the electronic device 100 within a predetermined time is calculated, and based on the calculated average value, the electronic device 100 is a device moved by the user before contact with another electronic device. You may make it determine whether it exists.

接触直前の所定期間内に電子機器100に加えられた力が所定値よりも低いならば(ステップS12のNO)、システム制御部102は、無線通信部105を制御して、外部の電子機器からの無線接続要求に応答するための待ち受け処理を開始する(ステップS13)。   If the force applied to electronic device 100 within a predetermined period immediately before contact is lower than the predetermined value (NO in step S12), system control unit 102 controls wireless communication unit 105 to control the external electronic device. A standby process for responding to the wireless connection request is started (step S13).

ここで、待ち受け処理は、問い合わせ応答処理と接続応答処理とを含み得る。問い合わせ応答処理は、外部の電子機器からブロードキャスト送信される局探索要求メッセージに応答して、電子機器100のデバイスアドレス等の識別情報を含む所定の応答メッセージを外部の電子機器宛に送信する処理であり、これはBluetoothのInquiry Scanが有効な状態に相当する。   Here, the standby process may include an inquiry response process and a connection response process. The inquiry response process is a process of transmitting a predetermined response message including identification information such as the device address of the electronic device 100 to the external electronic device in response to a station search request message broadcast from the external electronic device. Yes, this corresponds to a state in which Bluetooth Inquiry Scan is valid.

接続応答処理は、外部の電子機器から送信される電子機器100宛の呼び出しメッセージの受信を待機し、呼び出しメッセージの受信時にその呼び出しメッセージに応答する処理であり、これはBluetoothのPage Scanが有効な状態に相当する。   The connection response process is a process of waiting for reception of a call message addressed to the electronic device 100 transmitted from an external electronic device, and responding to the call message when the call message is received. This is valid for Bluetooth Page Scan. Corresponds to the state.

ステップS13では、システム制御部102は、Inquiry ScanとPage Scanとを有効にして、無線通信部105を、InquiryとPageを受付可能なステートに設定する。これにより、電子機器100は外部の電子機器から発見可能な状態となり、且つ外部の電子機器からの要求に応じて外部の電子機器との無線接続が可能な状態となる。   In step S13, the system control unit 102 enables the inquiry scan and the page scan, and sets the wireless communication unit 105 to a state in which the inquiry and the page can be accepted. As a result, the electronic device 100 can be found from the external electronic device, and can be wirelessly connected to the external electronic device in response to a request from the external electronic device.

その後、システム制御部102は、無線通信部105と協同して、外部の電子機器からの無線接続要求(呼び出しメッセージ)を受けたか否かの判別を行い(ステップS14)、無線接続要求(呼び出しメッセージ)を受けた場合には(ステップS14のYES)、呼び出し応答メッセージを送信して外部の電子機器との無線接続を確立する(ステップS17)。   Thereafter, the system control unit 102 cooperates with the wireless communication unit 105 to determine whether or not a wireless connection request (call message) is received from an external electronic device (step S14), and the wireless connection request (call message). ) (YES in step S14), a call response message is transmitted to establish a wireless connection with an external electronic device (step S17).

ステップS14にて無線接続要求(呼び出しメッセージ)を受けなかったことが判別された場合(ステップS14のNO)、システム制御部102は、接続待ち受けのタイムアウトになったかの判断を行い(ステップS15)、タイムアウトしたと判断された場合(ステップS15のYES)には、待ち受け処理を停止して(ステップS16)終了する。タイムアウトしたと判断されない場合(ステップS15のNO)には、再びステップS14の処理に戻り相手機器からの無線接続要求を待ち受ける。   If it is determined in step S14 that a wireless connection request (call message) has not been received (NO in step S14), the system control unit 102 determines whether or not a connection waiting timeout has occurred (step S15) If it is determined that the standby process has been performed (YES in step S15), the standby process is stopped (step S16) and the process ends. If it is not determined that a timeout has occurred (NO in step S15), the process returns to step S14 again to wait for a wireless connection request from the counterpart device.

接触直前の所定期間内に電子機器100に加えられた力が所定値以上であるならば(ステップS12のYES)、システム制御部102は、無線通信部105を制御して、外部の電子機器に無線接続する手順を実行するための無線接続処理を開始する。ここで、無線接続処理は、局探索処理と接続要求送信処理とを含み得る。   If the force applied to electronic device 100 within a predetermined period immediately before contact is greater than or equal to a predetermined value (YES in step S12), system control unit 102 controls wireless communication unit 105 to connect the external electronic device. A wireless connection process for executing a wireless connection procedure is started. Here, the wireless connection process may include a station search process and a connection request transmission process.

局探索処理は、局探索要求メッセージを送信しこの局探索要求メッセージに対応する応答メッセージに応じて無線通信可能な外部の電子機器を探索する処理であり、これはBluetoothのInquiryに相当する。また接続要求送信処理は、局探索処理によって探索された外部の電子機器との無線接続を確立するために当該電子機器宛に呼び出しメッセージを送信する処理であり、これはBluetoothのPageに相当する。   The station search process is a process of transmitting a station search request message and searching for an external electronic device capable of wireless communication in response to a response message corresponding to the station search request message, and this corresponds to Bluetooth Inquiry. The connection request transmission process is a process of transmitting a call message to the electronic device in order to establish a wireless connection with the external electronic device searched by the station search process, and this corresponds to a Bluetooth Page.

すなわち、システム制御部102は、まず、これから接続を行う機器を探索するための局探索処理を開始する(ステップS20)。ここで、接続可能な機器を発見した場合(ステップS21のYES)には、システム制御部102は、その発見した機器宛に呼び出しメッセージを送信して(ステップS22)、その発見した機器との無線接続を行う(ステップS17)。なお、ステップS21にて接続可能な機器が発見出来なかった場合(ステップS21のNO)には、接続を行わずにそのまま本処理を終了する。   That is, the system control unit 102 first starts a station search process for searching for a device to be connected (step S20). Here, when a connectable device is found (YES in step S21), the system control unit 102 transmits a call message to the found device (step S22), and wirelessly communicates with the found device. Connection is made (step S17). If no connectable device is found in step S21 (NO in step S21), the process is terminated without performing connection.

次に、図3を参照して、電子機器100を電子機器200に接触させた場合に電子機器100に加わる力(加速度のスカラー量)の変化について説明する。   Next, a change in force (scalar amount of acceleration) applied to the electronic device 100 when the electronic device 100 is brought into contact with the electronic device 200 will be described with reference to FIG.

図3において、aは、図2のステップS11の処理で用いられる基準値を示している。この基準値aは、例えば、ある加速度の値(スカラー量)である。t1は電子機器100をユーザが手に持って動かし始めた時の時間である。t3は電子機器100に加わる力(加速度)が基準値aを上回った時の時間である。t2は(t3−Δt)の時間となっており、t3からある一定時間(Δt)前の時点を示す。   In FIG. 3, a indicates a reference value used in the process of step S11 of FIG. The reference value a is, for example, a certain acceleration value (scalar amount). t1 is the time when the user starts to move the electronic device 100 in his / her hand. t3 is the time when the force (acceleration) applied to the electronic device 100 exceeds the reference value a. t2 is a time of (t3−Δt), and indicates a time point a certain time (Δt) before t3.

この図3が示すように、ユーザが電子機器100を手にとって電子機器200に接触させた場合、外部からの力が基準値aを超えた時間t3から△tだけさかのぼった時間t2までの期間内においては、電子機器100の揺れ等の動きによって、電子機器100に加わる力の方が、静止している電子機器200に加わる力よりも大きくなる。よって、時間t3から時間t2までの期間内に加わる力の大きさが所定値以上であるか否かを判定することにより、接触のためにユーザによって動かされた側の機器であるか否かを判定することが可能となる。   As shown in FIG. 3, when the user touches the electronic device 200 with the hand of the electronic device 100, the time period from the time t3 when the external force exceeds the reference value a to the time t2 that goes back by Δt is within the period. , The force applied to the electronic device 100 due to the movement of the electronic device 100 such as shaking is greater than the force applied to the stationary electronic device 200. Therefore, by determining whether or not the magnitude of the force applied during the period from time t3 to time t2 is greater than or equal to a predetermined value, it is determined whether or not the device has been moved by the user for contact. It becomes possible to judge.

この場合、例えば、時間t3から時間t2までの期間内に動き検出部106によって一定時間間隔毎に検出される加速度の積算値を当該期間内における加速度の変化量(斜線部の面積)として求め、この値が予め決められた値以上であるか否かを判定するようにしてもよい。   In this case, for example, an integrated value of acceleration detected by the motion detection unit 106 at regular time intervals within a period from time t3 to time t2 is obtained as an amount of change in acceleration (area of the hatched portion) during the period. You may make it determine whether this value is more than a predetermined value.

図4は、電子機器100、電子機器200、電子機器300の3つのデバイスが無線通信可能な範囲内に存在している状態において、電子機器100から電子機器200に対して無線接続を行う場合を示している。   FIG. 4 illustrates a case where wireless connection is performed from the electronic device 100 to the electronic device 200 in a state where the three devices of the electronic device 100, the electronic device 200, and the electronic device 300 exist within a wireless communication range. Show.

ユーザが電子機器100を手に持って当該電子機器100を動かして、当該電子機器100を電子機器200に対して軽く接触させる操作を行うと、電子機器200は無線接続の待機状態となり、また電子機器100は無線接続処理を開始する状態となる。   When the user holds the electronic device 100 in his / her hand and moves the electronic device 100 to perform an operation of making the electronic device 100 lightly contact the electronic device 200, the electronic device 200 enters a wireless connection standby state, and electronic The device 100 enters a state for starting the wireless connection process.

ここで電子機器100は図2のステップS20の処理により接続可能な機器の探索を行うが、無線通信が可能な範囲内に存在している電子機器300は無線接続の待機状態とはなっていないことから、探索の結果、電子機器200のみが発見されることになり、その結果、電子機器100から電子機器200に対しての無線接続が実施され、電子機器100と電子機器200との間の無線接続が確立されることとなる。   Here, the electronic device 100 searches for a connectable device by the process of step S20 in FIG. 2, but the electronic device 300 that exists within the range where wireless communication is possible is not in a standby state for wireless connection. As a result, only the electronic device 200 is found as a result of the search, and as a result, wireless connection from the electronic device 100 to the electronic device 200 is performed, and the electronic device 100 and the electronic device 200 are connected. A wireless connection will be established.

もちろん、接続相手とすべき電子機器200のデバイスアドレスのような識別情報を予め電子機器100に登録しておいてもよい。この場合には、電子機器100は、無線接続処理においては、局探索処理は行わず、登録された識別情報によって指定される電子機器宛に呼び出しメッセージを送信する接続要求送信処理のみを実行すればよい。   Of course, identification information such as a device address of the electronic device 200 to be connected may be registered in the electronic device 100 in advance. In this case, the electronic device 100 does not perform the station search process in the wireless connection process, and only performs the connection request transmission process for transmitting a call message to the electronic device specified by the registered identification information. Good.

また、本実施形態では、接触の時点よりも前の所定時間内に加わった力が所定値以上の場合に無線接続処理を開始し、所定値よりも低い場合に待ち受け処理を開始するようにしたが、これとは逆に、接触の時点よりも前の所定時間内に加わった力が所定値以上の場合に待ち受け処理を開始し、所定値よりも低い場合に無線接続処理を開始するようにしてもよい。   In the present embodiment, the wireless connection process is started when the force applied within a predetermined time before the point of contact is equal to or greater than a predetermined value, and the standby process is started when the force is lower than the predetermined value. However, on the contrary, the standby process is started when the force applied within a predetermined time before the point of contact is equal to or greater than the predetermined value, and the wireless connection process is started when the force is lower than the predetermined value. May be.

また、本実施形態では、電子機器100に外部から加わる力が基準値を超えたことをトリガに、他の電子機器との無線接続に必要な動作を無条件に開始するようにしたが、無線接続処理がユーザの意図に反して実行されしまうことを未然に防ぐために、電子機器100に外部から加わる力が基準値を超えた時に、電子機器100に入力部103として設けられているプッシュボタンのような操作ボタンがオン操作されているか否かを判定し、オン操作されている場合にのみ無線接続のための動作の実行を許可するようにしてもよい。   In the present embodiment, the operation required for wireless connection with other electronic devices is started unconditionally triggered by the fact that the external force applied to the electronic device 100 exceeds the reference value. In order to prevent the connection process from being executed against the user's intention, when the force applied to the electronic device 100 from the outside exceeds a reference value, the push button provided as the input unit 103 of the electronic device 100 It may be determined whether or not such an operation button is turned on, and execution of an operation for wireless connection may be permitted only when the operation button is turned on.

この場合、例えば、図5のフローチャートに示すように、新たにステップS30の処理を追加し、S30にてプッシュボタンが押されていることが判定された場合にのみS20以降の無線接続処理を実行するようにし、S30にてプッシュボタンが押されていないことが判定された場合にはS20以降の無線接続処理の実行を禁止するように構成してもよい。   In this case, for example, as shown in the flowchart of FIG. 5, the process of step S30 is newly added, and the wireless connection process after S20 is executed only when it is determined in S30 that the push button is pressed. If it is determined in S30 that the push button has not been pressed, the wireless connection process from S20 onward may be prohibited.

また、ステップS30の処理は、例えば、ステップS11とS12との間に追加して、電子機器100に外部から加わる力が基準値を超え且つプッシュボタンが押されていることを条件に、ステップS12以降の処理を行うようにしても良い。また、ステップS30の処理を、例えば、ステップS12とS13との間に追加してもよい。   In addition, the process of step S30 is performed between step S11 and step S12, for example, on the condition that the force applied from the outside to the electronic device 100 exceeds the reference value and the push button is pressed. The subsequent processing may be performed. Moreover, you may add the process of step S30 between step S12 and S13, for example.

また、プッシュボタンのような操作ボタンの操作の有無で無線接続に関する処理の実行を許可/禁止するのではなく、電子機器100に外部から加わる力が基準値を超えた時に、電子機器100が自動接続モードのような特定の動作モードに設定されているか否かを判別し、特定の動作モードに設定されている場合にのみ、無線接続のための動作の実行を許可するように構成することもできる。   Further, instead of permitting / prohibiting the execution of processing related to wireless connection depending on whether or not an operation button such as a push button is operated, the electronic device 100 automatically performs when the external force applied to the electronic device 100 exceeds a reference value. It is also possible to determine whether or not a specific operation mode such as a connection mode is set, and to perform the operation for wireless connection only when the specific operation mode is set. it can.

以上のように、本実施形態では、電子機器100に外部から加わる力が基準値を超えたことをトリガに他の電子機器との無線接続に必要な動作を開始するように構成すると共に、基準値を超えたことが検出された検出時点の直前に電子機器100に加わった力に応じて、電子機器100がイニシエータまたはアクセプタのどちらとして機能すべきかが自動的に決定される。よって、ユーザは、無線接続用の操作画面を操作することなく、電子機器100を手に持って接続相手の電子機器に接触させる操作、あるいは接続相手の電子機器を手に持って電子機器100に接触させる操作を行うだけで、電子機器100と接続相手の電子機器との無線接続を容易に確立することができる。この場合、お互いの機器同士の接続が衝突してしまい接続に失敗するという事態の発生も未然に防ぐことができ、確実に機器間の無線接続を確立することが可能となる。   As described above, the present embodiment is configured to start an operation necessary for wireless connection with another electronic device triggered by the fact that the external force applied to the electronic device 100 exceeds the reference value. Whether the electronic device 100 should function as an initiator or an acceptor is automatically determined according to the force applied to the electronic device 100 immediately before the detection time point when the value is detected to be exceeded. Therefore, the user can hold the electronic device 100 in his / her hand without touching the operation screen for wireless connection, or touch the electronic device 100 in the hand of the connection partner. The wireless connection between the electronic device 100 and the electronic device of the connection partner can be easily established simply by performing an operation of bringing them into contact. In this case, it is possible to prevent the occurrence of a situation in which the connection between the devices collides and the connection fails, and it is possible to establish a wireless connection between the devices reliably.

また、接続相手となる電子機器は必ずしも本実施形態の電子機器と同じ接続制御機能を有していなくてもよく、例えば、Inquiry Scanが有効になっているデバイスが接続相手であるならば、本実施形態の電子機器を接続相手のデバイスに軽く接触させることで、その間の無線接続を確立することが出来る。また、接続相手のデバイスが接続要求処理を定期的に実行するように構成されたデバイスであるならば、この接続相手のデバイスを、本実施形態の電子機器に軽く接触させることで、その間の無線接続を確立することが出来る。   Also, the electronic device that is the connection partner does not necessarily have the same connection control function as the electronic device of the present embodiment. For example, if a device for which Inquiry Scan is enabled is the connection partner, By making the electronic device of the embodiment lightly contact a connection partner device, a wireless connection between them can be established. Further, if the connection partner device is a device configured to periodically execute the connection request process, the connection partner device is lightly brought into contact with the electronic apparatus of the present embodiment, so that the wireless device in between A connection can be established.

また、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Further, the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

本発明の一実施形態に係る電子機器のシステム構成の例を示すブロック図。1 is a block diagram illustrating an example of a system configuration of an electronic device according to an embodiment of the present invention. 同実施形態の電子機器によって実行される接続制御処理の手順の例を示すフローチャート。6 is an exemplary flowchart illustrating an example of a procedure of connection control processing executed by the electronic apparatus of the embodiment. 同実施形態の電子機器に設けられた動き検出部によって検出される、当該電子機器に加えられる力の変化の様子を示す図。The figure which shows the mode of the change of the force applied to the said electronic device detected by the motion detection part provided in the electronic device of the embodiment. 同実施形態の電子機器と他の電子機器との接触によってこれら電子機器間の無線接続が確立されることを説明するための図。The figure for demonstrating that the wireless connection between these electronic devices is established by the contact with the electronic device of the embodiment and other electronic devices. 同実施形態の電子機器によって実行される接続制御処理の手順の他の例を示すフローチャート。6 is an exemplary flowchart illustrating another example of the procedure of connection control processing executed by the electronic apparatus of the embodiment.

符号の説明Explanation of symbols

100,200,300…電子機器、102…システム制御部、102a…接続制御部、103…入力部、105…無線通信部、106…動き検出部。   DESCRIPTION OF SYMBOLS 100,200,300 ... Electronic device, 102 ... System control part, 102a ... Connection control part, 103 ... Input part, 105 ... Wireless communication part, 106 ... Motion detection part.

Claims (9)

無線通信を実行する無線通信部を含む電子機器であって、
前記電子機器に外部から加わる力を検出する検出手段と、
前記検出手段によって検出された力が予め決められた基準値を超えた場合、前記検出された力が前記基準値を超えたことが検出された検出時点よりも前の所定時間内に前記検出手段によって検出された力が所定値以上であるか否かを判別する手段と、
前記検出時点よりも前の前記所定時間内に検出された力が前記所定値以上である場合、外部の電子機器に無線接続する手順を実行するための無線接続処理または外部の電子機器からの無線接続要求に応答する待ち受け処理の一方の処理を開始するよう前記無線通信部を制御し、前記検出時点よりも前の前記所定時間内に検出された力が前記所定値以上でない場合、前記無線接続処理または前記待ち受け処理の他方の処理を開始するよう前記無線通信部を制御する接続制御手段とを具備することを特徴とする電子機器。
An electronic device including a wireless communication unit that performs wireless communication,
Detecting means for detecting external force applied to the electronic device;
When the force detected by the detection means exceeds a predetermined reference value, the detection means within a predetermined time before the detection time when the detected force is detected to exceed the reference value. Means for determining whether or not the force detected by is greater than or equal to a predetermined value;
If the detected force in the predetermined time before the said detection time is the predetermined value or more, from the wireless connection process or external electronics to perform the procedures for wirelessly connecting to the electronic equipment of external When the wireless communication unit is controlled to start one of the standby processes responding to the wireless connection request, and the force detected within the predetermined time before the detection time is not equal to or greater than the predetermined value , An electronic apparatus comprising: a connection control unit that controls the wireless communication unit so as to start the other process of the wireless connection process or the standby process.
前記無線接続処理は、局探索要求メッセージを送信しこの局探索要求メッセージに対応する応答メッセージに応じて無線通信可能な外部の電子機器を探索する局探索処理と、前記局探索処理によって探索された外部の電子機器宛に呼び出しメッセージを送信する接続要求送信処理とを含み、
前記待ち受け処理は、外部の電子機器から送信される局探索要求メッセージに応答して所定の応答メッセージを送信する問い合わせ応答処理と、外部の電子機器から送信される前記電子機器宛の呼び出しメッセージに応答する接続応答処理とを含むことを特徴とする請求項1記載の電子機器。
The wireless connection process is searched by a station search process that transmits a station search request message and searches for an external electronic device capable of wireless communication according to a response message corresponding to the station search request message, and the station search process. Connection request transmission processing for transmitting a call message to an external electronic device,
The standby processing responds to an inquiry response processing for transmitting a predetermined response message in response to a station search request message transmitted from an external electronic device, and a call message addressed to the electronic device transmitted from the external electronic device. The electronic device according to claim 1, further comprising a connection response process.
前記検出手段によって検出された力が予め決められた基準値を超えた場合、前記電子機器に設けられた操作ボタンがオン操作されているか否かを判別し、前記操作ボタンがオン操作されていることを条件に前記接続制御手段の動作を許可する手段をさらに具備することを特徴とする請求項1又は請求項2記載の電子機器。   When the force detected by the detection means exceeds a predetermined reference value, it is determined whether or not an operation button provided on the electronic device is turned on, and the operation button is turned on. 3. The electronic apparatus according to claim 1, further comprising means for permitting the operation of the connection control means on the condition. 前記検出手段によって検出された力が予め決められた基準値を超えた場合、前記電子機器が所定の動作モードに設定されているか否かを判別し、前記電子機器が前記所定の動作モードに設定されていることを条件に前記接続制御手段の動作を許可する手段をさらに具備することを特徴とする請求項1又は請求項2記載の電子機器。   When the force detected by the detection unit exceeds a predetermined reference value, it is determined whether or not the electronic device is set to a predetermined operation mode, and the electronic device is set to the predetermined operation mode. 3. The electronic device according to claim 1, further comprising means for permitting the operation of the connection control means on the condition that the connection is made. 電子機器に設けられた無線通信部によって実行される無線通信を制御する通信制御方法であって、
前記電子機器に外部から加わる力を検出する検出ステップと、
前記検出ステップによって検出された力が予め決められた基準値を超えた場合、前記検出された力が前記基準値を超えたことが検出された検出時点よりも前の所定時間内に前記検出ステップによって検出された力が所定値以上であるか否かを判別するステップと、
前記検出時点よりも前の前記所定時間内に検出された力が前記所定値以上である場合、外部の電子機器に無線接続する手順を実行するための無線接続処理または外部の電子機器からの無線接続要求に応答する待ち受け処理の一方の処理を開始するよう前記無線通信部を制御し、前記検出時点よりも前の前記所定時間内に検出された力が前記所定値以上でない場合、前記無線接続処理または前記待ち受け処理の他方の処理を開始するよう前記無線通信部を制御する接続制御ステップとを具備することを特徴とする通信制御方法。
A communication control method for controlling wireless communication executed by a wireless communication unit provided in an electronic device,
A detection step of detecting a force applied to the electronic device from the outside;
When the force detected by the detection step exceeds a predetermined reference value, the detection step is performed within a predetermined time before the detection time point when the detected force is detected to exceed the reference value. Determining whether the force detected by is greater than or equal to a predetermined value;
If the detected force in the predetermined time before the said detection time is the predetermined value or more, from the wireless connection process or external electronics to perform the procedures for wirelessly connecting to the electronic equipment of external When the wireless communication unit is controlled to start one of the standby processes responding to the wireless connection request, and the force detected within the predetermined time before the detection time is not equal to or greater than the predetermined value , A connection control step of controlling the wireless communication unit so as to start the other process of the wireless connection process or the standby process.
前記無線接続処理は、局探索要求メッセージを送信しこの局探索要求メッセージに対応する応答メッセージに応じて無線通信可能な外部の電子機器を探索する局探索処理と、前記局探索処理によって探索された外部の電子機器宛に呼び出しメッセージを送信する接続要求送信処理とを含み、
前記待ち受け処理は、外部の電子機器から送信される局探索要求メッセージに応答して所定の応答メッセージを送信する問い合わせ応答処理と、外部の電子機器から送信される前記電子機器宛の呼び出しメッセージに応答する接続応答処理とを含むことを特徴とする請求項5記載の通信制御方法。
The wireless connection process is searched by a station search process that transmits a station search request message and searches for an external electronic device capable of wireless communication according to a response message corresponding to the station search request message, and the station search process. Connection request transmission processing for transmitting a call message to an external electronic device,
The standby processing responds to an inquiry response processing for transmitting a predetermined response message in response to a station search request message transmitted from an external electronic device, and a call message addressed to the electronic device transmitted from the external electronic device. 6. The communication control method according to claim 5, further comprising a connection response process.
前記検出ステップによって検出された力が予め決められた基準値を超えた場合、前記電子機器に設けられた操作ボタンがオン操作されているか否かを判別し、前記操作ボタンがオン操作されていることを条件に前記接続制御ステップの実行を許可するステップをさらに具備することを特徴とする請求項5又は請求項6記載の通信制御方法。   When the force detected by the detection step exceeds a predetermined reference value, it is determined whether or not an operation button provided on the electronic device is turned on, and the operation button is turned on. The communication control method according to claim 5, further comprising a step of permitting the execution of the connection control step on the condition. 前記検出ステップによって検出された力が予め決められた基準値を超えた場合、前記電子機器が所定の動作モードに設定されているか否かを判別し、前記電子機器が前記所定の動作モードに設定されていることを条件に前記接続制御ステップの実行を許可するステップをさらに具備することを特徴とする請求項5又は請求項6記載の通信制御方法。   When the force detected by the detection step exceeds a predetermined reference value, it is determined whether or not the electronic device is set to a predetermined operation mode, and the electronic device is set to the predetermined operation mode. The communication control method according to claim 5, further comprising a step of permitting the execution of the connection control step on condition that the connection is performed. 電子機器に外部から加わる力を検出する検出手段と、Detection means for detecting force applied to the electronic device from the outside;
前記検出手段によって検出された力が基準値を超えた場合に、外部の電子機器に無線接続する手順を実行させるための無線接続処理及び外部の電子機器からの無線接続要求に応答する待ち受け処理のうち、前記検出手段により前記基準値を超えたことが検出された検出時点よりも前の所定時間内に前記検出手段によって検出された力が所定値以上であるか否かに応じた一方の処理を開始する無線通信部とをA wireless connection process for executing a procedure for wireless connection to an external electronic device and a standby process for responding to a wireless connection request from the external electronic device when the force detected by the detection unit exceeds a reference value; One of the processes according to whether or not the force detected by the detection means within a predetermined time before the detection time point when the detection means detects that the reference value is exceeded is greater than or equal to a predetermined value. With the wireless communication unit
を具備する電子機器。An electronic device comprising:
JP2008046184A 2008-02-27 2008-02-27 Electronic device and communication control method Active JP4970310B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008046184A JP4970310B2 (en) 2008-02-27 2008-02-27 Electronic device and communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008046184A JP4970310B2 (en) 2008-02-27 2008-02-27 Electronic device and communication control method

Publications (2)

Publication Number Publication Date
JP2009206744A JP2009206744A (en) 2009-09-10
JP4970310B2 true JP4970310B2 (en) 2012-07-04

Family

ID=41148594

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008046184A Active JP4970310B2 (en) 2008-02-27 2008-02-27 Electronic device and communication control method

Country Status (1)

Country Link
JP (1) JP4970310B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101094506B1 (en) * 2009-04-21 2011-12-19 삼성에스디에스 주식회사 Device and method for establishing connections and controlling application via physical contact between devices
JP5106615B2 (en) * 2010-11-09 2012-12-26 株式会社東芝 Information processing device
JP5058360B2 (en) * 2011-06-03 2012-10-24 株式会社東芝 Electronic device and control method
JP5920829B2 (en) * 2012-07-10 2016-05-18 レノボ・シンガポール・プライベート・リミテッド Method for sharing display of application window, information terminal device, and computer program

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2003038629A1 (en) * 2001-11-01 2005-02-24 ソニー株式会社 Communication system and method, information processing terminal and method, information processing apparatus and method
JP3779643B2 (en) * 2002-05-20 2006-05-31 東京電力株式会社 Portable communication device
JP2006518507A (en) * 2003-02-19 2006-08-10 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ System for ad hoc sharing of content items between portable devices and its interaction method
US7724705B2 (en) * 2003-03-14 2010-05-25 Nokia Corporation Wireless transfer of data
JP4189240B2 (en) * 2003-03-24 2008-12-03 アルプス電気株式会社 Mobile phone
JP2006174383A (en) * 2004-12-20 2006-06-29 Matsushita Electric Ind Co Ltd Radio information terminal
JP5032127B2 (en) * 2004-12-20 2012-09-26 パナソニック株式会社 Wireless communication apparatus and communication control method
JP2006180378A (en) * 2004-12-24 2006-07-06 Nec Corp Portable telephone
JP2006246057A (en) * 2005-03-03 2006-09-14 Sanyo Electric Co Ltd Network apparatus and program to be applied to the same
JP2007112388A (en) * 2005-10-24 2007-05-10 Techno One:Kk Automobile accident recorder
JP2007228554A (en) * 2006-01-26 2007-09-06 Ricoh Co Ltd Data communication apparatus, data communication system and data communication method
JP2007329599A (en) * 2006-06-06 2007-12-20 Sharp Corp Communicating system
JP4752661B2 (en) * 2006-08-01 2011-08-17 株式会社デンソー Transmitter and tire pressure detecting device having the same

Also Published As

Publication number Publication date
JP2009206744A (en) 2009-09-10

Similar Documents

Publication Publication Date Title
US10116899B2 (en) Method and apparatus for facilitating setup, discovery of capabilities and interaction of electronic devices
CN111107667B (en) Bluetooth headset pairing method and device and readable storage medium
KR101727553B1 (en) Apparatus and method for connecting with bluetooth devices in portable terminal
KR101834995B1 (en) Method and apparatus for sharing contents between devices
JP6973083B2 (en) Information processing methods, programs, and information processing systems
JP4331233B2 (en) Wireless communication device
EP2526628B1 (en) Apparatus and method for motion detecting in mobile communication terminal
TWI634805B (en) Wireless communication device and communication control device
US20110263202A1 (en) Bluetooth communication method and system
KR20120017617A (en) Method and system for bluetooth communication
CN111083755B (en) Equipment switching method and related equipment
KR20090047596A (en) Apparatus and method for human body communication in mobile communication system
CN102047694A (en) User exchange of content via wireless transmission
US20130088649A1 (en) Remote control apparatus, remote control method and display apparatus
WO2013013608A1 (en) Method and device for handling inter-device communications
US20140004799A1 (en) Communication method, communication device, and computer program product
JP4970310B2 (en) Electronic device and communication control method
JP6717764B2 (en) Information processing system
US9671884B2 (en) Apparatus and method for operating multimedia apparatus performing wireless charging for portable apparatus
KR20190038043A (en) Method and apparatus for communication between electronic devices
WO2016095641A1 (en) Data interaction method and system, and mobile terminal
CN111078019A (en) Method for opening application program through wireless signal, accessory device and vehicle-mounted device
WO2016092764A1 (en) Portable terminal, portable terminal operation system, communication control program, and communication control method
JP2009129111A (en) Radio communication device, authentication method, and radio connection control method
CN111093133B (en) Wireless device control method, apparatus and computer readable storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100316

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120224

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

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

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150413

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4970310

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150413

Year of fee payment: 3