JP2002152309A - Bluetooth apparatus - Google Patents

Bluetooth apparatus

Info

Publication number
JP2002152309A
JP2002152309A JP2000348575A JP2000348575A JP2002152309A JP 2002152309 A JP2002152309 A JP 2002152309A JP 2000348575 A JP2000348575 A JP 2000348575A JP 2000348575 A JP2000348575 A JP 2000348575A JP 2002152309 A JP2002152309 A JP 2002152309A
Authority
JP
Japan
Prior art keywords
link
bluetooth
control unit
unit
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000348575A
Other languages
Japanese (ja)
Inventor
Akira Iwamoto
旭 岩本
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2000348575A priority Critical patent/JP2002152309A/en
Publication of JP2002152309A publication Critical patent/JP2002152309A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a Bluetooth (R) apparatus which is capable of saving electric power when data communication is not maintained, establishing a link in a shorter time, and protecting a logic link against disconnection near a critical communication range in which communication can be maintained. SOLUTION: A Bluetooth (R) apparatus 11 is composed of a radio communication unit 12 which makes radio communication, a link control unit 13 which controls the connection/cutoff of a physical link for the radio communication unit 12, and an application unit 14 which includes the upper layer of a Bluetooth (R) protocol stack and a man-machine interface. The link control unit 13 makes the radio communication unit 12 cut off the physical link and the application unit 14 hold a logic link when the data communication is not maintained.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、携帯情報端末、携
帯電話、パーソナルコンピュータなどのBluetoo
thプロトコルに則った無線通信を行うBluetoo
th機器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a portable information terminal, a portable telephone, and a personal computer.
Bluetooth that performs wireless communication in accordance with the th protocol
th device.

【0002】[0002]

【従来の技術】従来、マルチチャネルアクセス方式(M
CA方式)を有する無線装置は、省電力化のため受信側
を一定周期で間欠的に受信モードにする間欠受信方式が
多く使用されている。すなわち、ある時間間隔をおいて
受信部へ動作のための電力を供給し、間に所定の休止期
間をおいて間欠的に受信動作を行う。更に特開平8−2
65823号公報においては、間欠受信中に受信側がス
キャンするチャネルを送信側と受信側が互いに取り決め
たチャネルグループに限定することによって、受信側の
受信モードの時間を短縮させて省電力化を促進してい
る。一方、Bluetoothにおいても省電力のため
の動作を行うパークモードが用意されている。物理リン
クが確立されているときにはデータの送受信が行われて
いなくても、所定のタイミングでマスタとスレーブが同
期を取るようになっている。そして、同期を取ることが
できなくなると物理リンクは切断される。
2. Description of the Related Art Conventionally, a multi-channel access system (M
In wireless devices having the (CA system), an intermittent reception system in which a reception side is set to a reception mode intermittently at a constant cycle is often used for power saving. That is, power for operation is supplied to the receiving unit at a certain time interval, and the receiving operation is performed intermittently with a predetermined pause. Further, JP-A-8-2
In Japanese Patent No. 65823, the channel scanned by the receiving side during intermittent reception is limited to a channel group determined by the transmitting side and the receiving side, thereby shortening the time of the receiving mode of the receiving side and promoting power saving. I have. On the other hand, Bluetooth also has a park mode for performing power saving operations. When the physical link is established, the master and the slave synchronize at a predetermined timing even if data transmission and reception are not performed. Then, when synchronization cannot be established, the physical link is disconnected.

【0003】[0003]

【発明が解決しようとする課題】パークモードにおいて
はマスタとスレーブが所定のタイミングで同期を取って
物理リンクを保持しているため、データ通信可能なアク
ティブ状態に短時間で復帰できるが、パークモードが省
電力モードとは言っても周期的に同期を取っている以上
は、リンクが接続されていない状態よりは電力を消費す
る。一方、マスタとスレーブ間のリンクを最初から接続
する場合には、物理リンクの接続のほかにBlueto
othプロトコルの各レイヤの論理リンクの確立処理が
必要であり、データ通信を開始するまでに時間がかか
る。一方、Bluetooth機器が通信可能な距離に
は限界があり、その限界距離近辺においては物理リンク
が切断され易く、データ通信中でも中断されてしまう。
In the park mode, since the master and the slave maintain the physical link in synchronization with each other at a predetermined timing, the master and the slave can quickly return to the active state in which data communication is possible. However, even though it is in the power saving mode, as long as synchronization is performed periodically, power is consumed more than in a state where no link is connected. On the other hand, when connecting the link between the master and the slave from the beginning, in addition to the connection of the physical link, Bluetooth
Establishing a logical link of each layer of the "oth" protocol is necessary, and it takes time to start data communication. On the other hand, there is a limit to the distance over which a Bluetooth device can communicate, and a physical link is liable to be disconnected near the limit distance, and is interrupted even during data communication.

【0004】本発明は、上記の問題を省みたもので、デ
ータ通信が行われていないときの省電力化を図ると共
に、リンク確立までの時間の短縮化を図ることができ、
通信可能な距離の限界近辺において論理リンクが切断さ
れにくいBluetooth機器を提供することを目的
とする。
[0004] The present invention eliminates the above-mentioned problems, and can reduce power consumption when data communication is not performed, and can shorten the time required for link establishment.
It is an object of the present invention to provide a Bluetooth device in which a logical link is hardly disconnected near a limit of a communicable distance.

【0005】[0005]

【課題を解決するための手段】第1の発明は、互いに通
信可能なアプリケーションを実装したBluetoot
h機器において、無線でデータを送受信するための無線
通信部と、無線通信部を制御して物理的なリンクを構築
してプロトコルスタック上の上位レイヤに対して論理的
なリンクを提供するリンク制御部と、ユーザインタフェ
ースやBluetoothプロトコルの上位レイヤを含
んだアプリケーション部とを備え、前記アプリケーショ
ン部間で論理リンク接続後にデータ通信が行われていな
いときに、前記リンク制御部が前記アプリケーション部
からの要求に依らずに自動的に物理リンクを切断し、且
つ論理リンクは保持していることを特徴とする。
A first aspect of the present invention is a Bluetooth device having an application capable of communicating with each other.
h device, a wireless communication unit for wirelessly transmitting and receiving data, and link control for controlling the wireless communication unit to establish a physical link and provide a logical link to an upper layer on a protocol stack And an application unit including a user interface and an upper layer of the Bluetooth protocol. When data communication is not performed after a logical link is connected between the application units, the link control unit transmits a request from the application unit. , The physical link is automatically disconnected and the logical link is maintained.

【0006】第2の発明は、前記Bluetooth機
器において、前記リンク制御部は、相手Bluetoo
th機器からの応答がある場合、所定時間毎に相手Bl
uetooth機器に問い合わせを続け、相手Blue
tooth機器からの応答が無い場合、論理リンクの切
断を行うことを特徴とする。
According to a second aspect of the present invention, in the Bluetooth device, the link control unit includes a partner Bluetooth device.
If there is a response from the th device, the partner Bl
Continue to contact the Bluetooth device, Bluetooth partner
When there is no response from the tooth device, the logical link is disconnected.

【0007】第3の発明は、前記Bluetooth機
器において、前記リンク制御部は、相手Bluetoo
th機器が通信可能距離内から外れたことを検出したと
きに、更に所定の回数問い合わせを行い、応答があった
ときには論理リンクを保持し続け、応答が無かったとき
には論理リンクを切断することを特徴とする。
According to a third aspect of the present invention, in the Bluetooth device, the link control section includes a partner Bluetooth device.
When detecting that the th device has deviated from the communicable distance, an inquiry is further made a predetermined number of times, the logical link is kept held when there is a response, and the logical link is disconnected when there is no response. And

【0008】第4の発明は、前記Bluetooth機
器において、前記リンク制御部は、非同期データ通信中
に相手Bluetooth機器が通信可能距離内から外
れたことによるリンク切断通知を受けたとき、論理リン
クを保持したままアプリケーション部に対してフロー制
御をかけて一時的に非同期データ通信を中断し、所定の
回数問い合わせを行い、相手Bluetooth機器か
ら応答があったときには再度物理リンクを接続して非同
期データ通信を再開し、応答が無かったときには論理リ
ンクを切断することを特徴とする。
According to a fourth aspect of the present invention, in the Bluetooth device, the link control unit holds the logical link when receiving a link disconnection notification due to the other Bluetooth device being out of the communicable distance during the asynchronous data communication. Asynchronous data communication is temporarily interrupted by applying flow control to the application section while the communication is being performed, and an inquiry is made a predetermined number of times. When a response is received from the partner Bluetooth device, the physical link is connected again to resume the asynchronous data communication. When there is no response, the logical link is disconnected.

【0009】第5の発明は、互いに通信可能なアプリケ
ーションを実装したBluetooth機器において、
無線でデータを送受信するための無線通信部と、該無線
通信部を制御して物理的なリンクを構築してプロトコル
スタック上の上位レイヤに対して論理的なリンクを提供
するリンク制御部と、ユーザインタフェースやBlue
toothプロトコルの上位レイヤを含んだアプリケー
ション部と、音声を入力するためのマイクと、音声を出
力するためのスピーカと、音声のコーデックと任意の音
を出す機能を備えたPCMコーデック部とを備え、前記
リンク制御部は、音声通信中に相手Bluetooth
機器が通信可能距離内から外れたことによるリンク切断
通知を受けたとき、所定の回数問い合わせを行い、且つ
その間にはPCMコーデック部において音を作成してス
ピーカで発生させて物理リンクの再接続中であることを
示し、相手Bluetooth機器から応答があったと
きには再度物理リンクを接続して音声通信を再開し、応
答が無かったときには論理リンクを切断することを特徴
とする。
A fifth aspect of the present invention relates to a Bluetooth device in which applications capable of communicating with each other are mounted.
A wireless communication unit for transmitting and receiving data wirelessly, a link control unit for controlling the wireless communication unit to construct a physical link and provide a logical link to an upper layer on a protocol stack, User interface and Blue
An application unit including an upper layer of the tooth protocol, a microphone for inputting audio, a speaker for outputting audio, a PCM codec unit having an audio codec and a function of outputting arbitrary sound, The link control unit controls the other party's Bluetooth during voice communication.
When a link disconnection notification is received due to the device being out of the communicable distance, an inquiry is made a predetermined number of times, and during that time, a sound is generated in the PCM codec unit and generated by the speaker, and the physical link is being reconnected. When a response is received from the partner Bluetooth device, the physical link is connected again to resume voice communication, and when there is no response, the logical link is disconnected.

【0010】本発明においては、まず省電力化におい
て、データ通信の有無をチェックして、データ通信が行
われていないときには論理リンクを保持したまま物理リ
ンクを切断する。この間、相手機器が通信可能距離内に
存在するか否かを確認するためには、周期的に問い合わ
せを行う。この場合、問い合わせを行う周期はパークモ
ードにおいてマスタとスレーブが同期を取る周期よりも
長く取る。もし、問い合わせに対して応答が無い場合に
は論理リンクを切断する。その状態でデータ通信が開始
されたならば、それを検出して物理リンクを接続する。
In the present invention, first, in power saving, the presence or absence of data communication is checked, and when data communication is not performed, the physical link is disconnected while the logical link is maintained. During this time, an inquiry is periodically made in order to confirm whether or not the other device is within the communicable distance. In this case, the period for making an inquiry is longer than the period for synchronizing the master and the slave in the park mode. If there is no response to the inquiry, the logical link is disconnected. If data communication is started in that state, it is detected and a physical link is connected.

【0011】こうして、データ通信を行っていないとき
に物理リンクを切断することにより無線通信を行う必要
が無くなり、その分電力を消費しなくて済む。また、論
理リンクを保持し続けることにより、再度データ通信が
開始されたときに物理リンクの接続のみを行えばよく、
論理リンクの確立におけるリンク確立要求やネゴシエー
ションのメッセージのやり取りを省略できるため、再接
続時間が短縮できる。
In this way, by cutting off the physical link when data communication is not being performed, there is no need to perform wireless communication, and power is not consumed accordingly. Further, by maintaining the logical link, only the connection of the physical link may be performed when data communication is started again,
Since the exchange of a link establishment request and a negotiation message in establishing a logical link can be omitted, the reconnection time can be reduced.

【0012】一方、論理リンクを保持したまま物理リン
クを切断しているときに相手機器に対して周期的に問い
合わせを行うことによって、通信可能距離から外れたこ
とを早期に検出できる。
On the other hand, when the physical link is disconnected while maintaining the logical link, periodic inquiry is made to the partner device, so that it is possible to early detect that the communication distance has been deviated.

【0013】通信可能距離から外れたことを検出したと
きに所定の時間問い合わせを続けることによって、通信
可能距離を出たり入ったりするような場合も論理リンク
を保持し続けることができる。
By continuing inquiry for a predetermined time when it is detected that the communication distance is out of the communicable distance, it is possible to keep the logical link even when entering or leaving the communicable distance.

【0014】また、非同期データ通信中に通信可能距離
から外れたことを検出したときにアプリケーション部に
フロー制御をかけてデータ送信を一時中断することによ
って、再度物理リンクが接続されたときに非同期データ
通信を再開することができる。
[0014] Further, when it is detected that the communication distance is out of the communicable distance during the asynchronous data communication, the application section is subjected to flow control to temporarily suspend data transmission. Communication can be resumed.

【0015】また、音声通信中に通信可能距離から外れ
たことを検出したときにPCMコーデックで再接続中音
を作ってスピーカで発生することによって、物理リンク
が途切れて音声通信が中断していること、且つ物理リン
クを再接続中であることを示すことができる。
Further, when it is detected that the communication distance is out of the communicable range during the voice communication, the PCM codec generates a reconnecting sound and generates the sound at the speaker, whereby the physical link is interrupted and the voice communication is interrupted. And that the physical link is being reconnected.

【0016】[0016]

【発明の実施の形態】以下図面により本発明の実施の形
態について説明する。図1は本発明に係るBlueto
oth機器の一実施形態を示すブロック図である。Bl
uetooth機器11は、無線通信を行う無線通信部
12と、無線通信部に対して物理リンクの接続/切断の
制御を行うリンク制御部13と、Bluetoothプ
ロトコルスタックの上位レイヤやマンマシンインタフェ
ースなどを含むアプリケーション部で構成されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a Bluetooth device according to the present invention.
FIG. 3 is a block diagram illustrating an embodiment of an oth device. Bl
The Bluetooth device 11 includes a wireless communication unit 12 that performs wireless communication, a link control unit 13 that controls connection / disconnection of a physical link to the wireless communication unit, an upper layer of a Bluetooth protocol stack, a man-machine interface, and the like. It consists of an application section.

【0017】図2〜図5は、このBluetooth機
器におけるリンク制御部13の処理を示すフローチャー
トである。通常、リンク制御部13の制御により物理リ
ンクを接続し、その後アプリケーション部の論理リンク
が確立され、リンク制御部13は物理リンクと論理リン
クの対応関係の情報を保持することになる。一方、Bl
uetoothのリンクには非同期でコネクションレス
なACLリンクと、同期式の接続指向なリンクであるS
COリンクがある。ACLリンクを通して非同期データ
通信が行われ、SCOリンクでは同期データ通信が行わ
れる。このうち、SCOリンクはその性格上音声を伝達
するために使用され、接続/切断の制御はリンク制御部
13で行うものの、実際のデータはハードで直接PCM
コーデックから無線通信部12へ渡されるため、リンク
制御部13においてデータ通信中か否かの判断ができな
い。
FIGS. 2 to 5 are flowcharts showing the processing of the link control unit 13 in the Bluetooth device. Normally, the physical link is connected under the control of the link control unit 13, and then the logical link of the application unit is established, and the link control unit 13 holds information on the correspondence between the physical link and the logical link. On the other hand, Bl
The ethno link includes an asynchronous connectionless ACL link and a synchronous connection-oriented link S.
There is a CO link. Asynchronous data communication is performed through the ACL link, and synchronous data communication is performed through the SCO link. Of these, the SCO link is used for transmitting voice due to its characteristics, and connection / disconnection control is performed by the link control unit 13, but actual data is directly converted to hardware by PCM.
Since the codec is passed from the codec to the wireless communication unit 12, the link control unit 13 cannot determine whether data communication is being performed.

【0018】そこで、図2に示すように、まずリンク制
御部13は、リンク制御部13を通してデータ通信が行
われるACLリンクがデータ通信中かどうかを判断する
(S21)。このとき、各データはパケットに分割され
て送受信されるため、各パケットを送受信する度にタイ
マをスタートさせて(必要であれば前回のスタートさせ
たタイマをキャンセルする)、そのタイマが満了したこ
とによってデータ通信中ではないことを判断する必要が
ある。
Therefore, as shown in FIG. 2, first, the link control unit 13 determines whether or not an ACL link for performing data communication through the link control unit 13 is performing data communication (S21). At this time, since each data is divided into packets and transmitted / received, the timer is started each time each packet is transmitted / received (if necessary, the previously started timer is canceled), and the timer has expired. It is necessary to determine that data communication is not in progress.

【0019】次に、SCOリンクだが、前記の通りSC
Oリンクにおいてデータ通信中か否かはリンク制御部1
3では判断できないため、リンク制御部13は、リンク
が接続状態であるか切断状態であるかを識別する(S2
2)。S21及びS22をパスした後、リンク制御部1
3は、無線通信部12に対してリンク切断要求を送出す
る(S23)。このとき、リンク制御部13は、物理リ
ンクと論理リンクの対応関係等を管理する情報は廃棄し
ないで、物理リンクの接続状態を示すフラグのみを変更
する。
Next, regarding the SCO link, as described above, the SC
The link control unit 1 determines whether data communication is being performed on the O link.
3, the link control unit 13 identifies whether the link is in a connected state or a disconnected state (S2).
2). After passing S21 and S22, the link control unit 1
3 transmits a link disconnection request to the wireless communication unit 12 (S23). At this time, the link control unit 13 does not discard the information for managing the correspondence between the physical link and the logical link, and changes only the flag indicating the connection state of the physical link.

【0020】こうして、物理リンクを切断することによ
り無線通信部12から無線通信を行う必要が無くなり、
その分電力を消費しなくて済む。また、論理リンクを保
持し続けることにより、再度データ通信が開始されたと
きに、リンク制御部13は、物理リンクの接続のみを行
えばよく、論理リンクの確立におけるリンク確立要求や
ネゴシエーションのメッセージのやり取りを省略できる
ため、再接続時間が短縮できる。
In this way, by disconnecting the physical link, there is no need to perform wireless communication from the wireless communication unit 12,
It does not need to consume power. In addition, by continuing to hold the logical link, when data communication is started again, the link control unit 13 only needs to connect the physical link, and transmits a link establishment request or a negotiation message in establishing the logical link. Since the exchange can be omitted, the reconnection time can be reduced.

【0021】次に、図3に示すように、リンク制御部1
3は、論理リンクを保持したまま物理リンクを切断して
いる状態に入ったらタイマをスタートさせる(S4
1)。タイマが満了したら(S42)、物理リンクが接
続中だったときにマスタであったBluetooth機
器ではInquiry要求を行い、スレーブであったB
luetooth機器ではInquiry scanを
行う(S43)。各々を行う時間を長めに設定すること
によって、各Bluetooth機器間のタイマの誤差
は吸収できる。結果を識別して(S44)、応答があっ
たならば再度タイマをスタートさせ(S41)、応答が
無かったならば相手側からリンク切断要求が来たときと
同様にアプリケーション部14に切断通知を送って論理
リンクの切断処理を行う(S45)。
Next, as shown in FIG.
3 starts a timer when the physical link is disconnected while maintaining the logical link (S4).
1). When the timer has expired (S42), the Bluetooth device that was the master when the physical link was connected makes an Inquiry request, and the Bluetooth device that was the slave
Inquiry scan is performed in the Bluetooth device (S43). By setting the time for each operation to be longer, the error of the timer between the Bluetooth devices can be absorbed. The result is identified (S44). If there is a response, the timer is started again (S41). If there is no response, a disconnection notification is sent to the application unit 14 in the same manner as when a link disconnection request is received from the partner. Then, the logical link is disconnected (S45).

【0022】こうして、リンク制御部13は、論理リン
クを保持したまま物理リンクを切断しているときに、応
答がある限り、所定の時間だけタイマをセットし、それ
が満了すると相手機器に対して問い合わせあるいは問い
合わせスキャンを行う。このように、周期的に繰り返し
問い合わせを行い、応答があるか否かを判断することに
よって、相手Bluetooth機器が通信可能距離か
ら外れたことを直ちに検出できる。
In this way, the link control unit 13 sets the timer for a predetermined time as long as there is a response while disconnecting the physical link while holding the logical link. Perform a query or query scan. In this manner, by repeatedly inquiring periodically and determining whether there is a response, it is possible to immediately detect that the partner Bluetooth device has deviated from the communicable distance.

【0023】また、論理リンクを保持したまま物理リン
クを切断している状態における他の例を図4に示す。カ
ウンタをリセットして(S51)、前述のように問い合
わせを行っているときに(S52〜S55)、応答が無
かったならばカウンタをインクリメントする(S5
6)。次にカウンタの値を調べて一定値を超えていたら
(S57)、相手側からリンク切断要求が来たときと同
様にアプリケーション部14に切断通知を送って論理リ
ンクの切断処理を行う(S58)。カウンタの値が一定
値を超えていなければ、再度問い合わせを行う(S52
〜S55)。再度問い合わせを行ったときに応答があれ
ばカウンタをリセットして(S51)、また問い合わせ
の処理を続ける(S52〜S55)。
FIG. 4 shows another example in which the physical link is disconnected while the logical link is maintained. The counter is reset (S51), and when the inquiry is made as described above (S52 to S55), if there is no response, the counter is incremented (S5).
6). Next, the value of the counter is checked, and if it exceeds a certain value (S57), a disconnection notification is sent to the application unit 14 to perform a logical link disconnection process as in the case where a link disconnection request is received from the partner (S58). . If the value of the counter does not exceed the certain value, an inquiry is made again (S52).
To S55). If there is a response when the inquiry is made again, the counter is reset (S51), and the inquiry process is continued (S52 to S55).

【0024】こうして、リンク成制御部13は、相手機
器が通信可能距離から外れたことを検出したときに論理
リンクを切断せず、所定の時間問い合わせを続けること
によって、通信可能距離を出たり入ったりするような場
合も論理リンクを保持し続けることができる。こうし
て、相手機器が通信可能距離に入ってきた場合には、直
ちにリンクを確立でき、再接続時間を短縮できる。
In this way, the link establishment control unit 13 does not disconnect the logical link when detecting that the other device has deviated from the communicable distance, and continues to inquire for a predetermined time, thereby entering and exiting the communicable distance. In such a case, the logical link can be maintained. Thus, when the partner device comes within the communicable distance, a link can be immediately established, and the reconnection time can be reduced.

【0025】次に、非同期データ通信中にリンク切断通
知を受信した場合の処理を説明する。図5に示すよう
に、非同期データ通信中に二つのBluetooth機
器が離れ過ぎたことなどによりリンク切断通知を受信し
たならば(S61)、アプリケーション部14にフロー
OFFのメッセージを通知して非同期データ通信を中断
する(S62)。カウンタをリセットして(S63)、
一定回数問い合わせを試みる(S64〜S67)。全て
の問い合わせに対して応答が無ければ論理リンクを切断
する(S68)。応答があったならば物理リンクの接続
処理を行い(S69)、アプリケーション部14にフロ
ーONのメッセージを通知して(S70)非同期データ
通信を再開する。
Next, processing when a link disconnection notification is received during asynchronous data communication will be described. As shown in FIG. 5, when the link disconnection notification is received due to the excessive separation of two Bluetooth devices during the asynchronous data communication (S61), a flow OFF message is notified to the application unit 14 to perform the asynchronous data communication. Is interrupted (S62). The counter is reset (S63),
An inquiry is attempted a fixed number of times (S64 to S67). If there is no response to all inquiries, the logical link is disconnected (S68). If there is a response, a physical link connection process is performed (S69), a flow ON message is notified to the application unit 14 (S70), and the asynchronous data communication is resumed.

【0026】このように、非同期データ通信中に通信可
能距離から外れたことを検出したときに、完全に論理リ
ンクを切断することなく、アプリケーション部にフロー
制御をかけてデータ送信を一時中断する。このことによ
って、再度物理リンクが接続されたときに、論理リンク
は接続状態であるので、直ちにデータ通信を再開するこ
とができる。
As described above, when it is detected that the communication distance is deviated from the communicable distance during the asynchronous data communication, the data transmission is temporarily suspended by applying the flow control to the application unit without completely disconnecting the logical link. As a result, when the physical link is connected again, the logical link is in the connected state, so that the data communication can be immediately resumed.

【0027】図6は本発明に係るBluetooth機
器の他の実施形態を示すブロック図である。このBlu
etooth機器は、図1のBluetooth機器に
加えて、音声のコーデックと任意の音を出す機能を備え
たPCMコーデック部15と、音声を入力するためのマ
イク16と、音声を出力するためにスピーカ17を備え
ている。
FIG. 6 is a block diagram showing another embodiment of the Bluetooth device according to the present invention. This Blu
The Bluetooth device includes, in addition to the Bluetooth device of FIG. 1, a PCM codec unit 15 having a voice codec and a function of outputting an arbitrary voice, a microphone 16 for inputting voice, and a speaker 17 for outputting voice. It has.

【0028】図7は、このBluetooth機器にお
けるリンク制御部13の処理を示すフローチャートであ
る。SCOリンクにて音声通信中に二つのBlueto
oth機器が離れ過ぎたことなどによりリンク切断通知
を受信したならば(S71)、PCMコーデック部15
に任意に決めた再接続中に発生する音を出すように制御
して(S72)、カウンタをリセットして(S73)、
一定回数問い合わせを試みる(S74〜S77)。全て
の問い合わせに対して応答が無ければ、再接続中音を停
止して(S78)、論理リンクを切断する(S79)。
応答があったならば物理リンクの接続処理を行い(S8
0)、再接続中音を停止して(S81)、音声通信を再
開する。
FIG. 7 is a flowchart showing the processing of the link control unit 13 in the Bluetooth device. Two Bluetooth during voice communication on SCO link
If the link disconnection notification is received due to excessive separation of the other device (S71), the PCM codec unit 15
Is controlled to emit a sound generated during the reconnection arbitrarily determined (S72), the counter is reset (S73),
An inquiry is attempted a certain number of times (S74 to S77). If there is no response to all the inquiries, the reconnection sound is stopped (S78), and the logical link is disconnected (S79).
If there is a response, a physical link connection process is performed (S8).
0), the sound during reconnection is stopped (S81), and voice communication is resumed.

【0029】こうして、音声通信中に通信可能距離から
外れたことを検出したときにPCMコーデック部15で
再接続中音を作ってスピーカ17で発生させることによ
って、物理リンクが途切れて音声通信が中断しているこ
と、且つ物理リンクを再接続中であることを示すことが
できる。このように、音によってリンク接続状況を操作
者に知らせることにより、状況把握がしやすくなるとと
もに、的確な判断ができる。
In this way, the PCM codec unit 15 generates a reconnecting sound and generates the sound at the speaker 17 when it is detected that the communication distance is out of the communicable distance during the voice communication, so that the physical link is broken and the voice communication is interrupted. And that the physical link is being reconnected. As described above, by notifying the operator of the link connection status by the sound, the status can be easily grasped, and an accurate judgment can be made.

【0030】[0030]

【発明の効果】以上のように、第1の発明によれば、デ
ータ通信を行っていないときに物理リンクを切断するこ
とにより無線通信を行う必要が無くなり、その分電力を
消費しなくて済む。また、論理リンクを保持し続けるこ
とにより、再度データ通信が開始されたときに物理リン
クの接続のみを行えばよく、論理リンクの確立における
リンク確立要求やネゴシエーションのメッセージのやり
取りを省略できるため、再接続時間が短縮できる。
As described above, according to the first aspect, it is not necessary to perform wireless communication by disconnecting a physical link when data communication is not being performed, so that power consumption is not required. . Further, by maintaining the logical link, only the physical link needs to be connected when data communication is started again, and the exchange of a link establishment request and a negotiation message in establishing the logical link can be omitted. Connection time can be reduced.

【0031】また、第2の発明によれば、論理リンクを
保持したまま物理リンクを切断しているときに相手機器
に対して周期的に問い合わせを行うことによって、通信
可能距離から外れたことを早期に検出できる。
According to the second aspect of the present invention, when the physical link is disconnected while the logical link is held, the other device is periodically inquired to prevent the device from being out of the communicable distance. Can be detected early.

【0032】また、第3の発明によれば、通信可能距離
から外れたことを検出したときに所定の時間問い合わせ
を続けることによって、通信可能距離を出たり入ったり
するような場合も論理リンクを保持し続けることができ
る。
According to the third aspect of the present invention, the inquiry is continued for a predetermined time when it is detected that the communication distance is out of the communicable distance. You can keep holding.

【0033】また、第4の発明によれば、非同期データ
通信中に通信可能距離から外れたことを検出したときに
アプリケーション部にフロー制御をかけてデータ送信を
一時中断することによって、再度物理リンクが接続され
たときにデータ通信を再開することができる。
Further, according to the fourth aspect, when it is detected that the communication distance is deviated from the communicable distance during the asynchronous data communication, the application section is subjected to flow control to temporarily suspend the data transmission, thereby re-establishing the physical link again. Can be resumed when is connected.

【0034】また、第5の発明によれば、音声通信中に
通信可能距離から外れたことを検出したときにPCMコ
ーデックで再接続中音を作ってスピーカで発生すること
によって、物理リンクが途切れて音声通信が中断してい
ること、且つ物理リンクを再接続中であることを示すこ
とができる。
Further, according to the fifth invention, when it is detected that the communication distance is out of the communicable distance during the voice communication, the PCM codec generates a sound during reconnection and generates the sound at the speaker, thereby disconnecting the physical link. Thus, it can be shown that the voice communication is interrupted and the physical link is being reconnected.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係るBluetooth機器の一実施
形態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a Bluetooth device according to the present invention.

【図2】リンク制御部の処理を示すフローチャートであ
る。
FIG. 2 is a flowchart illustrating processing of a link control unit.

【図3】リンク制御部の他の処理を示すフローチャート
である。
FIG. 3 is a flowchart illustrating another process of the link control unit.

【図4】リンク制御部の他の処理を示すフローチャート
である。
FIG. 4 is a flowchart illustrating another process of the link control unit.

【図5】リンク制御部の他の処理を示すフローチャート
である。
FIG. 5 is a flowchart illustrating another process of the link control unit.

【図6】本発明に係るBluetooth機器の他の実
施形態を示すブロック図である。
FIG. 6 is a block diagram showing another embodiment of a Bluetooth device according to the present invention.

【図7】リンク制御部の他の処理を示すフローチャート
である。
FIG. 7 is a flowchart illustrating another process of the link control unit.

【符号の説明】[Explanation of symbols]

11 Bluetooth機器 12 無線通信部 13 リンク制御部 14 アプリケーション部 15 PCMコーデック部 16 マイク 17 スピーカ 11 Bluetooth device 12 Wireless communication unit 13 Link control unit 14 Application unit 15 PCM codec unit 16 Microphone 17 Speaker

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 互いに通信可能なアプリケーションを実
装したBluetooth機器において、 無線でデータを送受信するための無線通信部と、 無線通信部を制御して物理的なリンクを構築してプロト
コルスタック上の上位レイヤに対して論理的なリンクを
提供するリンク制御部と、 ユーザインタフェースやBluetoothプロトコル
の上位レイヤを含んだアプリケーション部とを備え、 前記アプリケーション部間で論理リンク接続後にデータ
通信が行われていないときに、前記リンク制御部が前記
アプリケーション部からの要求に依らずに自動的に物理
リンクを切断し、且つ論理リンクは保持していることを
特徴とするBluetooth機器。
1. A Bluetooth device equipped with an application capable of communicating with each other, comprising: a wireless communication unit for transmitting and receiving data wirelessly; and a physical link constructed by controlling the wireless communication unit to form a higher-level protocol stack. A link control unit for providing a logical link to a layer; and an application unit including an upper layer of a user interface and a Bluetooth protocol, wherein data communication is not performed between the application units after a logical link is connected. A Bluetooth device, wherein the link control unit automatically disconnects a physical link without depending on a request from the application unit, and retains a logical link.
【請求項2】 前記リンク制御部は、相手Blueto
oth機器からの応答がある場合、所定時間毎に相手B
luetooth機器に問い合わせを続け、相手Blu
etooth機器からの応答が無い場合、論理リンクの
切断を行うことを特徴とする請求項1記載のBluet
ooth機器。
2. The link control unit according to claim 1, further comprising:
If there is a response from the other device, the partner B
Continue to contact the Bluetooth device, Bluetooth partner
2. The Bluetooth according to claim 1, wherein the logical link is disconnected when there is no response from the Bluetooth device.
oot equipment.
【請求項3】 前記リンク制御部は、相手Blueto
oth機器が通信可能距離内から外れたことを検出した
ときに、更に所定の回数問い合わせを行い、応答があっ
たときには論理リンクを保持し続け、応答が無かったと
きには論理リンクを切断することを特徴とする請求項1
記載のBluetooth機器。
3. The link control unit according to claim 1, wherein
When the other device detects that the device is out of the communicable distance, it makes an inquiry a predetermined number of times, keeps holding the logical link when there is a response, and disconnects the logical link when there is no response. Claim 1
The Bluetooth device as described.
【請求項4】 前記リンク制御部は、非同期データ通信
中に相手Bluetooth機器が通信可能距離内から
外れたことによるリンク切断通知を受けたとき、論理リ
ンクを保持したままアプリケーション部に対してフロー
制御をかけて一時的に非同期データ通信を中断し、所定
の回数問い合わせを行い、相手Bluetooth機器
から応答があったときには再度物理リンクを接続して非
同期データ通信を再開し、応答が無かったときには論理
リンクを切断することを特徴とする請求項1記載のBl
uetooth機器。
4. When the link control unit receives a link disconnection notification due to the fact that the partner Bluetooth device is out of the communicable distance during asynchronous data communication, the link control unit performs flow control on the application unit while maintaining the logical link. , The asynchronous data communication is temporarily interrupted, an inquiry is made a predetermined number of times, and when a response is received from the partner Bluetooth device, the physical link is connected again to resume the asynchronous data communication, and when there is no response, the logical link is 2. The Bl according to claim 1, wherein
Bluetooth equipment.
【請求項5】 互いに通信可能なアプリケーションを実
装したBluetooth機器において、 無線でデータを送受信するための無線通信部と、 該無線通信部を制御して物理的なリンクを構築してプロ
トコルスタック上の上位レイヤに対して論理的なリンク
を提供するリンク制御部と、 ユーザインタフェースやBluetoothプロトコル
の上位レイヤを含んだアプリケーション部と、 音声を入力するためのマイクと、 音声を出力するためのスピーカと、 音声のコーデックと任意の音を出す機能を備えたPCM
コーデック部とを備え、 前記リンク制御部は、音声通信中に相手Bluetoo
th機器が通信可能距離内から外れたことによるリンク
切断通知を受けたとき、所定の回数問い合わせを行い、
且つその間にはPCMコーデック部において音を作成し
てスピーカで発生させて物理リンクの再接続中であるこ
とを示し、相手Bluetooth機器から応答があっ
たときには再度物理リンクを接続して音声通信を再開
し、応答が無かったときには論理リンクを切断すること
を特徴とするBluetooth機器。
5. A Bluetooth device equipped with an application capable of communicating with each other, a wireless communication unit for wirelessly transmitting and receiving data, and a physical link controlled by controlling the wireless communication unit to form a physical link on a protocol stack. A link control unit for providing a logical link to an upper layer, an application unit including an upper layer of a user interface or a Bluetooth protocol, a microphone for inputting audio, and a speaker for outputting audio. PCM with audio codec and function to emit any sound
A codec unit, wherein the link control unit is configured to communicate with the partner Bluetooth during voice communication.
When a link disconnection notification is received that the th device is out of the communicable distance, an inquiry is made a predetermined number of times,
In the meantime, a sound is generated in the PCM codec unit and generated by the speaker to indicate that the physical link is being reconnected, and when a response is received from the partner Bluetooth device, the physical link is connected again to resume voice communication. A Bluetooth device that disconnects a logical link when there is no response.
JP2000348575A 2000-11-15 2000-11-15 Bluetooth apparatus Pending JP2002152309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000348575A JP2002152309A (en) 2000-11-15 2000-11-15 Bluetooth apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000348575A JP2002152309A (en) 2000-11-15 2000-11-15 Bluetooth apparatus

Publications (1)

Publication Number Publication Date
JP2002152309A true JP2002152309A (en) 2002-05-24

Family

ID=18822137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000348575A Pending JP2002152309A (en) 2000-11-15 2000-11-15 Bluetooth apparatus

Country Status (1)

Country Link
JP (1) JP2002152309A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10230617A1 (en) * 2002-07-03 2004-02-05 Siemens Ag Automatic switching between mobile devices
JP2005158078A (en) * 2003-11-25 2005-06-16 Microsoft Corp Modification of power management algorithm based on wireless communication parameters
JP2008165775A (en) * 2006-12-28 2008-07-17 Samsung Electronics Co Ltd Method of creating and managing session between wireless universal serial bus (usb) host and wireless usb device, wireless usb host, and wireless usb device
US7675889B2 (en) 2002-06-14 2010-03-09 Nec Corporation Network terminal with means for wirelessly establishing secure private link with external terminal
JP2010213259A (en) * 2009-01-25 2010-09-24 Pmc-Sierra Inc Power saving in ieee 802-style networks
KR100996084B1 (en) 2003-06-25 2010-11-22 삼성전자주식회사 Method for connecting communication between a mobile terminal having bluetooth module and bluetooth access point for reducing current consumption
JP2015154121A (en) * 2014-02-12 2015-08-24 株式会社フライトシステムコンサルティング Control terminal, controlled terminal, communication system, connection setting method for the same system, and program
CN105667426A (en) * 2014-12-04 2016-06-15 本田技研工业株式会社 Vehicle communication system
JP2016519863A (en) * 2013-03-08 2016-07-07 グーグル インコーポレイテッド Proximity detection with mobile devices
JP2017529920A (en) * 2014-09-11 2017-10-12 マイラン インコーポレイテッド Drug delivery system and method

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7675889B2 (en) 2002-06-14 2010-03-09 Nec Corporation Network terminal with means for wirelessly establishing secure private link with external terminal
DE10230617B4 (en) * 2002-07-03 2004-12-23 Siemens Ag Automatic switching between mobile devices
DE10230617A1 (en) * 2002-07-03 2004-02-05 Siemens Ag Automatic switching between mobile devices
KR100996084B1 (en) 2003-06-25 2010-11-22 삼성전자주식회사 Method for connecting communication between a mobile terminal having bluetooth module and bluetooth access point for reducing current consumption
JP2005158078A (en) * 2003-11-25 2005-06-16 Microsoft Corp Modification of power management algorithm based on wireless communication parameters
JP2008165775A (en) * 2006-12-28 2008-07-17 Samsung Electronics Co Ltd Method of creating and managing session between wireless universal serial bus (usb) host and wireless usb device, wireless usb host, and wireless usb device
US8601137B2 (en) 2006-12-28 2013-12-03 Samsung Electronics Co., Ltd. Method of creating and managing session between wireless universal serial bus host and wireless universal serial bus device and providing wireless universal serial bus host and wireless universal serial bus device
JP2010213259A (en) * 2009-01-25 2010-09-24 Pmc-Sierra Inc Power saving in ieee 802-style networks
JP2016519863A (en) * 2013-03-08 2016-07-07 グーグル インコーポレイテッド Proximity detection with mobile devices
JP2015154121A (en) * 2014-02-12 2015-08-24 株式会社フライトシステムコンサルティング Control terminal, controlled terminal, communication system, connection setting method for the same system, and program
JP2017529920A (en) * 2014-09-11 2017-10-12 マイラン インコーポレイテッド Drug delivery system and method
CN105667426A (en) * 2014-12-04 2016-06-15 本田技研工业株式会社 Vehicle communication system
JP2016111467A (en) * 2014-12-04 2016-06-20 本田技研工業株式会社 Vehicle communication system
CN105667426B (en) * 2014-12-04 2018-02-13 本田技研工业株式会社 Vehicular communication system
US9998996B2 (en) 2014-12-04 2018-06-12 Honda Motor Co., Ltd. Vehicle communication system

Similar Documents

Publication Publication Date Title
US8363844B2 (en) Contextual audio switching for a USB controlled audio device
CN111654845A (en) Bluetooth multi-terminal link switching method, Bluetooth audio equipment and system
WO2004021592A1 (en) A method and apparatus for power conservation in a wireless communication system
ATE417444T1 (en) MESSAGE SYSTEM
JP4019006B2 (en) Wireless network system, wireless base station, and wireless mobile terminal proxy processing method used therefor
JP4561986B2 (en) Wireless terminal
JP2002152309A (en) Bluetooth apparatus
JP5557950B1 (en) Wireless communication system and portable information terminal
CN112437371B (en) BLE link switching method, equipment, earphone pair, chip and medium
CA2504798A1 (en) Extended handset functionality and mobility
JP2001268211A (en) Hands-free device for telephone
WO2006116935A1 (en) Method for calling between bluetooth voice terminal device and a plurality of remote users
WO2023103732A1 (en) State control method and apparatus for earphone device, earphone device and storage medium
JP4232020B2 (en) IP phone terminal and IP phone system
CN115278615A (en) Method and device for controlling transmission of Bluetooth equipment and electronic equipment
JP2005086690A (en) Communication system, gateway apparatus, and access point apparatus
JP2001251335A (en) Equipment provided with data transmission function
JP4561985B2 (en) Wireless terminal
JP2006311392A (en) Cellular phone terminal, control program and radio communication system
JP2003158771A (en) Mobile node, base station node, mobile communications system, receiving method and mobile communication method
JP2000236356A (en) Audio gateway device, method for reporting signal indicating that communication line is under establishment is and computer readable recording medium storing notice program for the signal
WO2022051901A1 (en) Method for voice calling, system, chip, electronic device, and storage medium
JP2009219005A (en) Communication control method and communication system
JP2006094228A (en) Connection control device, connection control method, and program
JP2003333196A (en) Wireless intercom system