JP2009088750A - Management device, radio terminal, ad hoc network system, setting changing program of management device, setting changing method of management device, setting changing program of radio terminal, and setting changing method of radio terminal - Google Patents

Management device, radio terminal, ad hoc network system, setting changing program of management device, setting changing method of management device, setting changing program of radio terminal, and setting changing method of radio terminal Download PDF

Info

Publication number
JP2009088750A
JP2009088750A JP2007253087A JP2007253087A JP2009088750A JP 2009088750 A JP2009088750 A JP 2009088750A JP 2007253087 A JP2007253087 A JP 2007253087A JP 2007253087 A JP2007253087 A JP 2007253087A JP 2009088750 A JP2009088750 A JP 2009088750A
Authority
JP
Japan
Prior art keywords
wireless terminal
unit
instruction information
change instruction
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
JP2007253087A
Other languages
Japanese (ja)
Inventor
Takashi Saito
隆 斎藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2007253087A priority Critical patent/JP2009088750A/en
Publication of JP2009088750A publication Critical patent/JP2009088750A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To surely change a frequency channel of the whole terminals in a radio ad hoc network for performing multi-hop transfer. <P>SOLUTION: This management device 100 recognizes a plurality of radio terminals connected to the ad hoc network. A change instruction transmitting part 31 of the management device 100 transmits change instruction information including a changed set value to each radio terminal. Each radio terminal transmits a response signal to the management device 100 when receiving the change instruction information. A response receiving part 32 of the management device 100 determines that each radio terminal has received the change instruction information by receiving the response signal from each radio terminal. When determining that each radio terminal has received the change instruction information, a reset instruction transmitting part 33 of the management device 100 transmits reset instruction information to each radio terminal. When receiving the reset instruction information, each radio terminal changes set values on the basis of the previously received change instruction information. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、例えば、アドホックネットワークにおける使用周波数チャネルやPANID(Personal Area Network IDentifier)の設定変更技術に関する。   The present invention relates to, for example, a setting change technique for a frequency channel used in an ad hoc network and a personal area network IDentifier (PANID).

従来、無線通信システムにおいて、周波数チャネルを変更したい端末が移行先の周波数チャネルと移行時刻とを含んだ周波数チャネル変更案を送信し、反対応答がなければ移行時刻に各端末が周波数チャネルを変更するという方法がある。
また、無線端末が親機と子機という構成をとり、親機が周波数チャネルを変更した場合に、子機が親機に合わせて周波数チャネルを変更する方法がある。
特開2005−303788号公報
Conventionally, in a wireless communication system, a terminal that wants to change a frequency channel transmits a frequency channel change plan including a destination frequency channel and a transition time. There is a method.
Further, there is a method in which when a wireless terminal has a configuration of a parent device and a child device, and the parent device changes the frequency channel, the child device changes the frequency channel according to the parent device.
JP 2005-303788 A

従来の無線通信システムにおける周波数チャネルの変更方法では、ネットワーク内に存在する全端末を把握していない端末が周波数チャネル変更案を送信し、反対応答がなければ周波数チャネルを変更する。そのため、全ての端末が周波数チャネルを変更できる保障がないという課題がある。また、周波数チャネルの変更に失敗した場合の対応策が考慮されていないため、一度周波数チャネルの変更に失敗すると二度と周波数チャネルを変更することができなくなるという課題がある。
また、もう一つの方法では、親機と子機という構成(親子の関係)をとらない限り周波数チャネルの変更ができない。そのため、複数の端末間をホップして通信するようなマルチホップ無線アドホックネットワークにおいて、全ての端末の周波数チャネルを変更することができないという課題がある。
本発明は、例えば、マルチホップ転送を行う無線アドホックネットワークにおいて、全ての端末の周波数チャネルを確実に変更することを目的とする。
In the frequency channel changing method in the conventional wireless communication system, a terminal that does not know all the terminals existing in the network transmits a frequency channel change plan, and changes the frequency channel if there is no opposite response. Therefore, there is a problem that there is no guarantee that all terminals can change the frequency channel. Moreover, since the countermeasure when the change of the frequency channel fails is not considered, there is a problem that once the change of the frequency channel fails, the frequency channel cannot be changed again.
In the other method, the frequency channel cannot be changed unless the configuration of the parent device and the child device (parent-child relationship) is taken. Therefore, in a multi-hop wireless ad hoc network in which a plurality of terminals communicate with each other by hopping, there is a problem that the frequency channels of all terminals cannot be changed.
An object of the present invention is to reliably change the frequency channels of all terminals in, for example, a wireless ad hoc network that performs multi-hop transfer.

本発明に係る管理装置は、例えば、アドホックネットワークに接続された複数の無線端末の情報を管理する管理装置であり、
上記複数の無線端末が通信に使用する周波数チャネルとPANIDとの少なくともいずれかの設定値を変更する場合に、変更後の設定値を含む変更指示情報を上記複数の無線端末へ送信する変更指示送信部と、
上記変更指示送信部が送信した変更指示情報を上記複数の無線端末の各無線端末が受信した場合に上記各無線端末から送信される応答信号を受信する応答受信部と、
上記応答受信部が上記各無線端末から応答信号を受信した場合に、上記変更指示情報に含まれた変更後の設定値へ設定を変更させるリセット指示情報を上記複数の無線端末へ送信するリセット指示送信部と
を備えることを特徴とする。
The management device according to the present invention is, for example, a management device that manages information of a plurality of wireless terminals connected to an ad hoc network,
Change instruction transmission for transmitting change instruction information including changed setting values to the plurality of wireless terminals when changing the setting values of at least one of frequency channels and PANIDs used by the plurality of wireless terminals for communication And
A response receiving unit that receives a response signal transmitted from each wireless terminal when each wireless terminal of the plurality of wireless terminals receives the change instruction information transmitted by the change instruction transmitting unit;
Reset instruction for transmitting, to the plurality of wireless terminals, reset instruction information for changing the setting to the changed setting value included in the change instruction information when the response receiving unit receives a response signal from each of the wireless terminals. And a transmission unit.

本発明に係る管理装置は、各無線端末の情報を管理しており、また、各無線端末の情報が変更指示情報を受信したことを確認した上で、リセット指示情報を送信する。そのため、本発明に係る管理装置によれば、マルチホップ転送を行う無線アドホックネットワークにおいて、全ての端末の周波数チャネルを確実に変更することが可能である。   The management apparatus according to the present invention manages information of each wireless terminal, and transmits reset instruction information after confirming that the information of each wireless terminal has received the change instruction information. Therefore, the management device according to the present invention can reliably change the frequency channels of all terminals in a wireless ad hoc network that performs multi-hop transfer.

実施の形態1.
この実施の形態では、アドホックネットワークにおいて、無線端末200が使用する周波数チャネルとPANIDとの少なくともいずれかの設定を変更する場合に、アドホックネットワークに参入しているすべての無線端末200の設定を確実に変更する方法を説明する。
Embodiment 1 FIG.
In this embodiment, when changing at least one of the frequency channel and PANID used by the radio terminal 200 in the ad hoc network, the settings of all the radio terminals 200 participating in the ad hoc network are surely set. The method of changing will be described.

この実施の形態に係るアドホックネットワークは、複数の無線端末200と、上記複数の無線端末200の情報を管理する管理装置100とが接続されている。上記複数の無線端末200の情報を管理するとは、言い換えると、上記複数の無線端末200すべての存在を認識しているということである。   In the ad hoc network according to this embodiment, a plurality of wireless terminals 200 and a management apparatus 100 that manages information of the plurality of wireless terminals 200 are connected. In other words, managing the information of the plurality of wireless terminals 200 means that all of the plurality of wireless terminals 200 are recognized.

図1は、この実施の形態に係る管理装置100の構成を示すブロック図である。
管理装置100は、制御部1、ROM2(Read Only Memory)、RAM3(Random Access Memory)、FLASHメモリ4、RFインタフェース部5、無線受信部6、無線送信部7、共通部8、アンテナ9、リセット猶予時間計測部10、パワーオンリセット回路11、ANDゲート12、設定端末数カウント部13を備える。制御部1、ROM2、RAM3、FLASHメモリ4、RFインタフェース部5、設定端末数カウント部13が、バス14を介して接続される。
FIG. 1 is a block diagram showing the configuration of the management apparatus 100 according to this embodiment.
The management apparatus 100 includes a control unit 1, a ROM 2 (Read Only Memory), a RAM 3 (Random Access Memory), a FLASH memory 4, an RF interface unit 5, a radio reception unit 6, a radio transmission unit 7, a common unit 8, an antenna 9, and a reset. A grace time measuring unit 10, a power-on reset circuit 11, an AND gate 12, and a set terminal number counting unit 13 are provided. The control unit 1, ROM 2, RAM 3, FLASH memory 4, RF interface unit 5, and set terminal number count unit 13 are connected via a bus 14.

制御部1は、RFインタフェース部5を介して受信したパケットを読出して解釈する。また、制御部1は、送信するパケットを作成してRFインタフェース部5を介して送信する。さらに、制御部1は、RFインタフェース部5に通信する際に使用するパラメータを設定する。
制御部1は、変更指示送信部31、応答受信部32、リセット指示送信部33、設定変更部34を備える。これらの機能については管理装置100の動作の説明において詳述する。
The control unit 1 reads and interprets the packet received via the RF interface unit 5. Further, the control unit 1 creates a packet to be transmitted and transmits the packet via the RF interface unit 5. Further, the control unit 1 sets parameters used when communicating with the RF interface unit 5.
The control unit 1 includes a change instruction transmission unit 31, a response reception unit 32, a reset instruction transmission unit 33, and a setting change unit 34. These functions will be described in detail in the description of the operation of the management apparatus 100.

ROM2は、制御部1の動作を制御するプログラム等を格納するための読出し専用メモリである。
RAM3は、送受信データなどを一時記憶する読出し書き込みが可能な揮発性メモリである。
FLASHメモリ4は、通信のための設定値などを記憶し、電源の供給が停止してもその内容が保持される読出し書き込みが可能な不揮発性記憶装置である。
The ROM 2 is a read only memory for storing a program and the like for controlling the operation of the control unit 1.
The RAM 3 is a volatile memory that can temporarily read and write transmission / reception data and the like.
The FLASH memory 4 is a non-volatile storage device that stores setting values for communication and the like, and can be read and written even when the supply of power is stopped.

RFインタフェース部5は、制御部1から書き込まれた送信パケットを無線送信部7を経由してアンテナ9から送信する。また、RFインタフェース部5は、アンテナ9が無線受信部6を経由して受信したパケットを一時的に保持する。RFインタフェース部5が保持したパケットを制御部1が読み出すことでパケットの受信が実現される。
また、RFインタフェース部5は、通信する際に使用するパラメータが設定される周波数チャネル設定部21、PANID設定部22、アドレス設定部23を備える。周波数チャネル設定部21、PANID設定部22、アドレス設定部23を総称して、設定値記憶部35と呼ぶ。
周波数チャネル設定部21には、使用する周波数チャネルが設定される。
PANID設定部22には、使用するPANIDが設定される。
アドレス設定部23には、自身のネットワークアドレスが設定される。
The RF interface unit 5 transmits the transmission packet written from the control unit 1 from the antenna 9 via the wireless transmission unit 7. The RF interface unit 5 temporarily holds a packet received by the antenna 9 via the wireless reception unit 6. The control unit 1 reads out the packet held by the RF interface unit 5 so that reception of the packet is realized.
The RF interface unit 5 includes a frequency channel setting unit 21, a PANID setting unit 22, and an address setting unit 23 in which parameters used for communication are set. The frequency channel setting unit 21, the PANID setting unit 22, and the address setting unit 23 are collectively referred to as a setting value storage unit 35.
A frequency channel to be used is set in the frequency channel setting unit 21.
In the PANID setting unit 22, a PANID to be used is set.
The address setting unit 23 is set with its own network address.

無線受信部6は、アンテナ9と共通部8とを経由して受信した無線信号をデジタル信号に変換してRFインタフェース部5へ転送する。
無線送信部7は、RFインタフェース部5から出力されたデジタル信号を無線信号に変換して共通部8とアンテナ9とを経由して無線送信する。
共通部8は、アンテナ9からの入力を無線受信部6へ、また無線送信部7の出力をアンテナ9へ切り替え接続する。
The wireless reception unit 6 converts a wireless signal received via the antenna 9 and the common unit 8 into a digital signal and transfers the digital signal to the RF interface unit 5.
The wireless transmission unit 7 converts the digital signal output from the RF interface unit 5 into a wireless signal and wirelessly transmits the signal via the common unit 8 and the antenna 9.
The common unit 8 switches and connects the input from the antenna 9 to the radio reception unit 6 and the output of the radio transmission unit 7 to the antenna 9.

リセット猶予時間計測部10は、計測時間が設定され、設定された時間が経過した時点でリセット信号15を発生する。
パワーオンリセット回路11は、電源投入時に制御部1をリセットするパワーオンリセット信号16を発生する。
ANDゲート12は、リセット信号15とパワーオンリセット信号16とのいずれかが発生した場合に制御部1をリセットさせる信号を制御部1のリセット端子へ出力する。ここで、信号値を「0」、「1」で表すと、リセット信号15とパワーオンリセット信号16とは「0」である。つまり、ANDゲート12は、リセット信号15とパワーオンリセット信号16とのいずれか一方の出力があると、その論理積「0」を制御部1へ出力する。制御部1は、「0」が入力されるとリセットされる。つまり、制御部1は、リセット信号15とパワーオンリセット信号16とのいずれかが発生した場合にリセットされる。
設定端末数カウント部13は、制御部1から送信されるカウント信号17に従い無線端末200の端末数をカウントする。
The reset grace time measuring unit 10 sets the measurement time, and generates the reset signal 15 when the set time has elapsed.
The power-on reset circuit 11 generates a power-on reset signal 16 that resets the control unit 1 when the power is turned on.
The AND gate 12 outputs a signal for resetting the control unit 1 to the reset terminal of the control unit 1 when either the reset signal 15 or the power-on reset signal 16 is generated. Here, when the signal values are represented by “0” and “1”, the reset signal 15 and the power-on reset signal 16 are “0”. That is, the AND gate 12 outputs the logical product “0” to the control unit 1 when either one of the reset signal 15 and the power-on reset signal 16 is output. The control unit 1 is reset when “0” is input. That is, the control unit 1 is reset when either the reset signal 15 or the power-on reset signal 16 is generated.
The set terminal number counting unit 13 counts the number of terminals of the wireless terminal 200 according to the count signal 17 transmitted from the control unit 1.

上記説明において、制御部1は処理装置の一例であり、例えば、CPU(Central Processing Unit)、DSP(Digital Signal Processor)などの回路である。また、ROM2、RAM3、FLASHメモリ4は、記憶装置の一例であり、例えば、光ディスク、磁気ディスク等であっても構わない。また、RFインタフェース部5、無線受信部6、無線送信部7、共通部8は、例えば、通信ボードであり、通信装置の一例である。   In the above description, the control unit 1 is an example of a processing device, and is, for example, a circuit such as a CPU (Central Processing Unit) or a DSP (Digital Signal Processor). The ROM 2, RAM 3, and FLASH memory 4 are examples of a storage device, and may be, for example, an optical disk or a magnetic disk. The RF interface unit 5, the wireless reception unit 6, the wireless transmission unit 7, and the common unit 8 are, for example, communication boards and are examples of communication devices.

図2は、この実施の形態に係る無線端末200の構成を示すブロック図である。
無線端末200の構成について、管理装置100と異なる部分のみ説明する。
無線端末200は、設定端末数カウント部13を備えていない。
また、無線端末200の制御部1は、管理装置100の制御部1とは異なる機能を備える。無線端末200の制御部1は、チェック部41、変更指示情報受信部42、応答信号送信部43、リセット指示情報受信部44、設定変更部45を備える。これらの機能については無線端末200の動作の説明において詳述する。
なお、無線端末200において、周波数チャネル設定部21、PANID設定部22、アドレス設定部23を総称して、設定値記憶部46と呼ぶ。
FIG. 2 is a block diagram showing a configuration of radio terminal 200 according to this embodiment.
Only the configuration of the wireless terminal 200 that is different from the management device 100 will be described.
The wireless terminal 200 does not include the set terminal count unit 13.
Further, the control unit 1 of the wireless terminal 200 has a function different from that of the control unit 1 of the management apparatus 100. The control unit 1 of the wireless terminal 200 includes a check unit 41, a change instruction information reception unit 42, a response signal transmission unit 43, a reset instruction information reception unit 44, and a setting change unit 45. These functions will be described in detail in the description of the operation of the wireless terminal 200.
In radio terminal 200, frequency channel setting unit 21, PANID setting unit 22, and address setting unit 23 are collectively referred to as setting value storage unit 46.

次に、管理装置100と無線端末200とが送信するパケットのフォーマットについて説明する。
図3は、設定変更指示パケット(変更指示情報)と設定変更応答パケット(応答信号)とのデータ形式を示す図である。
設定変更指示パケットは、ヘッダ部とデータ部とを備える。
ヘッダ部は、PANIDフィールド、物理的送信先フィールド、物理的送信元フィールド、最終的宛先フィールド、発信元フィールド、TTL(Time To Live)フィールドを備える。
PANIDフィールドは、使用しているPANIDが記載される。物理的送信先フィールドは、パケットの実際の送信先が記載される。つまり、次にこのパケットを受信すべき無線端末200のアドレスが記載される。物理的送信元フィールドは、パケットの実際の送信元が記載される。つまり、物理的送信元フィールドは、パケットを送信する無線端末200のアドレスが記載される。最終的宛先フィールドは、パケットが最終的に送信される宛先アドレスが記載される。発信元フィールドは、パケットを初めに発信した発信元アドレスが記載される。TTLフィールドは、所定の値が記載される。TTLフィールドに記載された値は、パケットが1ホップする毎に−1され、0になった場合にはそのパケットは破棄される。
データ部は、コマンドコードフィールド、変更後周波数チャネルフィールド、変更後PANIDフィールド、リセット猶予時間フィールドを備える。
コマンドコードフィールドは、設定変更を指示するコマンドコードが記載される。つまり、コマンドコードフィールドの値を参照することで、パケットが設定変更指示パケットであると判別できる。変更後周波数チャネルフィールドは、変更後の周波数チャネルが記載される。変更後PANIDフィールドは、変更後のPANIDが記載される。リセット猶予時間フィールドは、所定の時間が記載される。設定変更指示パケットを受信してからリセット猶予時間フィールドに記載された所定の時間が経過しても後述するリセット指示パケットを受信しない場合、制御部1がリセットされる。
Next, the format of a packet transmitted by the management apparatus 100 and the wireless terminal 200 will be described.
FIG. 3 is a diagram illustrating data formats of a setting change instruction packet (change instruction information) and a setting change response packet (response signal).
The setting change instruction packet includes a header part and a data part.
The header section includes a PANID field, a physical destination field, a physical source field, a final destination field, a source field, and a TTL (Time To Live) field.
The PANID field describes the PANID being used. The physical destination field describes the actual destination of the packet. That is, the address of the wireless terminal 200 that should receive this packet next is described. The physical transmission source field describes the actual transmission source of the packet. That is, the physical transmission source field describes the address of the wireless terminal 200 that transmits the packet. The final destination field describes a destination address where the packet is finally transmitted. The sender field describes the sender address that originally sent the packet. A predetermined value is written in the TTL field. The value described in the TTL field is decremented by 1 every time a packet hops, and when it reaches 0, the packet is discarded.
The data portion includes a command code field, a changed frequency channel field, a changed PANID field, and a reset grace time field.
In the command code field, a command code for instructing a setting change is described. That is, it is possible to determine that the packet is a setting change instruction packet by referring to the value of the command code field. The changed frequency channel field describes the changed frequency channel. The changed PANID field describes the changed PANID. The reset grace time field describes a predetermined time. If a reset instruction packet (to be described later) is not received even after a predetermined time described in the reset grace time field has elapsed after receiving the setting change instruction packet, the control unit 1 is reset.

設定変更応答パケットは、設定変更指示パケットと同様に、ヘッダ部とデータ部とを備える。
設定変更応答パケットのヘッダ部は、設定変更指示パケットと同様である。
データ部は、コマンドコードフィールド、実行結果コードフィールドを備える。
コマンドコードフィールドは、設定変更指示に対する応答コマンドコードが記載される。つまり、コマンドコードフィールドの値を参照することで、パケットが設定変更応答パケットであると判別できる。実行結果コードフィールドは、実行結果の成否を記載される。
Like the setting change instruction packet, the setting change response packet includes a header portion and a data portion.
The header part of the setting change response packet is the same as that of the setting change instruction packet.
The data part includes a command code field and an execution result code field.
In the command code field, a response command code for the setting change instruction is described. That is, referring to the value of the command code field, it can be determined that the packet is a setting change response packet. The execution result code field describes success or failure of the execution result.

図4は、リセット指示パケット(リセット指示情報)とリセット応答パケットのデータ形式を示す図である。
リセット指示パケットは、ヘッダ部とデータ部とを備える。
リセット指示パケットのヘッダ部は、設定変更指示パケットと同様である。
リセット指示パケットのデータ部は、コマンドコードフィールド、リセット猶予時間フィールド、応答要否フィールドを備える。
コマンドコードフィールドは、リセットを指示するコマンドコードが記載される。つまり、コマンドコードフィールドの値を参照することで、パケットがリセット指示パケットであると判別できる。リセット猶予時間フィールドは、所定の時間が記載される。リセット指示パケット受信後、リセット猶予時間フィールドに記載された所定の時間が経過した場合に、制御部1がリセットされ設定が変更される。応答要否フィールドは、リセット指示パケットを受信した無線端末200へ応答を要求するか否かを示す情報が記載される。つまり、応答要否フィールドで応答不要を指定した場合、無線端末200はリセット応答パケットを管理装置100へ送信しない。
FIG. 4 is a diagram illustrating a data format of a reset instruction packet (reset instruction information) and a reset response packet.
The reset instruction packet includes a header part and a data part.
The header part of the reset instruction packet is the same as that of the setting change instruction packet.
The data portion of the reset instruction packet includes a command code field, a reset grace time field, and a response necessity field.
In the command code field, a command code for instructing reset is described. That is, by referring to the value of the command code field, it can be determined that the packet is a reset instruction packet. The reset grace time field describes a predetermined time. When a predetermined time described in the reset grace time field has elapsed after receiving the reset instruction packet, the control unit 1 is reset and the setting is changed. In the response necessity field, information indicating whether or not a response is requested to the wireless terminal 200 that has received the reset instruction packet is described. That is, when no response is required in the response necessity field, the wireless terminal 200 does not transmit a reset response packet to the management apparatus 100.

リセット応答パケットは、設定変更応答パケットと同様である。但し、コマンドコードフィールドには、リセット指示に対する応答コマンドコードが記載される。つまり、コマンドコードフィールドの値を参照することで、パケットがリセット応答パケットであると判別できる。   The reset response packet is the same as the setting change response packet. However, a response command code for the reset instruction is described in the command code field. That is, by referring to the value of the command code field, it can be determined that the packet is a reset response packet.

次に、この実施の形態に係る管理装置100と無線端末200との動作を説明する。
まず、動作の概要を説明する。
(1)管理装置100は、所定の順序で無線端末200へ設定変更指示パケットをユニキャスト送信する。
(2)設定変更指示パケットを受信した無線端末200は設定変更応答パケットを管理装置100へ送信する。
(3)管理装置100は、設定変更応答パケットを受信すると、つまり無線端末200が設定変更指示パケットを受信したことを確認すると、次の無線端末200へ設定変更指示パケットをユニキャスト送信する。
(4)(1)から(3)までを繰り返し、全ての無線端末200へ設定変更指示パケットを送信し、全ての無線端末200から設定変更応答パケットを受信すると、管理装置100は、全ての無線端末200へリセット指示パケットをブロードキャスト送信する。
(5)リセット指示パケットを受信した無線端末200は、設定変更指示パケットの情報に基づき、設定変更を行う。管理装置100も同様に設定変更を行う。
ここでは、無線端末200からのリセット応答パケットの送信はないものとして説明した。つまり、リセット指示パケットの応答要否フィールドに不要と設定されているとして説明した。以下も同様に無線端末200からのリセット応答パケットの送信はないものとして説明する。
Next, operations of the management apparatus 100 and the wireless terminal 200 according to this embodiment will be described.
First, an outline of the operation will be described.
(1) The management device 100 unicasts a setting change instruction packet to the wireless terminal 200 in a predetermined order.
(2) Receiving the setting change instruction packet, the wireless terminal 200 transmits a setting change response packet to the management apparatus 100.
(3) When the management apparatus 100 receives the setting change response packet, that is, confirms that the wireless terminal 200 has received the setting change instruction packet, the management apparatus 100 unicasts the setting change instruction packet to the next wireless terminal 200.
(4) When (1) to (3) are repeated, the setting change instruction packet is transmitted to all the wireless terminals 200, and when the setting change response packet is received from all the wireless terminals 200, the management apparatus 100 receives all the wireless terminals 200. Broadcast a reset instruction packet to the terminal 200.
(5) The wireless terminal 200 that has received the reset instruction packet changes the setting based on the information of the setting change instruction packet. Similarly, the management apparatus 100 changes the setting.
Here, the description has been made assuming that no reset response packet is transmitted from the wireless terminal 200. That is, the description has been made assuming that the reset necessity packet response unnecessary field is set as unnecessary. Similarly, the following description will be made assuming that no reset response packet is transmitted from the wireless terminal 200.

次に、図を用いて、動作を詳細に説明する。
まず、前提となるアドホックネットワークのシステム構成について説明する。図5は、アドホックネットワークのシステム構成の一例を示す図である。図5では、説明を簡単にするために、アドホックネットワークは、1台の管理装置100と無線端末200A、無線端末200B、無線端末200Cとを備える。また、無線端末200Dは別システムに属する装置で、無線が管理装置100及び無線端末200Aに届くところにあるものとする。
図5の構成において、現在のPANIDがPID0、周波数チャネルがCH0で動作しているネットワークをPANIDがPID1、周波数チャネルがCH1で動作するように変更する場合の動作を説明する。つまり、現在、管理装置100と各無線端末200とのRFインタフェース部5が備える周波数チャネル設定部21にはCH0が設定され、PANID設定部22にはPID0が設定されている状態である。そして、管理装置100と各無線端末200とのRFインタフェース部5が備える周波数チャネル設定部21の設定をCH1へ、PANID設定部22の設定をPID1へ変更する動作を説明する。
Next, the operation will be described in detail with reference to the drawings.
First, the system configuration of the premise ad hoc network will be described. FIG. 5 is a diagram illustrating an example of a system configuration of an ad hoc network. In FIG. 5, to simplify the description, the ad hoc network includes one management apparatus 100 and a radio terminal 200A, a radio terminal 200B, and a radio terminal 200C. In addition, it is assumed that the wireless terminal 200D is an apparatus that belongs to another system, and that the wireless terminal reaches the management apparatus 100 and the wireless terminal 200A.
In the configuration of FIG. 5, the operation when the network operating with the current PANID PID0 and the frequency channel CH0 is changed to operate with the PANID PID1 and the frequency channel CH1 will be described. In other words, CH0 is set in the frequency channel setting unit 21 provided in the RF interface unit 5 between the management apparatus 100 and each wireless terminal 200, and PID0 is set in the PANID setting unit 22. An operation of changing the setting of the frequency channel setting unit 21 included in the RF interface unit 5 of the management apparatus 100 and each wireless terminal 200 to CH1 and changing the setting of the PANID setting unit 22 to PID1 will be described.

まず、前提となる事項を説明する。
図5において無線端末200A及び無線端末200Bは管理装置100に参入しており、無線端末200Cは無線端末200Aに参入しているものとする。例えば、ZigBee等では、参入動作によって参入先からネットワークアドレスを付与されるといった動作が行われるが、参入時の動作は、例えばZigBee等と同様であるとしてもよい。参入動作もしくはスイッチ設定等により、管理装置100にはNWADR100が、無線端末200AにはNWADR200が、無線端末200BにはNWADR210が、無線端末200CにはNWADR220が割り与えられ、それぞれのFLASHメモリ4のセルフアドレス記憶領域に格納されているものとする。
また、電源オン後の初期化動作では、管理装置100及び各無線端末200の制御部1は、FLASHメモリ4に格納されている周波数チャネルとPANIDとネットワークアドレスとの設定値を読み出す。そして、管理装置100及び各無線端末200の制御部1は、RFインタフェース部5の周波数チャネル設定部21にはCH0を、PANID設定部22にはPID0を、アドレス設定部23にはそれぞれのネットワークアドレスを設定する。
また、参入後の動作として、各無線端末200は、自身のアドレス情報を管理装置100宛てに送信する。ここで、各無線端末200は、参入時にどの端末が管理装置100であるかを示す情報を得ているものとする。そして、管理装置100の例えばRAM3に、ネットワークに参入している全端末に対応して、そのネットワークアドレスとの対応をとるデバイスアドレステーブルが記憶される。
また、例えば、各無線端末200が自身のアドレス情報を管理装置100に対して送信する動作の中で、ルート構築動作が行われる。管理装置100及び各無線端末200の例えばRAM3の中には、最終的宛先アドレスに送信するためには、次にどのアドレスの無線端末200に送信すれば良いかというエントリが登録されたルートテーブルが作成されるものとする。なお、ルート構築動作はどのようなものであっても構わない。
First, the premise items will be described.
In FIG. 5, it is assumed that the wireless terminal 200A and the wireless terminal 200B have entered the management apparatus 100, and the wireless terminal 200C has entered the wireless terminal 200A. For example, in ZigBee or the like, an operation in which a network address is given from an entry destination by the entry operation is performed, but the operation at the time of entry may be the same as that of ZigBee or the like, for example. Due to the entry operation or switch setting, NWADR 100 is assigned to the management device 100, NWADR 200 is assigned to the wireless terminal 200A, NWADR 210 is assigned to the wireless terminal 200B, and NWADR 220 is assigned to the wireless terminal 200C. It is assumed that it is stored in the address storage area.
In the initialization operation after the power is turned on, the management device 100 and the control unit 1 of each wireless terminal 200 read the set values of the frequency channel, PANID, and network address stored in the FLASH memory 4. Then, the control unit 1 of the management apparatus 100 and each wireless terminal 200 includes CH0 for the frequency channel setting unit 21 of the RF interface unit 5, PID0 for the PANID setting unit 22, and a network address for the address setting unit 23. Set.
In addition, as an operation after entry, each wireless terminal 200 transmits its own address information to the management apparatus 100. Here, it is assumed that each wireless terminal 200 has obtained information indicating which terminal is the management apparatus 100 at the time of entry. Then, for example, the RAM 3 of the management apparatus 100 stores a device address table corresponding to the network address corresponding to all terminals entering the network.
Further, for example, a route construction operation is performed in an operation in which each wireless terminal 200 transmits its own address information to the management apparatus 100. In the RAM 3 of the management device 100 and each wireless terminal 200, there is a route table in which an entry indicating which address the wireless terminal 200 should be transmitted next is registered in order to transmit to the final destination address. Shall be created. Any route construction operation may be used.

次に、上記前提の下で、周波数チャネル及びPANIDを変更する必要が出た場合の動作について、図6から図9に基づき説明する。図6は、この実施の形態に係る管理装置100が設定変更指示パケットを送信する際の動作を示すフローチャートである。図7は、この実施の形態に係る無線端末200が設定変更指示パケットを受信した際の動作を示すフローチャートである。図8は、この実施の形態に係る管理装置100がリセット指示パケットを送信する際の動作を示すフローチャートである。図9は、この実施の形態に係る無線端末200がリセット指示パケットを受信した際の動作を示すフローチャートである。
以下の動作の前に、管理装置100の制御部1は、FLASHメモリ4の周波数チャネル記憶領域に変更後周波数チャネルの値CH1を書き込み、FLASHメモリ4のPANID記憶領域に変更後のPANIDの値PID1を書き込んでおく。
Next, the operation when it is necessary to change the frequency channel and the PANID under the above assumption will be described with reference to FIGS. FIG. 6 is a flowchart showing an operation when the management apparatus 100 according to this embodiment transmits a setting change instruction packet. FIG. 7 is a flowchart showing an operation when the wireless terminal 200 according to this embodiment receives a setting change instruction packet. FIG. 8 is a flowchart showing an operation when the management apparatus 100 according to this embodiment transmits a reset instruction packet. FIG. 9 is a flowchart showing an operation when the radio terminal 200 according to this embodiment receives a reset instruction packet.
Before the following operation, the control unit 1 of the management apparatus 100 writes the changed frequency channel value CH1 into the frequency channel storage area of the FLASH memory 4, and the changed PANID value PID1 into the PANID storage area of the FLASH memory 4 Write down.

まず、図6に基づき、管理装置100が設定変更指示パケットを送信する際の動作を説明する。
(S101)では、管理装置100の制御部1(変更指示送信部31)は、各無線端末200の情報が登録されたデバイスアドレステーブルのエントリ読み取りポインタを初期化する。つまり、先頭から順にデバイスアドレステーブルの情報を読み出せる状態とする。
ここでは、デバイスアドレステーブルには無線端末200A、無線端末200B、無線端末200Cのアドレスが順に登録されているものとして説明する。つまり、デバイスアドレステーブルのエントリ読み取りポインタは、無線端末200Aを読み出す状態となっている。
First, the operation when the management apparatus 100 transmits a setting change instruction packet will be described with reference to FIG.
In (S101), the control unit 1 (change instruction transmission unit 31) of the management apparatus 100 initializes the entry read pointer of the device address table in which information of each wireless terminal 200 is registered. In other words, the device address table information can be read in order from the top.
Here, it is assumed that the addresses of the wireless terminal 200A, the wireless terminal 200B, and the wireless terminal 200C are registered in the device address table in order. That is, the entry read pointer of the device address table is in a state of reading the wireless terminal 200A.

(S102)では、制御部1(変更指示送信部31)は、デバイスアドレステーブルのエントリ数をカウントしてネットワークに参入している無線端末200の数を求め、設定端末数カウント部13に設定する。
この例では、3つの無線端末200がネットワークに参入しているので設定端末数カウント部13には「3」が設定される。
In (S <b> 102), the control unit 1 (change instruction transmission unit 31) counts the number of entries in the device address table to obtain the number of wireless terminals 200 that have entered the network, and sets the number in the set terminal number counting unit 13. .
In this example, since three wireless terminals 200 have entered the network, “3” is set in the set terminal count section 13.

(S103)では、制御部1(変更指示送信部31)は、デバイスアドレステーブルのエントリ読み取りポインタが指す無線端末200のアドレスを読み出す。
ここでは、エントリ読み取りポインタは、デバイスアドレステーブルの最初のエントリである無線端末200Aを指しているので、管理装置100の制御部1は無線端末200Aのアドレスを読み出す。
In (S103), the control unit 1 (change instruction transmission unit 31) reads the address of the wireless terminal 200 pointed to by the entry read pointer in the device address table.
Here, since the entry read pointer points to the wireless terminal 200A that is the first entry in the device address table, the control unit 1 of the management apparatus 100 reads the address of the wireless terminal 200A.

(S104)では、制御部1(変更指示送信部31)は、設定変更指示パケットを作成する。具体的には、制御部1(変更指示送信部31)は、設定変更指示パケットの各フィールドにそれぞれ以下の情報をセットする。
PANIDフィールドにはPANID設定部22に設定された現在動作中のPID0をセットする。
物理的送信先フィールドにはルートテーブルから検索した無線端末200AのアドレスNWADR200へ向けて送信する場合の次の送信先アドレスをセットする。無線端末200Aへは直接届くので、無線端末200AのアドレスであるNWADR200がセットされる。
物理的送信元フィールドには管理装置100のアドレスNWADR100をセットする。
最終的宛先アドレスフィールドには無線端末200AのアドレスNWADR200をセットする。
発信元アドレスフィールドには管理装置100のNWADR100をセットする。
TTLフィールドにはこのネットワークで許可された最大ホップ数をセットする。
コマンドフィールドには設定変更指示コマンドコードをセットする。
変更後周波数チャネルフィールドにはCH1をセットする。
変更後PANIDフィールドにはPID1をセットする。
リセット猶予時間フィールドには全ての端末に指示を出し終えるのに足りる十分長い時間を指定するTIM_RHLをセットする。
In (S104), the control unit 1 (change instruction transmission unit 31) creates a setting change instruction packet. Specifically, the control unit 1 (change instruction transmission unit 31) sets the following information in each field of the setting change instruction packet.
In the PANID field, the currently operating PID 0 set in the PANID setting unit 22 is set.
In the physical transmission destination field, the next transmission destination address for transmission to the address NWADR 200 of the wireless terminal 200A searched from the route table is set. Since it reaches directly to the wireless terminal 200A, the NWADR 200 that is the address of the wireless terminal 200A is set.
The address NWADR100 of the management apparatus 100 is set in the physical transmission source field.
The address NWADR 200 of the wireless terminal 200A is set in the final destination address field.
The NWADR 100 of the management apparatus 100 is set in the source address field.
The maximum number of hops allowed in this network is set in the TTL field.
A setting change instruction command code is set in the command field.
CH1 is set in the changed frequency channel field.
PID1 is set in the changed PANID field.
In the reset grace time field, TIM_RHL that specifies a sufficiently long time to finish giving instructions to all terminals is set.

(S105)では、制御部1(変更指示送信部31)は、設定変更指示パケットを送信する。
制御部1(変更指示送信部31)は、設定変更指示パケットをRFインタフェース部5に書き込む。すると、無線送信部7はRFインタフェース部5の周波数チャネル設定部21に設定されているチャネルCH0の周波数チャネルでRFインタフェース部5に書き込まれた設定変更指示パケットを無線信号に変換する。そして、設定変更指示パケットは、共通部8を経由し、アンテナ9を経由して無線送信される。
In (S105), the control unit 1 (change instruction transmission unit 31) transmits a setting change instruction packet.
The control unit 1 (change instruction transmission unit 31) writes a setting change instruction packet in the RF interface unit 5. Then, the wireless transmission unit 7 converts the setting change instruction packet written in the RF interface unit 5 into a radio signal using the frequency channel of the channel CH0 set in the frequency channel setting unit 21 of the RF interface unit 5. The setting change instruction packet is wirelessly transmitted via the common unit 8 and the antenna 9.

(S106)では、制御部1(応答受信部32)は、設定変更応答パケットを受信したか否かを確認する。
無線端末200は設定変更指示パケットを受信すると、設定変更応答パケットを管理装置100へ送信する。つまり、制御部1(応答受信部32)が設定変更応答パケットを受信することで、無線端末200が設定変更指示パケットを受信したことを確認できる。
制御部1(応答受信部32)は、受信した設定変更応答パケットの発信元アドレスフィールド、コマンドコードフィールド及び実行結果フィールドを確認して、設定変更指示パケットの送信先(ここでは、無線端末200A)が送信した設定変更応答パケットであるかを確認するとともに、処理が成功したかを確認する。
設定変更応答パケットを受信した場合(S106でYes)、(S108)へ進む。一方、設定変更応答パケットを受信していない場合(S106でNo)、(S107)へ進む。
In (S106), the control unit 1 (response receiving unit 32) checks whether or not a setting change response packet has been received.
When receiving the setting change instruction packet, the wireless terminal 200 transmits a setting change response packet to the management apparatus 100. That is, it is possible to confirm that the wireless terminal 200 has received the setting change instruction packet when the control unit 1 (response receiving unit 32) receives the setting change response packet.
The control unit 1 (response receiving unit 32) confirms the source address field, command code field, and execution result field of the received setting change response packet, and transmits the setting change instruction packet destination (in this case, the wireless terminal 200A). Is confirmed to be a setting change response packet transmitted, and whether the processing is successful.
When the setting change response packet is received (Yes in S106), the process proceeds to (S108). On the other hand, when the setting change response packet has not been received (No in S106), the process proceeds to (S107).

(S107)では、制御部1(応答受信部32)は、設定変更指示パケットを送信してから所定の時間が経過したか否かを確認する。所定の時間が経過している場合には、制御部1(応答受信部32)は、タイムアウトであると判断し、設定変更指示パケットが無線端末200(ここでは、無線端末200A)へ到達しなかったとみなす。
所定の時間が経過した場合(S107でYes)、設定変更指示パケットが無線端末200Aへ到達しなかったと判断したため(S105)へ戻り、制御部1(応答受信部32)は、設定変更指示パケットを再送する。つまり、無線端末200Aが設定変更指示パケットを受信するまで、繰り返し設定変更指示パケットを無線端末200Aへ送信する。
一方、所定の時間が経過していない場合(S107でNo)、(S106)へ戻り、改めて設定変更応答パケットを受信したか否かを確認する。
In (S107), the control unit 1 (response receiving unit 32) checks whether or not a predetermined time has elapsed since the transmission of the setting change instruction packet. If the predetermined time has elapsed, the control unit 1 (response receiving unit 32) determines that the time is out, and the setting change instruction packet does not reach the wireless terminal 200 (here, the wireless terminal 200A). It is considered to be.
When the predetermined time has elapsed (Yes in S107), it is determined that the setting change instruction packet has not arrived at the wireless terminal 200A (S105), and the control unit 1 (response receiving unit 32) returns the setting change instruction packet. resend. That is, until the wireless terminal 200A receives the setting change instruction packet, the wireless terminal 200A repeatedly transmits the setting change instruction packet to the wireless terminal 200A.
On the other hand, if the predetermined time has not elapsed (No in S107), the process returns to (S106), and it is confirmed whether a setting change response packet has been received again.

(S108)では、(S106)で無線端末200が設定変更指示パケットを受信したことを確認できたので、制御部1(変更指示送信部31)はカウント信号17を出力して、設定端末数カウント部13に設定された値を1つカウントダウンさせる。   In (S108), since it has been confirmed that the wireless terminal 200 has received the setting change instruction packet in (S106), the control unit 1 (change instruction transmitting unit 31) outputs the count signal 17 and counts the number of set terminals. The value set in the unit 13 is counted down by one.

(S109)では、(S108)でカウントダウンした後、制御部1(変更指示送信部31)は、設定端末数カウント部13の現在値を読み出し、現在値が0かどうかをチェックする。
現在値が0であれば(S109でYes)、設定変更指示パケット送信処理を終了する。一方、現在値が0でなければ(S109でNo)、(S110)へ進む。
ここでは、設定端末数カウント部13の現在値は2になっている。そのため、設定変更指示パケットを送信すべき無線端末200が残っていることが分かる。したがって、(S110)へ進み、処理を続ける。
In (S109), after counting down in (S108), the control unit 1 (change instruction transmission unit 31) reads the current value of the set terminal count unit 13 and checks whether the current value is 0 or not.
If the current value is 0 (Yes in S109), the setting change instruction packet transmission process is terminated. On the other hand, if the current value is not 0 (No in S109), the process proceeds to (S110).
Here, the current value of the set terminal number counting unit 13 is 2. Therefore, it can be seen that there are still wireless terminals 200 to which the setting change instruction packet should be transmitted. Accordingly, the process proceeds to (S110) and the process is continued.

(S110)では、制御部1(変更指示送信部31)は、デバイスアドレステーブルのエントリ読み取りポインタを次へ進める。
ここでは、デバイスアドレステーブルのエントリ読み取りポインタは、無線端末200Bを読み出す状態とする。
そして、(S103)へ戻る。
In (S110), the control unit 1 (change instruction transmission unit 31) advances the entry read pointer of the device address table to the next.
Here, the entry read pointer in the device address table is in a state of reading the wireless terminal 200B.
Then, the process returns to (S103).

ここでは、管理装置100は、続いて、デバイスアドレステーブルから無線端末200Bのアドレスを読出し(S103)、設定変更指示パケットを作成して送信する(S104、S105)。そして、無線端末200Bから設定変更応答パケットを受信すると(S106でYes)、設定端末数カウント部13を1カウントダウンさせる(S108)。しかし、設定端末数カウント部13の現在値は0でないため(S109でNo)、デバイスアドレステーブルのエントリ読み取りポインタを次へ進め(S110)、(S103)へ戻る。
そして、デバイスアドレステーブルから無線端末200Cのアドレスを読出し(S103)、設定変更指示パケットを作成して送信する(S104、S105)。そして、無線端末200Cから設定変更応答パケットを受信すると(S106でYes)、設定端末数カウント部13を1カウントダウンさせる(S108)。設定端末数カウント部13の現在値は0であるため(S109でYes)、全ての無線端末200への設定変更指示パケットの送信が正常に完了したと判断し、処理を終了する。
Here, the management apparatus 100 subsequently reads the address of the wireless terminal 200B from the device address table (S103), creates and transmits a setting change instruction packet (S104, S105). When the setting change response packet is received from the wireless terminal 200B (Yes in S106), the setting terminal number counting unit 13 is counted down by 1 (S108). However, since the current value of the set terminal count unit 13 is not 0 (No in S109), the entry read pointer in the device address table is advanced to the next (S110), and the process returns to (S103).
Then, the address of the wireless terminal 200C is read from the device address table (S103), and a setting change instruction packet is created and transmitted (S104, S105). When the setting change response packet is received from the wireless terminal 200C (Yes in S106), the setting terminal number counting unit 13 is counted down by 1 (S108). Since the current value of the set terminal count unit 13 is 0 (Yes in S109), it is determined that the transmission of the setting change instruction packet to all the radio terminals 200 has been completed normally, and the process ends.

次に、図7に基づき、無線端末200が設定変更指示パケットを受信した際の動作を説明する。
ここでは、(S105)で、制御部1(変更指示送信部31)が設定変更指示パケットを無線端末200Aへ送信した後であるとして説明する。
Next, an operation when the wireless terminal 200 receives the setting change instruction packet will be described with reference to FIG.
Here, description will be made assuming that the control unit 1 (change instruction transmitting unit 31) has transmitted the setting change instruction packet to the radio terminal 200A in (S105).

(S201)では、無線端末200のRFインターフェース部5は、設定変更指示パケットを受信する。
ここでは、管理装置100から無線送信された設定変更指示パケットを無線端末200Aが受信する。まず、無線端末200Aのアンテナ9、共通部8を介して無線受信部6に入力される。そして、設定変更指示パケットは、デジタル信号に変換されてRFインタフェース部5に入力される。RFインターフェース部5は、デジタル信号からシリアル−パラレル変換を行い、受信データとしてRFインタフェース部5の内部のバッファに一時記憶する。
In (S201), the RF interface unit 5 of the wireless terminal 200 receives the setting change instruction packet.
Here, the wireless terminal 200A receives the setting change instruction packet wirelessly transmitted from the management apparatus 100. First, the signal is input to the wireless reception unit 6 via the antenna 9 and the common unit 8 of the wireless terminal 200A. The setting change instruction packet is converted into a digital signal and input to the RF interface unit 5. The RF interface unit 5 performs serial-parallel conversion from the digital signal and temporarily stores it as received data in a buffer inside the RF interface unit 5.

ここで、RFインターフェース部5は、PANIDのチェックを行う。RFインターフェース部5は、受信した設定変更指示パケットのPANIDフィールドの値とPANID設定部22に設定されている値を比較する。比較結果が不一致かつPANIDフィールドの値がブロードキャストPANIDでもなかった場合、受信した設定変更指示パケットを破棄する。
さらに、RFインターフェース部5は、物理的送信先のチェックを行う。RFインターフェース部5は、受信した設定変更指示パケットの物理的送信先フィールドの値とアドレス設定部23に設定されている自身のアドレスとを比較する。比較結果が不一致かつ物理的送信先フィールドの値がブロードキャストアドレスでもない場合、設定変更指示パケットを破棄する。
ここでは、設定変更指示パケットのPANIDフィールドにある値とPANID設定部22に設定されている値との両方が「PID0」であり一致し、物理的送信先フィールドの値とアドレス設定部23に設定されている自身のアドレスとの両方が「NWADR200」であり一致するため、設定変更指示パケットは破棄されない。
Here, the RF interface unit 5 checks the PANID. The RF interface unit 5 compares the value of the PANID field of the received setting change instruction packet with the value set in the PANID setting unit 22. If the comparison result does not match and the value of the PANID field is not a broadcast PANID, the received setting change instruction packet is discarded.
Further, the RF interface unit 5 checks the physical transmission destination. The RF interface unit 5 compares the value of the physical transmission destination field of the received setting change instruction packet with its own address set in the address setting unit 23. If the comparison result does not match and the value of the physical destination field is not a broadcast address, the setting change instruction packet is discarded.
Here, both the value in the PANID field of the setting change instruction packet and the value set in the PANID setting unit 22 are “PID0” and match, and the value in the physical transmission destination field and the address setting unit 23 are set. Since both of them are “NWADR200” and match, the setting change instruction packet is not discarded.

次に、制御部1(チェック部41)が、最終的宛先のチェックを行う。制御部1(チェック部41)は、受信した設定変更指示パケットの最終的宛先フィールドの値とアドレス設定部23に設定されている自身のアドレスとを比較する。比較結果が不一致あるいは最終的宛先フィールドの値がブロードキャストアドレスである場合には、設定変更指示パケットを転送して、処理を終了する。
ここでは、無線端末200A宛ての設定変更指示パケットであり、最終的宛先フィールドの値と自身のアドレスとの両方が「NWADR200」であり一致するため、(S202)へ進む。
Next, the control unit 1 (check unit 41) checks the final destination. The control unit 1 (check unit 41) compares the value of the final destination field of the received setting change instruction packet with its own address set in the address setting unit 23. If the comparison result does not match or the value of the final destination field is a broadcast address, the setting change instruction packet is transferred and the process is terminated.
Here, it is a setting change instruction packet addressed to the wireless terminal 200A, and since both the value of the final destination field and its own address are “NWADR200” and match, the process proceeds to (S202).

(S202)では、制御部1(変更指示情報受信部42)は、FLASHメモリ4に受信した設定変更指示パケットの情報を暫定的に記憶する。設定変更指示パケットの情報を暫定的に記憶するとは、設定変更指示パケットの情報をRFインタフェース部5に設定はせず、単にFLASHメモリ4に記憶するということである。
具体的には、制御部1(チェック部41)は、まず設定変更指示パケットのコマンドコードフィールドをチェックする。ここでは、受信した設定変更指示パケットには設定変更指示コマンドコードがセットされている。そのため、制御部1(チェック部41)により、制御部1(変更指示情報受信部42)が呼び出され、制御部1(変更指示情報受信部42)は、設定変更指示パケットの変更後周波数フィールドにセットされていた値CH1を取出し、FLASHメモリ4の周波数チャネル記憶領域に書き込む。また、制御部1(変更指示情報受信部42)は、PANIDフィールドにセットされていた値PID1をFLASHメモリ4のPANID記憶領域に書き込む。そして、制御部1(変更指示情報受信部42)は、リセット猶予時間フィールドにセットされていた値TIM_RHLをリセット猶予時間計測部10にセットして時間計測をスタートさせる。
つまり、RFインターフェース部5が受信したパケットの内、設定変更指示パケットは制御部1(変更指示情報受信部42)によって受信され、処理される。
In (S <b> 202), the control unit 1 (change instruction information receiving unit 42) temporarily stores the received setting change instruction packet information in the FLASH memory 4. To temporarily store the information of the setting change instruction packet means that the information of the setting change instruction packet is not set in the RF interface unit 5 but is simply stored in the FLASH memory 4.
Specifically, the control unit 1 (check unit 41) first checks the command code field of the setting change instruction packet. Here, a setting change instruction command code is set in the received setting change instruction packet. For this reason, the control unit 1 (check unit 41) calls the control unit 1 (change instruction information receiving unit 42), and the control unit 1 (change instruction information receiving unit 42) enters the changed frequency field of the setting change instruction packet. The set value CH1 is taken out and written into the frequency channel storage area of the FLASH memory 4. The control unit 1 (change instruction information receiving unit 42) writes the value PID1 set in the PANID field into the PANID storage area of the FLASH memory 4. Then, the control unit 1 (change instruction information receiving unit 42) sets the value TIM_RHL set in the reset window time field to the reset window measuring unit 10 and starts time measurement.
That is, among the packets received by the RF interface unit 5, the setting change instruction packet is received and processed by the control unit 1 (change instruction information receiving unit 42).

(S203)では、制御部1(応答信号送信部43)は、設定変更応答パケットを作成する。
具体的には、制御部1(応答信号送信部43)は、設定変更応答パケットの各フィールドにそれぞれ以下の情報をセットする。
PANIDフィールドにはPANID設定部22に設定され現在動作中のPID0をセットする。
物理的送信先フィールドにはルートテーブルから検索した管理装置100のアドレスNWADR100へ向けての送信する場合の次の送信先アドレスをセットする。管理装置100へは直接届くので、管理装置100のアドレスであるNWADR100をセットする。
物理的送信元のアドレスには無線端末200Aのアドレスをセットする。
最終的宛先アドレスフィールドには管理装置100のアドレスNWADR100をセットする。
発信元アドレスフィールドには無線端末200AのアドレスNWADR200をセットする。
TTLフィールドにはこのネットワークで許可された最大ホップ数をセットする。
コマンドコードフィールドには設定変更応答コマンドコードをセットする。
実行結果コードフィールドには成功を示すコードをセットする。
In (S203), the control unit 1 (response signal transmission unit 43) creates a setting change response packet.
Specifically, the control unit 1 (response signal transmission unit 43) sets the following information in each field of the setting change response packet.
In the PANID field, PID0 set in the PANID setting unit 22 and currently operating is set.
In the physical transmission destination field, the next transmission destination address when transmitting to the address NWADR 100 of the management apparatus 100 searched from the route table is set. Since it reaches the management apparatus 100 directly, the NWADR 100 that is the address of the management apparatus 100 is set.
The address of the wireless terminal 200A is set as the physical transmission source address.
In the final destination address field, the address NWADR100 of the management apparatus 100 is set.
The address NWADR 200 of the wireless terminal 200A is set in the source address field.
The maximum number of hops allowed in this network is set in the TTL field.
A setting change response command code is set in the command code field.
A code indicating success is set in the execution result code field.

(S204)では、制御部1(応答信号送信部43)は、設定変更応答パケットを送信する。
制御部1(応答信号送信部43)は、設定変更応答パケットをRFインタフェース部5に書き込む。すると、無線送信部7はRFインタフェース部5の周波数チャネル設定部21に設定されているチャネルCH0の周波数チャネルでRFインタフェース部5に書き込まれた設定変更応答パケットを無線信号に変換する。そして、設定変更応答パケットは、共通部8を経由し、アンテナ9を経由して無線送信される。
(S204)で送信した設定変更応答パケットは、管理装置100の制御部1(応答受信部32)により受信され、(S106)で確認される。
In (S204), the control unit 1 (response signal transmission unit 43) transmits a setting change response packet.
The control unit 1 (response signal transmission unit 43) writes the setting change response packet in the RF interface unit 5. Then, the wireless transmission unit 7 converts the setting change response packet written in the RF interface unit 5 into a radio signal using the frequency channel of the channel CH0 set in the frequency channel setting unit 21 of the RF interface unit 5. The setting change response packet is wirelessly transmitted via the common unit 8 and the antenna 9.
The setting change response packet transmitted in (S204) is received by the control unit 1 (response receiving unit 32) of the management apparatus 100 and confirmed in (S106).

なお、(S201)で最終的宛先フィールドの値と自身のアドレスとが不一致であり設定変更指示パケットを転送する場合、制御部1(チェック部41)は、受信した設定変更指示パケットをコピーし、物理的送信先フィールドにはルートテーブルから検索した最終的宛先アドレスに向けて送信する場合の次の送信先アドレスをセットし、物理的送信元に自身のアドレスをセットし、TTLを1減らしたパケットに変更して、RFインタフェース部5に書き込むことで最終的宛先への中継送信を行う。
一方、最終的宛先フィールドの値がブロードキャストアドレスである場合、制御部1(チェック部41)は、設定変更指示パケットのTTLフィールドの値を−1し、その結果が0であるか否かを判定する。制御部1(チェック部41)は、結果が0でなければ、受信パケットのTTLフィールドを−1した値に変更し、物理的送信元フィールドを自身のアドレスに変更してパケットを再度ブロードキャストする。一方、結果が0であれば再度ブロードキャストは実施せず、受信したパケットに指示されている内容を実行する。すなわち、(S202)へ進む。
When the value of the final destination field does not match its own address in (S201) and the setting change instruction packet is transferred, the control unit 1 (check unit 41) copies the received setting change instruction packet, In the physical destination field, the next destination address in the case of transmission toward the final destination address searched from the route table is set, the own address is set in the physical source, and the TTL is reduced by one. And the relay transmission to the final destination is performed by writing in the RF interface unit 5.
On the other hand, when the value of the final destination field is a broadcast address, the control unit 1 (check unit 41) decrements the value of the TTL field of the setting change instruction packet by 1, and determines whether the result is 0 or not. To do. If the result is not 0, the control unit 1 (check unit 41) changes the TTL field of the received packet to a value minus -1, changes the physical source field to its own address, and broadcasts the packet again. On the other hand, if the result is 0, the broadcast is not performed again, but the contents indicated in the received packet are executed. That is, the process proceeds to (S202).

また、(S201)において、無線端末200Bでも同様に設定変更指示パケットは受信される。しかし、物理的送信先フィールドの値とアドレス設定部23に設定されている自身のネットワークアドレスが不一致であり、物理的送信先フィールドの値にブロードキャストを示すブロードキャストアドレスでもないため、設定変更指示パケットは破棄される。   In (S201), the wireless terminal 200B similarly receives the setting change instruction packet. However, since the value of the physical transmission destination field does not match the network address set in the address setting unit 23 and the value of the physical transmission destination field is not a broadcast address indicating broadcast, the setting change instruction packet is Discarded.

また、(S204)において、無線送信された設定変更応答パケットは無線端末200Cでも受信される。しかし、無線端末200Cは、PANIDのチェック、物理的送信先のチェック、最終的宛先のチェックを行い、無線端末200Cは物理的送信先になっていないため、受信した設定変更応答パケットは破棄される。   In (S204), the wireless terminal 200C receives the setting change response packet transmitted wirelessly. However, the wireless terminal 200C performs PANID check, physical transmission destination check, and final destination check. Since the wireless terminal 200C is not a physical transmission destination, the received setting change response packet is discarded. .

なお、管理装置100がパケットを受信した場合においても、受信したパケットに対して、(S201)で無線端末200が行うPANIDのチェック、物理的送信先のチェック、最終的宛先のチェックを行う。   Even when the management apparatus 100 receives a packet, the PANID check, the physical transmission destination check, and the final destination check performed by the wireless terminal 200 are performed on the received packet in (S201).

そして、管理装置100が無線端末200B宛ての設定変更指示パケットを送信すると、無線端末200Bは、自分宛の設定変更指示パケットを受信し設定変更指示パケットのチェックを行い(S201)、設定値を暫定的に記憶する(S202)。そして、無線端末200Bは、設定変更応答パケットを作成して送信する(S203、S204)。つまり、自分宛の設定変更指示パケットを受信した無線端末200Bは、無線端末200Aと同様に、FLASHメモリ4が変更後の周波数チャネルCH1と変更後のPANIDの値PID1を記憶し、リセット猶予時間計測部10がTIM_RHLをセットして時間計測を開始させた後、設定変更応答パケットを送信する。
続いて、管理装置100が無線端末200C宛ての設定変更指示パケットを送信すると、無線端末200Cは、自分宛の設定変更指示パケットを受信し設定変更指示パケットのチェックを行い(S201)、設定値を暫定的に記憶する(S202)。そして、無線端末200Cは、設定変更応答パケットを作成して送信する(S203、S204)。つまり、無線端末200C宛の設定変更指示パケットは無線端末200Aで中継され、無線端末200Cに受信される。無線端末200Cは、無線端末200Aと同様に、FLASHメモリ4が変更後の周波数チャネルCH1と変更後のPANIDの値PID1を記憶し、リセット猶予時間計測部10がTIM_RHLをセットして時間計測開始が行われた後、設定変更応答パケットを送信する。設定変更応答パケットは無線端末200Aで中継され、管理装置100に受信される。
When the management apparatus 100 transmits a setting change instruction packet addressed to the wireless terminal 200B, the wireless terminal 200B receives the setting change instruction packet addressed to itself, checks the setting change instruction packet (S201), and temporarily sets the setting value. (S202). Then, the radio terminal 200B creates and transmits a setting change response packet (S203, S204). That is, the wireless terminal 200B that has received the setting change instruction packet addressed to itself stores the changed frequency channel CH1 and the changed PANID value PID1 in the FLASH memory 4 in the same manner as the wireless terminal 200A, and measures the reset grace time. After the unit 10 sets TIM_RHL to start time measurement, a setting change response packet is transmitted.
Subsequently, when the management apparatus 100 transmits a setting change instruction packet addressed to the wireless terminal 200C, the wireless terminal 200C receives the setting change instruction packet addressed to itself, checks the setting change instruction packet (S201), and sets the setting value. Temporarily store (S202). Then, the radio terminal 200C creates and transmits a setting change response packet (S203, S204). That is, the setting change instruction packet addressed to the wireless terminal 200C is relayed by the wireless terminal 200A and received by the wireless terminal 200C. Similarly to the wireless terminal 200A, the wireless terminal 200C stores the changed frequency channel CH1 and the changed PANID value PID1 in the FLASH memory 4, and the reset grace time measuring unit 10 sets TIM_RHL to start time measurement. After being performed, a setting change response packet is transmitted. The setting change response packet is relayed by the wireless terminal 200A and received by the management apparatus 100.

次に、図8に基づき、管理装置100がリセット指示パケットを送信する際の動作を説明する。
管理装置100は、全ての無線端末200への設定変更指示パケットの送信が正常に完了したと判断した場合、リセット指示パケットを各無線端末200へ送信する。つまり、図6に示す設定変更指示パケット送信処理を正常に終了した場合、リセット指示パケットを各無線端末200へ送信する。
Next, an operation when the management apparatus 100 transmits a reset instruction packet will be described with reference to FIG.
When the management apparatus 100 determines that the transmission of the setting change instruction packet to all the wireless terminals 200 has been normally completed, the management apparatus 100 transmits a reset instruction packet to each wireless terminal 200. That is, when the setting change instruction packet transmission process illustrated in FIG. 6 is normally completed, a reset instruction packet is transmitted to each wireless terminal 200.

(S301)では、管理装置100の制御部1(リセット指示送信部33)は、リセット指示パケットを作成する。具体的には、制御部1(リセット指示送信部33)は、リセット指示パケットの各フィールドにそれぞれ以下の情報をセットする。
PANIDフィールドにはPANID設定部22に設定され現在動作中のPID0をセットする。
物理的送信先フィールドにはブロードキャストアドレスをセットする。つまり、ここでは、全ての無線端末200へ向けて同時に送信する。
物理的送信元フィールドには管理装置100のアドレスNWADR100をセットする。
最終的宛先アドレスフィールドにはブロードキャストアドレスをセットする。
発信元アドレスフィールドには管理装置100のNWADR100をセットする。
TTLフィールドにはこのネットワークで許可された最大ホップ数をセットする。
コマンドフィールドにはリセット指示コマンドコードをセットする。
リセット猶予時間フィールドには設定可能な最小値TIM_MINをセットする。
応答要否フィールドには応答不要をセットする。
In (S301), the control unit 1 (reset instruction transmission unit 33) of the management apparatus 100 creates a reset instruction packet. Specifically, the control unit 1 (reset instruction transmission unit 33) sets the following information in each field of the reset instruction packet.
In the PANID field, PID0 set in the PANID setting unit 22 and currently operating is set.
A broadcast address is set in the physical destination field. That is, here, it transmits to all the radio | wireless terminals 200 simultaneously.
The address NWADR100 of the management apparatus 100 is set in the physical transmission source field.
A broadcast address is set in the final destination address field.
The NWADR 100 of the management apparatus 100 is set in the source address field.
The maximum number of hops allowed in this network is set in the TTL field.
A reset instruction command code is set in the command field.
A minimum value TIM_MIN that can be set is set in the reset grace period field.
No response is required in the response necessity field.

(S302)では、制御部1(リセット指示送信部33)は、リセット指示パケットを送信する。
制御部1(リセット指示送信部33)は、リセット指示パケットをRFインタフェース部5に書き込む。すると、無線送信部7はRFインタフェース部5の周波数チャネル設定部21に設定されているチャネルCH0の周波数チャネルでRFインタフェース部5に書き込まれたリセット指示パケットを無線信号に変換する。そして、リセット指示パケットは、共通部8を経由し、アンテナ9を経由して無線送信される。
In (S302), the control unit 1 (reset instruction transmission unit 33) transmits a reset instruction packet.
The control unit 1 (reset instruction transmission unit 33) writes a reset instruction packet in the RF interface unit 5. Then, the wireless transmission unit 7 converts the reset instruction packet written in the RF interface unit 5 into a radio signal using the frequency channel of the channel CH0 set in the frequency channel setting unit 21 of the RF interface unit 5. The reset instruction packet is wirelessly transmitted via the common unit 8 and the antenna 9.

(S303)では、制御部1(リセット指示送信部33)は、リセット指示パケットを送信した後、リセット猶予時間計測部10にリセット猶予時間(TIM_MIN)をセットし、リセット猶予時間の計測を開始させる。   In (S303), after transmitting the reset instruction packet, the control unit 1 (reset instruction transmission unit 33) sets the reset grace time (TIM_MIN) in the reset grace time measurement unit 10 and starts measurement of the reset grace time. .

(S304)では、リセット猶予時間が経過すると、制御部1(設定変更部34)は、設定値を変更する。
具体的には、リセット猶予時間が経過すると、リセット猶予時間計測部10はリセット信号15を発生する。すると、ANDゲート12を経由して制御部1のリセット端子が駆動され、制御部1がリセットされる。
リセットされると、制御部1は初期化処理を実行する。初期化処理では、制御部1(設定変更部34)は、FLASHメモリ4の周波数チャネル記憶領域に記憶されていたCH1、PANID記憶領域に記憶されていたPID1、及びセルフアドレス記憶領域に記憶されていた自身のネットワークアドレスをRFインタフェース部5の周波数チャネル設定部21、PANID設定部22、アドレス設定部23にそれぞれ設定する。つまり、設定値が変更される。すなわち、管理装置100は、各無線端末200に設定変更指示パケットで指示した設定値と同じ周波数チャネル及びPANIDで動作を開始する。
In (S304), when the reset grace time elapses, the control unit 1 (setting change unit 34) changes the set value.
Specifically, when the reset grace time elapses, the reset grace time measuring unit 10 generates the reset signal 15. Then, the reset terminal of the control unit 1 is driven via the AND gate 12, and the control unit 1 is reset.
When reset, the control unit 1 executes an initialization process. In the initialization process, the control unit 1 (setting change unit 34) is stored in the CH1 stored in the frequency channel storage area of the FLASH memory 4, the PID1 stored in the PANID storage area, and the self address storage area. The own network address is set in the frequency channel setting unit 21, the PANID setting unit 22, and the address setting unit 23 of the RF interface unit 5, respectively. That is, the set value is changed. That is, the management apparatus 100 starts an operation with the same frequency channel and PANID as the setting value instructed to each wireless terminal 200 by the setting change instruction packet.

次に、図9に基づき、無線端末200がリセット指示パケットを受信した際の動作を説明する。
ここでは、(S302)で、制御部1(リセット指示送信部33)がリセット指示パケットを無線端末200へ送信した後であるとして説明する。
Next, an operation when the wireless terminal 200 receives a reset instruction packet will be described with reference to FIG.
Here, it is assumed that the control unit 1 (reset instruction transmission unit 33) has transmitted a reset instruction packet to the wireless terminal 200 in (S302).

(S401)では、無線端末200のRFインターフェース部5は、リセット指示パケットを受信する。
管理装置100から無線送信されたリセット指示パケットを各無線端末200が受信する。まず、各無線端末200のアンテナ9、共通部8を介して無線受信部6に入力される。そして、リセット指示パケットは、デジタル信号に変換されてRFインタフェース部5に入力される。RFインターフェース部5は、デジタル信号からシリアル−パラレル変換を行い、受信データとしてRFインタフェース部5の内部のバッファに一時記憶する。
In (S401), the RF interface unit 5 of the wireless terminal 200 receives the reset instruction packet.
Each wireless terminal 200 receives a reset instruction packet wirelessly transmitted from the management apparatus 100. First, the signal is input to the wireless reception unit 6 via the antenna 9 and the common unit 8 of each wireless terminal 200. The reset instruction packet is converted into a digital signal and input to the RF interface unit 5. The RF interface unit 5 performs serial-parallel conversion from the digital signal and temporarily stores it as received data in a buffer inside the RF interface unit 5.

ここで、RFインターフェース部5は、(S201)で無線端末200が行うPANIDのチェック、物理的送信先のチェックを行う。
ここでは、リセット指示パケットのPANIDフィールドにある値とPANID設定部22に設定されている値との両方が「PID0」であり一致し、物理的送信先フィールドの値がブロードキャストアドレスであるため、リセット指示パケットは破棄されない。
Here, the RF interface unit 5 performs a PANID check and a physical transmission destination check performed by the wireless terminal 200 in (S201).
Here, both the value in the PANID field of the reset instruction packet and the value set in the PANID setting unit 22 match “PID0”, and the value in the physical destination field is the broadcast address. The instruction packet is not discarded.

また、制御部1(チェック部41)は、(S201)で無線端末200が行う最終的宛先のチェックを行う。
ここで、リセット指示パケットの最終的宛先フィールドにはブロードキャストアドレスが指定されている。ブロードキャストアドレスを指定したリセット指示パケットを受信した制御部1(チェック部41)は、TTLフィールドの値を−1し、その結果が0であるか否かを判定する。制御部1(チェック部41)は、結果が0でなければ、受信パケットのTTLフィールドを−1した値に変更し、物理的送信元フィールドを自身のアドレスに変更してパケットを再度ブロードキャストする。一方、結果が0であれば再度ブロードキャストは実施せず、受信したパケットに指示されている内容を実行する。
すなわち、ここでは最終的に、全ての無線端末200がリセット指示のブロードキャストパケットを受信する。
Further, the control unit 1 (check unit 41) checks the final destination performed by the wireless terminal 200 in (S201).
Here, a broadcast address is specified in the final destination field of the reset instruction packet. The control unit 1 (check unit 41) that has received the reset instruction packet specifying the broadcast address decrements the value of the TTL field by 1, and determines whether or not the result is 0. If the result is not 0, the control unit 1 (check unit 41) changes the TTL field of the received packet to a value minus -1, changes the physical source field to its own address, and broadcasts the packet again. On the other hand, if the result is 0, the broadcast is not performed again, but the contents indicated in the received packet are executed.
That is, here, finally, all the wireless terminals 200 receive the broadcast packet of the reset instruction.

(S402)では、制御部1(リセット指示情報受信部44)は、リセット猶予時間計測部10にリセットコマンドのリセット猶予時間フィールドに設定されていたリセット猶予時間(TIM_MIN)を設定して計測を開始させる。
具体的には、制御部1(チェック部41)は、まず設定変更指示パケットのコマンドコードフィールドをチェックする。ここでは、受信した設定変更指示パケットにはリセット指示コマンドコードがセットされている。そのため、制御部1(チェック部41)により制御部1(リセット指示情報受信部44)が呼び出され、制御部1(リセット指示情報受信部44)は、リセット指示パケットのリセット猶予時間フィールドに設定されていたリセット猶予時間(TIM_MIN)を設定する。
つまり、制御部1(チェック部41)が受信したパケットの内、リセット指示パケットは制御部1(リセット指示情報受信部44)によって受信され、処理される。
In (S <b> 402), the control unit 1 (reset instruction information receiving unit 44) sets the reset grace time field (TIM_MIN) set in the reset grace time field of the reset command to the reset grace time measuring unit 10 and starts measurement. Let
Specifically, the control unit 1 (check unit 41) first checks the command code field of the setting change instruction packet. Here, a reset instruction command code is set in the received setting change instruction packet. For this reason, the control unit 1 (reset instruction information receiving unit 44) is called by the control unit 1 (check unit 41), and the control unit 1 (reset instruction information receiving unit 44) is set in the reset grace time field of the reset instruction packet. Set the reset grace time (TIM_MIN).
That is, among the packets received by the control unit 1 (check unit 41), the reset instruction packet is received and processed by the control unit 1 (reset instruction information reception unit 44).

(S403)では、リセット猶予時間が経過すると、制御部1(設定変更部45)は、設定値を変更する。
具体的には、管理装置100と同様に、リセット猶予時間が経過すると、リセット猶予時間計測部10はリセット信号15を発生する。すると、ANDゲート12を経由して制御部1のリセット端子が駆動され、制御部1がリセットされる。
リセットされると、制御部1は初期化処理を実行する。初期化処理では、制御部1(設定変更部45)は、FLASHメモリ4の周波数チャネル記憶領域に記憶されていたCH1、PANID記憶領域に記憶されていたPID1、及びセルフアドレス記憶領域に記憶されていた自身のネットワークアドレスをRFインタフェース部5の周波数チャネル設定部21、PANID設定部22、アドレス設定部23にそれぞれ設定する。つまり、設定値が変更される。すなわち、無線端末200は、設定変更指示パケットで指示された変更後の周波数チャネル及びPANIDで動作を開始する。
ここで、万が一、リセット指示パケットの受信を失敗した無線端末200があった場合でも、その無線端末200は、設定変更指示パケットを受信した時にリセット猶予時間計測部10に設定していた時間が経過した時点でリセット信号15が発生し、制御部1がリセットされる。
In (S403), when the reset grace time elapses, the control unit 1 (setting change unit 45) changes the set value.
Specifically, similarly to the management device 100, when the reset grace time elapses, the reset grace time measurement unit 10 generates the reset signal 15. Then, the reset terminal of the control unit 1 is driven via the AND gate 12, and the control unit 1 is reset.
When reset, the control unit 1 executes an initialization process. In the initialization process, the control unit 1 (setting change unit 45) is stored in the CH1 stored in the frequency channel storage area of the FLASH memory 4, the PID1 stored in the PANID storage area, and the self address storage area. The own network address is set in the frequency channel setting unit 21, the PANID setting unit 22, and the address setting unit 23 of the RF interface unit 5, respectively. That is, the set value is changed. That is, the wireless terminal 200 starts to operate with the changed frequency channel and PANID instructed by the setting change instruction packet.
Here, even if there is a wireless terminal 200 that has failed to receive the reset instruction packet, the wireless terminal 200 has elapsed the time set in the reset window measurement unit 10 when the setting change instruction packet is received. At that time, the reset signal 15 is generated and the control unit 1 is reset.

以上のように、この実施の形態に係る管理装置100と無線端末200とによれば、管理装置100からネットワークの全ての無線端末200に対して周波数チャネル及びPANIDの設定変更指示パケットを送信し、応答が返ることを確認している。したがって、全ての無線端末200の周波数チャネル及びPANIDを確実に変更行うことができる。
また、全ての無線端末200に対する設定変更指示パケットが届いたことを確認した後、最小猶予時間でのリセット実行による周波数チャネル及びPANIDの変更を実行しているため、新しい周波数チャネル及び/もしくはPANIDへの移行が迅速に実行できる。そのため、データ収集などが不可能となる期間を最小化できる。
また、変更後の周波数チャネル及びPANIDを不揮発性記憶の記憶装置に記憶しておき、リセット後の初期化処理の中で設定を行うという方式をとっている。そのため、ネットワーク全体もしくは一部の電源を切断しても、所望した周波数チャネル及びPANIDでシステム動作を開始できる。そのため、より信頼性の高い無線アドホックネットワークシステムを構築できる。
As described above, according to the management apparatus 100 and the wireless terminal 200 according to this embodiment, the management apparatus 100 transmits the frequency channel and PANID setting change instruction packet to all the wireless terminals 200 in the network. Confirm that a response is returned. Therefore, the frequency channels and PANIDs of all the radio terminals 200 can be changed reliably.
In addition, after confirming that the setting change instruction packets for all the wireless terminals 200 have arrived, the frequency channel and PANID are changed by executing the reset with the minimum grace period. Migration can be performed quickly. Therefore, the period during which data collection is impossible can be minimized.
Further, the changed frequency channel and PANID are stored in a non-volatile storage device, and the setting is performed in the initialization process after reset. Therefore, the system operation can be started with a desired frequency channel and PANID even when the entire network or a part of the power supply is cut off. Therefore, a more reliable wireless ad hoc network system can be constructed.

なお、ここでは、無線端末200は、受信したリセット指示パケットの応答要否フィールドに応答不要がセットされているため、リセット応答パケットの送信は行わない。
もちろん、受信したリセット指示パケットの応答要否フィールドに応答要とセットされている場合には、無線端末200は、リセット応答パケットを管理装置100へ送信する。管理装置100は、リセット応答パケットを無線端末200から受信することで、無線端末200がリセット指示パケットを受信したことを確認できる。所定の時間が経過しても無線端末200からリセット応答パケットが送信されないときは、管理装置100は、リセット指示パケット無線端末200へ再送してもよい。この場合、リセット応答パケットが送信されない無線端末200のみへリセット指示パケットユニキャスト送信してもよい。
Here, wireless terminal 200 does not transmit a reset response packet because response unnecessary is set in the response necessity field of the received reset instruction packet.
Of course, if the response required field is set in the response necessity field of the received reset instruction packet, the wireless terminal 200 transmits a reset response packet to the management apparatus 100. The management apparatus 100 can confirm that the wireless terminal 200 has received the reset instruction packet by receiving the reset response packet from the wireless terminal 200. When the reset response packet is not transmitted from the wireless terminal 200 even after the predetermined time has elapsed, the management apparatus 100 may retransmit the reset instruction packet to the wireless terminal 200. In this case, the reset instruction packet unicast may be transmitted only to the wireless terminal 200 to which the reset response packet is not transmitted.

また、上記説明では、設定変更指示パケットを各無線端末200へユニキャスト送信する例を説明した。しかし、送信先としてブロードキャストアドレスを指定してブロードキャスト送信し、全ての無線端末200から設定変更応答パケットが返ったことを確認した後、リセット指示パケットを送信するとしてもよい。   In the above description, the example in which the setting change instruction packet is unicast transmitted to each wireless terminal 200 has been described. However, the broadcast instruction may be transmitted by designating the broadcast address as the transmission destination, and after confirming that the setting change response packets have been returned from all the wireless terminals 200, the reset instruction packet may be transmitted.

また、上記において管理装置100は1つのデバイスとして構成したが、管理装置100に相当する部分に無線端末200を置き、その無線端末200にシリアルやLAN等を経由して接続されたパソコンあるいはサーバにより管理装置100を構成しても良い。   In the above description, the management apparatus 100 is configured as a single device. However, the wireless terminal 200 is placed in a portion corresponding to the management apparatus 100, and the personal computer or server connected to the wireless terminal 200 via a serial or LAN is used. The management apparatus 100 may be configured.

また、上記の説明では、所定の時間が経っても無線端末200から設定変更応答パケットが送られてこない場合、設定変更指示パケットのリトライ送信を行なった。しかし、リトライ送信を行うか否かは任意である。   Further, in the above description, when the setting change response packet is not sent from the wireless terminal 200 even after a predetermined time, the setting change instruction packet is retried. However, whether or not to perform retry transmission is arbitrary.

つまり、この実施の形態に係る管理装置100は、
アドホックネットワークに接続された複数の無線端末200の情報を管理する管理装置100であり、
上記複数の無線端末200が通信に使用する周波数チャネルとPANIDとの少なくともいずれかの設定値を変更する場合に、変更後の設定値を含む変更指示情報を上記複数の無線端末200へ送信する変更指示送信部31と、
上記変更指示送信部31が送信した変更指示情報を上記複数の無線端末200の各無線端末200が受信した場合に上記各無線端末200から送信される応答信号を受信する応答受信部32と、
上記応答受信部32が上記各無線端末200から応答信号を受信した場合に、上記変更指示情報に含まれた変更後の設定値へ設定を変更させるリセット指示情報を上記複数の無線端末200へ送信するリセット指示送信部33と
を備えることを特徴とする。
That is, the management apparatus 100 according to this embodiment
A management device 100 that manages information of a plurality of wireless terminals 200 connected to an ad hoc network;
Change in which change instruction information including changed setting values is transmitted to the plurality of wireless terminals 200 when the setting values of at least one of frequency channels and PANIDs used by the plurality of wireless terminals 200 for communication are changed An instruction transmitter 31;
A response receiving unit 32 that receives a response signal transmitted from each wireless terminal 200 when each wireless terminal 200 of the plurality of wireless terminals 200 receives the change instruction information transmitted by the change instruction transmitting unit 31;
When the response receiving unit 32 receives a response signal from each of the wireless terminals 200, reset instruction information for changing the setting to the changed setting value included in the change instruction information is transmitted to the plurality of wireless terminals 200. And a reset instruction transmission unit 33.

また、管理装置100の上記変更指示送信部31は、上記各無線端末200へ所定の順序で変更指示情報をユニキャスト送信するとともに、変更指示情報の送信先の無線端末200から送信された応答信号を上記応答受信部32が受信したか否かを確認して、応答信号を上記応答受信部32が受信した場合に次の無線端末200へ変更指示情報を送信する
ことを特徴とする。
In addition, the change instruction transmission unit 31 of the management apparatus 100 unicasts the change instruction information to each of the wireless terminals 200 in a predetermined order, and a response signal transmitted from the wireless terminal 200 that is the transmission destination of the change instruction information. Is received by the response receiving unit 32, and when the response receiving unit 32 receives a response signal, the change instruction information is transmitted to the next radio terminal 200.

また、この実施の形態に係る無線端末200は、
アドホックネットワークに接続され、管理装置100により管理される無線端末200であり、
使用している周波数チャネルとPANIDとの少なくともいずれかの設定値を記憶する設定値記憶部46と、
周波数チャネルとPANIDとの少なくともいずれかの変更後の設定値を含む変更指示情報を管理装置100から受信する変更指示情報受信部42と、
設定値の変更を促すリセット指示情報を上記管理装置100から受信するリセット指示情報受信部44と、
上記リセット指示情報受信部44がリセット指示情報を受信した場合、上記設定値記憶部46が記憶した設定値を、上記変更指示情報受信部42が受信した変更指示情報に含まれる変更後の設定値に変更する設定変更部45と
を備えることを特徴とする。
In addition, the wireless terminal 200 according to this embodiment
A wireless terminal 200 connected to an ad hoc network and managed by the management apparatus 100;
A setting value storage unit 46 for storing setting values of at least one of the frequency channel being used and the PANID;
A change instruction information receiving unit 42 that receives change instruction information including a setting value after changing at least one of the frequency channel and the PANID from the management apparatus 100;
A reset instruction information receiving unit 44 for receiving reset instruction information for urging change of a setting value from the management apparatus 100;
When the reset instruction information receiving unit 44 receives the reset instruction information, the setting value stored in the setting value storage unit 46 is changed to the setting value after change included in the change instruction information received by the change instruction information receiving unit 42. And a setting changing unit 45 for changing to the above.

実施の形態2.
実施の形態1では、FLASHメモリ4に記憶されている自分自身の設定値(周波数チャネルとPANID)のみを変更するようにしていた。この実施の形態では、自分自身の設定値を変更するタイミングで、自分自身の設定値に加え、親デバイス(親無線端末200又は管理装置100)、子デバイス(子無線端末200)及び変更前に使用していたPANID及び周波数チャネルを使用しているデバイス(無線端末200)について、FLASHメモリ4に記憶していた周波数チャネル及びPANIDも変更する。
Embodiment 2. FIG.
In the first embodiment, only the own setting values (frequency channel and PANID) stored in the FLASH memory 4 are changed. In this embodiment, at the timing of changing the setting value of itself, in addition to the setting value of itself, the parent device (parent wireless terminal 200 or management apparatus 100), the child device (child wireless terminal 200), and before the change The frequency channel and PANID stored in the FLASH memory 4 are also changed for the device (wireless terminal 200) using the PANID and frequency channel that was used.

図10は、図5に示したネットワーク構成において、無線端末200Aが設定変更指示パケットを受信する前と受信した後のFLASHメモリ4に記憶した情報を示す図である。
図10に示すように、無線端末200のFLASHメモリ4には、自分自身の設定値情報だけでなく、他の無線端末200や管理装置100の設定値情報を記憶している。自分自身の設定(周波数チャネル設定部21、PANID設定部22、アドレス設定部23の設定)に使用する情報は自分自身の設定値情報であるが、他の無線端末200等と通信する際に他の無線端末200等の設定値情報を使用することもある。そのため、他の無線端末200等の設定値が変更された場合には、FLASHメモリ4に記憶した他の無線端末200の設定値情報も合わせて変更することが望ましい。
そこで、この実施の形態では、自分自身の設定変更がされる場合には、自分と同一ネットワークへ参入している無線端末200等も同様の設定変更がなされると仮定して、FLASHメモリ4の情報を書き換えする。
以下、無線端末200Aが、周波数チャネルをCH1、PANIDをPID1へ変更する設定変更指示パケットを受信した場合の処理を例としてこの実施の形態に係る無線端末200の動作を説明する。
なお、管理装置100の動作は、実施の形態1と同様である。
FIG. 10 is a diagram illustrating information stored in the FLASH memory 4 before and after the wireless terminal 200A receives the setting change instruction packet in the network configuration illustrated in FIG.
As shown in FIG. 10, the FLASH memory 4 of the wireless terminal 200 stores not only the setting value information of itself but also the setting value information of the other wireless terminal 200 and the management device 100. Information used for its own setting (setting of the frequency channel setting unit 21, the PANID setting unit 22, and the address setting unit 23) is its own set value information, but other information is used when communicating with other wireless terminals 200 or the like. The setting value information of the wireless terminal 200 or the like may be used. For this reason, when the setting value of the other wireless terminal 200 or the like is changed, it is desirable that the setting value information of the other wireless terminal 200 stored in the FLASH memory 4 is also changed.
Therefore, in this embodiment, when the own setting change is performed, it is assumed that the same setting change is also made in the wireless terminal 200 and the like participating in the same network as the own one. Rewrite information.
Hereinafter, the operation of radio terminal 200 according to this embodiment will be described by taking as an example a process when radio terminal 200A receives a setting change instruction packet for changing the frequency channel to CH1 and PANID to PID1.
The operation of the management apparatus 100 is the same as that in the first embodiment.

周波数チャネルがCH0、PANIDがPID0で動作していた無線端末200Aが、変更後周波数チャネルフィールドがCH1、変更後PANIDフィールドがPID1、リセット猶予時間フィールドがTIM_RHLにセットされた設定変更指示パケットを受信する。すると、無線端末200Aの制御部1(変更指示情報受信部42)はFLASHメモリ4の自分自身に対応する周波数チャネル記憶領域をCH0からCH1に書き換え、PANID記憶領域をPID0からPID1に書き換える。
さらに、この実施の形態に係る無線端末200Aの制御部1(変更指示情報受信部42)は、親デバイスである管理装置100用に記憶していた周波数チャネル記憶領域をCH0からCH1にPANID記憶領域をPID0からPID1に書き換える。図10では、隣接端末1が管理装置100である。
また、子デバイスである無線端末200C用に記憶していた周波数チャネル記憶領域をCH0からCH1に、PANID記憶領域をPID0からPID1に書き換える。図10では、隣接端末3が無線端末200Cである。
また、周波数チャネル及びPANIDが元使用していたCH0及びPID0に等しい無線端末200B用に記憶していた周波数チャネル記憶領域をCH0からCH1に、PANID記憶領域をPID0からPID1に書き換える。図10では、隣接端末2が無線端末200Bである。
一方、PANIDの異なる隣接端末4についての情報は書き換えない。
Radio terminal 200A operating with frequency channel CH0 and PANID PID0 receives a setting change instruction packet in which the changed frequency channel field is CH1, the changed PANID field is PID1, and the reset grace time field is set to TIM_RHL. . Then, the control unit 1 (change instruction information receiving unit 42) of the wireless terminal 200A rewrites the frequency channel storage area corresponding to itself in the FLASH memory 4 from CH0 to CH1, and rewrites the PANID storage area from PID0 to PID1.
Furthermore, the control unit 1 (change instruction information receiving unit 42) of the radio terminal 200A according to the present embodiment changes the frequency channel storage area stored for the management device 100, which is the parent device, from CH0 to CH1 as the PANID storage area. Is rewritten from PID0 to PID1. In FIG. 10, the adjacent terminal 1 is the management device 100.
Further, the frequency channel storage area stored for the radio terminal 200C as a child device is rewritten from CH0 to CH1, and the PANID storage area is rewritten from PID0 to PID1. In FIG. 10, the adjacent terminal 3 is the wireless terminal 200C.
In addition, the frequency channel storage area stored for the radio terminal 200B that is equal to CH0 and PID0 originally used for the frequency channel and PANID is rewritten from CH0 to CH1, and the PANID storage area is rewritten from PID0 to PID1. In FIG. 10, the adjacent terminal 2 is the wireless terminal 200B.
On the other hand, information about the adjacent terminal 4 having a different PANID is not rewritten.

そして、リセット猶予時間計測部10にTIM_RHLをセットして時間計測をスタートさせ、設定変更応答パケットを送信する。これ以外の動作は実施の形態1に係る無線端末200の動作と同じである。つまり、初期化処理により、FLASHメモリ4に記憶されていた設定に従い、RFインタフェース部5の周波数チャネル設定部21に設定された周波数チャネルがCH1、PANID設定部22に設定されたPANIDがPID1に設定される。   Then, TIM_RHL is set in the reset grace time measurement unit 10 to start time measurement, and a setting change response packet is transmitted. The other operations are the same as those of radio terminal 200 according to Embodiment 1. That is, according to the setting stored in the FLASH memory 4 by the initialization process, the frequency channel set in the frequency channel setting unit 21 of the RF interface unit 5 is set to CH1, and the PANID set in the PANID setting unit 22 is set to PID1. Is done.

以上のように、この実施の形態に係る無線端末200は、周波数チャネル及び/もしくはPANIDの設定変更指示パケットを受信すると、自分自身用の周波数チャネル設定及びPANID設定に加え、自身と直接無線通信が可能なデバイスに対応してFLASHメモリ4に記憶していた周波数チャネル及びPANIDに関する情報も変更後の最新状態に変更する。そのため、変更後の新しい設定で動作をした時に、保持している情報と実動作との食い違いがなくなり、信頼性の高いアドホックネットワークシステムを実現することができる。   As described above, when the radio terminal 200 according to this embodiment receives the frequency channel and / or PANID setting change instruction packet, in addition to its own frequency channel setting and PANID setting, the radio terminal 200 performs direct radio communication with itself. The information on the frequency channel and PANID stored in the FLASH memory 4 corresponding to the possible device is also changed to the latest state after the change. Therefore, when operating with the new settings after the change, there is no discrepancy between the stored information and the actual operation, and a highly reliable ad hoc network system can be realized.

つまり、この実施の形態に係る無線端末200は、上記実施の形態に係る無線端末200に加え、
上記設定値記憶部46は、さらに、他の無線端末200の周波数チャネルとPANIDとの設定値を記憶し、
上記設定変更部45は、上記設定値記憶部46が記憶した他の無線端末200の周波数チャネルとPANIDとの両方が、変更前の周波数チャネルとPANIDと同一である場合に、他の無線端末200の設定値を上記変更指示情報に含まれる変更後の設定値に変更する
ことを特徴とする。
That is, the radio terminal 200 according to this embodiment includes the radio terminal 200 according to the above embodiment,
The set value storage unit 46 further stores the set values of the frequency channel and the PANID of the other radio terminal 200,
When the frequency channel and PANID of the other radio terminal 200 stored in the setting value storage unit 46 are the same as the frequency channel and PANID before the change, the setting change unit 45 The set value is changed to a set value after change included in the change instruction information.

実施の形態3.
実施の形態1では、ネットワークの中の全ての無線端末200の電源が投入され動作できる状態にある場合に全ての無線端末200の周波数チャネル及び/もしくはPANIDを確実に変更できるようにした。この実施の形態では、ネットワークの何れかの無線端末200の電源が切断されている場合でも、電源が切断されている無線端末200を含め、全ての無線端末200の周波数チャネル及び/もしくはPANIDを確実に変更できる方法を説明する。
Embodiment 3 FIG.
In the first embodiment, the frequency channels and / or PANIDs of all the radio terminals 200 can be changed reliably when all the radio terminals 200 in the network are turned on and can operate. In this embodiment, even when one of the wireless terminals 200 in the network is turned off, the frequency channels and / or PANIDs of all the wireless terminals 200 including the wireless terminal 200 that is turned off are surely confirmed. A method that can be changed to will be described.

まず、概要を説明する。
この実施の形態では、まず、(A)電源が切断されていない無線端末200へ管理装置100が設定変更指示パケットを送信して設定変更を行うことにより、電源が切断されていない無線端末200と管理装置100との設定を変更する。次に、(B)電源が切断されていた無線端末200の電源が入った場合に所定の処理を行うことにより、電源が切断されていた無線端末200の設定を変更する。
まず、(A)の処理では、管理装置100は、電源が切断されている無線端末200から設定変更応答パケットが送信されないことを無視する。これにより、電源が切断されている無線端末200以外の全ての無線端末200へ設定変更指示パケットを送信できる。そして、実施の形態1で説明した処理により、無線端末200以外の全ての無線端末200と、管理装置100との設定を変更する。
次に(B)の処理では、無線端末200は、電源を入れられた際、管理装置100へ動作開始メッセージパケット(動作開始信号)を送信する。動作開始メッセージパケットを受信した管理装置100は、動作開始応答パケットを無線端末200へ返信する。無線端末200では、管理装置100から動作開始応答パケットが送信されない場合、つまり動作開始応答パケットが管理装置100へ届かない場合、電源が切断されている間に設定変更が行われたものと仮定して、周波数チャネルとPANIDとの設定値を暫定的に変更して、管理装置100へ動作開始メッセージパケットを改めて送信する。管理装置100から動作開始応答パケットが送信されるまで、設定値の変更と動作開始メッセージパケットの送信を繰り返す。そして、管理装置100から動作開始応答パケットが送信された際に使用している設定値が現在管理装置100等で使用されている値であるとして、その値に設定値を確定する。
First, an outline will be described.
In this embodiment, first, (A) the management apparatus 100 transmits a setting change instruction packet to the wireless terminal 200 whose power is not turned off to change the setting, whereby the wireless terminal 200 whose power is not turned off The setting with the management apparatus 100 is changed. Next, (B) the setting of the wireless terminal 200 that has been turned off is changed by performing a predetermined process when the wireless terminal 200 that has been turned off is turned on.
First, in the process (A), the management apparatus 100 ignores that the setting change response packet is not transmitted from the wireless terminal 200 whose power is turned off. Thereby, the setting change instruction packet can be transmitted to all the wireless terminals 200 other than the wireless terminal 200 whose power is turned off. And the setting of all the radio | wireless terminals 200 other than the radio | wireless terminal 200, and the management apparatus 100 is changed by the process demonstrated in Embodiment 1. FIG.
Next, in the process (B), the wireless terminal 200 transmits an operation start message packet (operation start signal) to the management apparatus 100 when the power is turned on. The management apparatus 100 that has received the operation start message packet returns an operation start response packet to the wireless terminal 200. In wireless terminal 200, when the operation start response packet is not transmitted from management device 100, that is, when the operation start response packet does not reach management device 100, it is assumed that the setting has been changed while the power is turned off. Thus, the setting values of the frequency channel and the PANID are provisionally changed, and the operation start message packet is transmitted to the management apparatus 100 again. Until the operation start response packet is transmitted from the management apparatus 100, the change of the setting value and the transmission of the operation start message packet are repeated. Then, assuming that the setting value used when the operation start response packet is transmitted from the management apparatus 100 is the value currently used by the management apparatus 100 or the like, the setting value is determined to that value.

次に、図を用いて、詳細に説明する。
図11は、この実施の形態に係る管理装置100の構成を示すブロック図である。
この実施の形態に係る管理装置100について、実施の形態1に係る管理装置100と異なる部分のみ説明する。
この実施の形態に係る管理装置100の制御部1は、実施の形態1に係る管理装置100の制御部1と有する機能が異なる。この実施の形態に係る管理装置100の制御部1は、さらに、確認信号送信部36を備える。これらの機能については無線端末200の動作の説明において詳述する。
また、この実施の形態に係る管理装置100のFLASHメモリ4は、応答無視許可情報記憶部37の一例である。FLASHメモリ4の記憶する情報については後述する。
Next, it explains in detail using a figure.
FIG. 11 is a block diagram showing the configuration of the management apparatus 100 according to this embodiment.
Only the parts of the management apparatus 100 according to this embodiment that are different from the management apparatus 100 according to the first embodiment will be described.
The control unit 1 of the management apparatus 100 according to this embodiment is different in function from the control unit 1 of the management apparatus 100 according to the first embodiment. The control unit 1 of the management apparatus 100 according to this embodiment further includes a confirmation signal transmission unit 36. These functions will be described in detail in the description of the operation of the wireless terminal 200.
Further, the FLASH memory 4 of the management device 100 according to this embodiment is an example of the response ignorance permission information storage unit 37. Information stored in the FLASH memory 4 will be described later.

図12は、この実施の形態に係る無線端末200の構成を示すブロック図である。
この実施の形態に係る無線端末200について、実施の形態1に係る無線端末200と異なる部分のみ説明する。
この実施の形態に係る無線端末200の制御部1は、実施の形態1に係る無線端末200の制御部1と有する機能が異なる。この実施の形態に係る無線端末200の制御部1は、さらに、開始信号送信部47、確認信号受信部48を備える。これらの機能については無線端末200の動作の説明において詳述する。
FIG. 12 is a block diagram showing a configuration of radio terminal 200 according to this embodiment.
Only a portion of radio terminal 200 according to this embodiment that is different from radio terminal 200 according to Embodiment 1 will be described.
The control unit 1 of the wireless terminal 200 according to this embodiment is different in function from the control unit 1 of the wireless terminal 200 according to Embodiment 1. The control unit 1 of the wireless terminal 200 according to this embodiment further includes a start signal transmission unit 47 and a confirmation signal reception unit 48. These functions will be described in detail in the description of the operation of the wireless terminal 200.

図13は、この実施の形態に係る管理装置100のFLASHメモリ4が記憶した情報を示す図ある。
この実施の形態の管理装置100のFLASHメモリ4は、応答無視許可フラグ(応答無視許可情報)を記憶する応答無視許可フラグ領域を設けている。
応答無視許可フラグは、設定変更応答パケットが送信されないことを無視可能か否かを示す。つまり、応答無視許可フラグをコントロールすることにより、電源が切断されている無線端末200から応答がないことを無視するか否かをコントロールできる。
応答無視許可フラグ領域がセット状態(応答無視可能)に設定されている場合、設定変更応答パケットの受信がタイムアウトしたことを無視して次の動作を行うことが許可される。すなわち、応答無視許可フラグ領域がセット状態に設定されている場合、電源が切断されている無線端末200から応答がないことを無視可能である。一方、応答無視許可フラグ領域がリセット状態(応答無視不可能)に設定されている場合、設定変更応答パケットの受信がタイムアウトした場合、設定変更指示パケットの送信リトライを行う必要がある。
以下の説明においては、応答無視許可フラグはセット状態になっているものとする。
FIG. 13 is a diagram showing information stored in the FLASH memory 4 of the management apparatus 100 according to this embodiment.
The FLASH memory 4 of the management apparatus 100 of this embodiment is provided with a response ignore permission flag area for storing a response ignore permission flag (response ignore permission information).
The response ignorance permission flag indicates whether or not the setting change response packet is not transmitted. That is, by controlling the response ignorance permission flag, it is possible to control whether or not to ignore the response from the wireless terminal 200 that is powered off.
When the response ignorance permission flag area is set to the set state (response ignorable), it is permitted to perform the next operation while ignoring the reception of the setting change response packet. That is, when the response ignorance permission flag area is set to the set state, it can be ignored that there is no response from the wireless terminal 200 whose power is turned off. On the other hand, when the response ignore permission flag area is set to the reset state (response cannot be ignored), when the reception of the setting change response packet times out, it is necessary to retry transmission of the setting change instruction packet.
In the following description, it is assumed that the response ignore permission flag is set.

図14は、アドホックネットワークのシステム構成の一例を示す図である。図14では、説明を簡単にするために、アドホックネットワークは、1台の管理装置100と無線端末200A、無線端末200B、無線端末200Cからなるネットワークシステムとを備える。また、図14において、管理装置100と無線端末200とは、図5に示す構成と同様な親子関係及び隣接関係にある。さらに、管理装置100のFLASHメモリ4には応答無視許可フラグ領域が確保され、セット状態(応答無視可能)に設定されている。また、さらに、無線端末200Bは、電源が切断されているものとする。また、無線端末200Dは別システムに属する装置で、無線が管理装置100及び無線端末200Aに届くところにいるものとする。
図14の構成において、実施の形態1の場合と同様に、現在のPANIDがPID0で、周波数チャネルがCH0で動作しているネットワークをPANIDがPID1、周波数チャネルがCH1で動作するように変更する場合の動作を説明する。つまり、現在、管理装置100と各無線端末200とのRFインタフェース部5が備える周波数チャネル設定部21にはCH0が設定され、PANID設定部22にはPID0が設定されている状態である。そして、管理装置100と各無線端末200とのRFインタフェース部5が備える周波数チャネル設定部21の設定をCH1へ、PANID設定部22の設定をPID1へ変更する動作を説明する。
FIG. 14 is a diagram illustrating an example of a system configuration of an ad hoc network. In FIG. 14, in order to simplify the description, the ad hoc network includes one management apparatus 100 and a network system including the radio terminal 200A, the radio terminal 200B, and the radio terminal 200C. Further, in FIG. 14, the management device 100 and the wireless terminal 200 have the same parent-child relationship and adjacent relationship as the configuration shown in FIG. 5. Further, a response ignore permission flag area is secured in the FLASH memory 4 of the management apparatus 100 and is set to a set state (response can be ignored). Furthermore, it is assumed that the wireless terminal 200B is turned off. In addition, it is assumed that the wireless terminal 200D is an apparatus belonging to another system and is in a place where the wireless reaches the management apparatus 100 and the wireless terminal 200A.
In the configuration of FIG. 14, as in the case of the first embodiment, a network operating with the current PANID PID0 and the frequency channel CH0 is changed to operate with the PANID PID1 and the frequency channel CH1. The operation of will be described. In other words, CH0 is set in the frequency channel setting unit 21 provided in the RF interface unit 5 between the management apparatus 100 and each wireless terminal 200, and PID0 is set in the PANID setting unit 22. An operation of changing the setting of the frequency channel setting unit 21 included in the RF interface unit 5 of the management apparatus 100 and each wireless terminal 200 to CH1 and changing the setting of the PANID setting unit 22 to PID1 will be described.

図15と図7から図9までとに基づき、(A)の処理について説明する。図15は、この実施の形態に係る管理装置100が設定変更指示パケットを送信する際の動作を示すフローチャートである。
まず、図15と図7とに基づき、管理装置100が設定変更指示パケットを送信する際の動作と、無線端末200が設定変更指示パケットを受信した際の動作とを説明する。なお、前提となる事項は、実施の形態1と同様である。また、無線端末200が設定変更指示パケットを受信した際の動作は図7に基づき説明した動作と同様である。
Based on FIG. 15 and FIGS. 7 to 9, the process (A) will be described. FIG. 15 is a flowchart showing an operation when the management apparatus 100 according to this embodiment transmits a setting change instruction packet.
First, an operation when the management apparatus 100 transmits a setting change instruction packet and an operation when the wireless terminal 200 receives the setting change instruction packet will be described with reference to FIGS. 15 and 7. The prerequisite items are the same as those in the first embodiment. The operation when the wireless terminal 200 receives the setting change instruction packet is the same as the operation described based on FIG.

(S501)から(S507)までは、(S101)から(S107)までと同様である。また、(S509)から(S511)までは、(S108)から(S110)までと同様である。
つまり、管理装置100の制御部1(変更指示送信部31)は、デバイスアドレステーブルのエントリ読み取りポインタを初期化して(S501)、設定端末数カウント部13に3を設定する(S502)。その後、制御部1(変更指示送信部31)は、宛先のアドレスを読み出して(S503)、設定変更指示パケットを作成して(S504)、無線端末200A宛てに送信する(S505)。設定変更指示パケットの送信後、設定変更応答パケットを受信したかを確認するとともに(S506)、所定の時間が経過したか否かを確認する(S507)。設定変更応答パケットを受信した場合(S506でYes)、設定端末数カウント部13が設定端末カウントを1カウントダウンして(S509)、制御部1(変更指示送信部31)は設定端末カウントが0か否かを確認する(S510)。そして、設定端末カウントが0でないなら(S510でNo)、エントリ読み取りポインタを+1して(S511)、(S503)へ戻り次の無線端末200へ設定変更指示パケットを送信する。
(S501) to (S507) are the same as (S101) to (S107). Further, (S509) to (S511) are the same as (S108) to (S110).
That is, the control unit 1 (change instruction transmission unit 31) of the management apparatus 100 initializes the entry read pointer of the device address table (S501), and sets 3 in the set terminal count unit 13 (S502). Thereafter, the control unit 1 (change instruction transmission unit 31) reads the address of the destination (S503), creates a setting change instruction packet (S504), and transmits it to the radio terminal 200A (S505). After transmitting the setting change instruction packet, it is confirmed whether a setting change response packet has been received (S506) and whether a predetermined time has passed (S507). When the setting change response packet is received (Yes in S506), the setting terminal count unit 13 counts down the setting terminal count by 1 (S509), and the control unit 1 (change instruction transmission unit 31) has the setting terminal count of 0? It is confirmed whether or not (S510). If the set terminal count is not 0 (No in S510), the entry read pointer is incremented by 1 (S511), the process returns to (S503), and a setting change instruction packet is transmitted to the next wireless terminal 200.

ここでは、無線端末200Aは、電源が入っており、(S507)で計測する所定の時間内に設定変更応答パケットを受信したものとする(S506でYes)。
つまり、無線端末200Aでは、設定変更指示パケットを受信し、設定変更指示パケットのチェックを行い(S201)、設定値を暫定的に記憶する(S202)。そして、無線端末200Aは、設定変更応答パケットを作成して送信する(S203、S204)。つまり、自分宛の設定変更指示パケットを受信した無線端末200Aは、FLASHメモリ4が変更後の周波数チャネルCH1と変更後のPANIDの値PID1を記憶し、リセット猶予時間計測部10がTIM_RHLをセットして時間計測を開始させた後、設定変更応答パケットを送信する。
Here, it is assumed that the wireless terminal 200A is turned on and has received the setting change response packet within the predetermined time measured in (S507) (Yes in S506).
That is, the radio terminal 200A receives the setting change instruction packet, checks the setting change instruction packet (S201), and temporarily stores the setting value (S202). Then, the radio terminal 200A creates and transmits a setting change response packet (S203, S204). That is, the wireless terminal 200A that has received the setting change instruction packet addressed to itself stores the changed frequency channel CH1 and the changed PANID value PID1 in the FLASH memory 4, and the reset grace time measuring unit 10 sets TIM_RHL. After the time measurement is started, a setting change response packet is transmitted.

管理装置100は、設定端末数カウント部13が設定端末カウントを1カウントダウンした後(S509)、改めて(S503)へ戻り、次の無線端末200Bへ設定変更指示パケットを作成して(S504)、送信する(S505)。
ここで、無線端末200Bは電源が切断されている。そのため、応答受信タイムアウト時間が経過しても設定変更応答パケットが受信されない(S507でNo)。
そこで、(S508)では、制御部1(変更指示送信部31)は、FLASHメモリ4に記憶されている応答無視許可フラグの設定をチェックする。応答無視許可フラグがセット状態になっている場合(S508でYes)、設定変更応答パケットの受信はしていないことを無視して(S509)へ進む。一方、応答無視許可フラグがリセット状態になっている場合(S508でNo)、設定変更パケットを再送信するため(S505)へ戻る。
ここでは、応答無視許可フラグは、セット状態になっているため(S508でYes)、設定変更応答パケットの受信はしていないが、(S509)へ進む。
After the set terminal count section 13 counts down the set terminal count by 1 (S509), the management apparatus 100 returns to (S503), creates a setting change instruction packet for the next wireless terminal 200B (S504), and transmits it. (S505).
Here, the wireless terminal 200B is powered off. For this reason, the setting change response packet is not received even if the response reception timeout period elapses (No in S507).
Therefore, in (S508), the control unit 1 (change instruction transmission unit 31) checks the setting of the response ignore permission flag stored in the FLASH memory 4. If the response ignore permission flag is set (Yes in S508), it is ignored that the setting change response packet has not been received, and the process proceeds to (S509). On the other hand, when the response ignorance permission flag is in the reset state (No in S508), the process returns to S505 to retransmit the setting change packet.
Here, since the response ignore permission flag is set (Yes in S508), the setting change response packet is not received, but the process proceeds to (S509).

そして、設定端末数カウント部13が設定端末カウントを1カウントダウンした後(S509)、改めて(S503)へ戻り、次の無線端末200Cへ設定変更指示パケットを作成して(S504)、送信する(S505)。
ここでは、無線端末200Cは、電源が入っており、(S507)で計測する所定の時間内に設定変更応答パケットを受信したものとする(S506でYes)。
つまり、無線端末200Cでは、設定変更指示パケットを受信し、設定変更指示パケットのチェックを行い(S201)、設定値を暫定的に記憶する(S202)。そして、無線端末200Cは、設定変更応答パケットを作成して送信する(S203、S204)。つまり、自分宛の設定変更指示パケットを受信した無線端末200Cは、FLASHメモリ4が変更後の周波数チャネルCH1と変更後のPANIDの値PID1を記憶し、リセット猶予時間計測部10がTIM_RHLをセットして時間計測を開始させた後、設定変更応答パケットを送信する。
Then, after the set terminal count section 13 counts down the set terminal count by 1 (S509), the process returns to (S503), creates a setting change instruction packet to the next wireless terminal 200C (S504), and transmits it (S505). ).
Here, it is assumed that the wireless terminal 200C is turned on and has received the setting change response packet within the predetermined time measured in (S507) (Yes in S506).
That is, the wireless terminal 200C receives the setting change instruction packet, checks the setting change instruction packet (S201), and temporarily stores the setting value (S202). Then, the radio terminal 200C creates and transmits a setting change response packet (S203, S204). That is, in the wireless terminal 200C that has received the setting change instruction packet addressed to itself, the FLASH memory 4 stores the changed frequency channel CH1 and the changed PANID value PID1, and the reset grace time measuring unit 10 sets TIM_RHL. After the time measurement is started, a setting change response packet is transmitted.

無線端末200Cから設定変更応答パケットを受信した管理装置100では、設定端末数カウント部13が設定端末カウントを1カウントダウンする。その結果、設定端末数カウント部13が0になるため(S510でYes)、設定変更指示パケットの送信処理を終了する。そして、管理装置100は、リセット設定指示パケットを送信する。
続いて、図8、図9に基づき、管理装置100がリセット指示パケットを送信する際の動作と、無線端末200がリセット指示パケットを受信した際の動作とを説明する。管理装置100がリセット指示パケットを送信する際の動作は、図8に基づき説明した動作と同様である。また、無線端末200がリセット指示パケットを受信した際の動作は、図9に基づき説明した動作と同様である。
In the management apparatus 100 that has received the setting change response packet from the wireless terminal 200C, the setting terminal count section 13 counts down the setting terminal count by one. As a result, the set terminal number counting unit 13 becomes 0 (Yes in S510), and the transmission process of the setting change instruction packet is ended. Then, the management apparatus 100 transmits a reset setting instruction packet.
Next, an operation when the management apparatus 100 transmits a reset instruction packet and an operation when the wireless terminal 200 receives the reset instruction packet will be described with reference to FIGS. The operation when the management apparatus 100 transmits the reset instruction packet is the same as the operation described based on FIG. The operation when the wireless terminal 200 receives the reset instruction packet is the same as the operation described based on FIG.

つまり、管理装置100では、制御部1(リセット指示送信部33)は、リセット指示パケットを作成して(S301)、リセット指示パケットをブロードキャスト送信する(S302)。リセット猶予時間計測部10は、リセット指示パケットを送信した後、リセット猶予時間(TIM_MIN)をセットし、リセット猶予時間の計測を開始する(S303)。そして、リセット猶予時間が経過すると、制御部1(設定変更部34)は、設定値を変更する(S304)。
一方、リセット指示パケットを受信した無線端末200(ここでは、電源の入っていない無線端末200B以外の無線端末200Aと無線端末200C)では、リセット指示パケットを受信して(S401)、それぞれの無線端末200へ宛てたリセット猶予時間計測手段にパケットで指示されたリセット猶予時間をセットして計測を開始する(S402)。リセット猶予時間が経過すると、無線端末200B以外でリセット処理が実行され、設定値が変更される(S403)。その後、変更後の周波数チャネル(CH1)と変更後のPANID(PID1)とでネットワーク動作が開始される。
つまり、以上の処理により、電源が切断されていない無線端末200と管理装置100との設定が確実に変更される。
That is, in the management apparatus 100, the control unit 1 (reset instruction transmission unit 33) creates a reset instruction packet (S301) and broadcasts the reset instruction packet (S302). After transmitting the reset instruction packet, the reset window time measurement unit 10 sets the reset window time (TIM_MIN) and starts measuring the reset window time (S303). When the reset grace time elapses, the control unit 1 (setting change unit 34) changes the set value (S304).
On the other hand, the wireless terminal 200 that has received the reset instruction packet (in this case, the wireless terminal 200A and the wireless terminal 200C other than the wireless terminal 200B that is not turned on) receives the reset instruction packet (S401), and each wireless terminal The reset delay time indicated by the packet is set in the reset delay time measuring means addressed to 200, and measurement is started (S402). When the reset grace time elapses, reset processing is executed by a device other than the wireless terminal 200B, and the setting value is changed (S403). Thereafter, the network operation is started with the changed frequency channel (CH1) and the changed PANID (PID1).
In other words, the settings of the wireless terminal 200 and the management apparatus 100 that are not turned off are reliably changed by the above processing.

次に、図16に基づき(B)の処理について説明する。図16は、この実施の形態に係るこの実施の形態に係る無線端末200の初期化処理の動作を示すフローチャートである。つまり、(B)の処理は、リセット処理の中で行われる。
したがって、(B)の処理は、電源が切断されていた無線端末200(ここでは、無線端末200B)の設定を変更するための処理であるが、電源が切断されていた無線端末200(ここでは、無線端末200B)だけでなく、電源が切断されていなかった無線端末200(ここでは、無線端末200A、無線端末200C)も実行する。
Next, the process (B) will be described with reference to FIG. FIG. 16 is a flowchart showing the operation of the initialization process of radio terminal 200 according to this embodiment according to this embodiment. That is, the process (B) is performed in the reset process.
Therefore, the process (B) is a process for changing the setting of the wireless terminal 200 that has been turned off (here, the wireless terminal 200B). In addition to the wireless terminal 200B), the wireless terminal 200 (in this case, the wireless terminal 200A and the wireless terminal 200C) that has not been powered off is also executed.

(S601)から(S604)まででは、制御部1は初期化処理を実行する。初期化処理では、FLASHメモリ4の周波数チャネル記憶領域に記憶されていたCH1、PANID記憶領域に記憶されていたPID1、及びセルフアドレス記憶領域に記憶されていた自身のネットワークアドレスを読み出して、暫定的にRFインタフェース部5に設定する。   From (S601) to (S604), the control unit 1 executes an initialization process. In the initialization process, the CH1 stored in the frequency channel storage area of the FLASH memory 4, the PID1 stored in the PANID storage area, and the own network address stored in the self address storage area are read out temporarily. To the RF interface unit 5.

(S605)では、制御部1(開始信号送信部47)は、動作開始メッセージパケットを作成する。
動作開始メッセージパケットは、ヘッダ部とデータ部とを備える。動作開始メッセージパケットのヘッダ部は設定変更応答パケットのヘッダ部と同様である。また、動作開始メッセージパケットのデータ部は、コマンドコードフィールドを備える。
ヘッダ部に設定される情報は、上記実施の形態と同様である。また、データ部のコマンドコードフィールドには、動作開始メッセージコマンドが設定される。
In (S605), the control unit 1 (start signal transmission unit 47) creates an operation start message packet.
The operation start message packet includes a header part and a data part. The header part of the operation start message packet is the same as the header part of the setting change response packet. The data portion of the operation start message packet includes a command code field.
The information set in the header part is the same as in the above embodiment. An operation start message command is set in the command code field of the data portion.

(S606)では、制御部1(開始信号送信部47)は、送信リトライ回数を任意のN回に設定してFLASHメモリ4やRAM3に記憶する。
(S607)では、制御部1(開始信号送信部47)は、動作開始メッセージパケットを管理装置100へ送信する。
In (S606), the control unit 1 (start signal transmission unit 47) sets the number of transmission retries to an arbitrary N times and stores it in the FLASH memory 4 and the RAM 3.
In (S607), the control unit 1 (start signal transmission unit 47) transmits an operation start message packet to the management apparatus 100.

(S608)では、制御部1(確認信号受信部48)は、動作開始応答パケット(動作確認信号)を受信したか否かを確認する。
管理装置100の制御部1(確認信号送信部36)は動作開始メッセージパケットを受信すると、動作開始応答パケットを動作開始メッセージパケットの送信元の無線端末200へ送信する。つまり、制御部1(応答受信部32)が動作開始応答パケットを受信することで、無線端末200が設定変更指示パケットを受信したことを確認できる。
動作開始応答パケットを受信した場合(S608でYes)、(S609)へ進む。一方、動作開始応答パケットを受信していない場合(S608でNo)、(S610)へ進む。
In (S608), the control unit 1 (confirmation signal receiving unit 48) confirms whether or not an operation start response packet (operation confirmation signal) has been received.
When receiving the operation start message packet, the control unit 1 (confirmation signal transmission unit 36) of the management apparatus 100 transmits an operation start response packet to the wireless terminal 200 that is the transmission source of the operation start message packet. That is, when the control unit 1 (response receiving unit 32) receives the operation start response packet, it can be confirmed that the wireless terminal 200 has received the setting change instruction packet.
When the operation start response packet is received (Yes in S608), the process proceeds to (S609). On the other hand, when the operation start response packet has not been received (No in S608), the process proceeds to (S610).

(S609)では、FLASHメモリ4から読み込んだ設定値で管理装置100との通信ができることが確認できたので、制御部1(設定変更部45)は、設定値をRFインタフェース部5に暫定的に設定した値に確定する。また、制御部1(設定変更部45)は、確定した値をFLASHメモリ4に記憶する。   In (S609), since it has been confirmed that communication with the management apparatus 100 can be performed using the setting value read from the FLASH memory 4, the control unit 1 (setting changing unit 45) provisionally sends the setting value to the RF interface unit 5. Confirm to the set value. Further, the control unit 1 (setting change unit 45) stores the determined value in the FLASH memory 4.

(S610)では、制御部1(確認信号受信部48)は、動作開始メッセージパケットを送信してから所定の時間が経過したか否かを確認する。所定の時間が経過している場合には、制御部1(確認信号受信部48)は、タイムアウトであると判断し、動作開始メッセージパケットが管理装置100へ到達しなかったとみなす。
所定の時間が経過した場合(S610でYes)、(S611)へ進む。一方、所定の時間が経過していない場合(S610でNo)、(S608)へ戻り、改めて設定変更応答パケットを受信したか否かを確認する。
In (S610), the control unit 1 (confirmation signal receiving unit 48) confirms whether or not a predetermined time has elapsed since the operation start message packet was transmitted. When the predetermined time has elapsed, the control unit 1 (confirmation signal receiving unit 48) determines that a timeout has occurred, and regards that the operation start message packet has not reached the management apparatus 100.
If the predetermined time has elapsed (Yes in S610), the process proceeds to (S611). On the other hand, if the predetermined time has not elapsed (No in S610), the process returns to (S608), and it is confirmed whether a setting change response packet has been received again.

ここでは、無線端末200Bを除く無線端末200Aと無線端末200Cとは、設定値が正しく変更され、管理装置100と通信可能な状態である。そのため、リセットされ、改めて動作が開始した時、無線端末200Aと無線端末200Cとが動作開始メッセージパケットを管理装置100へ送信すると、管理装置100から動作開始応答パケットが返信される。その結果、無線端末200Aと無線端末200Cとは、返信された動作開始応答パケットを受信する(S608でYes)。そして、無線端末200Aと無線端末200Cとは、設定値を確定させ通常の通信動作を開始する(S609)。こうして、管理装置100と電源が投入されていた全ての無線端末200は、周波数チャネル及びPANIDの設定変更が完了し、通常の通信動作が実行できることが確認される。
一方、無線端末200Bは、管理装置100や他の無線端末200で周波数チャネル及びPANIDの変更がされたことが分からない。そのため、電源が投入された時点では、変更前(周波数チャネルがCH0、PANIDがPID0)の設定で初期化が実行される。そして、変更前の設定で管理装置100に対して動作開始メッセージパケットを送信する。しかし、周波数チャネルとPANIDの設定が異なるため、動作開始メッセージパケットは管理装置100に届かない。したがって、一定時間経過しても、動作開始応答の受信が行われない(S608でNo、S610でYes)。したがって、無線端末200Bは以下に説明する処理を行い、設定値を確定させる。
Here, the wireless terminal 200A and the wireless terminal 200C except the wireless terminal 200B are in a state in which the setting value is correctly changed and communication with the management apparatus 100 is possible. Therefore, when the wireless terminal 200A and the wireless terminal 200C transmit an operation start message packet to the management apparatus 100 when the operation is reset and the operation is started again, an operation start response packet is returned from the management apparatus 100. As a result, the wireless terminal 200A and the wireless terminal 200C receive the returned operation start response packet (Yes in S608). Then, the wireless terminal 200A and the wireless terminal 200C determine the set value and start a normal communication operation (S609). In this way, it is confirmed that the management apparatus 100 and all the wireless terminals 200 that have been powered on have completed the frequency channel and PANID setting change and can perform normal communication operations.
On the other hand, the radio terminal 200B does not know that the frequency channel and the PANID have been changed in the management apparatus 100 or another radio terminal 200. Therefore, when the power is turned on, initialization is executed with the settings before the change (frequency channel is CH0, PANID is PID0). Then, an operation start message packet is transmitted to the management apparatus 100 with the settings before the change. However, since the frequency channel and PANID settings are different, the operation start message packet does not reach the management apparatus 100. Therefore, even if the predetermined time has elapsed, the operation start response is not received (No in S608, Yes in S610). Therefore, the radio terminal 200B performs the process described below to determine the set value.

(S611)では、制御部1(開始信号送信部47)は、送信リトライ回数を−1する。
(S612)では、制御部1(開始信号送信部47)は、送信リトライ回数が0になったか否かを判定する。送信リトライ回数が0であれば(S612でYes)、(S613)へ進む。一方、送信リトライ回数が0でなければ(S612でNo)、(S607)へ戻り、動作開始メッセージパケットを再送する。
つまり、無線端末200Bの制御部1(開始信号送信部47)は動作開始メッセージパケットの送信リトライを実行する。しかし、設定値が異なるため、何度送信リトライを行っても動作開始メッセージは管理装置100に届かず、動作開始応答の受信が行われない(S608でNo)。無線端末200Bの制御部1(開始信号送信部47)は、N回リトライ送信が失敗することになる(S612でYes)。
In (S611), the control unit 1 (start signal transmission unit 47) decrements the number of transmission retries by -1.
In (S612), the control unit 1 (start signal transmission unit 47) determines whether or not the number of transmission retries has become zero. If the number of transmission retries is 0 (Yes in S612), the process proceeds to (S613). On the other hand, if the number of transmission retries is not 0 (No in S612), the process returns to (S607) to retransmit the operation start message packet.
That is, the control unit 1 (start signal transmission unit 47) of the radio terminal 200B executes transmission retry of the operation start message packet. However, since the set values are different, the operation start message does not reach the management apparatus 100 and the operation start response is not received regardless of the number of transmission retries (No in S608). The control unit 1 (start signal transmission unit 47) of the wireless terminal 200B fails to retry N times (Yes in S612).

(S613)と(S614)とでは、制御部1(開始信号送信部47)は、周波数チャネルの設定値を1チャネル進める。つまり、制御部1(開始信号送信部47)は、予め決められた使用する予定の周波数チャネルの内、次に設定された値を選択する。次に設定された値がない場合には(S614でYes)、(S615)へ進む。一方、次に設定された値がある場合には(S615でNo)、(S604)へ戻り、選択した周波数チャネルをRFインタフェース部5の周波数チャネル設定部21に設定して、動作開始メッセージパケットを送信する。
つまり、無線端末200Bの制御部1(開始信号送信部47)は、周波数チャネルを1チャネル変更し(S613,S614,S604)、CH1にして、管理装置100に対して動作開始メッセージパケットを送信する(S605−S612)。しかし、PANIDが異なるため、管理装置100は動作開始メッセージを受信しても、破棄してしまう。無線端末200Bでは動作開始応答パケットが一定時間内に返送されないため(S608,S610)、リトライの動作開始メッセージ送信を行う。そして、N回リトライ送信が失敗すると(S612でYes)、周波数チャネルをさらに1チャネル変更して(S613,S614,S604)、動作開始メッセージのリトライ送信を続ける(S605−S612)。そして、全ての周波数チャネルにおいて、N回のリトライ送信が全て失敗することになる。
In (S613) and (S614), control unit 1 (start signal transmission unit 47) advances the set value of the frequency channel by one channel. That is, the control unit 1 (start signal transmission unit 47) selects the next set value from the predetermined frequency channels to be used. Next, when there is no set value (Yes in S614), the process proceeds to (S615). On the other hand, when there is a value set next (No in S615), the process returns to (S604), the selected frequency channel is set in the frequency channel setting unit 21 of the RF interface unit 5, and an operation start message packet is set. Send.
That is, the control unit 1 (start signal transmission unit 47) of the wireless terminal 200B changes the frequency channel by one channel (S613, S614, S604), changes to CH1, and transmits an operation start message packet to the management apparatus 100. (S605-S612). However, since the PANID is different, the management apparatus 100 discards the operation start message even if it receives the operation start message. The wireless terminal 200B does not return an operation start response packet within a predetermined time (S608, S610), and therefore transmits a retry operation start message. If the retry transmission fails N times (Yes in S612), the frequency channel is further changed by one channel (S613, S614, S604), and the retry transmission of the operation start message is continued (S605-S612). Then, all N times of retry transmissions fail in all frequency channels.

(S615)では、次に設定された値がない場合、つまり、全ての周波数チャネルにおいてN回のリトライ送信が失敗した場合(S614でYes)、制御部1(開始信号送信部47)は、最大の周波数チャネルで失敗した場合には最小の周波数チャネルに変更する。
(S616)と(S617)とでは、制御部1(開始信号送信部47)は、PANIDの設定値を次候補に進める。つまり、制御部1(開始信号送信部47)は、予め決められた使用する予定のPANIDの内、次に設定された値を選択する。次に設定された値がない場合には(S617でYes)、(S618)へ進む。一方、次に設定された値がある場合には(S617でNo)、(S604)へ戻り、選択したPANIDをRFインタフェース部5のPANID設定部22に設定して、動作開始メッセージパケットを送信する。
つまり、無線端末200Bの制御部1(開始信号送信部47)は、周波数チャネルを最小の周波数チャネルに変更するとともに(S615)、PANIDを次のPANID候補に変更して(S616,S617,S604)、動作開始メッセージパケットを送信する(S605−S612)。すなわち、PID0からPID1に変更する。そして、周波数チャネルはCH0で動作開始メッセージパケットの送信を実施する。しかし、周波数チャネルが異なるため、管理装置100にはパケットが届かず、無線端末200Bは一定時間内に動作開始応答が受信されないため(S608,S610)、動作開始メッセージのリトライ送信を実行し、N回失敗する(S612でYes)。
In (S615), when there is no value set next, that is, when N times of retry transmissions fail in all frequency channels (Yes in S614), the control unit 1 (start signal transmission unit 47) If the frequency channel fails, the frequency channel is changed to the minimum frequency channel.
In (S616) and (S617), control unit 1 (start signal transmission unit 47) advances the set value of PANID to the next candidate. That is, the control unit 1 (start signal transmission unit 47) selects the next set value from the predetermined PANID scheduled to be used. Next, when there is no set value (Yes in S617), the process proceeds to (S618). On the other hand, if there is a value set next (No in S617), the process returns to (S604), sets the selected PANID in the PANID setting unit 22 of the RF interface unit 5, and transmits an operation start message packet. .
That is, the control unit 1 (start signal transmission unit 47) of the wireless terminal 200B changes the frequency channel to the minimum frequency channel (S615) and changes the PANID to the next PANID candidate (S616, S617, S604). The operation start message packet is transmitted (S605-S612). That is, PID0 is changed to PID1. The frequency channel uses CH0 to transmit an operation start message packet. However, since the frequency channel is different, the packet does not reach the management apparatus 100, and the wireless terminal 200B does not receive the operation start response within a certain time (S608, S610). Times failed (Yes in S612).

そして、周波数チャネルをCH0から1チャネル進めてCH1にし(S613)、PANIDはPID1で動作開始メッセージの送信行う(S605−S612)。すると、管理装置100は動作開始メッセージを受信し、送信元である無線端末200Bに対して動作開始応答を送信する。その結果、制御部1(確認信号受信部48)は、動作開始応答を受信し(S608でYes)、その時の周波数チャネル(CH1)及びPANID(PID1)の設定を、FLASHメモリ4の自分自身に対する周波数チャネル記憶領域及びPANID記憶領域に格納する。   Then, the frequency channel is advanced by one channel from CH0 to CH1 (S613), and the operation start message is transmitted with PANID being PID1 (S605-S612). Then, the management apparatus 100 receives the operation start message and transmits an operation start response to the wireless terminal 200B that is the transmission source. As a result, the control unit 1 (confirmation signal receiving unit 48) receives the operation start response (Yes in S608), and sets the frequency channel (CH1) and PANID (PID1) at that time for the FLASH memory 4 itself. Store in the frequency channel storage area and the PANID storage area.

以上の処理によれば、変更後の設定値がいかなる値であっても、無線端末200は最終的に変更後の設定値を発見することができる。
つまり、以上の処理により、電源が切断されていた無線端末200Bの設定も変更された状態となる。その結果、全ての無線端末200と管理装置100との設定が確実に変更されることとなる。
According to the above processing, the wireless terminal 200 can finally find the changed setting value regardless of the changed setting value.
That is, by the above processing, the setting of the wireless terminal 200B that has been turned off is also changed. As a result, the settings of all the wireless terminals 200 and the management device 100 are surely changed.

以上のように、この実施の形態に係る管理装置100と無線端末200とよれば、ネットワーク内の何れかの無線端末200の電源が切断されていた状態であっても、全ての無線端末200の周波数チャネル及びPANIDの設定変更を確実に実行できる。また、電源が切断されていた無線端末200も電源を投入した時点で周波数チャネル及びPANIDに変更することが可能になる。そのため、より柔軟かつ確実に周波数チャネル及びPANIDを変更できるようになり、アドホックネットワークシステムの信頼性を向上させることができる。   As described above, according to the management apparatus 100 and the wireless terminal 200 according to this embodiment, even if any wireless terminal 200 in the network is in a power-off state, all the wireless terminals 200 The setting change of the frequency channel and the PANID can be surely executed. Also, the wireless terminal 200 that has been turned off can be changed to a frequency channel and a PANID when the power is turned on. Therefore, the frequency channel and the PANID can be changed more flexibly and surely, and the reliability of the ad hoc network system can be improved.

なお、(S609)において、制御部1(確認信号受信部48)は、実施の形態2と同様に、親ノード、子ノード及び周波数チャネルとPANIDの設定値が変更前の設定値(すなわち、周波数チャネルがCH0、PANIDがPID0)だった全ての隣接ノードに対する周波数チャネル記憶領域及びPANID記憶領域にセットするとしてもよい。   In (S609), similarly to the second embodiment, the control unit 1 (confirmation signal reception unit 48) sets the set values of the parent node, child node, frequency channel, and PANID before the change (that is, the frequency) The channel may be set in the frequency channel storage area and the PANID storage area for all adjacent nodes whose channel is CH0 and PANID is PID0.

つまり、この実施の形態に係る管理装置100は、上記実施の形態に係る管理装置100に加え、さらに、
応答無視許可情報を無線端末200毎に記憶する応答無視許可情報記憶部37を備え、
上記リセット指示送信部33は、ある無線端末200から応答信号を上記応答受信部32が受信しない場合であっても、上記応答無視許可情報記憶部37が記憶した応答無視許可情報が上記ある無線端末200から応答信号が無いことを無視可能であることを示す場合には、リセット指示情報を送信する
ことを特徴とする。
That is, in addition to the management apparatus 100 according to the above embodiment, the management apparatus 100 according to this embodiment further includes
A response ignore permission information storage unit 37 for storing response ignore permission information for each wireless terminal 200;
The reset instruction transmitting unit 33 is a wireless terminal in which the response ignorance permission information stored in the response ignorance permission information storage unit 37 is stored even when the response receiving unit 32 does not receive a response signal from the wireless terminal 200. When 200 indicates that no response signal is negligible, reset instruction information is transmitted.

また、管理装置100の上記変更指示送信部31は、変更指示情報の送信先の無線端末200から応答信号を上記応答受信部32が受信しない場合であっても、上記応答無視許可情報記憶部37が記憶した応答無視許可情報が上記送信先の無線端末200から応答信号が無いことを無視可能であることを示す場合には、次の無線端末200へ変更指示情報を送信する
ことを特徴とする。
Further, the change instruction transmission unit 31 of the management apparatus 100 does not receive the response signal from the wireless terminal 200 that is the transmission destination of the change instruction information, even if the response reception unit 32 does not receive the response ignore permission information storage unit 37. Is transmitted, the change instruction information is transmitted to the next radio terminal 200 when the response ignore permission information stored therein indicates that there is no response signal from the destination radio terminal 200. .

また、この実施の形態に係る無線端末200は、上記実施の形態に係る無線端末200に加え、さらに、
電源が入れられた場合に、上記管理装置100へ動作開始信号を送信する開始信号送信部47と、
上記開始信号送信部47が送信した動作開始信号を上記管理装置100が受信した場合に上記管理装置100から送信される動作確認信号を受信する確認信号受信部48とを備え、
上記開始信号送信部47は、動作開始信号を送信してから所定の時間が経過しても、上記確認信号受信部48が動作確認信号を受信しない場合、使用している周波数チャネルとPANIDとの少なくともいずれかを変更して、改めて上記管理装置100へ動作開始信号を送信し、
上記設定変更部45は、上記確認信号受信部48が動作確認信号を受信した際に使用していた周波数チャネルとPANIDとに設定値を変更する
ことを特徴とする。
In addition to the wireless terminal 200 according to the above embodiment, the wireless terminal 200 according to this embodiment further includes:
A start signal transmission unit 47 that transmits an operation start signal to the management apparatus 100 when the power is turned on;
A confirmation signal receiving unit 48 for receiving an operation confirmation signal transmitted from the management device 100 when the management device 100 receives the operation start signal transmitted by the start signal transmission unit 47;
If the confirmation signal receiving unit 48 does not receive the operation confirmation signal even after a predetermined time has elapsed after transmitting the operation start signal, the start signal transmission unit 47 determines whether the frequency channel being used and the PANID are used. Change at least one, and send an operation start signal to the management apparatus 100 again,
The setting changing unit 45 is characterized in that the setting value is changed to the frequency channel and PANID used when the confirmation signal receiving unit 48 receives the operation confirmation signal.

実施の形態4.
実施の形態3では、無線端末200の重要度に関係なく、設定変更応答パケットの送信がないことを無視できるようにした。この実施の形態では、無線端末200毎に設定変更応答パケットの送信がないことを無視できるかどうかを指定できる方法を説明する。
Embodiment 4 FIG.
In the third embodiment, it can be ignored that no setting change response packet is transmitted regardless of the importance of the radio terminal 200. In this embodiment, a method for specifying whether or not it is possible to ignore the absence of transmission of a setting change response packet for each wireless terminal 200 will be described.

図17は、この実施の形態に係る管理装置100のFLASHメモリ4が記憶した情報を示す図である。FLASHメモリ4には、実施の形態3と同様の応答無視許可フラグ領域が設けられるとともに、各無線端末200に対応して保持する情報の中に応答無視許可フラグ領域を設けている。つまり、この実施の形態に係る管理装置100は、無線端末200毎に応答無視許可フラグを記憶することができる。   FIG. 17 is a diagram showing information stored in the FLASH memory 4 of the management apparatus 100 according to this embodiment. The FLASH memory 4 is provided with a response ignorance permission flag area similar to that of the third embodiment, and a response ignorance permission flag area is provided in information held corresponding to each wireless terminal 200. That is, the management apparatus 100 according to this embodiment can store a response ignore permission flag for each wireless terminal 200.

図18は、この実施の形態に係る管理装置100が設定変更指示パケットを送信する際の動作を示すフローチャートである。
(S701)から(S708)までは、(S501)から(S508)までと同様である。また、(S710)から(S712)までは、(S509)から(S511)までと同様である。
(S709)では、アドホックネットワークシステムとしては、設定変更応答パケットの送信がないことを無視できる場合(S708でYes)、設定変更指示パケットの送信先の無線端末200に対して記憶された応答無視許可フラグが設定変更応答パケットの送信がないことを無視できることを示すか否かを確認する。
応答無視許可フラグが送信先の無線端末200から設定変更応答パケットの送信がないことを無視できることを示す場合(S709でYes)、(S710)へ進む。一方、応答無視許可フラグが送信先の無線端末200設定変更応答パケットの送信がないことを無視できないことを示す場合(S709でNo)、(S705)へ戻り、設定変更指示パケットを再送する。
FIG. 18 is a flowchart showing an operation when the management apparatus 100 according to this embodiment transmits a setting change instruction packet.
(S701) to (S708) are the same as (S501) to (S508). Further, (S710) to (S712) are the same as (S509) to (S511).
In (S709), if the ad hoc network system can ignore the absence of the transmission of the setting change response packet (Yes in S708), the response ignorance permission stored for the wireless terminal 200 that is the transmission destination of the setting change instruction packet is permitted. It is confirmed whether or not the flag indicates that it can be ignored that no setting change response packet is transmitted.
When the response ignorance permission flag indicates that the setting change response packet is not transmitted from the destination wireless terminal 200 (Yes in S709), the process proceeds to (S710). On the other hand, when the response ignorance permission flag indicates that transmission of the destination wireless terminal 200 setting change response packet cannot be ignored (No in S709), the process returns to (S705) to retransmit the setting change instruction packet.

以上のように、この実施の形態に係る管理装置100と無線端末200とによれば、システムの中で電源を切断する運用の可能性のある無線端末200のみ設定変更指示に対する応答を無視可能にするという設定が可能となる。そのため、より確実に周波数チャネル及びPANIDの変更を行えるようになり、アドホックネットワークシステムの信頼性を向上させることができる。   As described above, according to the management device 100 and the wireless terminal 200 according to this embodiment, only the wireless terminal 200 that may be operated to be turned off in the system can ignore the response to the setting change instruction. It is possible to set to do. Therefore, the frequency channel and the PANID can be changed more reliably, and the reliability of the ad hoc network system can be improved.

なお、設定変更指示パケットをブロードキャスト送信した場合には、管理装置100は、応答無視許可フラグがセット状態になっている無線端末200からのみ設定変更応答パケットが送られてこないのであれば、リセット指示パケットを送信することができる。   When the setting change instruction packet is broadcasted, the management apparatus 100 resets the setting instruction if the setting change response packet is not sent only from the wireless terminal 200 in which the response ignore permission flag is set. Packets can be sent.

実施の形態5.
実施の形態3、4では、電源が切断されているため、設定変更がされなかった無線端末200の設定を変更する方法について説明した。この実施の形態では、電源が切断されていないにもかかわらず設定変更がされなかった無線端末200の設定を変更する方法を説明する。
Embodiment 5 FIG.
In the third and fourth embodiments, the method of changing the setting of the wireless terminal 200 that has not been changed because the power is turned off has been described. In this embodiment, a method of changing the setting of the wireless terminal 200 that has not been changed even though the power is not turned off will be described.

上記実施の形態で説明したように、周波数チャネル及び/もしくはPANIDを変更する必要が出た場合、管理装置100は各無線端末200に対して設定変更指示パケットを送信して、変更後の周波数チャネル及びPANIDを無線端末200Aに指示する。
ここで、例えば、実施の形態4における対応する応答無視許可フラグがセット状態に設定されている無線端末200(ここでは無線端末200Aとする)に対して設定変更指示パケットを送信したとする。このとき、無線端末200Aの電源は切断されていないが他の無線機器との競合等により、送信先の無線端末200が設定変更指示パケットの受信を失敗することがある。この場合、管理装置100は無線端末200Aからの設定変更応答パケットが返らなくても、応答無視許可フラグがセットされているため、次の無線端末200(例えば、無線端末200B)への設定変更指示を送信する。その後、リセット指示パケットのブロードキャストの受信も無線端末200Aが失敗した場合、無線端末200Aは周波数チャネル及び/もしくはPANIDの変更が行われなかった状態となる。その結果、無線端末200Aは、管理装置100等との無線通信ができない状態となる。電源が切断されていたわけではないため、初期化処理が行われることもない。したがって、無線端末200Aは、管理装置100等との無線通信ができない状態が継続してしまう。
この実施の形態では、このように、電源が切断されていないにもかかわらず設定変更がされなかった無線端末200の設定を変更する方法を説明する。
As described in the above embodiment, when it is necessary to change the frequency channel and / or PANID, the management device 100 transmits a setting change instruction packet to each wireless terminal 200 to change the frequency channel after the change. And PANID is instructed to the wireless terminal 200A.
Here, for example, it is assumed that a setting change instruction packet is transmitted to radio terminal 200 (in this case, radio terminal 200A) in which the corresponding response ignore permission flag in the fourth embodiment is set. At this time, although the power of the wireless terminal 200A is not cut off, the wireless terminal 200 as the transmission destination may fail to receive the setting change instruction packet due to competition with other wireless devices. In this case, since the response ignorance permission flag is set even if the management apparatus 100 does not return the setting change response packet from the wireless terminal 200A, the setting change instruction to the next wireless terminal 200 (for example, the wireless terminal 200B) is set. Send. Thereafter, when the radio terminal 200A fails to receive the broadcast of the reset instruction packet, the radio terminal 200A is in a state where the frequency channel and / or the PANID is not changed. As a result, the wireless terminal 200A is in a state where wireless communication with the management apparatus 100 or the like is not possible. Since the power is not cut off, the initialization process is not performed. Therefore, the state in which the wireless terminal 200A cannot wirelessly communicate with the management device 100 or the like continues.
In this embodiment, a method for changing the setting of the wireless terminal 200 that has not been changed even though the power is not turned off will be described.

図19は、この実施の形態に係る管理装置100の構成を示すブロック図である。
この実施の形態に係る管理装置100は、実施の形態3に係る管理装置100に加え、通信停止監視指示送信部38を備える。
通信停止監視指示送信部38は、所定の期間毎に通信停止監視指示パケット(通信停止監視信号)を各無線端末200へ送信する。
通信停止監視指示パケットは、ヘッダ部とデータ部とを備える。通信停止監視指示パケットのヘッダ部は設定変更指示パケットのヘッダ部と同様である。また、通信停止監視指示パケットのデータ部は、コマンドコードフィールド、通信停止監視猶予時間フィールドを備える。
ヘッダ部に設定される情報は、上記実施の形態と同様である。また、データ部のコマンドコードフィールドには、通信停止監視指示コマンドが設定される。さらに、通信停止監視猶予時間フィールドには、所定の時間が設定される。通信停止監視猶予時間フィールドに設定された所定の時間よりも短い間隔で、通信停止監視指示パケットは無線端末200へ送信される。
FIG. 19 is a block diagram showing the configuration of the management apparatus 100 according to this embodiment.
The management apparatus 100 according to this embodiment includes a communication stop monitoring instruction transmission unit 38 in addition to the management apparatus 100 according to the third embodiment.
The communication stop monitoring instruction transmission unit 38 transmits a communication stop monitoring instruction packet (communication stop monitoring signal) to each wireless terminal 200 every predetermined period.
The communication stop monitoring instruction packet includes a header part and a data part. The header part of the communication stop monitoring instruction packet is the same as the header part of the setting change instruction packet. The data portion of the communication stop monitoring instruction packet includes a command code field and a communication stop monitoring postponement time field.
The information set in the header part is the same as in the above embodiment. In addition, a communication stop monitoring instruction command is set in the command code field of the data portion. Further, a predetermined time is set in the communication stop monitoring grace time field. Communication stop monitoring instruction packets are transmitted to the wireless terminal 200 at intervals shorter than a predetermined time set in the communication stop monitoring grace time field.

図20は、この実施の形態に係る無線端末200の構成を示すブロック図である。
この実施の形態に係る無線端末200は、実施の形態3に係る無線端末200に加え、通信停止計測部49を備える。
通信停止計測部49は、計測時間の設定が可能で、設定された時間が経過した時点でリセット信号15を発生する。
FIG. 20 is a block diagram showing a configuration of radio terminal 200 according to this embodiment.
The radio terminal 200 according to this embodiment includes a communication stop measurement unit 49 in addition to the radio terminal 200 according to the third embodiment.
The communication stop measurement unit 49 can set the measurement time, and generates the reset signal 15 when the set time has elapsed.

次に動作について説明する。
通常動作中、管理装置100の制御部1(通信停止監視指示送信部38)は各無線端末200へ所定の期間毎に通信停止監視指示パケットを送信する。通信停止監視指示パケットを受信した無線端末200の通信停止計測部49は、通信停止監視猶予時間フィールドに設定されている監視時間を設定し、時間計測をスタートする。通信停止監視指示パケットは、所定の期間毎に無線端末200へ送信されるため、通信停止計測部49が設定する監視時間も所定の期間毎に更新される。そのため、無線端末200と管理装置100とが通信可能である間は、原則として通信停止計測部49に設定した時間が経過してしまうことはない。
しかし、何らかの理由により、無線端末200と管理装置100とが通信できない状態となり、通信停止計測部49に設定した時間が経過すると、通信停止計測部49は、リセット信号15を発生する。そして、無線端末200Aの制御部1がリセットされ、初期化処理が実行される。初期化処理において、実施の形態3において図16に基づき説明した処理と同様に、周波数チャネル及びPANIDの変更が実施され、最終的には、無線端末200は、変更後の周波数チャネル及びPANIDに設定される。
つまり、上記の例では、無線端末200Aの通信停止計測部49も、管理装置100と通信可能である間に所定の期間毎に、監視時間を設定し、時間計測をスタートしている。そして、無線端末200Aと管理装置100との通信が途絶えると、無線端末200Aの制御部1はリセットされ、初期化処理が行われる。その結果、無線端末200Aの設定が変更され、無線端末200Aは再び管理装置100等と通信可能となる。
Next, the operation will be described.
During normal operation, the control unit 1 (communication stop monitoring instruction transmission unit 38) of the management apparatus 100 transmits a communication stop monitoring instruction packet to each wireless terminal 200 at predetermined intervals. The communication stop measurement unit 49 of the wireless terminal 200 that has received the communication stop monitoring instruction packet sets the monitoring time set in the communication stop monitoring postponement time field, and starts time measurement. Since the communication stop monitoring instruction packet is transmitted to the wireless terminal 200 every predetermined period, the monitoring time set by the communication stop measuring unit 49 is also updated every predetermined period. Therefore, as long as the wireless terminal 200 and the management device 100 can communicate with each other, the time set in the communication stop measurement unit 49 does not pass in principle.
However, for some reason, when the wireless terminal 200 and the management apparatus 100 cannot communicate with each other and the time set in the communication stop measurement unit 49 elapses, the communication stop measurement unit 49 generates the reset signal 15. And the control part 1 of 200 A of radio | wireless terminals is reset, and an initialization process is performed. In the initialization process, the frequency channel and PANID are changed as in the process described in Embodiment 3 with reference to FIG. 16, and finally, the radio terminal 200 sets the changed frequency channel and PANID. Is done.
That is, in the above example, the communication stop measurement unit 49 of the wireless terminal 200A also sets the monitoring time and starts the time measurement for each predetermined period while it can communicate with the management apparatus 100. When communication between the radio terminal 200A and the management apparatus 100 is interrupted, the control unit 1 of the radio terminal 200A is reset and an initialization process is performed. As a result, the setting of the radio terminal 200A is changed, and the radio terminal 200A can communicate with the management apparatus 100 again.

以上のように、この実施の形態に係る管理装置100と無線端末200とによれば、他の無線機器との競合などにより一時的に無線通信ができなくなるような環境下においても、確実にネットワーク内の全ての無線端末200の周波数チャネル及びPANIDを変更可能となる。   As described above, according to the management device 100 and the wireless terminal 200 according to this embodiment, even in an environment where wireless communication cannot be temporarily performed due to competition with other wireless devices, the network can be reliably connected. It is possible to change the frequency channel and PANID of all the wireless terminals 200 in the network.

なお、通信停止計測部49は、制御部1に備えられているとしてもよい。   The communication stop measurement unit 49 may be provided in the control unit 1.

つまり、この実施の形態に係る無線端末200は、上記実施の形態に係る無線端末200に加え、さらに、
上記管理装置100と通信していない時間を計測する通信停止計測部49を備え、
上記開始信号送信部47は、上記通信停止計測部49が計測した時間が所定の時間以上となった場合、上記管理装置100へ動作開始信号を送信する
ことを特徴とする。
That is, the radio terminal 200 according to this embodiment includes, in addition to the radio terminal 200 according to the above embodiment,
A communication stop measuring unit 49 for measuring a time during which communication with the management apparatus 100 is not performed;
The start signal transmission unit 47 transmits an operation start signal to the management apparatus 100 when the time measured by the communication stop measurement unit 49 becomes a predetermined time or more.

上記説明をまとめると以下のようになる。
複数の無線周波数チャネル及び自分が参入しているネットワークを識別するPANIDが使用でき、マルチホップ通信が可能な無線アドホックネットワークシステムにおいて、
ネットワーク内の全ての無線端末200に、無線周波数チャネル及びPANIDを記憶するための不揮発性記憶手段と、設定変更指示もしくはリセット指示を受信してから実際にリセットを実行するまでのリセット猶予時間計測手段を設け、リセット猶予時間計測手段に設定した時間が経過した時に出力されるリセットもしくは電源オン時のパワーオンリセットにより開始される初期化動作の中で、不揮発性記憶手段から取出した無線周波数チャネル及びPANIDで無線動作を開始すると共に、ネットワーク内の全端末のネットワークアドレスを把握している管理装置100には設定端末数カウント部13を設け、ネットワークにて使用する無線周波数チャネルもしくはPANIDを変更する必要が出た場合には、管理装置100が設定端末数カウント部13をネットワーク内の無線端末200の数に設定した後、各無線端末200に対して、元々使用していた無線周波数チャネル及びPANIDを使用して、所望する無線周波数チャネル及びPANIDと十分に長いリセット猶予時間を指定した設定変更指示をユニキャストもしくはブロードキャストで送信し、ユニキャストの場合には無線端末200から正常応答が返った時に設定端末数カウント部13を−1するとともに次の無線端末200への設定変更指示をユニキャストし、ブロードキャストの場合には無線端末200から正常応答が返った時に設定端末数カウント部13を−1するようにし、設定端末数カウント部13がゼロになった時に、リセット猶予時間を最小値に指定したリセット指示を送信するようにして、ネットワーク内の全ての無線端末200の無線周波数チャネル及びPANIDを確実に変更できるようにしたことを特徴とする無線周波数変更方式及び無線装置である。
The above description is summarized as follows.
In a wireless ad hoc network system capable of using a plurality of radio frequency channels and a PANID for identifying a network in which the user has entered, and capable of multi-hop communication,
Nonvolatile storage means for storing radio frequency channels and PANIDs in all wireless terminals 200 in the network, and reset grace time measuring means from when a setting change instruction or reset instruction is received until reset is actually executed And a radio frequency channel taken out from the non-volatile storage means in an initialization operation started by a reset that is output when the time set in the reset grace time measuring means has elapsed or a power-on reset at power-on, and It is necessary to change the radio frequency channel or PANID used in the network by starting the wireless operation with the PANID and providing the management device 100 that knows the network addresses of all the terminals in the network with the set terminal count unit 13. Is displayed, the management apparatus 100 After setting the number counting unit 13 to the number of radio terminals 200 in the network, the radio frequency channel and PANID that were originally used are used for each radio terminal 200, and the desired radio frequency channel and PANID are sufficient. A setting change instruction designating a long reset grace time is transmitted by unicast or broadcast, and in the case of unicast, when the normal response is returned from the radio terminal 200, the set terminal count counter 13 is decremented by 1 and the next radio When the setting change instruction to the terminal 200 is unicast, and the normal response is returned from the wireless terminal 200 in the case of broadcast, the setting terminal number counting unit 13 is decremented by 1, and the setting terminal number counting unit 13 becomes zero. Send a reset instruction with a minimum reset grace time, A radio frequency change method and wireless device being characterized in that to be able to reliably change the radio frequency channel and PANID of all the wireless terminals 200 in Ttowaku.

また、各無線端末200は設定変更指示を受信した時に、自分自身に対応して不揮発性記憶装置に記憶される無線周波数チャネル及びPANIDに加えて、親端末、子端末及びPANIDが等しい無線端末200に対応して記憶されている無線周波数チャネル及びPANIDの情報も指定された値に書き換えることにより、リセット実行によりPANID及び無線周波数チャネルが変更された後でもシステム内の全ての端末が保持する無線周波数チャネル及びPANIDの情報に矛盾が発生しないようにしたことを特徴とする無線周波数変更方式及び無線装置である。   In addition, when each wireless terminal 200 receives the setting change instruction, in addition to the wireless frequency channel and PANID stored in the nonvolatile storage device corresponding to itself, the wireless terminal 200 has the same parent terminal, child terminal, and PANID. The radio frequency channel and PANID information stored corresponding to the radio frequency is also rewritten to the specified value, so that the radio frequency held by all terminals in the system even after the PANID and radio frequency channel are changed by reset execution. A radio frequency change method and a radio apparatus characterized in that no contradiction occurs in channel and PANID information.

さらに、電源オン及びリセットによる初期化完了後、無線端末200は管理装置100に対して動作開始メッセージを送信するように構成するとともに、管理装置100は動作開始メッセージを受信した無線端末200に対して動作開始応答を送信するようにし、無線端末200は動作開始メッセージ送信に対する動作開始応答が一定時間に返らなかった場合には、動作開始応答が返るまで、まずは無線周波数チャネルを変更して動作開始メッセージを送信し、万一全ての無線周波数チャネルにおいて動作開始応答が返らなかった場合にはPANIDを変更して動作開始メッセージを送信することで、最終的には管理装置100の無線周波数チャネル及びPANIDの設定と同じ設定になるまで、可能な全ての無線周波数チャネルとPANIDの組合せに対して動作開始メッセージを送信するようにするとともに、管理装置100に応答無視許可フラグを設けることにより、応答無視許可フラグをリセット状態に設定した場合には、送信した設定変更指示に対する応答が一定時間内に返らない場合にはその無線端末200への設定変更指示を正常応答が返るまでリトライ送信し、ブロードキャスト送信の場合には、一定時間内に設定端末数カウント部13がゼロにならない場合、設定変更指示のブロードキャストをリトライ送信し、応答無視許可フラグをセット状態に設定した場合には、送信した設定変更指示に対する応答を返さない無線端末200があった場合でも、ユニキャスト送信の場合には次の端末への設定変更指示送信を、ブロードキャスト送信の場合にはリセット指示の送信を開始するようにしたことを特徴とする無線周波数変更方式及び無線装置である。   Further, the wireless terminal 200 is configured to transmit an operation start message to the management apparatus 100 after completion of initialization by power-on and reset, and the management apparatus 100 transmits the operation start message to the wireless terminal 200 that has received the operation start message. When the operation start response is transmitted and the operation start response to the operation start message transmission is not returned for a certain time, the radio terminal 200 first changes the radio frequency channel until the operation start response is returned. In the unlikely event that an operation start response is not returned in all radio frequency channels, the PANID is changed and an operation start message is transmitted. Finally, the radio frequency channel and PANID of the management apparatus 100 are All possible radio frequency channels and PANIs until the setting is the same When the response ignorance permission flag is set to the reset state by providing the response ignorance permission flag in the management apparatus 100, a response to the transmitted setting change instruction is transmitted. Is not returned within a predetermined time, a setting change instruction to the wireless terminal 200 is retried until a normal response is returned, and in the case of broadcast transmission, the set terminal count unit 13 does not become zero within a predetermined time. If the setting change instruction broadcast is retried and the response ignore permission flag is set to the set state, even if there is a wireless terminal 200 that does not return a response to the transmitted setting change instruction, Sends a setting change instruction to the next terminal. It was to start transmitting a radio frequency change method and a radio apparatus according to claim.

また、さらに、管理装置100において、各無線端末200に対応した応答無視許可フラグを設けることにより、設定変更指示に対する正常応答の要否を無線端末200毎に設定可能にしたことを特徴とする無線周波数変更方式及び無線装置である。   Further, the management apparatus 100 is provided with a response ignorance permission flag corresponding to each wireless terminal 200, whereby the necessity of a normal response to the setting change instruction can be set for each wireless terminal 200. A frequency change method and a wireless device.

また、各無線端末200に通信停止計測手段を設け、管理装置100は各無線端末200に対して、通信停止検出猶予時間を指定した通信停止監視指示を送信し、通信停止監視指示を受信した無線端末200は指定された通信停止猶予時間を通信停止計測手段にセットして、時間計測動作を開始させると共に、その後、監視装置から何らかの通信を受信する度に通信停止猶予時間に設定されている時間を通信停止計測手段に再度設定して時間計測動作を開始させるようにすることで、通信停止猶予時間を超えて監視装置からの受信が行われたかった場合には、リセットが実行されるようにすることで、正常シーケンスでは無線周波数チャネルもしくはPANIDの変更に失敗した無線端末200の無線周波数チャネル及びPANIDも変更できるようにした無線周波数変更方式及び無線装置である。   Further, each wireless terminal 200 is provided with a communication stop measuring means, and the management apparatus 100 transmits a communication stop monitoring instruction specifying a communication stop detection grace time to each wireless terminal 200 and receives the communication stop monitoring instruction. The terminal 200 sets the designated communication suspension grace time in the communication suspension measurement means to start the time measurement operation, and thereafter, the time set as the communication suspension grace time every time any communication is received from the monitoring device. Is set again in the communication stop measurement means to start the time measurement operation, so that if the reception from the monitoring device is performed beyond the communication stop grace time, the reset is executed. Thus, in the normal sequence, the radio frequency channel and PANID of the radio terminal 200 that failed to change the radio frequency channel or PANID can also be changed. A radio frequency change method and a radio apparatus to so that.

なお、上記説明において、「〜部」と表したものは、「〜回路」、「〜装置」、「〜機器」、「〜手段」、「〜機能」であってもよく、また、「〜ステップ」、「〜手順」、「〜処理」と読み替えてもよい。すなわち、「〜部」として説明するものは、ROM2等に記憶されたファームウェアで実現されていても構わない。あるいは、ソフトウェアのみ、或いは、素子・デバイス・基板・配線などのハードウェアのみ、或いは、ソフトウェアとハードウェアとの組み合わせ、さらには、ファームウェアとの組合せで実現されても構わない。ファームウェアとソフトウェアは、プログラムとして、記憶装置に記憶される。プログラムは処理装置により読み出され、処理装置により実行される。すなわち、プログラムは、以下に述べる「〜部」としてコンピュータ等を機能させるものである。あるいは、以下に述べる「〜部」の手順や方法をコンピュータ等に実行させるものである。
つまり、制御部1が備える変更指示送信部31、応答受信部32、リセット指示送信部33、設定変更部34、チェック部41、変更指示情報受信部42、応答信号送信部43、リセット指示情報受信部44、設定変更部45、開始信号送信部47、確認信号受信部48、及び、制御部1とは別に設けられた通信停止計測部49は、それぞれが独立した回路等であってもよいし、CPU、DSPなどの回路により実行されるソフトウェア、プログラムであってもよい。
また、上記説明において、設定値記憶部35、応答無視許可情報記憶部37、設定値記憶部46は、それぞれが独立した記憶装置であっても、CPU、DSPなどの回路により実行されるソフトウェア、プログラムであってもよい。
また、無線受信部6、無線送信部7、共通部8は、それぞれが独立した回路等であっても、CPU、DSPなどの回路により実行されるソフトウェア、プログラムであってもよい。
また、リセット猶予時間計測部10、設定端末数カウント部13は、それぞれが独立した回路等であっても、CPU、DSPなどの回路により実行されるソフトウェア、プログラムであってもよい。
In the above description, what is expressed as “to part” may be “to circuit”, “to device”, “to device”, “to means”, and “to function”. It may be read as “step”, “˜procedure”, “˜processing”. That is, what is described as “˜unit” may be realized by firmware stored in the ROM 2 or the like. Alternatively, it may be realized only by software, or only by hardware such as an element, a device, a board, and wiring, or by a combination of software and hardware, and further by a combination of firmware. Firmware and software are stored in the storage device as programs. The program is read by the processing device and executed by the processing device. In other words, the program causes a computer or the like to function as “to part” described below. Alternatively, the procedure or method of “to part” described below is executed by a computer or the like.
That is, the change instruction transmission unit 31, the response reception unit 32, the reset instruction transmission unit 33, the setting change unit 34, the check unit 41, the change instruction information reception unit 42, the response signal transmission unit 43, and the reset instruction information reception that the control unit 1 includes. The unit 44, the setting change unit 45, the start signal transmission unit 47, the confirmation signal reception unit 48, and the communication stop measurement unit 49 provided separately from the control unit 1 may be independent circuits or the like. Software or a program executed by a circuit such as a CPU or DSP may be used.
In the above description, the setting value storage unit 35, the response ignorance permission information storage unit 37, and the setting value storage unit 46 are software executed by a circuit such as a CPU or DSP, even if they are independent storage devices. It may be a program.
The wireless reception unit 6, the wireless transmission unit 7, and the common unit 8 may be independent circuits or the like, or may be software and programs executed by circuits such as a CPU and a DSP.
Further, the reset grace time measuring unit 10 and the set terminal number counting unit 13 may be independent circuits or the like, or may be software and programs executed by circuits such as a CPU and a DSP.

実施の形態1に係る管理装置100の構成を示すブロック図。1 is a block diagram showing a configuration of a management device 100 according to Embodiment 1. FIG. 実施の形態1に係る無線端末200の構成を示すブロック図。FIG. 2 is a block diagram showing a configuration of radio terminal 200 according to Embodiment 1. 設定変更指示パケットと設定変更応答パケットとのデータ形式を示す図。The figure which shows the data format of a setting change instruction packet and a setting change response packet. リセット指示パケットとリセット応答パケットのデータ形式を示す図。The figure which shows the data format of a reset instruction | indication packet and a reset response packet. 実施の形態1に係るアドホックネットワークのシステム構成の一例を示す図。1 is a diagram illustrating an example of a system configuration of an ad hoc network according to Embodiment 1. FIG. 実施の形態1に係る管理装置100が設定変更指示パケットを送信する際の動作を示すフローチャート。6 is a flowchart showing an operation when the management apparatus 100 according to the first embodiment transmits a setting change instruction packet. 実施の形態1に係る無線端末200が設定変更指示パケットを受信した際の動作を示すフローチャート。6 is a flowchart showing an operation when the radio terminal 200 according to Embodiment 1 receives a setting change instruction packet. 実施の形態1に係る管理装置100がリセット指示パケットを送信する際の動作を示すフローチャート。6 is a flowchart illustrating an operation when the management apparatus 100 according to the first embodiment transmits a reset instruction packet. 実施の形態1に係る無線端末200がリセット指示パケットを受信した際の動作を示すフローチャート。4 is a flowchart showing an operation when the radio terminal 200 according to Embodiment 1 receives a reset instruction packet. 実施の形態2において、図5に示したネットワーク構成で、無線端末200Aが設定変更指示パケットを受信する前と受信した後のFLASHメモリ4に記憶した情報を示す図。FIG. 6 is a diagram showing information stored in the FLASH memory 4 before and after the wireless terminal 200A receives the setting change instruction packet in the network configuration shown in FIG. 5 in the second embodiment. 実施の形態3に係る管理装置100の構成を示すブロック図。FIG. 9 is a block diagram illustrating a configuration of a management apparatus 100 according to a third embodiment. 実施の形態3に係る無線端末200の構成を示すブロック図。FIG. 4 is a block diagram showing a configuration of a wireless terminal 200 according to Embodiment 3. 実施の形態3に係る管理装置100のFLASHメモリ4が記憶した情報を示す図ある。It is a figure which shows the information which the FLASH memory 4 of the management apparatus 100 which concerns on Embodiment 3 memorize | stored. 実施の形態3に係るアドホックネットワークのシステム構成の一例を示す図。FIG. 4 is a diagram illustrating an example of a system configuration of an ad hoc network according to a third embodiment. 実施の形態3に係る管理装置100が設定変更指示パケットを送信する際の動作を示すフローチャート。10 is a flowchart showing an operation when the management apparatus 100 according to the third embodiment transmits a setting change instruction packet. 実施の形態3に係る無線端末200のリセット処理の動作を示すフローチャート。10 is a flowchart showing an operation of reset processing of the radio terminal 200 according to Embodiment 3. 実施の形態4に係る管理装置100のFLASHメモリ4が記憶した情報を示す図。The figure which shows the information which the FLASH memory 4 of the management apparatus 100 which concerns on Embodiment 4 memorize | stored. 実施の形態4に係る管理装置100が設定変更指示パケットを送信する際の動作を示すフローチャートである。14 is a flowchart illustrating an operation when the management apparatus 100 according to the fourth embodiment transmits a setting change instruction packet. 実施の形態5に係る管理装置100の構成を示すブロック図。FIG. 6 is a block diagram showing a configuration of a management apparatus 100 according to a fifth embodiment. 実施の形態5に係る無線端末200の構成を示すブロック図。FIG. 6 is a block diagram showing a configuration of a wireless terminal 200 according to Embodiment 5.

符号の説明Explanation of symbols

1 制御部、2 ROM、3 RAM、4 FLASHメモリ、5 RFインタフェース部、6 無線受信部、7 無線送信部、8 共通部、9 アンテナ、10 リセット猶予時間計測部、11 パワーオンリセット回路、12 ANDゲート、13 設定端末数カウント部、14 バス、15 リセット信号、16 パワーオンリセット信号、17 カウント信号、21 周波数チャネル設定部、22 PANID設定部、23 アドレス設定部、31 変更指示送信部、32 応答受信部、33 リセット指示送信部、34 設定変更部、35 設定値記憶部、36 確認信号送信部、37 応答無視許可情報記憶部、38 通信停止監視指示送信部、41 チェック部、42 変更指示情報受信部、43 応答信号送信部、44 リセット指示情報受信部、45 設定変更部、46 設定値記憶部、47 開始信号送信部、48 確認信号受信部、49 通信停止計測部、100 管理装置、200 無線端末。   DESCRIPTION OF SYMBOLS 1 Control part, 2 ROM, 3 RAM, 4 FLASH memory, 5 RF interface part, 6 Wireless reception part, 7 Wireless transmission part, 8 Common part, 9 Antenna, 10 Reset grace time measurement part, 11 Power-on reset circuit, 12 AND gate, 13 set terminal count section, 14 bus, 15 reset signal, 16 power-on reset signal, 17 count signal, 21 frequency channel setting section, 22 PANID setting section, 23 address setting section, 31 change instruction transmitting section, 32 Response reception unit, 33 Reset instruction transmission unit, 34 Setting change unit, 35 Set value storage unit, 36 Confirmation signal transmission unit, 37 Response ignore permission information storage unit, 38 Communication stop monitoring instruction transmission unit, 41 Check unit, 42 Change instruction Information receiving unit, 43 response signal transmitting unit, 44 reset instruction information receiving unit, 45 setting change unit, 46 setting value storage unit, 47 start signal transmission unit, 48 confirmation signal reception unit, 49 communication stop measurement unit, 100 management device, 200 wireless terminal.

Claims (13)

アドホックネットワークに接続された複数の無線端末の情報を管理する管理装置であり、
上記複数の無線端末が通信に使用する周波数チャネルとPANID(Personal Area Network IDentifier)との少なくともいずれかの設定値を変更する場合に、変更後の設定値を含む変更指示情報を上記複数の無線端末へ送信する変更指示送信部と、
上記変更指示送信部が送信した変更指示情報を上記複数の無線端末の各無線端末が受信した場合に上記各無線端末から送信される応答信号を受信する応答受信部と、
上記応答受信部が上記各無線端末から応答信号を受信した場合に、上記変更指示情報に含まれた変更後の設定値へ設定を変更させるリセット指示情報を上記複数の無線端末へ送信するリセット指示送信部と
を備えることを特徴とする管理装置。
A management device that manages information of a plurality of wireless terminals connected to an ad hoc network,
When changing the setting value of at least one of a frequency channel and a PANID (Personal Area Network IDentifier) used by the plurality of wireless terminals for communication, change instruction information including the changed setting value is transmitted to the plurality of wireless terminals. A change instruction transmission unit to be transmitted to,
A response receiving unit that receives a response signal transmitted from each wireless terminal when each wireless terminal of the plurality of wireless terminals receives the change instruction information transmitted by the change instruction transmitting unit;
Reset instruction for transmitting, to the plurality of wireless terminals, reset instruction information for changing the setting to the changed setting value included in the change instruction information when the response receiving unit receives a response signal from each of the wireless terminals. A management apparatus comprising: a transmission unit.
上記管理装置は、さらに、
応答信号が無いことを無視可能か否かを示す応答無視許可情報を無線端末毎に記憶する応答無視許可情報記憶部を備え、
上記リセット指示送信部は、ある無線端末から応答信号を上記応答受信部が受信しない場合であっても、上記応答無視許可情報記憶部が記憶した応答無視許可情報が上記ある無線端末から応答信号が無いことを無視可能であることを示す場合には、リセット指示情報を送信する
ことを特徴とする請求項1に記載の管理装置。
The management device further includes:
A response ignorance permission information storage unit that stores response ignorance permission information indicating whether or not there is no response signal for each wireless terminal;
Even when the response receiving unit does not receive a response signal from a certain wireless terminal, the reset instruction transmitting unit receives the response ignorance permission information stored in the response ignorance permission information storage unit from the certain wireless terminal. The management apparatus according to claim 1, wherein reset instruction information is transmitted in a case where it is possible to ignore the absence.
上記変更指示送信部は、上記各無線端末へ所定の順序で変更指示情報をユニキャスト送信するとともに、変更指示情報の送信先の無線端末から送信された応答信号を上記応答受信部が受信したか否かを確認して、応答信号を上記応答受信部が受信した場合に次の無線端末へ変更指示情報を送信する
ことを特徴とする請求項1又は2に記載の管理装置。
Whether the change instruction transmitting unit unicasts the change instruction information to each of the wireless terminals in a predetermined order, and whether the response receiving unit has received a response signal transmitted from the wireless terminal that is the destination of the change instruction information. 3. The management apparatus according to claim 1, wherein the management apparatus transmits the change instruction information to a next wireless terminal when the response reception unit receives the response signal.
上記変更指示送信部は、変更指示情報の送信先の無線端末から応答信号を上記応答受信部が受信しない場合であっても、上記応答無視許可情報記憶部が記憶した応答無視許可情報が上記送信先の無線端末から応答信号が無いことを無視可能であることを示す場合には、次の無線端末へ変更指示情報を送信する
ことを特徴とする請求項3記載の管理装置。
The change instruction transmission unit transmits the response ignore permission information stored in the response ignore permission information storage unit even when the response receiver does not receive a response signal from the wireless terminal to which the change instruction information is transmitted. 4. The management apparatus according to claim 3, wherein when the absence of a response signal from the previous wireless terminal indicates that it can be ignored, the change instruction information is transmitted to the next wireless terminal.
アドホックネットワークに接続され、管理装置により管理される無線端末であり、
使用している周波数チャネルとPANID(Personal Area Network IDentifier)との少なくともいずれかの設定値を記憶する設定値記憶部と、
周波数チャネルとPANIDとの少なくともいずれかの変更後の設定値を含む変更指示情報を管理装置から受信する変更指示情報受信部と、
設定値の変更を促すリセット指示情報を上記管理装置から受信するリセット指示情報受信部と、
上記リセット指示情報受信部がリセット指示情報を受信した場合、上記設定値記憶部が記憶した設定値を、上記変更指示情報受信部が受信した変更指示情報に含まれる変更後の設定値に変更する設定変更部と
を備えることを特徴とする無線端末。
A wireless terminal connected to an ad hoc network and managed by a management device.
A setting value storage unit that stores setting values of at least one of a frequency channel being used and a PANID (Personal Area Network IDentifier);
A change instruction information receiving unit that receives change instruction information including a setting value after changing at least one of the frequency channel and the PANID from the management device;
A reset instruction information receiving unit for receiving reset instruction information for prompting a change in a set value from the management device;
When the reset instruction information receiving unit receives the reset instruction information, the setting value stored in the setting value storage unit is changed to a changed setting value included in the change instruction information received by the change instruction information receiving unit. A wireless terminal comprising: a setting change unit.
上記設定値記憶部は、さらに、他の無線端末の周波数チャネルとPANIDとの設定値を記憶装置に記憶し、
上記設定変更部は、上記設定値記憶部が記憶した他の無線端末の周波数チャネルとPANIDとの両方が、変更前の周波数チャネルとPANIDと同一である場合に、他の無線端末の設定値を上記変更指示情報に含まれる変更後の設定値に変更する
ことを特徴とする請求項5に記載の無線端末。
The set value storage unit further stores the set values of the frequency channels and PANIDs of other wireless terminals in the storage device,
The setting change unit, when both the frequency channel and PANID of the other wireless terminal stored in the setting value storage unit are the same as the frequency channel and PANID before the change, sets the setting value of the other wireless terminal. The wireless terminal according to claim 5, wherein the wireless terminal is changed to a changed set value included in the change instruction information.
上記無線端末は、さらに、
電源が入れられた場合に、上記管理装置へ動作開始信号を送信する開始信号送信部と、
上記開始信号送信部が送信した動作開始信号を上記管理装置が受信した場合に上記管理装置から送信される動作確認信号を受信する確認信号受信部とを備え、
上記開始信号送信部は、動作開始信号を送信してから所定の時間が経過しても、上記確認信号受信部が動作確認信号を受信しない場合、使用している周波数チャネルとPANIDとの少なくともいずれかを変更して、改めて上記管理装置へ動作開始信号を送信し、
上記設定変更部は、上記確認信号受信部が動作確認信号を受信した際に使用していた周波数チャネルとPANIDとに設定値を変更する
ことを特徴とする請求項5又は6に記載の無線端末。
The wireless terminal further includes:
A start signal transmitter for transmitting an operation start signal to the management device when the power is turned on;
A confirmation signal receiving unit that receives an operation confirmation signal transmitted from the management device when the management device receives the operation start signal transmitted by the start signal transmission unit;
If the confirmation signal receiving unit does not receive the operation confirmation signal even after a predetermined time has elapsed after transmitting the operation start signal, the start signal transmission unit is at least one of the frequency channel and the PANID being used. Change this, and again send an operation start signal to the management device,
The wireless terminal according to claim 5 or 6, wherein the setting changing unit changes a setting value to a frequency channel and a PANID used when the confirmation signal receiving unit receives the operation confirmation signal. .
上記無線端末は、さらに、
上記管理装置と通信していない時間を計測する通信停止計測部を備え、
上記開始信号送信部は、上記通信停止時間計測部が計測した時間が所定の時間以上となった場合、上記管理装置へ動作開始信号を送信する
ことを特徴とする請求項7に記載の無線端末。
The wireless terminal further includes:
Comprising a communication stop measuring unit for measuring the time not communicating with the management device,
8. The wireless terminal according to claim 7, wherein the start signal transmission unit transmits an operation start signal to the management device when the time measured by the communication stop time measurement unit is equal to or longer than a predetermined time. .
複数の無線端末と、上記複数の無線端末の情報を管理する管理装置とが接続されたアドホックネットワークシステムであり、
上記管理装置は、
上記複数の無線端末が通信に使用する周波数チャネルとPANID(Personal Area Network IDentifier)との少なくともいずれかの設定値を変更する場合に、変更後の設定値を含む変更指示情報を上記複数の無線端末へ送信する変更指示送信部と、
上記変更指示送信部が送信した変更指示情報を上記複数の無線端末の各無線端末が受信した場合に上記各無線端末から送信される応答信号を受信する応答受信部と、
上記応答受信部が上記各無線端末から応答信号を受信した場合に、上記変更指示情報に含まれた変更後の設定値へ設定を変更させるリセット指示情報を上記複数の無線端末へ送信するリセット指示送信部とを備え、
上記複数の無線端末の各無線端末は、
使用している周波数チャネルとPANIDとの少なくともいずれかの設定値を記憶する設定値記憶部と、
上記変更指示送信部が送信した変更指示情報を受信する変更指示情報受信部と、
上記変更指示情報受信部が変更指示情報を受信した場合に応答信号を上記管理装置へ送信する応答信号送信部と、
上記リセット指示送信部が送信したリセット指示情報を受信するリセット指示情報受信部と、
上記リセット指示情報受信部がリセット指示情報を受信した場合、上記設定値記憶部が記憶した設定値を、上記変更指示情報に含まれる変更後の設定値に変更する設定変更部と
を備えることを特徴とするアドホックネットワークシステム。
An ad hoc network system in which a plurality of wireless terminals and a management device that manages information of the plurality of wireless terminals are connected;
The management device
When changing the setting value of at least one of a frequency channel and a PANID (Personal Area Network IDentifier) used by the plurality of wireless terminals for communication, change instruction information including the changed setting value is transmitted to the plurality of wireless terminals. A change instruction transmission unit to be transmitted to,
A response receiving unit that receives a response signal transmitted from each wireless terminal when each wireless terminal of the plurality of wireless terminals receives the change instruction information transmitted by the change instruction transmitting unit;
Reset instruction for transmitting, to the plurality of wireless terminals, reset instruction information for changing the setting to the changed setting value included in the change instruction information when the response receiving unit receives a response signal from each of the wireless terminals. A transmission unit,
Each wireless terminal of the plurality of wireless terminals is
A setting value storage unit that stores setting values of at least one of the frequency channel being used and the PANID;
A change instruction information receiving unit for receiving the change instruction information transmitted by the change instruction transmitting unit;
A response signal transmitting unit that transmits a response signal to the management device when the change instruction information receiving unit receives the change instruction information;
A reset instruction information receiving unit for receiving the reset instruction information transmitted by the reset instruction transmitting unit;
A setting change unit that changes the setting value stored in the setting value storage unit to the changed setting value included in the change instruction information when the reset instruction information receiving unit receives the reset instruction information. A featured ad hoc network system.
アドホックネットワークに接続された複数の無線端末の情報を管理する管理装置の設定変更プログラムであり、
上記複数の無線端末が通信に使用する周波数チャネルとPANID(Personal Area Network IDentifier)との少なくともいずれかの設定値を変更する場合に、変更後の設定値を含む変更指示情報を上記複数の無線端末へ送信する変更指示送信処理と、
上記変更指示送信処理で送信した変更指示情報を上記複数の無線端末の各無線端末が受信した場合に上記各無線端末から送信される応答信号を受信する応答受信処理と、
上記応答受信処理で上記各無線端末から応答信号を受信した場合に、上記変更指示情報に含まれた変更後の設定値へ設定を変更させるリセット指示情報を上記複数の無線端末へ送信するリセット指示送信処理と
をコンピュータに実行させることを特徴とする管理装置の設定変更プログラム。
A management device setting change program for managing information of a plurality of wireless terminals connected to an ad hoc network,
When changing the setting value of at least one of a frequency channel and a PANID (Personal Area Network IDentifier) used by the plurality of wireless terminals for communication, change instruction information including the changed setting value is transmitted to the plurality of wireless terminals. Change instruction transmission processing to be transmitted to
A response reception process for receiving a response signal transmitted from each wireless terminal when each wireless terminal of the plurality of wireless terminals receives the change instruction information transmitted in the change instruction transmission process;
A reset instruction for transmitting reset instruction information to the plurality of wireless terminals to change the setting to the setting value after change included in the change instruction information when a response signal is received from each wireless terminal in the response reception process A management apparatus setting change program that causes a computer to execute transmission processing.
アドホックネットワークに接続された複数の無線端末の情報を管理する管理装置の設定変更方法であり、
通信装置が、上記複数の無線端末が通信に使用する周波数チャネルとPANID(Personal Area Network IDentifier)との少なくともいずれかの設定値を変更する場合に、変更後の設定値を含む変更指示情報を上記複数の無線端末へ送信する変更指示送信ステップと、
通信装置が、上記変更指示送信ステップで送信した変更指示情報を上記複数の無線端末の各無線端末が受信した場合に上記各無線端末から送信される応答信号を受信する応答受信ステップと、
通信装置が、上記応答受信ステップで上記各無線端末から応答信号を受信した場合に、上記変更指示情報に含まれた変更後の設定値へ設定を変更させるリセット指示情報を上記複数の無線端末へ送信するリセット指示送信ステップと
を備えることを特徴とする管理装置の設定変更方法。
A method for changing a setting of a management device that manages information of a plurality of wireless terminals connected to an ad hoc network,
When the communication device changes the setting value of at least one of the frequency channel and PANID (Personal Area Network IDentifier) used by the plurality of wireless terminals for communication, the change instruction information including the changed setting value A change instruction transmission step for transmitting to a plurality of wireless terminals;
A response reception step of receiving a response signal transmitted from each of the wireless terminals when each wireless terminal of the plurality of wireless terminals receives the change instruction information transmitted by the communication device in the change instruction transmitting step;
When the communication device receives a response signal from each of the wireless terminals in the response receiving step, reset instruction information for changing the setting to the changed setting value included in the change instruction information is sent to the plurality of wireless terminals. A management apparatus setting change method comprising: a reset instruction transmission step for transmitting.
アドホックネットワークに接続され、管理装置により管理される無線端末の設定変更プログラムであり、
周波数チャネルとPANID(Personal Area Network IDentifier)との少なくともいずれかの変更後の設定値を含む変更指示情報を管理装置から受信する変更指示情報受信処理と、
設定値の変更を促すリセット指示情報を上記管理装置から受信するリセット指示情報受信処理と、
上記リセット指示情報受信処理でリセット指示情報を受信した場合、予め記憶装置に記憶した周波数チャネルとPANIDとの少なくともいずれかの設定値を、上記変更指示情報受信処理で受信した変更指示情報に含まれる変更後の設定値に変更する設定変更処理と
をコンピュータに実行させることを特徴とする無線端末の設定変更プログラム。
A wireless terminal setting change program connected to an ad hoc network and managed by a management device.
Change instruction information reception processing for receiving change instruction information including a setting value after changing at least one of a frequency channel and a PANID (Personal Area Network IDentifier);
Reset instruction information reception processing for receiving reset instruction information for urging change of a setting value from the management device;
When the reset instruction information is received in the reset instruction information receiving process, the change instruction information received in the change instruction information receiving process includes at least one of the setting values of the frequency channel and the PANID stored in the storage device in advance. A setting change program for a wireless terminal, which causes a computer to execute a setting change process for changing to a set value after change.
アドホックネットワークに接続され、管理装置により管理される無線端末の設定変更方法であり、
通信装置が、周波数チャネルとPANIDとの少なくともいずれかの変更後の設定値を含む変更指示情報を管理装置から受信する変更指示情報受信ステップと、
通信装置が、設定値の変更を促すリセット指示情報を上記管理装置から受信するリセット指示情報受信ステップと、
処理装置が、上記リセット指示情報受信ステップでリセット指示情報を受信した場合、予め記憶装置に記憶した周波数チャネルとPANIDとの少なくともいずれかの設定値を、上記変更指示情報受信ステップで受信した変更指示情報に含まれる変更後の設定値に変更する設定変更ステップと
を備えることを特徴とする無線端末の設定変更方法。
A method for changing the settings of a wireless terminal connected to an ad hoc network and managed by a management device.
A change instruction information receiving step in which the communication apparatus receives change instruction information including a setting value after changing at least one of the frequency channel and the PANID from the management apparatus;
A reset instruction information receiving step in which the communication apparatus receives from the management apparatus reset instruction information urging change of a setting value;
When the processing apparatus receives the reset instruction information in the reset instruction information receiving step, the change instruction received in the change instruction information receiving step is a setting value of at least one of the frequency channel and the PANID stored in the storage device in advance. A setting change step for changing to a setting value after change included in the information.
JP2007253087A 2007-09-28 2007-09-28 Management device, radio terminal, ad hoc network system, setting changing program of management device, setting changing method of management device, setting changing program of radio terminal, and setting changing method of radio terminal Pending JP2009088750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007253087A JP2009088750A (en) 2007-09-28 2007-09-28 Management device, radio terminal, ad hoc network system, setting changing program of management device, setting changing method of management device, setting changing program of radio terminal, and setting changing method of radio terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007253087A JP2009088750A (en) 2007-09-28 2007-09-28 Management device, radio terminal, ad hoc network system, setting changing program of management device, setting changing method of management device, setting changing program of radio terminal, and setting changing method of radio terminal

Publications (1)

Publication Number Publication Date
JP2009088750A true JP2009088750A (en) 2009-04-23

Family

ID=40661623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007253087A Pending JP2009088750A (en) 2007-09-28 2007-09-28 Management device, radio terminal, ad hoc network system, setting changing program of management device, setting changing method of management device, setting changing program of radio terminal, and setting changing method of radio terminal

Country Status (1)

Country Link
JP (1) JP2009088750A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012010080A (en) * 2010-06-24 2012-01-12 Brother Ind Ltd Communication device and radio communication system
WO2012161300A1 (en) * 2011-05-26 2012-11-29 日本電気株式会社 Network setting change method and system thereof, and terminal which is used with said system
US8650400B2 (en) 2009-03-31 2014-02-11 Brother Kogyo Kabushiki Kaisha Data processor, relay transmitter, and data transmission system
JP2014120865A (en) * 2012-12-14 2014-06-30 Ihi Transport Machinery Co Ltd Carrying device
JP2014524205A (en) * 2011-07-11 2014-09-18 コーニンクレッカ フィリップス エヌ ヴェ How to configure a node
JP2014525154A (en) * 2011-06-09 2014-09-25 コーニンクレッカ フィリップス エヌ ヴェ Network configuration method
WO2015001724A1 (en) 2013-07-03 2015-01-08 パナソニックIpマネジメント株式会社 Communication terminal, communication method, and program
JP5777112B2 (en) * 2010-02-23 2015-09-09 国立大学法人九州大学 Communication system, slave node, route construction method and program
JP2016503989A (en) * 2013-01-02 2016-02-08 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Delegated channel switching for mesh networks
JP2017168926A (en) * 2016-03-14 2017-09-21 セイコーソリューションズ株式会社 Order management system
US9877355B2 (en) 2013-12-26 2018-01-23 Oki Electric Industry Co., Ltd. Wireless communicator connectable to different types of wireless communication networks
WO2018079342A1 (en) * 2016-10-25 2018-05-03 株式会社Where Beacon
JP2018182576A (en) * 2017-04-14 2018-11-15 サクサ株式会社 Radio communication system
JP2019208105A (en) * 2018-05-28 2019-12-05 Necプラットフォームズ株式会社 Wireless lan access point, wireless lan slave unit, wireless lan system, wireless connection method, and program
JP7366318B1 (en) 2023-02-13 2023-10-20 三菱電機株式会社 Communication system, communication method, and communication program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006110404A2 (en) * 2005-04-08 2006-10-19 Interdigital Technology Corporation Method and apparatus for coordinating seamless channel switching in a mesh network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006110404A2 (en) * 2005-04-08 2006-10-19 Interdigital Technology Corporation Method and apparatus for coordinating seamless channel switching in a mesh network

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8650400B2 (en) 2009-03-31 2014-02-11 Brother Kogyo Kabushiki Kaisha Data processor, relay transmitter, and data transmission system
JP5777112B2 (en) * 2010-02-23 2015-09-09 国立大学法人九州大学 Communication system, slave node, route construction method and program
JP2012010080A (en) * 2010-06-24 2012-01-12 Brother Ind Ltd Communication device and radio communication system
WO2012161300A1 (en) * 2011-05-26 2012-11-29 日本電気株式会社 Network setting change method and system thereof, and terminal which is used with said system
JP5656096B2 (en) * 2011-05-26 2015-01-21 日本電気株式会社 Network setting changing method and system, and terminal used in the system
US10212033B2 (en) 2011-05-26 2019-02-19 Nec Corporation Network setting change method and system thereof, and terminals which are used with said system
US9860127B2 (en) 2011-06-09 2018-01-02 Philips Lighting Holding B.V. Method for configuring a network
JP2014525154A (en) * 2011-06-09 2014-09-25 コーニンクレッカ フィリップス エヌ ヴェ Network configuration method
JP2014524205A (en) * 2011-07-11 2014-09-18 コーニンクレッカ フィリップス エヌ ヴェ How to configure a node
US9948504B2 (en) 2011-07-11 2018-04-17 Philips Lighting Holding B.V. Method for configuring a node
JP2014120865A (en) * 2012-12-14 2014-06-30 Ihi Transport Machinery Co Ltd Carrying device
JP2016503989A (en) * 2013-01-02 2016-02-08 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Delegated channel switching for mesh networks
WO2015001724A1 (en) 2013-07-03 2015-01-08 パナソニックIpマネジメント株式会社 Communication terminal, communication method, and program
US9877355B2 (en) 2013-12-26 2018-01-23 Oki Electric Industry Co., Ltd. Wireless communicator connectable to different types of wireless communication networks
JP2017168926A (en) * 2016-03-14 2017-09-21 セイコーソリューションズ株式会社 Order management system
JP2018074242A (en) * 2016-10-25 2018-05-10 株式会社Where beacon
WO2018079342A1 (en) * 2016-10-25 2018-05-03 株式会社Where Beacon
US10849047B2 (en) 2016-10-25 2020-11-24 Where, Inc. Beacon
JP2018182576A (en) * 2017-04-14 2018-11-15 サクサ株式会社 Radio communication system
JP2019208105A (en) * 2018-05-28 2019-12-05 Necプラットフォームズ株式会社 Wireless lan access point, wireless lan slave unit, wireless lan system, wireless connection method, and program
JP7366318B1 (en) 2023-02-13 2023-10-20 三菱電機株式会社 Communication system, communication method, and communication program

Similar Documents

Publication Publication Date Title
JP2009088750A (en) Management device, radio terminal, ad hoc network system, setting changing program of management device, setting changing method of management device, setting changing program of radio terminal, and setting changing method of radio terminal
US5926101A (en) Method and apparatus for routing messages in a network of nodes with minimal resources
JP6679498B2 (en) Method and apparatus for reducing packet storm duration in wireless mesh networks
JP5196931B2 (en) Network system and control wireless device
US9948504B2 (en) Method for configuring a node
TW201731259A (en) Data forwarding method and node device for mesh network
US8937935B2 (en) Method for communicating in a network comprising a batteryless zigbee device, network and device therefor
WO2009057863A1 (en) Reliable and energy efficient data routing apparatus and method for sensor node in wireless sensor network
JP2005109755A (en) Path setting method, network adopting same, relay station, and master station
US8787274B2 (en) Communication system
WO2011129115A1 (en) Terminal device and method for registering the same
JP4626443B2 (en) Remote monitoring control system, gateway device, and center server
JP2017208673A (en) Electrical apparatus, electrical apparatus control system, electrical apparatus control method, and program
JP2016195374A (en) Terminal and control method thereof
US10256988B2 (en) Communication system, communication device, communication adapter, communication method, and program
JP4981859B2 (en) Lighting communication system
US11617120B2 (en) Communication system, node, communication method, and computer program product
JP5543290B2 (en) Radio station and radio communication system
CN109660976B (en) Method, device, system and storage medium for device search
US10735913B2 (en) Simultaneous control of a group in a mesh network
JP5380356B2 (en) Multi-hop communication system
US11284476B1 (en) Systems and methods for commissioning nodes of a wireless network
JP6978203B2 (en) Communication setting device
JP4639597B2 (en) Wireless communication apparatus and program
JP4352960B2 (en) Parent communication device, child communication device, and communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100702

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120424

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120710

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120817

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120925