JP2004080400A - Automatic role determining system - Google Patents

Automatic role determining system Download PDF

Info

Publication number
JP2004080400A
JP2004080400A JP2002238090A JP2002238090A JP2004080400A JP 2004080400 A JP2004080400 A JP 2004080400A JP 2002238090 A JP2002238090 A JP 2002238090A JP 2002238090 A JP2002238090 A JP 2002238090A JP 2004080400 A JP2004080400 A JP 2004080400A
Authority
JP
Japan
Prior art keywords
connection request
scan
random variable
time
role
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
JP2002238090A
Other languages
Japanese (ja)
Inventor
Hideo Tominaga
冨永 英雄
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002238090A priority Critical patent/JP2004080400A/en
Publication of JP2004080400A publication Critical patent/JP2004080400A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an automatic role determining system wherein a terminal with a user interface deficient of entry means or a terminal or the like without the need for a user to notify its role is automatically connected by having only to apply power to the terminal and can set its role. <P>SOLUTION: The automatic role determining system is provided with: a power ON detection section 1; a random variable initial value determination section 2 for determining an initial value of a random variable on the basis of a terminal identification code read from a database 3 when receiving a power ON notice; a role control section 4 for activating a connection request control means at determinating of a tentative master and activating a scan control means at determination of a tentative slave; a random variable generating section 5 for generating the random variable to randomize a scan time when failing to receive a connection request; a scan control section 4 for controlling the operation to scan the connection request from other terminal; a connection request control section 7 for controlling transmission of the connection request for a prescribed time; and a connection link control section 8 for performing control after establishment of a connection link. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、Bluetoothに代表される無線ネットワークシステムにおいて、無線接続するための接続要求を送信するマスター動作と、マスターからの接続要求を受信するために必要なスキャンを実施するスレーブ動作を、自動的に実施する自動ロール決定システムに関する。
【0002】
【従来の技術】
近年、Bluetoothに代表される無線ネットワークシステムは大きな発展を期待されている。その適応アプリケーションは非常に豊富であり、そのアプリケーションに依存してユーザーインターフェースの入力手段が乏しいものから豊富なものまで多岐にわたる。
【0003】
以下、従来のロール決定システムについて説明する。図7は従来のロール決定システムのブロック図であり、図8は同フローチャート、図9は同タイミングチャートである。
【0004】
図7において、ロール決定システムは、ロール設定入力部10と、ロール制御部11と、接続要求制御部12と、スキャン制御部13と、接続リンク制御部14により構成されている。
【0005】
このロール決定システムの動作を、図8を参照しながら説明する。
【0006】
まずロール設定入力部10は、端末をマスター動作させるのか、またはスレーブ動作させるのかをユーザーが意識的に手動設定する(S50)。ロール制御部11は、設定されたロールにしたがって(S51)、マスター設定であれば接続要求制御部12を動作させ、マスターをロールとして確定する(S52)。ロール制御部11はまた、スレーブ動作であればスキャン制御部13を動作させ、スレーブをロールとして確定する(S55)。マスター設定時には接続要求制御部12は接続要求を送信するように制御し(S53)、接続が成功したかどうかを判断し(S54)、接続が成功すれば接続リンク制御部14により接続リンク確立後の制御を行う(S58)。スレーブ設定時にはスキャン制御部13はスキャンを実施するように制御し(S56)、スキャンが成功したかどうかを判断し(S57)、スキャンが成功すれば接続リンク制御部14により接続リンク確立後の制御を行う(S58)。
【0007】
以上の動作は、予めスレーブ動作をする端末とマスター動作をする端末を手動により設定するため、これらの端末の動作は、図9に示すタイミングチャートのように、スキャンと接続要求が固定されている。これは、各端末にマスターとスレーブの切換スイッチが存在するか、各端末がマスター専用かスレーブ専用の端末ということを意味する。
【0008】
【発明が解決しようとする課題】
以上のように、従来のロール決定システムでは、接続開始前にロール設定入力部10のようなユーザーインターフェースを使って手動で意識的にロール動作を設定する必要があった。
【0009】
ロール動作を手動で設定することにより、手間と時間がかかると共に、誤操作による設定ミスが発生するという問題があった。
【0010】
そこで本発明は、ロール動作の設定を自動的に行うことにより、手間と時間を省くと共に、設定ミスの発生を防ぐことのできる自動ロール決定システムを提供することを目的とする。
【0011】
【課題を解決するための手段】
本発明の自動ロール決定システムは、電源投入すると手動でロール設定することなく自動的に接続手順を開始可能とするための電源オン検出手段、データベースの端末識別コードを基に最初のスキャン時間を決定するランダム変数初期値決定手段、マスター動作時の接続要求に失敗した場合に次のスキャン時間を決定するためのランダム変数を出力するランダム変数発生手段、接続リンクが確立するまでマスターとスレーブ動作を繰返す制御を行うロール制御手段、スレーブ動作時に他端末からの接続要求を受信可能とするためのスキャン動作を制御するスキャン制御手段、マスター動作時に他端末へ接続要求を送信する制御を行う接続要求制御手段を設けたものである。
【0012】
この発明によれば、ロール動作の設定を自動的に行うことにより、手間と時間を省くと共に、設定ミスの発生を防ぐことのできる自動ロール決定システムが得られる。
【0013】
【発明の実施の形態】
本発明の請求項1に記載の発明は、電源が投入されたことを検出する電源オン検出手段と、最初のスキャン時間を決定するためのランダム変数の初期値を決定するランダム変数初期値決定手段と、暫定マスターまたは暫定スレーブを決定し、暫定マスター決定時は接続要求制御手段を動作させ、暫定スレーブ決定時はスキャン制御手段を動作させ、かつロール初期値が暫定スレーブ設定されているロール制御手段と、接続要求の受信に失敗した場合、スキャン時間をランダム化するためのランダム変数を発生するランダム変数発生手段と、暫定スレーブ決定時に他端末からの接続要求を受信可能とするためのスキャン動作を制御するスキャン制御手段と、暫定マスター決定時に一定時間接続要求を送信するように制御する接続要求制御手段と、接続リンク確立後の制御を行う接続リンク制御手段とを備えた自動ロール決定システムを備えた自動ロール決定システムとしたものであり、入力手段が乏しいユーザーインターフェースの端末でも電源を投入するだけでロールを自動接続し、かつロール確定が可能となる作用を有する。
【0014】
本発明の請求項2に記載の発明は、ロール制御手段を、出荷時に設定された優先ロール設定を読込み、電源投入直後の動作のみ、優先マスター設定時は接続要求制御手段を動作させ、優先スレーブ設定時はスキャン制御手段を動作させるロール制御手段とした請求項1記載の自動ロール決定システムとしたものであり、入力手段が乏しいユーザーインターフェースの端末でも電源投入するだけで、優先ロール設定を利用してより短時間で自動接続でき、かつロール確定が可能となる。
【0015】
以下、本発明の実施形態について、図面を参照しながら説明する。
【0016】
(実施の形態1)
図1は本発明の実施の形態1における自動ロール決定システムのブロック図であり、図2は同フローチャート、図3は同タイミングチャートである。
【0017】
図1において、実施の形態1に係る自動ロール決定システムは、自動ロール決定システムの電源が投入されたことを検出する電源オン検出部1と、データベース3から端末識別コードを読込み、最初のスキャン時間を設定するためのランダム変数の初期値を決定するランダム変数初期値決定部2と、端末識別コード等が格納されているデータベース3と、暫定マスターまたは暫定スレーブを決定し、暫定マスター決定時は接続要求制御部7を動作させ、暫定スレーブ決定時はスキャン制御部6を動作させ、かつロール初期値が暫定スレーブ設定されているロール制御部4と、接続要求の受信に失敗したら、接続要求動作とスキャン動作が接続先と時間的になるべく重ならないようにランダム変数を発生するランダム変数発生部5と、暫定スレーブ決定時に他端末からの接続要求をスキャンする動作を制御するスキャン制御部6と、暫定マスター決定時に接続要求を送信するように制御する接続要求制御部7と、接続リンク確立後の制御を行う接続リンク制御部8とから構成されている。
【0018】
以下、実施の形態1における自動ロール決定システムについて、図2に示すフローチャートを参照しながら動作を説明する。
【0019】
自動ロール決定システムの電源を投入すると(S10)、電源オン検出部1は電源投入を検出し、電源オン通知を出力する。電源オン通知を入力したランダム変数初期値決定部2はデータベース3から端末識別コードを読込み、端末識別コードを基にランダム変数初期値を算出する(S11)。ロール制御部4は初期値として暫定スレーブが設定されており(S12)、スキャン制御部6を動作させる。スキャン制御部6は電源オン直後、まずランダム変数初期値を基にスキャン時間を算出し、その期間スキャン動作を実行する(S13)。そのスキャン時間内に他端末からの接続要求を受信しなかった場合、スキャン失敗と判断し(S14)、ロール制御部4はマスター動作を試行するために接続要求制御部7を動作させる(S15)。接続要求制御部7は一定期間接続要求を送信するように制御する(S16)。前記期間内に他端末から接続要求応答を受信したかどうかを監視し(S17)、受信しなかった場合、接続要求失敗と判断し、スキャン制御部6は接続要求動作とスキャン動作が接続先となるべく時間的に重ならないように、ランダム変数発生部5から次のランダム変数を入力する(S19)。ロール制御部4は次のランダム変数を入力したスキャン制御部6を動作させる。以上の動作を接続成功またはスキャン成功するまで試行する。スキャン成功した場合、ロール制御部4はロールを暫定スレーブからスレーブに確定し(S20)、接続リンク制御部8が接続リンク確立後の制御を行う(S21)。また、接続成功した場合、ロール制御部4はロールを暫定マスターからマスターに確定し(S18)、接続リンク制御部8が接続リンク確立後の制御を行う(S21)。
【0020】
以上の動作による端末Aおよび端末Bのタイムチャートを図3に示す。同図から判るように、端末Aと端末Bとで、接続要求動作とスキャン動作が互いに時間的にほとんど重なっていない。
【0021】
以上のように構成することにより、ユーザーインターフェースに乏しい端末でも、電源投入するだけで自動的に接続し、かつロール確定が可能となる。
【0022】
(実施の形態2)
図4は本発明の実施の形態2における自動電話網選択システムのブロック図であり、図5は同フローチャート、図6は同タイミングチャートである。
【0023】
図4において、実施の形態2における自動電話網選択システムは、自動ロール決定システムの電源が投入されたことを検出する電源オン検出部1と、データベース3から端末識別コードを読込み、最初のスキャン時間を設定するためのランダム変数の初期値を決定するランダム変数初期値決定部2と、端末識別コード、優先ロール設定等が格納されているデータベース3と、データベース3から優先ロール設定が優先マスター設定であれば接続要求制御部7を動作させ、優先スレーブ設定であればスキャン制御部6を動作させるロール制御部4と、接続要求の受信に失敗すると次のランダム変数を発生するランダム変数発生部5と、暫定スレーブ決定時に他端末からの接続要求を受信可能なようにスキャン動作を制御するスキャン制御部6と、暫定マスター決定時に接続要求を送信するように制御する接続要求制御部7と、接続リンク確立後の制御を行う接続リンク制御部8とから構成される。
【0024】
以上のように構成された自動ロール決定システムについて以下その動作を図5に示すフローチャートを参照しながら説明する。
【0025】
自動ロール決定システムの電源を投入すると(S30)、電源オン検出部1は電源投入を検出し、電源オン通知を出力する。電源オン通知を入力したランダム変数初期値決定部2はデータベース3から端末識別コードを読込み、端末識別コードを基にランダム変数初期値を算出する(S31)。ロール制御部4は電源オン通知を入力するとデータベース3から優先ロール設定を読込み、優先マスター設定であれば最初に接続要求制御部7を動作させ、優先スレーブ設定であれば最初にスキャン制御部6を動作させる(S32,S33,S37)。スキャン制御部6は電源オン直後、まずランダム変数初期値を基にスキャン時間を算出し、その期間スキャンを実行する(S37)。そのスキャン時間内に他端末からの接続要求を受信したかどうかを監視し(S38)、受信しなかった場合、スキャン失敗と判断し、ロール制御部4は暫定マスターを設定し、マスター動作を試行するために接続要求制御部7を動作させる(S33)。接続要求制御部7は一定期間接続要求を送信するように制御する。その期間内に他端末から接続要求応答を受信したかどうかを監視し(S34)、受信しなかった場合、接続要求失敗と判断し、スキャン制御部6はランダム変数発生部5から次のランダム変数を入力する。ロール制御部4は暫定スレーブを設定し、次のランダム変数を入力したスキャン制御部6を動作させる(S36)。
【0026】
以上の動作を接続成功またはスキャン成功するまで試行する。スキャン成功した場合、ロール制御部4はロールを暫定スレーブからスレーブに確定し(S39)、接続リンク制御部8が接続リンク確立後の制御を行う(S40)。また、接続成功した場合、ロール制御部4はロールを暫定マスターからマスターに確定し(S35)、接続リンク制御部8が接続リンク確立後の制御を行う(S40)。
【0027】
以上の動作による端末Aおよび端末Bのタイムチャートを図6に示す。同図から判るように、端末Aと端末Bとで、接続要求動作とスキャン動作が互いに時間的にほとんど重なっていない。
【0028】
以上のように構成することにより、ユーザーインターフェースに乏しい端末でも、優先ロール設定を利用して接続端末同士の電源を最初のスキャン時間以内に投入すればより短時間で自動接続でき、かつロールを確定することが可能となる。
【0029】
【発明の効果】
本発明によれば、ロール動作の設定を自動的に行うことにより、Bluetoothのようにマスターとスレーブが存在する無線ネットワークにおいて、マスターとスレーブの接続を行う前にユーザーが端末毎に手動でマスターとスレーブの設定を行うことなく、またユーザーインターフェースのない端末でも、電源を投入するだけで自動的に接続を行い、かつ自動的にロールを確定することが可能となる。これにより、手動設定による手間と時間を省くと共に、設定ミスの発生を防ぐことができる。
【図面の簡単な説明】
【図1】本発明の実施の形態1における自動ロール決定システムのブロック図
【図2】本発明の実施の形態1における自動ロール決定システムのフローチャート
【図3】本発明の実施の形態1における自動ロール決定システムのタイミングチャート
【図4】本発明の実施の形態2における自動ロール決定システムのブロック図
【図5】本発明の実施の形態2における自動ロール決定システムのフローチャート
【図6】本発明の実施の形態2における自動ロール決定システムのタイミングチャート
【図7】従来のロール決定システムのブロック図
【図8】従来のロール決定システムのフローチャート
【図9】従来のロール決定システムのタイミングチャート
【符号の説明】
1 電源オン検出部
2 ランダム変数初期化決定部
3 データベース
4ロール制御部
5 ランダム変数発生部
6 スキャン制御部
7 接続要求制御部
8 接続リンク制御部
10 ロール設定入力部
11 ロール制御部
12 接続要求制御部
13 スキャン制御部
14 接続リンク制御部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention automatically performs, in a wireless network system represented by Bluetooth, a master operation of transmitting a connection request for wireless connection and a slave operation of performing a scan required to receive a connection request from the master. Related to an automatic role determination system to be implemented.
[0002]
[Prior art]
2. Description of the Related Art In recent years, wireless network systems represented by Bluetooth are expected to greatly develop. The adaptation applications are very abundant, depending on the application, and the user interface input means may vary from poor to rich.
[0003]
Hereinafter, a conventional role determination system will be described. FIG. 7 is a block diagram of a conventional role determination system, FIG. 8 is the same flowchart, and FIG. 9 is the same timing chart.
[0004]
In FIG. 7, the role determination system includes a role setting input unit 10, a role control unit 11, a connection request control unit 12, a scan control unit 13, and a connection link control unit 14.
[0005]
The operation of the role determination system will be described with reference to FIG.
[0006]
First, the role setting input unit 10 allows the user to consciously manually set whether to operate the terminal as a master or a slave (S50). The role control unit 11 operates the connection request control unit 12 according to the set role according to the set role (S51), and determines the master as a role (S52). In the case of a slave operation, the roll control unit 11 operates the scan control unit 13 to determine the slave as a roll (S55). At the time of master setting, the connection request control unit 12 controls to transmit a connection request (S53), determines whether or not the connection is successful (S54). If the connection is successful, the connection link control unit 14 establishes a connection link. Is performed (S58). When the slave is set, the scan control unit 13 controls to execute the scan (S56), determines whether the scan is successful (S57), and if the scan is successful, the connection link control unit 14 controls the connection after establishing the connection link. Is performed (S58).
[0007]
In the above operation, since the terminal that performs the slave operation and the terminal that performs the master operation are manually set in advance, the operation of these terminals has fixed scan and connection requests as shown in the timing chart of FIG. . This means that each terminal has a master / slave changeover switch, or that each terminal is a master-only or slave-only terminal.
[0008]
[Problems to be solved by the invention]
As described above, in the conventional role determination system, it is necessary to manually and consciously set the roll operation using the user interface such as the role setting input unit 10 before the connection is started.
[0009]
There is a problem that setting the roll operation manually requires time and effort and causes a setting error due to an erroneous operation.
[0010]
In view of the above, an object of the present invention is to provide an automatic roll determination system that can automatically set a roll operation, save time and time, and prevent occurrence of a setting error.
[0011]
[Means for Solving the Problems]
The automatic roll determination system of the present invention determines a first scan time based on a power-on detecting means for automatically starting a connection procedure without manually setting a roll when a power is turned on, and a terminal identification code in a database. Random variable initial value determining means, random variable generating means for outputting a random variable for determining the next scan time when a connection request at the time of a master operation fails, and repeating master and slave operations until a connection link is established Role control means for performing control; scan control means for controlling a scan operation for enabling reception of a connection request from another terminal during a slave operation; and connection request control means for controlling transmission of a connection request to another terminal during a master operation. Is provided.
[0012]
According to the present invention, by automatically setting the roll operation, an automatic roll determination system that can save time and effort and prevent occurrence of a setting error can be obtained.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
According to the first aspect of the present invention, there is provided a power-on detecting means for detecting that power is turned on, and a random variable initial value determining means for determining an initial value of a random variable for determining an initial scan time. And a provisional master or a provisional slave, and when the provisional master is determined, the connection request control means is operated. And a random variable generating means for generating a random variable for randomizing a scan time when reception of a connection request fails, and a scan operation for enabling reception of a connection request from another terminal when a provisional slave is determined. Scan control means for controlling, and connection request control means for controlling to transmit a connection request for a fixed time when a provisional master is determined An automatic role determination system with an automatic role determination system including a connection link control unit that performs control after establishing a connection link. It has the function of automatically connecting and enabling the roll to be determined.
[0014]
In the invention according to claim 2 of the present invention, the role control means reads the priority role setting set at the time of shipment, operates only immediately after power-on, and operates the connection request control means at the time of priority master setting. 2. The automatic roll determination system according to claim 1, wherein the roll control means operates the scan control means at the time of setting, and the priority roll setting is used by simply turning on the power even in a terminal having a poor user interface with input means. The connection can be automatically established in a shorter time, and the role can be determined.
[0015]
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0016]
(Embodiment 1)
FIG. 1 is a block diagram of an automatic roll determination system according to Embodiment 1 of the present invention, FIG. 2 is a flowchart thereof, and FIG. 3 is a timing chart thereof.
[0017]
In FIG. 1, the automatic roll determination system according to the first embodiment reads a terminal identification code from a database 3 and a power-on detection unit 1 that detects that the power of the automatic roll determination system is turned on, and performs an initial scan time. , A random variable initial value determining unit 2 for determining an initial value of a random variable, a database 3 storing a terminal identification code and the like, a temporary master or a temporary slave, and connection when the temporary master is determined. When the request control unit 7 is operated, the scan control unit 6 is operated when the provisional slave is determined, and the role control unit 4 in which the roll initial value is set to the provisional slave, if the connection request fails to be received, the connection request operation is performed. A random variable generator 5 for generating a random variable so that the scanning operation does not overlap with the connection destination as much as possible; A scan control unit 6 that controls an operation of scanning a connection request from another terminal when a connection request is determined, a connection request control unit 7 that controls to transmit a connection request when a provisional master is determined, and controls after a connection link is established. And a connection link control unit 8.
[0018]
Hereinafter, the operation of the automatic roll determination system according to the first embodiment will be described with reference to the flowchart shown in FIG.
[0019]
When the power of the automatic roll determination system is turned on (S10), the power-on detecting unit 1 detects the power-on and outputs a power-on notification. The random variable initial value determination unit 2 that has received the power-on notification reads the terminal identification code from the database 3 and calculates a random variable initial value based on the terminal identification code (S11). The roll control unit 4 has a provisional slave set as an initial value (S12), and operates the scan control unit 6. Immediately after the power is turned on, the scan control unit 6 first calculates a scan time based on a random variable initial value, and executes a scan operation during that period (S13). If a connection request from another terminal is not received within the scan time, it is determined that scanning has failed (S14), and the role control unit 4 operates the connection request control unit 7 to try the master operation (S15). . The connection request control unit 7 controls to transmit the connection request for a certain period (S16). It monitors whether or not a connection request response has been received from another terminal within the period (S17). If not, it determines that the connection request has failed, and the scan control unit 6 determines that the connection request operation and the scan operation are The next random variable is input from the random variable generator 5 so as not to overlap in time as much as possible (S19). The roll control unit 4 operates the scan control unit 6 to which the next random variable has been input. The above operation is repeated until connection succeeds or scanning succeeds. If the scanning is successful, the role control unit 4 determines the role from the temporary slave to the slave (S20), and the connection link control unit 8 performs control after the connection link is established (S21). If the connection is successful, the role control unit 4 determines the role from the temporary master to the master (S18), and the connection link control unit 8 performs control after the connection link is established (S21).
[0020]
FIG. 3 shows a time chart of the terminal A and the terminal B by the above operation. As can be seen from the figure, the connection request operation and the scanning operation of terminal A and terminal B hardly overlap each other in time.
[0021]
With the above-described configuration, even if the terminal has a poor user interface, it is possible to automatically connect the terminal simply by turning on the power and determine the role.
[0022]
(Embodiment 2)
FIG. 4 is a block diagram of the automatic telephone network selection system according to the second embodiment of the present invention. FIG. 5 is the same flowchart, and FIG. 6 is the same timing chart.
[0023]
In FIG. 4, the automatic telephone network selection system according to the second embodiment reads the terminal identification code from the database 3 and the power-on detection unit 1 for detecting that the power of the automatic roll determination system is turned on, and executes the first scan time. , A random variable initial value determining unit 2 for determining an initial value of a random variable for setting a parameter, a database 3 storing terminal identification codes, priority role settings, and the like. A role control unit 4 that activates the connection request control unit 7 if it is present, and operates a scan control unit 6 if it is a priority slave setting, and a random variable generation unit 5 that generates the next random variable if the reception of the connection request fails. A scan control unit 6 for controlling a scan operation so that a connection request from another terminal can be received when a provisional slave is determined. A connection request control unit 7 for controlling to transmit a connection request during the interim master determination, and a connecting link controller 8 which controls the post-established connection link.
[0024]
The operation of the automatic roll determination system configured as described above will be described below with reference to the flowchart shown in FIG.
[0025]
When the power of the automatic roll determination system is turned on (S30), the power-on detecting unit 1 detects the power-on and outputs a power-on notification. The random variable initial value determination unit 2 that has received the power-on notification reads the terminal identification code from the database 3 and calculates a random variable initial value based on the terminal identification code (S31). The role control unit 4 reads the priority role setting from the database 3 when the power-on notification is input, and operates the connection request control unit 7 first if the priority master setting is performed, and starts the scan control unit 6 first if the priority slave setting. It is operated (S32, S33, S37). Immediately after the power is turned on, the scan control unit 6 first calculates a scan time based on a random variable initial value, and executes a scan during that time (S37). It monitors whether a connection request from another terminal has been received within the scan time (S38), and if not, determines that scanning has failed, sets the temporary master, and tries the master operation. The connection request control unit 7 is operated to perform the connection (S33). The connection request control unit 7 controls to transmit a connection request for a certain period. It is monitored whether or not a connection request response has been received from another terminal during the period (S34). If not, it is determined that the connection request has failed, and the scan control unit 6 sends the next random variable from the random variable generation unit 5 to the next random variable. Enter The roll control unit 4 sets the temporary slave and operates the scan control unit 6 to which the next random variable has been input (S36).
[0026]
The above operation is repeated until connection succeeds or scanning succeeds. If the scanning is successful, the role control unit 4 determines the role from the temporary slave to the slave (S39), and the connection link control unit 8 performs control after the connection link is established (S40). When the connection is successful, the role control unit 4 determines the role from the temporary master to the master (S35), and the connection link control unit 8 performs control after the connection link is established (S40).
[0027]
FIG. 6 shows a time chart of the terminal A and the terminal B by the above operation. As can be seen from the figure, the connection request operation and the scanning operation of terminal A and terminal B hardly overlap each other in time.
[0028]
By configuring as above, even if the terminal has poor user interface, if the power of the connected terminals is turned on within the first scan time using the priority role setting, automatic connection can be established in a shorter time and the role is determined It is possible to do.
[0029]
【The invention's effect】
According to the present invention, by automatically performing the setting of the roll operation, in a wireless network having a master and a slave such as Bluetooth, the user manually connects the master to each terminal before performing the connection between the master and the slave. Even if the terminal is not set and the terminal does not have a user interface, the connection can be automatically established by simply turning on the power, and the role can be automatically determined. This saves time and effort due to manual setting, and prevents setting errors.
[Brief description of the drawings]
FIG. 1 is a block diagram of an automatic roll determination system according to Embodiment 1 of the present invention. FIG. 2 is a flowchart of an automatic roll determination system according to Embodiment 1 of the present invention. FIG. 4 is a block diagram of an automatic roll determination system according to Embodiment 2 of the present invention. FIG. 5 is a flowchart of an automatic roll determination system according to Embodiment 2 of the present invention. FIG. 7 is a block diagram of a conventional roll determination system. FIG. 8 is a flowchart of a conventional roll determination system. FIG. 9 is a timing chart of a conventional roll determination system. Description】
DESCRIPTION OF SYMBOLS 1 Power-on detection part 2 Random variable initialization determination part 3 Database 4 Roll control part 5 Random variable generation part 6 Scan control part 7 Connection request control part 8 Connection link control part 10 Roll setting input part 11 Roll control part 12 Connection request control Unit 13 scan control unit 14 connection link control unit

Claims (2)

電源が投入されたことを検出する電源オン検出手段と、
最初のスキャン時間を決定するためのランダム変数の初期値を決定するランダム変数初期値決定手段と、
暫定マスターまたは暫定スレーブを決定し、暫定マスター決定時は接続要求制御手段を動作させ、暫定スレーブ決定時はスキャン制御手段を動作させ、かつロール初期値が暫定スレーブに設定されているロール制御手段と、
接続要求の受信に失敗した場合、スキャン時間をランダム化するためのランダム変数を発生するランダム変数発生手段と、
暫定スレーブ決定時に他端末からの接続要求を受信可能とするためのスキャン動作を制御するスキャン制御手段と、
暫定マスター決定時に一定時間接続要求を送信するように制御する接続要求制御手段と、
接続リンク確立後の制御を行う接続リンク制御手段と
を備えたことを特徴とする自動ロール決定システム。
Power-on detecting means for detecting that the power is turned on,
Random variable initial value determination means for determining the initial value of the random variable for determining the first scan time,
Determine a provisional master or a provisional slave, operate the connection request control means at the time of the provisional master decision, operate the scan control means at the time of the provisional slave decision, and roll control means whose roll initial value is set to the provisional slave. ,
A random variable generating means for generating a random variable for randomizing the scan time when receiving the connection request has failed,
Scan control means for controlling a scan operation for enabling reception of a connection request from another terminal at the time of provisional slave determination,
Connection request control means for controlling to transmit a connection request for a fixed time at the time of determining a provisional master,
An automatic roll determination system comprising: a connection link control unit that performs control after a connection link is established.
ロール制御手段を、出荷時に設定された優先ロール設定を読込み、電源投入直後の動作のみ、優先マスター設定時は接続要求制御手段を動作させ、優先スレーブ設定時はスキャン制御手段を動作させるロール制御手段としたことを特徴とする請求項1記載の自動ロール決定システム。The roll control means reads the priority role setting set at the time of shipment, operates only immediately after power-on, operates the connection request control means when the priority master is set, and operates the scan control means when the priority slave is set. 2. The automatic roll determination system according to claim 1, wherein:
JP2002238090A 2002-08-19 2002-08-19 Automatic role determining system Pending JP2004080400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002238090A JP2004080400A (en) 2002-08-19 2002-08-19 Automatic role determining system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002238090A JP2004080400A (en) 2002-08-19 2002-08-19 Automatic role determining system

Publications (1)

Publication Number Publication Date
JP2004080400A true JP2004080400A (en) 2004-03-11

Family

ID=32021611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002238090A Pending JP2004080400A (en) 2002-08-19 2002-08-19 Automatic role determining system

Country Status (1)

Country Link
JP (1) JP2004080400A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7535881B2 (en) 2004-07-30 2009-05-19 Sony Computer Entertainment Inc. Communication terminal and method of establishing communication
CN101026393B (en) * 2007-02-12 2011-08-31 雷柏元 Method and device for realizing communication between peer devices
CN102196470A (en) * 2010-02-16 2011-09-21 英特尔公司 Clustering management in mmwave wireless systems
US8073923B2 (en) 2004-11-18 2011-12-06 Nintendo Co., Ltd. Wireless network system and wireless communication program
US8628419B2 (en) 2003-06-17 2014-01-14 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US8768255B2 (en) 2002-10-21 2014-07-01 Nintendo Co., Ltd. Wireless communication game system
JP2015180069A (en) * 2010-02-26 2015-10-08 エルジー エレクトロニクス インコーポレイティド Electronic device and method of operating the same
KR20170020815A (en) * 2014-06-23 2017-02-24 레긱 이덴트시스템스 아게 Electronic access control device and access control method
EP3349409A4 (en) * 2015-10-23 2018-12-12 Institute of Acoustics, Chinese Academy of Sciences Device and method for managing linkage control privilege
US10293125B2 (en) 2003-06-20 2019-05-21 Resmed Limited Flow generator with patient reminder
WO2021115193A1 (en) * 2019-12-11 2021-06-17 华为技术有限公司 Device networking method, electronic device, and system
JP2022505461A (en) * 2018-10-18 2022-01-14 北京軒轅聯科技有限公司 Mode switchable bluetooth device, bluetooth connection system and bluetooth connection method

Cited By (49)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8956233B2 (en) 2002-10-21 2015-02-17 Nintendo Co., Ltd. Wireless communication game system
US10518176B2 (en) 2002-10-21 2019-12-31 Nintendo Co., Ltd. Wireless communication game system
US10086277B2 (en) 2002-10-21 2018-10-02 Nintendo Co., Ltd. Wireless communication game system
US9789398B2 (en) 2002-10-21 2017-10-17 Nintendo Co., Ltd. Wireless communication game system
US9526986B2 (en) 2002-10-21 2016-12-27 Nintendo Co., Ltd. Wireless communication game system
US9504915B2 (en) 2002-10-21 2016-11-29 Nintendo Co., Ltd. Wireless communication game system
US9320972B2 (en) 2002-10-21 2016-04-26 Nintendo Co., Ltd. Wireless communication game system
US9174126B2 (en) 2002-10-21 2015-11-03 Nintendo Co., Ltd. Wireless communication game system
US9174129B2 (en) 2002-10-21 2015-11-03 Nintendo Co., Ltd. Wireless communication game system
US8968101B2 (en) 2002-10-21 2015-03-03 Nintendo Co., Ltd. Wireless communication game system
US8968102B2 (en) 2002-10-21 2015-03-03 Nintendo Co., Ltd. Wireless communication game system
US8768255B2 (en) 2002-10-21 2014-07-01 Nintendo Co., Ltd. Wireless communication game system
US8851997B2 (en) 2003-06-17 2014-10-07 Nintendo Co., Ltd. System, apparatus, storage medium storing program and data broadcasting method
US9345968B2 (en) 2003-06-17 2016-05-24 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US8951122B2 (en) 2003-06-17 2015-02-10 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US9839841B2 (en) 2003-06-17 2017-12-12 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US8734253B2 (en) 2003-06-17 2014-05-27 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US8647205B2 (en) 2003-06-17 2014-02-11 Nintendo Co., Ltd. System, apparatus, storage medium storing program and data exchange method
US10507384B2 (en) 2003-06-17 2019-12-17 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US8641527B2 (en) 2003-06-17 2014-02-04 Nintendo Co., Ltd. System, apparatus, storage medium storing program, and data broadcasting method
US8636595B2 (en) 2003-06-17 2014-01-28 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US9180376B2 (en) 2003-06-17 2015-11-10 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US8632404B2 (en) 2003-06-17 2014-01-21 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US9550117B2 (en) 2003-06-17 2017-01-24 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US9370715B2 (en) 2003-06-17 2016-06-21 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US9387404B2 (en) 2003-06-17 2016-07-12 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US8858337B2 (en) 2003-06-17 2014-10-14 Nintendo Co., Ltd. System, apparatus, storage medium storing program and data exchange method
US9457268B2 (en) 2003-06-17 2016-10-04 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US9457267B2 (en) 2003-06-17 2016-10-04 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US9873041B2 (en) 2003-06-17 2018-01-23 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US8628419B2 (en) 2003-06-17 2014-01-14 Nintendo Co., Ltd. Game system, game apparatus, storage medium storing game program and game data exchange method
US10293125B2 (en) 2003-06-20 2019-05-21 Resmed Limited Flow generator with patient reminder
US7535881B2 (en) 2004-07-30 2009-05-19 Sony Computer Entertainment Inc. Communication terminal and method of establishing communication
US8073923B2 (en) 2004-11-18 2011-12-06 Nintendo Co., Ltd. Wireless network system and wireless communication program
CN101026393B (en) * 2007-02-12 2011-08-31 雷柏元 Method and device for realizing communication between peer devices
CN102196470B (en) * 2010-02-16 2016-08-31 英特尔公司 Sub-clustering management in millimeter wave wireless system
US9949141B2 (en) 2010-02-16 2018-04-17 Intel Corporation Clustering management in mmWave wireless systems
CN102196470A (en) * 2010-02-16 2011-09-21 英特尔公司 Clustering management in mmwave wireless systems
JP2011188480A (en) * 2010-02-16 2011-09-22 Intel Corp Clustering management in millimeter wave wireless systems
JP2015180069A (en) * 2010-02-26 2015-10-08 エルジー エレクトロニクス インコーポレイティド Electronic device and method of operating the same
US9826438B2 (en) 2010-02-26 2017-11-21 Lg Electronics Inc. Electronic device and method for operating an electronic device
US9544819B2 (en) 2010-02-26 2017-01-10 Lg Electronics Inc. Electronic device and method for operating an electronic device
JP2016197912A (en) * 2010-02-26 2016-11-24 エルジー エレクトロニクス インコーポレイティド Electronic device and method for operating electronic device
JP2017522467A (en) * 2014-06-23 2017-08-10 レジック・アイデントシステムズ・アクチェンゲゼルシャフト Electronic access control device and access control method
KR20170020815A (en) * 2014-06-23 2017-02-24 레긱 이덴트시스템스 아게 Electronic access control device and access control method
KR102408295B1 (en) * 2014-06-23 2022-06-10 레긱 이덴트시스템스 아게 Electronic access control device and access control method
EP3349409A4 (en) * 2015-10-23 2018-12-12 Institute of Acoustics, Chinese Academy of Sciences Device and method for managing linkage control privilege
JP2022505461A (en) * 2018-10-18 2022-01-14 北京軒轅聯科技有限公司 Mode switchable bluetooth device, bluetooth connection system and bluetooth connection method
WO2021115193A1 (en) * 2019-12-11 2021-06-17 华为技术有限公司 Device networking method, electronic device, and system

Similar Documents

Publication Publication Date Title
JP2004080400A (en) Automatic role determining system
US7152100B2 (en) System and method for provisioning network access devices
US20070124627A1 (en) Communication processing device, home electric device, and home network system
JP2007006190A (en) Communication control device, communication control method, and imaging device
WO2018161550A1 (en) Internet-of-things household appliance off-line recovery method and networking module
US20070070987A1 (en) Wireless Communication Terminal and Wireless Communicaiton Method
US20220417052A1 (en) Network configuration terminal, network configuration method for home appliance, and computer-readable storage medium
CN114143911B (en) Method for automatically reconnecting wireless screen-on and screen-off based on Android platform
CN105792015A (en) Remote network connecting method and remote network connecting system based on intelligent television
US10489055B2 (en) Z-wave controller shift in thermostats
CN108650310B (en) Service discovery method
JP2004179958A (en) Method for automatic switching of communication network, and system thereof
US10813047B2 (en) First wireless communication terminal, second wireless communication terminal, wireless communication system, wireless communication method, and recording medium
JP3507661B2 (en) Communication device
JP6503973B2 (en) Audio device connection method and audio device
US9705543B2 (en) Communication system, frequency control method, remote terminal and non-transitory computer-readable recording medium having stored therein program
WO2010146399A2 (en) Communications network
JP2003283589A (en) Network connecting apparatus, network connection method, and program
US20130188523A1 (en) Communication apparatus, method for controlling communication apparatus, and computer-readable storage medium
JPH06252978A (en) Automatic network parameter adjusting device
JP3961866B2 (en) COMMUNICATION METHOD, COMMUNICATION DEVICE, AND SOFTWARE PROGRAM
KR100840939B1 (en) Electronic apparatus and control mehthod thereof
JP2002190805A (en) Electric apparatus
JP2003273953A (en) Communication terminal and communication system
JP3952051B2 (en) Communication terminal and program