JP5125972B2 - Wireless terminal device, wireless relay device, and program - Google Patents

Wireless terminal device, wireless relay device, and program Download PDF

Info

Publication number
JP5125972B2
JP5125972B2 JP2008262637A JP2008262637A JP5125972B2 JP 5125972 B2 JP5125972 B2 JP 5125972B2 JP 2008262637 A JP2008262637 A JP 2008262637A JP 2008262637 A JP2008262637 A JP 2008262637A JP 5125972 B2 JP5125972 B2 JP 5125972B2
Authority
JP
Japan
Prior art keywords
beacon
group
wireless terminal
terminal device
reception
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008262637A
Other languages
Japanese (ja)
Other versions
JP2010093613A (en
Inventor
岳浩 相原
祐人 布川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2008262637A priority Critical patent/JP5125972B2/en
Publication of JP2010093613A publication Critical patent/JP2010093613A/en
Application granted granted Critical
Publication of JP5125972B2 publication Critical patent/JP5125972B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a radio terminal device capable of operating in a power-saving fashion at a wireless communication system, when the system includes a lot of the radio terminal devices. <P>SOLUTION: The radio terminal device 2 includes a radio receiver 27, a memory 22 for address, and a controller 20. The radio receiver 27 receives a beacon. The beacon includes a group information (extended sequence number and mask bit) indicative of a group to which a radio terminal device for receiving the beacon belongs and a contiguity bit indicative whether the operating status of the radio receiver for every group should be maintained to a reception available status according to the remaining amount of data for every group. The memory 22 stores a node address for identifying the own device. Based on a group identification information contained in the received beacon and the node address, the controller 20 computes an activation timing for activating the radio receiver, and stops operation of the radio receiver until the computed activation timing is arrived. Then, the controller 20 activates the radio receiver with the activation timing to receive the beacon, and establishes the operating status of the radio receiver based on the contiguity bit contained in the received beacon. <P>COPYRIGHT: (C)2010,JPO&amp;INPIT

Description

本発明は、無線端末装置、無線中継装置及びプログラムに関する。   The present invention relates to a wireless terminal device, a wireless relay device, and a program.

近年、複数の電子機器間で無線ネットワークを構築して情報通信を行なう無線通信システムの開発が進められている。特に、人の身の回りを通信範囲とする小規模な無線PAN(Personal Area Network)の分野の開発が進められ、急速に普及している。この無線PANは、例えば、IEEE802.15で物理層とMAC層の標準化がなされているZigBee(登録商標)やIEEE802.15.1で物理層とMAC層の標準化がなされているBluetooth(登録商標)などを用いて実現されている。   In recent years, development of a wireless communication system in which a wireless network is constructed between a plurality of electronic devices to perform information communication has been advanced. In particular, the development of the field of small-scale wireless PAN (Personal Area Network) in which a person's surroundings are within the communication range is being promoted and is rapidly spreading. This wireless PAN is, for example, ZigBee (registered trademark) in which the physical layer and the MAC layer are standardized in IEEE 802.15, and Bluetooth (registered trademark) in which the physical layer and the MAC layer are standardized in IEEE 802.15.1. It is realized by using.

ZigBeeは、ZigBeeアライアンスで標準化され、物理層及びMAC層にIEEE802.15.4を利用したものである。従って、ZigBeeは、Bluetoothよりも低速ながら低価格、低消費電力、設置が容易であり、無線中継装置が多数の無線端末装置と接続可能であるという特徴がある。   ZigBee is standardized by the ZigBee Alliance and uses IEEE802.15.4 for the physical layer and the MAC layer. Therefore, ZigBee is characterized by low cost, low power consumption, and easy installation, while being slower than Bluetooth, and the wireless relay device can be connected to many wireless terminal devices.

ZigBeeを用いた無線通信システムは、無線中継装置と無線端末装置とから構成される。この無線通信システムの通信方式として、ビーコン・モードが用いられることが多い。ビーコン・モードは、無線中継装置が所定の周期で定期的にビーコン(Beacon)信号を送信し、全ての無線端末装置がビーコンを受信し、受信したビーコンに同期して無線端末装置が無線中継装置と無線通信を行うものである。   A wireless communication system using ZigBee includes a wireless relay device and a wireless terminal device. A beacon mode is often used as a communication method of this wireless communication system. In the beacon mode, the wireless relay device periodically transmits a beacon signal at a predetermined cycle, all wireless terminal devices receive the beacon, and the wireless terminal device is the wireless relay device in synchronization with the received beacon. Wireless communication.

無線中継装置から無線端末装置へデータを送信する場合、無線中継装置は、ビーコン内のペンディングアドレス内にデータを送信する無線端末装置のアドレスを格納して送信する。そしてビーコンを受信した無線端末装置は、ビーコン内に自身のアドレスがある場合にはデータリクエストを無線中継装置に送信してデータを受信する。   When transmitting data from the wireless relay device to the wireless terminal device, the wireless relay device stores and transmits the address of the wireless terminal device that transmits data in the pending address in the beacon. The wireless terminal device that has received the beacon transmits a data request to the wireless relay device and receives data when the beacon has its own address.

上述したような無線通信システムでは、ペンディングアドレス内に格納できる無線端末装置のアドレスの数は最大7つまでとIEEE802.15.4により規定されている。
そのため、例えば、1台の無線中継装置と、8台以上の多数の無線端末装置とから構成される無線通信システムであって、全ての無線端末装置にデータを送信する場合でも、1つのビーコン内に最大7つまでしかアドレスを格納することができない。従って、1回のビーコンの送信で最大7台の無線端末装置しかデータを受信できないのにもかかわらず、全ての無線端末装置がビーコンの送信回毎に受信動作を行うことになる。このことから、無線端末装置は、データを受信する必要がない場合でもビーコンの受信を行なうため、無駄に電力を消費するという問題がある。
In the wireless communication system as described above, the maximum number of wireless terminal device addresses that can be stored in the pending address is up to 7 and is defined by IEEE 802.15.4.
Therefore, for example, in a wireless communication system including one wireless relay device and a large number of eight or more wireless terminal devices, even when data is transmitted to all wireless terminal devices, Only a maximum of 7 addresses can be stored in a single address. Therefore, although only a maximum of seven wireless terminal devices can receive data in one beacon transmission, all wireless terminal devices perform a receiving operation for each beacon transmission time. For this reason, since the wireless terminal device receives a beacon even when it is not necessary to receive data, there is a problem that power is wasted.

そこで、無線通信システムにおいて、無線端末装置の省電力化を図る技術として、アクセスポイント(無線中継装置)が無線端末装置へデータを送信する際、データとともに次にデータ伝送する時間を示すデータを送り、無線端末装置が自局宛以外のデータを受信することを防止することが開示されている(特許文献1参照)。
特開2002−300175号公報
Therefore, in a wireless communication system, as a technique for reducing power consumption of a wireless terminal device, when an access point (wireless relay device) transmits data to the wireless terminal device, data indicating the next data transmission time is sent together with the data. It is disclosed that a wireless terminal device is prevented from receiving data other than that addressed to the own station (see Patent Document 1).
JP 2002-300195 A

しかしながら、特許文献1に記載の発明をビーコン・モードを有する無線通信システムに適用する場合、無線端末装置は、自身宛のビーコンが受信できるまでビーコンの受信可能状態を維持し続けなくてはならない。そのため、電子棚札等のように多数の無線端末装置が存在する無線通信システムの場合には、長時間無駄な受信動作を維持しなくてはならない無線端末装置が多数発生するという問題がある。   However, when the invention described in Patent Document 1 is applied to a wireless communication system having a beacon mode, the wireless terminal device must continue to maintain a beacon receivable state until a beacon addressed to itself can be received. Therefore, in the case of a wireless communication system in which a large number of wireless terminal devices exist, such as an electronic shelf label, there is a problem that a large number of wireless terminal devices that have to maintain a wasteful reception operation for a long time occur.

本発明の課題は、上記問題に鑑みて、無線端末装置の省電力化を図ることである。   In view of the above problems, an object of the present invention is to save power in a wireless terminal device.

以上の課題を解決するため、請求項1記載の発明は、ビーコンを受信する受信部を備えた無線端末装置において、前記ビーコンは、当該ビーコンの受信対象となる無線端末装置が属するグループを示すグループ識別情報と、前記グループ毎のデータ残量に応じて前記グループ毎に前記受信部の動作状態を受信可能状態に維持するか否かを示す受信状態指示情報と、を含み、自己を識別する端末識別情報が記憶されている識別情報記憶部と、前記受信部により受信したビーコンに含まれているグループ識別情報と前記端末識別情報とに基づいて、前記受信部を起動させるタイミングを算出し、当該算出したタイミングまで前記受信部の動作を停止させ、当該算出したタイミングで前記受信部を起動して前記ビーコンを受信させ、当該算出したタイミングで受信したビーコンに含まれている前記受信状態指示情報に基づいて前記受信部の動作状態を設定する制御部と、を備えること、を特徴とする無線端末装置である。
更に、コンピュータを上述した請求項1記載の発明に示した各部として機能させるためのプログラムを提供する(請求項6記載の発明)。
In order to solve the above problems, the invention according to claim 1 is a wireless terminal device including a receiving unit that receives a beacon, wherein the beacon indicates a group to which a wireless terminal device that is a reception target of the beacon belongs. A terminal for identifying itself, including identification information and reception state instruction information indicating whether or not the operation state of the reception unit is maintained in a receivable state for each group according to the remaining amount of data for each group Based on the identification information storage unit in which the identification information is stored, the group identification information included in the beacon received by the reception unit, and the terminal identification information, the timing for starting the reception unit is calculated, The operation of the receiving unit is stopped until the calculated timing, and the receiving unit is activated at the calculated timing to receive the beacon. Further comprising a control unit for setting the operating state of the receiver unit based on the reception status indication information included in the received beacon timing is a radio terminal apparatus according to claim.
Furthermore, a program is provided for causing a computer to function as each unit shown in the first aspect of the present invention (the sixth aspect of the present invention).

請求項2記載の発明は、請求項1に記載の無線端末装置において、前記制御部は、前記受信状態指示情報が前記受信部の動作状態を受信可能状態に維持することを示している場合、前記受信部の動作状態を受信可能状態に維持させ、当該受信可能状態に維持された前記受信部により受信した前記ビーコンに自己の端末識別情報が含まれている場合には、前記受信部によりデータを受信すること、を特徴としている。   According to a second aspect of the present invention, in the wireless terminal device according to the first aspect, when the control unit indicates that the reception state instruction information maintains an operation state of the reception unit in a receivable state, When the receiving unit maintains the operation state of the receiving unit in a receivable state and the beacon received by the receiving unit maintained in the receivable state includes its own terminal identification information, data is received by the receiving unit. It is characterized by receiving.

請求項3記載の発明は、請求項2に記載の無線端末装置において、前記制御部は、前記受信可能状態に維持された前記受信部が前記ビーコンを受信した場合、前記グループ識別情報と前記端末識別情報とに基づき前記受信部により受信したビーコンが自己が属するグループ宛のビーコンであるか否かを判別し、前記ビーコンが自己が属するグループ宛のビーコンでない場合には、当該ビーコンの受信対象であるグループに属する無線端末装置によるデータの受信が完了した後、前記ビーコンに自己の端末識別情報が含まれている場合には、前記受信部によりデータを受信すること、を特徴としている。   According to a third aspect of the present invention, in the wireless terminal device according to the second aspect, when the receiving unit maintained in the receivable state receives the beacon, the group identifying information and the terminal It is determined whether the beacon received by the receiver based on the identification information is a beacon addressed to the group to which the self belongs, and if the beacon is not a beacon addressed to the group to which the self belongs, After reception of data by a wireless terminal device belonging to a certain group is completed, if the beacon includes its own terminal identification information, the reception unit receives the data.

請求項4記載の発明は、無線端末装置に定期的にビーコンを送信する送信部と、前記ビーコンの受信対象となる前記無線端末装置が属するグループを示すグループ識別情報と、前記グループ毎のデータ残量に応じて前記グループ毎に前記無線端末装置が備える受信部の動作状態を受信可能状態に維持するか否かを示す受信状態指示情報と、を含む前記ビーコンを生成し、生成した前記ビーコンを前記送信部により前記無線端末装置へ送信させる制御部と、を備えることを特徴とする無線中継装置である。
更に、コンピュータを上述した請求項4記載の発明に示した各部として機能させるためのプログラムを提供する(請求項7記載の発明)。
According to a fourth aspect of the present invention, there is provided a transmitting unit that periodically transmits a beacon to a wireless terminal device, group identification information indicating a group to which the wireless terminal device that is a reception target of the beacon belongs, and data remaining for each group. The beacon including the reception state instruction information indicating whether or not to maintain the operation state of the reception unit included in the wireless terminal device for each group according to the amount in a receivable state, and the generated beacon And a control unit that causes the transmission unit to transmit to the wireless terminal device.
Furthermore, a program is provided for causing a computer to function as each section shown in the invention described in claim 4 (the invention described in claim 7).

請求項5記載の発明は、請求項4に記載の無線中継装置において、前記ビーコンは、データの送信対象となる前記無線端末装置の端末識別情報を含み、前記制御部は、送信する前記ビーコンに含める前記端末識別情報が示す無線端末装置が属するグループのデータ量がビーコン送信期間内で送信可能なデータ量を超える場合、前記受信状態指示情報として当該グループに属する無線端末装置の前記受信部の動作状態を受信可能状態に維持させるものとすること、を特徴としている。   According to a fifth aspect of the present invention, in the wireless relay device according to the fourth aspect, the beacon includes terminal identification information of the wireless terminal device that is a transmission target of data, and the control unit includes the beacon to be transmitted. When the data amount of the group to which the wireless terminal device indicated by the terminal identification information to be included exceeds the data amount that can be transmitted within the beacon transmission period, the operation of the receiving unit of the wireless terminal device belonging to the group as the reception state instruction information It is characterized in that the state is maintained in a receivable state.

本発明によれば、無線端末装置の省電力化を図ることができる。   According to the present invention, it is possible to save power in the wireless terminal device.

以下、図を参照して本発明の実施の形態を詳細に説明する。なお、この発明にはこの実施の形態に限定されるものではない。また、この発明の実施の形態は、発明の最も好ましい形態を示すものであり、この発明の用語はこれに限定されない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The present invention is not limited to this embodiment. The embodiment of the present invention shows the most preferable mode of the present invention, and the terminology of the present invention is not limited to this.

まず、構成を説明する。
図1に、本実施の形態における無線通信システムAの概略構成図を示す。
First, the configuration will be described.
FIG. 1 shows a schematic configuration diagram of a wireless communication system A in the present embodiment.

図1に示すように、無線通信システムAは、有線ネットワーク3を介して他の無線中継装置又は外部装置と接続された無線中継装置1と、無線中継装置1と無線を介して接続される複数の無線端末装置2とを備えている。   As shown in FIG. 1, a wireless communication system A includes a wireless relay device 1 connected to another wireless relay device or an external device via a wired network 3, and a plurality of wireless relay devices 1 connected to the wireless relay device 1 via wireless communication. The wireless terminal device 2 is provided.

図2に、無線中継装置1の概略構成図を示す。
図2に示すように、無線中継装置1は、制御部10、記憶部11、端末情報用メモリ12、ビーコン送信タイマ13、無線送信部14、無線受信部15、SW(切替部)16、有線I/F(InterFace)部17、バッファ18、アンテナ19等を備え、各部が電気的に接続されている。
FIG. 2 shows a schematic configuration diagram of the wireless relay device 1.
As shown in FIG. 2, the wireless relay device 1 includes a control unit 10, a storage unit 11, a terminal information memory 12, a beacon transmission timer 13, a wireless transmission unit 14, a wireless reception unit 15, a SW (switching unit) 16, a wired connection An I / F (InterFace) unit 17, a buffer 18, an antenna 19 and the like are provided, and each unit is electrically connected.

制御部10は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等を備える。制御部10は、記憶部11や端末情報用メモリ12に記憶されている各種プログラム、各種テーブルやデータ等の中から指定されたプログラム、テーブルやデータを読み出し、RAM内又は記憶部11や端末情報用メモリ12内のワークエリアに展開し、上記プログラムとの協働によって各種処理を実行し、その処理結果をRAM内又は記憶部11や端末情報用メモリ12の所定の領域に格納するとともに、無線中継装置1内の各部に指示して、無線中継装置1の動作全般を統括的に制御する。   The control unit 10 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. The control unit 10 reads out various programs stored in the storage unit 11 and the terminal information memory 12 and programs, tables and data specified from various tables and data, etc., in the RAM or in the storage unit 11 and terminal information. The data is expanded in the work area in the memory 12 and various processes are executed in cooperation with the program. The processing results are stored in the RAM or in a predetermined area of the storage unit 11 or the terminal information memory 12 and wirelessly. An instruction is given to each unit in the relay device 1 to control the overall operation of the wireless relay device 1 in an integrated manner.

制御部10は、データの送信対象となる無線端末装置の端末識別情報(ノードアドレス)とグループ識別情報及び受信状態指示情報とを含むビーコンを生成し、生成したビーコンを無線送信部14により無線端末装置2へ定期的に送信させるビーコン送信処理を実行する。   The control unit 10 generates a beacon including terminal identification information (node address), group identification information, and reception state instruction information of a wireless terminal device that is a transmission target of data, and the generated beacon is transmitted to the wireless terminal by the wireless transmission unit 14. A beacon transmission process for periodically transmitting to the device 2 is executed.

制御部10は、ビーコンに受信状態指示情報を含める場合、当該送信するビーコンに含めるノードアドレスが示す無線端末装置が属するグループのデータ量がビーコン送信間隔の期間内で送信可能なデータ量を超える場合、当該グループに属する無線端末装置の無線受信部の動作状態をビーコンの受信可能状態に維持させることを示す受信状態指示情報とする。   When the control unit 10 includes the reception state instruction information in the beacon, the data amount of the group to which the wireless terminal device indicated by the node address included in the transmitted beacon belongs exceeds the data amount that can be transmitted within the beacon transmission interval. The reception state instruction information indicating that the operation state of the wireless reception unit of the wireless terminal device belonging to the group is maintained in a beacon receivable state.

ビーコンとは、無線中継装置1から一定間隔で送信されるパケットデータであり、無線通信システムAに接続される無線端末装置2と無線中継装置1とを同期させるためのものである。   A beacon is packet data transmitted from the wireless relay device 1 at regular intervals, and is for synchronizing the wireless terminal device 2 and the wireless relay device 1 connected to the wireless communication system A.

図3に、本実施の形態におけるビーコンフォーマットの例を示す。
図3に示すように、ビーコンは、MAC(Media Access Control)ヘッダ領域B1と、MACペイロード領域B2と、MFR(MAC Footer)領域B3とを有している。
FIG. 3 shows an example of a beacon format in the present embodiment.
As shown in FIG. 3, the beacon has a MAC (Media Access Control) header area B1, a MAC payload area B2, and an MFR (MAC Footer) area B3.

MACペイロード領域B2には、SS(Superframe Specification)B21、GTS(Guaranteed Time Slot)フィールドB22、PA(Pending Address)フィールドB23、ビーコンペイロードB24等が含まれている。   The MAC payload area B2 includes an SS (Superframe Specification) B21, a GTS (Guaranteed Time Slot) field B22, a PA (Pending Address) field B23, a beacon payload B24, and the like.

SSは、スーパーフレームの詳細情報フィールドであり、ビーコンを受信した際の時間管理を行うためのビーコン送信間隔やビーコンの通信方式が定義されている。GTSフィールドには、特定の無線端末装置に保障された通信方式(例えば、GTS)の情報が含まれている。PAフィールドには、無線端末装置に送信するデータがある場合、データを送信する無線端末装置を識別する識別情報(ノードアドレス)が含まれている。ビーコンペイロードB24には、拡張シーケンスナンバーB24a、連続ビットB24b、マスクビットB24cが含まれている。   SS is a detailed information field of a superframe, and defines a beacon transmission interval and a beacon communication method for time management when a beacon is received. The GTS field includes information on a communication method (for example, GTS) guaranteed by a specific wireless terminal device. When there is data to be transmitted to the wireless terminal device, the PA field includes identification information (node address) for identifying the wireless terminal device that transmits the data. The beacon payload B24 includes an extended sequence number B24a, continuous bits B24b, and mask bits B24c.

拡張シーケンスナンバーB24aは、ビーコンの送信回毎に値が増加するものである。
マスクビットB24cは、複数の無線端末装置を分けるグループの総数に基づき拡張シーケンスナンバーのうち抽出する値が定められたものである。この拡張シーケンスナンバーとマスクビットとが、ビーコンの受信対象となる無線端末装置が属するグループを示すグループ識別情報として機能する。
The extension sequence number B24a increases in value every time a beacon is transmitted.
The mask bit B24c defines a value to be extracted from the extended sequence number based on the total number of groups that divide a plurality of wireless terminal devices. The extended sequence number and the mask bit function as group identification information indicating a group to which a wireless terminal device that is a beacon reception target belongs.

連続ビットB24bは、グループ毎のデータ残量に応じてグループ毎の無線端末装置の無線受信部の動作状態を受信可能状態に維持するか否かを示す受信状態指示情報として機能する。   The continuous bit B24b functions as reception state instruction information indicating whether or not the operation state of the wireless reception unit of the wireless terminal device for each group is maintained in a receivable state according to the data remaining amount for each group.

図4に、連続ビットフィールドのフォーマットの例を示す。
図4に示すように、連続ビットを2Byte(16bit)とした場合、最下位bit(LSB)から最上位bit(MSB)の方向に向かって、各bitは、現在送信するために作成しているビーコンの送信対象となる無線端末装置のグループ、現在よりも1個前に作成され送信されたビーコンの送信対象となる無線端末装置のグループ・・・・現在よりも15個前に作成され送信されたビーコンの送信対象となる無線端末装置のグループの無線受信部の動作状態を示している。
FIG. 4 shows an example of the format of the continuous bit field.
As shown in FIG. 4, when consecutive bits are 2 bytes (16 bits), each bit is created for transmission at present from the least significant bit (LSB) to the most significant bit (MSB). A group of wireless terminal devices to be transmitted by beacons, a group of wireless terminal devices to be transmitted by beacons that are created and transmitted one time before the current time, and are created and transmitted 15 times before the current time. The operation state of the wireless reception unit of the group of wireless terminal devices to be transmitted by the beacon is shown.

この連続ビットを構成する各bitのうち「1」が設定されているbitは、当該bitに対応するグループに属する無線端末装置の無線受信部の動作状態をビーコンの受信可能状態に維持する指示を示す。   A bit in which “1” is set among the bits constituting this continuous bit indicates an instruction to maintain the operation state of the wireless reception unit of the wireless terminal device belonging to the group corresponding to the bit in a beacon receivable state. Show.

記憶部11は、磁気的、光学的記録媒体又は半導体等の電気的に消去及び書き換えが可能な不揮発性メモリで構成されており、無線中継装置1に固定的に設けられたもの又は着脱自在に装着されるものである。例えば、FeRAM(Ferroelectric Random Access Memory)、MRAM(Magneto resistive Random Access Memory)、OUM(カルコゲニド合金による相変化記録メモリ)等を挙げることができる。また、記憶部11には、制御部10により実行される各種プログラム及びこれらプログラムで使用される各種テーブルやデータ等が予め記憶されている。   The storage unit 11 includes a nonvolatile memory that can be electrically erased and rewritten, such as a magnetic or optical recording medium or a semiconductor. The storage unit 11 is fixedly attached to the wireless relay device 1 or is detachable. It is to be attached. For example, FeRAM (Ferroelectric Random Access Memory), MRAM (Magneto resistive Random Access Memory), OUM (phase change recording memory by chalcogenide alloy), etc. can be mentioned. The storage unit 11 stores in advance various programs executed by the control unit 10 and various tables and data used by these programs.

端末情報用メモリ12は、電気的に消去及び書き換えが可能なメモリで構成されている。端末情報用メモリ12には、無線中継装置1自身の通信可能な領域内に存在する無線端末装置2のノードアドレス等の情報が格納されている。   The terminal information memory 12 is composed of a memory that can be electrically erased and rewritten. The terminal information memory 12 stores information such as the node address of the wireless terminal device 2 existing in the communicable area of the wireless relay device 1 itself.

ビーコン送信タイマ13は、ビーコンの送信間隔を計時するタイマであり、計時時間が送信間隔に達した旨を示すビーコン送信タイミング信号を制御部10に出力する。   The beacon transmission timer 13 is a timer that times the beacon transmission interval, and outputs a beacon transmission timing signal indicating that the time has reached the transmission interval to the control unit 10.

無線送信部14は、変調回路やRF(Radio Frequency)回路等を備えており、パケットの送信電力の調整を行うと共に、制御部10からの指示に応じて送信するデータの符号化を行なってパケットを構成し、構成したパケットの変調を行い、アンテナ19を介して無線端末装置2へパケットの送信を行う。   The wireless transmission unit 14 includes a modulation circuit, an RF (Radio Frequency) circuit, and the like, adjusts the transmission power of the packet, encodes the data to be transmitted in accordance with an instruction from the control unit 10, and transmits the packet. The packet is modulated, and the packet is transmitted to the wireless terminal device 2 via the antenna 19.

無線受信部15は、復調回路やRF回路等を備えており、パケットの受信感度の調整を行うと共に、アンテナ19を介して受信したパケットの復調を行い、復調したパケットの解析を行って得られたデータを制御部10に出力する。   The wireless receiving unit 15 includes a demodulation circuit, an RF circuit, and the like, and is obtained by adjusting the reception sensitivity of the packet, demodulating the packet received via the antenna 19, and analyzing the demodulated packet. The data is output to the control unit 10.

SW16は、アンテナ19と無線送信部14又は無線受信部15との間に設けられており、制御部10からの指示に従って、無線送信部14からのパケットの送信又はアンテナ19からのパケットの受信を切替える。   The SW 16 is provided between the antenna 19 and the wireless transmission unit 14 or the wireless reception unit 15, and transmits a packet from the wireless transmission unit 14 or receives a packet from the antenna 19 in accordance with an instruction from the control unit 10. Switch.

有線I/F17は、所定の通信方式により有線ネットワーク3を介して接続されている他の無線中継装置1又は外部装置と通信を行うための通信制御を行う。   The wired I / F 17 performs communication control for communicating with another wireless relay device 1 or an external device connected via the wired network 3 by a predetermined communication method.

バッファ18は、有線I/F17を介して受信したデータを一時的に記憶する。   The buffer 18 temporarily stores data received via the wired I / F 17.

アンテナ19は、設定された送信電力に応じてパケットの送信、又は設定された受信感度に応じてパケットの受信を行なう。   The antenna 19 transmits a packet according to the set transmission power or receives a packet according to the set reception sensitivity.

図5に、無線端末装置2の概略構成図を示す。
図5に示すように、無線端末装置2は、制御部20、記憶部21、アドレス用メモリ22、起動用タイマ23、電源制御部24、表示制御部25a、表示部25b、無線送信部26、無線受信部27、SW(切替部)28、アンテナ29等を備え、各部が電気的に接続されている。また、無線端末装置2は、バッテリBを備え、電源制御部24からの制御信号に応じてバッテリBから各部へ電力が供給される。
FIG. 5 shows a schematic configuration diagram of the wireless terminal device 2.
As shown in FIG. 5, the wireless terminal device 2 includes a control unit 20, a storage unit 21, an address memory 22, an activation timer 23, a power supply control unit 24, a display control unit 25 a, a display unit 25 b, a wireless transmission unit 26, A wireless receiving unit 27, a SW (switching unit) 28, an antenna 29, and the like are provided, and each unit is electrically connected. The wireless terminal device 2 includes a battery B, and power is supplied from the battery B to each unit in response to a control signal from the power supply control unit 24.

制御部20は、CPU、ROM、RAM等を備え、記憶部21に記憶されている各種プログラム、各種テーブルやデータの中から指定されたプログラム、テーブルやデータを読み出し、RAM内又は記憶部21内のワークエリアに展開し、上記プログラムとの協働によって各種処理を実行し、その処理結果をRAM又は記憶部21の所定の領域に格納するとともに、無線端末装置2内の各部に指示して、無線端末装置2の動作全般を統括的に制御する。   The control unit 20 includes a CPU, a ROM, a RAM, and the like, reads out various programs stored in the storage unit 21, various programs and tables and data specified from various tables and data, and stores them in the RAM or the storage unit 21. In the work area, execute various processes in cooperation with the above program, store the processing results in a predetermined area of the RAM or storage unit 21, and instruct each unit in the wireless terminal device 2, The overall operation of the wireless terminal device 2 is comprehensively controlled.

制御部20は、無線受信部27により受信したビーコンに含まれているグループ識別情報(拡張シーケンスナンバー及びマスクビット)と、アドレス用メモリ22に保持している自身のノードアドレスとに基づいて、無線受信部を起動させるタイミング(起動タイミング)を算出し、算出した起動タイミングまで無線受信部27の動作を停止させ、起動タイミングで無線受信部27を起動させてビーコンを受信させ、起動タイミングで受信したビーコンに含まれている受信状態指示情報(連続ビット)に基づいて無線受信部27の動作状態を設定するビーコン受信処理を実行する。   Based on the group identification information (extended sequence number and mask bit) included in the beacon received by the radio reception unit 27 and the node address held in the address memory 22, the control unit 20 The timing for starting the receiving unit (starting timing) is calculated, the operation of the wireless receiving unit 27 is stopped until the calculated starting timing, the beacon is received by starting the wireless receiving unit 27 at the starting timing, and received at the starting timing Based on the reception state instruction information (continuous bits) included in the beacon, a beacon reception process for setting the operation state of the wireless reception unit 27 is executed.

更に制御部20は、連続ビットが無線受信部27の動作状態を受信可能状態に維持することを示している場合、無線受信部27の動作状態を受信可能状態に維持させ、当該受信可能状態に維持された無線受信部27により受信したビーコンに自己のノードアドレスが含まれている場合には、無線受信部によりデータを受信する制御を行なう。   Further, when the consecutive bits indicate that the operation state of the wireless reception unit 27 is maintained in the receivable state, the control unit 20 maintains the operation state of the wireless reception unit 27 in the receivable state, and enters the receivable state. When the beacon received by the maintained wireless receiving unit 27 includes its own node address, the wireless receiving unit performs control to receive data.

制御部20は、受信したビーコンの連続ビットにより無線受信部27が受信可能状態である場合にデータを受信する際には、グループ識別情報と連続ビットとに基づき無線受信部27により受信したビーコンが自己が属するグループ宛のビーコンであるか否かを判別し、当該ビーコンが自己が属するグループ宛のビーコンでない場合には、当該ビーコンの受信対象先であるグループの無線端末装置によるデータの受信が完了した後、ビーコンに自己のノードアドレスが含まれている場合には、無線受信部によりデータを受信する制御を行なう。   When the control unit 20 receives data when the wireless reception unit 27 is in a receivable state by the continuous bits of the received beacon, the beacon received by the wireless reception unit 27 based on the group identification information and the continuous bits is received. It is determined whether or not the beacon is addressed to the group to which the user belongs, and if the beacon is not addressed to the group to which the user belongs, reception of data by the wireless terminal device of the group to which the beacon is received is completed. After that, if the beacon includes its own node address, the wireless receiving unit performs control to receive data.

起動タイミングの算出として、制御部20は、拡張シーケンスナンバーからマスビットを用いて抽出した値を示す第1算出値と、自身のノードアドレスからマスクビットを用いて抽出した値を示す第2算出値との差分値を算出し、予め設定されたビーコンが送信される間隔(ビーコン間隔)に差分値を乗算した値を示す第3算出値を算出し、ビーコンを受信した時刻(T)に第3算出値を加算した時刻を起動タイミングとして算出する。   As the calculation of the activation timing, the control unit 20 includes a first calculated value indicating a value extracted from the extended sequence number using a mass bit, and a second calculated value indicating a value extracted from its own node address using a mask bit; A third calculated value indicating a value obtained by multiplying a preset beacon transmission interval (beacon interval) by the difference value is calculated, and a third calculation is performed at the time (T) when the beacon is received. The time when the values are added is calculated as the activation timing.

図6に、拡張シーケンスナンバー、マスクビット、ノードアドレスの例を示す。図6を参照して第1算出値と第2算出値の算出例を説明する。
図6に示すように、拡張シーケンスナンバー、マスクビット、ノードアドレスをそれぞれ2進数で2Byte(16bit)とする。図6では、16進数で拡張シーケンスナンバーが「AAAA」、マスクビットが「0003」、ノードアドレスが「FFAA」と表される場合の例を用いて説明する。図6には、4bit毎に示される2進数の値に対応する16進数の値を示す。
FIG. 6 shows examples of extended sequence numbers, mask bits, and node addresses. A calculation example of the first calculated value and the second calculated value will be described with reference to FIG.
As shown in FIG. 6, the extended sequence number, the mask bit, and the node address are each 2 bytes (16 bits) in binary. In FIG. 6, an explanation will be given using an example in which the extended sequence number is represented as “AAAA”, the mask bit is “0003”, and the node address is “FFAA” in hexadecimal. FIG. 6 shows a hexadecimal value corresponding to a binary value shown every 4 bits.

第1算出値は、拡張シーケンスナンバーとマスクビットとをANDして得られた値である。図6では、マスクビットの1がたっているbitに対応する拡張シーケンスナンバーの網掛けされているbitの値「10」が第1算出値として算出される。また、第2算出値は、ノードアドレスとマスクビットとをANDして得られた値である。図6では、マスクビットの1がたっているbitに対応するノードアドレスの網掛けされているbitの値「10」が第2算出として算出される。   The first calculated value is a value obtained by ANDing the extended sequence number and the mask bit. In FIG. 6, the shaded bit value “10” of the extended sequence number corresponding to the bit having 1 of the mask bit is calculated as the first calculated value. The second calculated value is a value obtained by ANDing the node address and the mask bit. In FIG. 6, the shaded bit value “10” of the node address corresponding to the bit having 1 of the mask bit is calculated as the second calculation.

マスクビットの下位2bitが1である場合、拡張シーケンナンバー、ノードアドレスから抽出される第1算出値、第2算出値は、「00」、「01」、「10」、「11」の4通りである。従って、制御部20は、マスクビット及びノードアドレスにより、複数の無線端末装置をノードアドレスの下位2bitが同一である無線端末装置毎のグループに分けて識別する。マスクビットの下位2bitが1である場合には、複数の無線端末装置は4つのグループに分けられる。   When the lower 2 bits of the mask bit are 1, the first calculated value and the second calculated value extracted from the extended sequence number and the node address are four types of “00”, “01”, “10”, and “11”. It is. Therefore, the control unit 20 identifies a plurality of wireless terminal devices by dividing them into groups for each wireless terminal device having the same lower 2 bits of the node address based on the mask bit and the node address. When the lower 2 bits of the mask bit are 1, the plurality of wireless terminal devices are divided into four groups.

マスクビットの値(マスクビットの1となるbit数)は、ビーコンを送信する無線中継装置1と接続可能な無線端末装置の数に応じて変更されるものである。IEEE802.15.4では、1つのビーコンで最大7つのノードアドレスを格納するものと規定されていることから、無線端末装置の総数と7の倍数とに応じてマスクビットの値が定められる。   The value of the mask bit (the number of bits that become 1 of the mask bit) is changed according to the number of wireless terminal devices that can be connected to the wireless relay device 1 that transmits a beacon. In IEEE 802.15.4, it is defined that a maximum of seven node addresses are stored in one beacon. Therefore, the value of the mask bit is determined according to the total number of wireless terminal devices and a multiple of seven.

算出した第1算出値と第2算出値とが一致する場合、制御部20は、受信したビーコンは自己が属するグループ宛のビーコンであると判別する。   When the calculated first calculated value matches the second calculated value, the control unit 20 determines that the received beacon is a beacon addressed to the group to which the self belongs.

記憶部21は、磁気的、光学的記録媒体又は半導体等の電気的に消去及び書き換えが可能な不揮発性メモリで構成されており、無線端末装置2に固定的に設けられたもの又は着脱自在に装着されるものである。例えば、FeRAM(Ferroelectric Random Access Memory)、MRAM(Magneto resistive Random Access Memory)、OUM(カルコゲニド合金による相変化記録メモリ)等を挙げることができる。また、記憶部21には、制御部20により実行される各種プログラム及びこれらプログラムで使用される各種テーブルやデータ等が予め記憶されている。   The storage unit 21 is composed of a non-volatile memory that can be electrically erased and rewritten, such as a magnetic or optical recording medium or a semiconductor, and is provided in the wireless terminal device 2 or is detachable. It is to be attached. For example, FeRAM (Ferroelectric Random Access Memory), MRAM (Magneto resistive Random Access Memory), OUM (phase change recording memory by chalcogenide alloy), etc. can be mentioned. The storage unit 21 stores in advance various programs executed by the control unit 20 and various tables and data used in these programs.

アドレス用メモリ22は、電気的に消去及び書き換えが可能な不揮発性メモリで構成されている。アドレス用メモリ22には、無線端末装置2の自己を識別する端末識別情報(ノードアドレス)が記憶されており、アドレス用メモリ22は識別情報記憶部として機能する。   The address memory 22 is composed of a nonvolatile memory that can be electrically erased and rewritten. The address memory 22 stores terminal identification information (node address) for identifying the wireless terminal device 2 itself, and the address memory 22 functions as an identification information storage unit.

起動用タイマ23は、制御部20により算出された無線受信部27の起動タイミング(起動時刻)を計時するタイマであり、起動タイミングに達した旨を示す起動タイミング信号を制御部20に出力する。   The activation timer 23 is a timer that times the activation timing (activation time) of the wireless reception unit 27 calculated by the control unit 20, and outputs an activation timing signal indicating that the activation timing has been reached to the control unit 20.

電源制御部24は、制御部20からの指示に従い、無線端末装置2全体の電源を制御し、無線端末装置2内の各部にバッテリBからの電力を供給する。   The power control unit 24 controls the power supply of the entire wireless terminal device 2 in accordance with an instruction from the control unit 20, and supplies power from the battery B to each unit in the wireless terminal device 2.

バッテリBは、例えば、アルカリ乾電池やマンガン乾電池等の一次電池や、ニッケルカドミウム電池やニッケル水素電池、リチウムイオン電池等の二次電池等である。   The battery B is, for example, a primary battery such as an alkaline battery or a manganese battery, or a secondary battery such as a nickel cadmium battery, a nickel hydrogen battery, or a lithium ion battery.

表示制御部25aは、制御部20から入力される表示指示に従って、各種情報を表示部25bに表示させる。   The display control unit 25a displays various information on the display unit 25b in accordance with the display instruction input from the control unit 20.

表示部25bは、LCD(Liquid Crystal Display)やEL(Electro Luminescence)ディスプレイ等によって構成され、表示制御部25aから入力される信号に応じて各種画面をディスプレイ上に表示する。   The display unit 25b is configured by an LCD (Liquid Crystal Display), an EL (Electro Luminescence) display, or the like, and displays various screens on the display according to a signal input from the display control unit 25a.

無線送信部26は、変調回路やRF(Radio Frequency)回路等を備えており、パケットの送信電力の調整を行うと共に、制御部20からの指示に応じて送信するデータの符号化を行なってパケットを構成し、構成したパケットの変調を行い、アンテナ29を介して無線中継装置1へパケットの送信を行う。   The wireless transmission unit 26 includes a modulation circuit, an RF (Radio Frequency) circuit, and the like, adjusts the transmission power of the packet, encodes data to be transmitted in accordance with an instruction from the control unit 20, and transmits the packet. The packet is modulated, and the packet is transmitted to the wireless relay device 1 via the antenna 29.

無線受信部27は、復調回路やRF回路等を備えており、パケットの受信感度の調整を行うと共に、アンテナ29を介して受信したパケットの復調を行い、復調したパケットの解析を行って得られたデータを制御部20に出力する。   The wireless reception unit 27 includes a demodulation circuit, an RF circuit, and the like, and is obtained by adjusting the reception sensitivity of the packet, demodulating the packet received via the antenna 29, and analyzing the demodulated packet. The data is output to the control unit 20.

SW28は、アンテナ29と無線送信部26又は無線受信部27との間に設けられており、制御部20からの指示に従って、無線送信部26からのパケットの送信又はアンテナ29からのパケットの受信を切替える。   The SW 28 is provided between the antenna 29 and the wireless transmission unit 26 or the wireless reception unit 27, and transmits a packet from the wireless transmission unit 26 or receives a packet from the antenna 29 in accordance with an instruction from the control unit 20. Switch.

アンテナ29は、設定された送信電力に応じてパケットの送信、又は設定された受信感度に応じてパケットの受信を行なう。   The antenna 29 transmits a packet according to the set transmission power or receives a packet according to the set reception sensitivity.

次に、図7〜14を参照して本実施の形態の動作を説明する。
図7に、無線中継装置1において実行されるビーコン送信処理のフローチャートを示す。なお、図7に示す処理は、無線中継装置1内の制御部10と各部との協働により実行されるものであり、無線中継装置1に電力が供給されている間に実行されるものである。
Next, the operation of the present embodiment will be described with reference to FIGS.
FIG. 7 shows a flowchart of a beacon transmission process executed in the wireless relay device 1. Note that the processing shown in FIG. 7 is executed by the cooperation of the control unit 10 and each unit in the wireless relay device 1 and is executed while power is being supplied to the wireless relay device 1. is there.

なお、本実施の形態において、端末情報用メモリ12に記憶されるノードアドレスの数に応じて、予めグループの総数が定められている。また、このグループの総数に応じてマスクビットの値も予め設定されているものとする。   In the present embodiment, the total number of groups is determined in advance according to the number of node addresses stored in the terminal information memory 12. It is also assumed that the value of the mask bit is set in advance according to the total number of groups.

制御部10は、nを初期化(0に設定)する(ステップS1)。ステップS1では、拡張シーケンスナンバーも初期化(0に設定)する。
nとは、拡張シーケンスナンバーとマスクビットとをANDして得られた値(10進数)とする。例えば、マスクビットの下位2bitが1の場合である場合、拡張シーケンスナンバーの下位2bitが「00」である場合にはn=0となる。拡張シーケンスナンバーの下位2bitが「01」である場合にはn=1となる。拡張シーケンスナンバーの下位2bitが「10」である場合にはn=2となる。拡張シーケンスナンバーの下位2bitが「11」である場合にはn=3となる。
The control unit 10 initializes (sets to 0) n (step S1). In step S1, the extended sequence number is also initialized (set to 0).
n is a value (decimal number) obtained by ANDing the extended sequence number and the mask bit. For example, when the lower 2 bits of the mask bit are 1, n = 0 when the lower 2 bits of the extended sequence number is “00”. When the lower 2 bits of the extended sequence number are “01”, n = 1. When the lower 2 bits of the extended sequence number are “10”, n = 2. When the lower 2 bits of the extended sequence number is “11”, n = 3.

制御部10は、無線受信部15を介して無線端末装置2からノードアドレスを含むパケットを受信したか否かを判別する(ステップS2)。ノードアドレスを含むパケットを受信した場合(ステップS2;YES)、制御部10は、受信したパケットに含まれるノードアドレスを端末情報用メモリ12に記憶させ(ステップS3)、ステップS2の処理に戻る。   The control unit 10 determines whether or not a packet including a node address has been received from the wireless terminal device 2 via the wireless reception unit 15 (step S2). When the packet including the node address is received (step S2; YES), the control unit 10 stores the node address included in the received packet in the terminal information memory 12 (step S3), and returns to the process of step S2.

制御部10は、拡張シーケンスナンバーをインクリメントし(ステップS4)、マスクビットと拡張シーケンスナンバーを含むビーコンのパケットを生成する(ステップS5)。   The control unit 10 increments the extended sequence number (step S4), and generates a beacon packet including the mask bit and the extended sequence number (step S5).

制御部10は、ビーコン送信タイマ13からビーコン送信タイミング信号が入力されたか否かを判別する(ステップS6)。ビーコン送信タイミング信号が入力されていない場合(ステップS6;NO)、制御部10は、ステップS6の処理に戻る。   The controller 10 determines whether or not a beacon transmission timing signal is input from the beacon transmission timer 13 (step S6). When the beacon transmission timing signal is not input (step S6; NO), the control unit 10 returns to the process of step S6.

ビーコン送信タイミング信号が入力された場合(ステップS6;YES)、制御部10は、後述する連続ビット制御処理を実行し(ステップS7)、連続ビットを記憶する(ステップS8)。   When the beacon transmission timing signal is input (step S6; YES), the control unit 10 executes a continuous bit control process described later (step S7) and stores the continuous bits (step S8).

制御部10は、ステップS8後、ステップS5において生成したビーコンに連続ビットを加え、アンテナ19を介して無線送信部14により当該ビーコンを送信させ(ステップS9)、ビーコン送信タイマをクリアしてビーコンの送信間隔の計時を開始させる(ステップS10)。   After step S8, the control unit 10 adds continuous bits to the beacon generated in step S5, causes the wireless transmission unit 14 to transmit the beacon via the antenna 19 (step S9), clears the beacon transmission timer, and Timing of the transmission interval is started (step S10).

制御部10は、無線受信部15を介して無線端末装置2からデータリクエストを受信したか否かを判別する(ステップS11)。   The control unit 10 determines whether a data request is received from the wireless terminal device 2 via the wireless reception unit 15 (step S11).

データリクエストを受信していない場合(ステップS11;NO)、制御部10は、ビーコン送信タイマによる計時から予め設定された時間(所定時間)が経過したか否かを判別する(ステップS12)。制御部10は、所定時間が経過していない場合(ステップS12;NO)、ステップS11の処理に戻り、処理時間が経過した場合(ステップS12;YES)、ステップS14の処理に進む。   When the data request is not received (step S11; NO), the control unit 10 determines whether or not a preset time (predetermined time) has elapsed since the time measured by the beacon transmission timer (step S12). When the predetermined time has not elapsed (step S12; NO), the control unit 10 returns to the process of step S11. When the processing time has elapsed (step S12; YES), the control unit 10 proceeds to the process of step S14.

データリクエストを受信した場合(ステップS11;YES)、制御部10は、データリクエストを送信してきた無線端末装置2宛てのデータを生成し、当該データを送信する(ステップS13)。   When the data request is received (step S11; YES), the control unit 10 generates data addressed to the wireless terminal device 2 that has transmitted the data request, and transmits the data (step S13).

制御部10は、nに1を加算し(ステップS14)、nがグループ総数よりも大きいか否かを判別する(ステップS15)。nがグループ総数以下である場合(ステップS15;NO)、制御部10は、ステップS2の処理に戻る。   The control unit 10 adds 1 to n (step S14), and determines whether n is larger than the total number of groups (step S15). When n is less than or equal to the total number of groups (step S15; NO), the control unit 10 returns to the process of step S2.

nがグループ総数よりも大きい場合(ステップS15;YES)、制御部10は、グループ番号の初期化(0に設定)を行ない(ステップS16)、ステップS2の処理に戻る。   When n is larger than the total number of groups (step S15; YES), the control unit 10 initializes the group number (sets to 0) (step S16) and returns to the process of step S2.

図8〜11に、連続ビット制御処理のフローチャートを示す。なお、図8〜11に示す処理は、無線中継装置1内の制御部10と各部との協働により実行されるものである。   8 to 11 show flowcharts of the continuous bit control process. 8 to 11 are executed by the cooperation of the control unit 10 and each unit in the wireless relay device 1.

図8〜11に示す処理は、所定のグループに対する連続ビットの設定を行なう処理である。即ち、図8〜11に示す処理は、グループ毎に対して実行されるものである。この所定のグループとは、拡張シーケンスナンバーとマスクビットとをANDして得られた値と、ノードアドレスとマスクビットとをANDした値と、が一致するノードアドレスを有する無線端末装置のグループである。
本実施の形態においては、図8〜11に示す処理を、マスクビットの下位2bitが1である場合、即ち、4つのグループが生成される場合の例として説明する。
The process shown in FIGS. 8 to 11 is a process for setting continuous bits for a predetermined group. That is, the processes shown in FIGS. 8 to 11 are executed for each group. This predetermined group is a group of wireless terminal devices having a node address in which the value obtained by ANDing the extended sequence number and the mask bit matches the value obtained by ANDing the node address and the mask bit. .
In the present embodiment, the processing shown in FIGS. 8 to 11 will be described as an example when the lower 2 bits of the mask bits are 1, that is, when four groups are generated.

図8に示す処理は、拡張シーケンスナンバーとマスクビットとがANDして得られた値を「00」とし、この値とノードアドレスとマスクビットとがANDして得られた値とが一致するノードアドレスを有する無線端末装置のグループ0に対する連続ビットの設定を行なう処理の例として説明する。   In the processing shown in FIG. 8, the value obtained by ANDing the extended sequence number and the mask bit is set to “00”, and the value obtained by ANDing this value with the node address and the mask bit is the same. An example of processing for setting consecutive bits for group 0 of wireless terminal devices having addresses will be described.

制御部10は、nの値を判別する(ステップS101)。nが0である場合(ステップS101;n=0)、制御部10は、空き容量のあるグループがあるか否かを判別する(ステップS102)。nが0である場合とは、ビーコン送信処理においてグループ0宛のビーコンを作成し送信する処理が実行されているものである。   The control unit 10 determines the value of n (step S101). When n is 0 (step S101; n = 0), the control unit 10 determines whether there is a group having a free capacity (step S102). When n is 0, processing for creating and transmitting a beacon addressed to group 0 is performed in the beacon transmission processing.

ステップS102における空き容量のあるグループの判別は、各グループ宛のデータ残量は、ビーコン送信間隔の間で無線端末装置に送信できるデータ量(ビーコン送信データ量DS)よりも小さいか否かを判別するものである。いずれかのグループ宛のデータ残量がビーコン送信データ量よりも小さい場合、ステップS102では、空き容量のあるグループありと判別される。全ての各グループ宛のデータ残量がビーコン送信データ量以上である場合、ステップS102では、空き容量のあるグループなしと判別される。   In step S102, the group having free capacity is determined by determining whether or not the remaining amount of data addressed to each group is smaller than the amount of data (beacon transmission data amount DS) that can be transmitted to the wireless terminal device during the beacon transmission interval. To do. If the remaining amount of data addressed to any group is smaller than the amount of beacon transmission data, it is determined in step S102 that there is a group with free capacity. When the remaining amount of data addressed to all the groups is equal to or greater than the beacon transmission data amount, it is determined in step S102 that there is no group with free capacity.

空き容量のあるグループがない場合(ステップS102;NO)、制御部10は、連続ビットの最下位bitを0に設定し(ステップS103)、本処理を終了する。   If there is no group with free capacity (step S102; NO), the control unit 10 sets the least significant bit of consecutive bits to 0 (step S103), and ends this process.

空き容量のあるグループがある場合(ステップS102;YES)、制御部10は、グループ0のデータ残量D0からビーコン送信データ量DSを差分した値が0より大きいか否かを判別する(ステップS104)。ステップS104では、グループ0宛のビーコンに含まれるグループ0に属する無線端末装置へ送信するデータが当該ビーコン送信間隔内で送信可能か否か(グループ0に属する無線端末装置にとって、次回の本来は自分のグループ0宛てではないビーコンに受信すべきデータが有るか無か)を判別するものである。   When there is a group having free capacity (step S102; YES), the control unit 10 determines whether or not a value obtained by subtracting the beacon transmission data amount DS from the data remaining amount D0 of the group 0 is larger than 0 (step S104). ). In step S104, whether or not the data to be transmitted to the wireless terminal devices belonging to group 0 included in the beacon addressed to group 0 can be transmitted within the beacon transmission interval (for wireless terminal devices belonging to group 0, Whether or not there is data to be received in a beacon that is not addressed to the group 0).

グループ0のデータ残量D0からビーコン送信データ量DSを差分した値が0以下である場合(ステップS104;NO)、制御部10は、グループ0宛のビーコンに含まれるグループ0に属する無線端末装置へ送信するデータが当該ビーコン送信間隔内で送信可能である(次回のビーコンにデータ送信を繰り越さない)と判別し、ステップS103の処理に進む。   When the value obtained by subtracting the beacon transmission data amount DS from the data remaining amount D0 of the group 0 is 0 or less (step S104; NO), the control unit 10 is a wireless terminal device belonging to the group 0 included in the beacon addressed to the group 0. It is determined that the data to be transmitted can be transmitted within the beacon transmission interval (data transmission is not carried over to the next beacon), and the process proceeds to step S103.

n=0のデータ残量D0からビーコン送信データ量DSを差分した値が0よりも大きい場合(ステップS104;YES)、制御部10は、グループ0宛のビーコンに含まれるグループ0に属する無線端末装置へ送信するデータが当該ビーコン送信間隔内で送信可能でない(次回のビーコンにデータ送信を繰り越す)と判別し、連続ビットの最下位bitを1に設定し(ステップS105)、本処理を終了する。   When the value obtained by subtracting the beacon transmission data amount DS from the data remaining amount D0 of n = 0 is larger than 0 (step S104; YES), the control unit 10 is a wireless terminal belonging to the group 0 included in the beacon addressed to the group 0 It is determined that the data to be transmitted to the apparatus cannot be transmitted within the beacon transmission interval (the data transmission is carried forward to the next beacon), the least significant bit of the consecutive bits is set to 1 (step S105), and this process ends. .

nが1である場合(ステップS101;n=1)、制御部10は、図7のステップS8で記憶される連続ビットの最下位bitが1であるか否かを判別する(ステップS106)。nが1である場合とは、ビーコン送信処理では、グループ1宛のビーコンを作成し送信する処理が実行されている場合で有り、当該ビーコンに前回送信されたグループ0宛にまだ送信すべきデータが残っているか否かを連続bitの最下位から1bit上位のbitに記憶するものである。   When n is 1 (step S101; n = 1), the control unit 10 determines whether or not the least significant bit of the consecutive bits stored in step S8 of FIG. 7 is 1 (step S106). The case where n is 1 is a case where a process for creating and transmitting a beacon addressed to group 1 is executed in the beacon transmission process, and data that should still be transmitted to group 0 previously transmitted to the beacon. Is stored in the most significant bit from the least significant bit of the consecutive bits.

連続ビットの最下位bitが1でない場合(ステップS106;NO)、制御部10は、グループ1のビーコン送信の1つ前にビーコン送信したグループ0のビーコンには、グループ0宛の送信できなかったデータは無いと判別し、連続ビットの最下位bitから1bit上位のbitを0に設定し(ステップS107)、本処理を終了する。   When the least significant bit of the consecutive bits is not 1 (step S106; NO), the control unit 10 could not transmit the group 0 beacon transmitted to the group 0 beacon transmitted before the group 1 beacon transmission. It is determined that there is no data, 1 bit higher bit is set to 0 from the lowest bit of the continuous bits (step S107), and this process is terminated.

連続ビットの最下位bitが1である場合(ステップS106;YES)、制御部10は、グループ1のビーコン送信の1つ前にビーコン送信したグループ0のビーコンには、グループ0宛の送信できなかったデータがあると判別し、グループ0のデータ残量D0が0より大きいか否かを判別する(ステップS108)。   When the least significant bit of the continuous bits is 1 (step S106; YES), the control unit 10 cannot transmit to the group 0 beacon in the group 0 beacon transmitted before the group 1 beacon transmission. It is determined that there is data, and it is determined whether or not the remaining data amount D0 of group 0 is greater than 0 (step S108).

グループ0のデータ残量D0が0以下である場合(ステップS108;NO)、制御部10は、グループ0の未送信のデータは無いと判別し、ステップS107の処理に進む。   When the data remaining amount D0 of the group 0 is 0 or less (step S108; NO), the control unit 10 determines that there is no untransmitted data of the group 0, and proceeds to the process of step S107.

グループ0のデータ残量D0が0より大きい場合(ステップS108;YES)、制御部10は、グループ0のデータ残量D0にグループ1のデータ量D1を加算した値からビーコン送信データ量DSを減算した値が0よりも大きいか否かを判別する(ステップS109)。   When the data remaining amount D0 of group 0 is larger than 0 (step S108; YES), the control unit 10 subtracts the beacon transmission data amount DS from the value obtained by adding the data amount D1 of group 1 to the data remaining amount D0 of group 0. It is determined whether or not the obtained value is greater than 0 (step S109).

グループ0のデータ残量D0にグループ1のデータ量D1を加算した値からビーコン送信データ量DSを減算した値が0以下である場合(ステップS109;NO)、制御部10は、グループ1宛のビーコンでグループ1宛のデータとグループ0宛の未送信のデータ全てを送信できると判別し、ステップS107の処理に進む。   When the value obtained by subtracting the beacon transmission data amount DS from the value obtained by adding the group 1 data amount D1 to the group 0 data remaining amount D0 is 0 or less (step S109; NO), the control unit 10 It is determined that the data addressed to group 1 and all the untransmitted data addressed to group 0 can be transmitted by the beacon, and the process proceeds to step S107.

グループ0のデータ残量D0にグループ1のデータ量D1を加算した値からビーコン送信データ量DSを減算した値が0よりも大きい場合(ステップS109;YES)、制御部10は、グループ1宛のビーコンでは、グループ0宛の未送信のデータ全てを送信できないと判別し、連続ビットの最下位bitから1bit上位のbitを1に設定し(ステップS110)、本処理を終了する。   When the value obtained by subtracting the beacon transmission data amount DS from the value obtained by adding the group 1 data amount D1 to the group 0 data remaining amount D0 is greater than 0 (step S109; YES), the control unit 10 In the beacon, it is determined that not all untransmitted data addressed to group 0 can be transmitted, 1 bit higher bit is set to 1 from the least significant bit of the continuous bits (step S110), and this process ends.

nが2である場合(ステップS101;n=2)、制御部10は、連続ビットの最下位bitから1bit上位のbitが1であるか否かを判別する(ステップS111)。nが2である場合とは、ビーコン送信処理では、グループ2宛のビーコンを作成し送信する処理が実行されている場合で有り、当該ビーコンに前回送信されたグループ1或るいは前々回から送信されるグループ0宛にまだ送信すべきデータが残っているか否かを連続bitの最下位から2bit上位のbitに記憶するものである。   When n is 2 (step S101; n = 2), the control unit 10 determines whether or not the 1-bit higher bit is 1 from the least significant bit of the consecutive bits (step S111). The case where n is 2 is a case where a process for creating and transmitting a beacon addressed to group 2 is executed in the beacon transmission process, and is transmitted from the group 1 or the previous time transmitted to the beacon last time. Whether or not there is still data to be transmitted to the group 0 is stored in the most significant 2 bits from the least significant bit.

図7のステップS8で記憶される連続ビットの最下位bitから1bit上位のbitが1でない場合(ステップS111;NO)、制御部10は、グループ2のビーコン送信の1つ前にビーコン送信したグループ1のビーコンには、グループ0宛の送信できなかったデータは無いと判別し、連続ビットの最下位bitから2bit上位のbitを0に設定し(ステップS112)、本処理を終了する。   When the most significant bit from the least significant bit stored in step S8 in FIG. 7 is not 1 (step S111; NO), the control unit 10 transmits a beacon immediately before the beacon transmission of group 2 It is determined that there is no data that could not be transmitted to the group 0 in the beacon 1, and the bit that is 2 bits higher than the least significant bit of the consecutive bits is set to 0 (step S 112), and this process ends.

連続ビットの最下位bitから1bit上位のbitが1である場合(ステップS111;YES)、制御部10は、グループ2のビーコン送信の1つ前にビーコン送信したグループ1のビーコンには、送信できなかったグループ0宛のデータがあると判別し、グループ0のデータ残量D0が0より大きいか否かを判別する(ステップS113)。   When the most significant bit from the least significant bit of the consecutive bits is 1 (step S111; YES), the control unit 10 can transmit to the beacon of group 1 transmitted beacon immediately before the beacon transmission of group 2 It is determined that there is no data addressed to group 0, and it is determined whether the remaining data amount D0 of group 0 is greater than 0 (step S113).

グループ0のデータ残量D0が0以下である場合(ステップS113;NO)、制御部10は、グループ0の未送信のデータは無いと判別し、ステップS112の処理に進む。   If the remaining data amount D0 of group 0 is 0 or less (step S113; NO), the control unit 10 determines that there is no untransmitted data of group 0, and proceeds to the process of step S112.

グループ0のデータ残量D0が0より大きい場合(ステップS113;YES)、制御部10は、グループ0のデータ残量D0、グループ1のデータ残量D1、グループ2のデータ量を加算した値からビーコン送信データ量DSを減算した値が0よりも大きいか否かを判別する(ステップS114)。   If the data remaining amount D0 of the group 0 is larger than 0 (step S113; YES), the control unit 10 calculates the value obtained by adding the data remaining amount D0 of the group 0, the data remaining amount D1 of the group 1, and the data amount of the group 2. It is determined whether or not the value obtained by subtracting the beacon transmission data amount DS is larger than 0 (step S114).

グループ0のデータ残量D0、グループ1のデータ残量D1、グループ2のデータ量D2を加算した値からビーコン送信データ量DSを減算した値が0以下である場合(ステップS114;NO)、制御部10は、グループ2宛のビーコンでグループ2宛のデータとグループ1宛及びグループ0宛の未送信のデータ全てを送信できると判別し、ステップS112の処理に進む。   When the value obtained by subtracting the beacon transmission data amount DS from the value obtained by adding the remaining data amount D0 of group 0, the remaining data amount D1 of group 1 and the data amount D2 of group 2 is 0 or less (step S114; NO) The unit 10 determines that the data addressed to the group 2 and all the untransmitted data addressed to the group 1 and the group 0 can be transmitted using the beacon addressed to the group 2, and proceeds to the process of step S112.

グループ0のデータ残量D0、グループ1のデータ残量D1、グループ2のデータ量D2を加算した値からビーコン送信データ量DSを減算した値が0よりも大きい場合(ステップS114;YES)、制御部10は、グループ2宛のビーコンでは、グループ0宛の未送信のデータ全てを送信できないと判別し、連続ビットの最下位bitから2bit上位のbitを1に設定し(ステップS115)、本処理を終了する。   When the value obtained by subtracting the beacon transmission data amount DS from the value obtained by adding the remaining data amount D0 of group 0, the remaining data amount D1 of group 1 and the data amount D2 of group 2 is greater than 0 (step S114; YES), control is performed. The unit 10 determines that the untransmitted data addressed to the group 0 cannot be transmitted by the beacon addressed to the group 2, sets the 2 bits higher bit from the least significant bit of the consecutive bits to 1 (step S115), and performs this processing. Exit.

nが3である場合(ステップS101;n=3)、制御部10は、図7のステップS8で記憶される連続ビットの最下位bitから2bit上位のbitが1であるか否かを判別する(ステップS116)。nが3である場合とは、ビーコン送信処理では、グループ3宛のビーコンを作成し送信する処理が実行されている場合で有り、当該ビーコンに前回送信されたグループ2或るいは前々回から送信されるグループ1或るいは前々々回から送信されるグループ0宛にまだ送信すべきデータが残っているか否かを連続bitの最下位から3bit上位のbitに記憶するものである。   When n is 3 (step S101; n = 3), the control unit 10 determines whether the most significant bit of 2 bits is 1 from the least significant bit stored in step S8 of FIG. (Step S116). The case where n is 3 is a case where a process of creating and transmitting a beacon addressed to group 3 is executed in the beacon transmission process, and is transmitted from the group 2 or the previous time transmitted to the beacon last time. Whether or not there is still data to be transmitted to group 0 transmitted from the previous group 1 or group 0 is stored in the most significant bit from the least significant bit to the most significant bit.

図7のステップS8で記憶される連続ビットの最下位bitから2bit上位のbitが1でない場合(ステップS116;NO)、制御部10は、グループ3のビーコン送信の1つ前にビーコン送信したグループ2のビーコンには、グループ0宛の送信できなかったデータは無いと判別し、連続ビットの最下位bitから3bit上位のbitを0に設定し(ステップS117)、本処理を終了する。   In the case where the most significant bit from the least significant bit stored in step S8 in FIG. 7 is not 1 (step S116; NO), the control unit 10 performs the beacon transmission immediately before the group 3 beacon transmission. In the beacon 2, it is determined that there is no data that could not be transmitted to the group 0, 3 bits higher bit from the least significant bit of consecutive bits is set to 0 (step S 117), and this process ends.

連続ビットの最下位bitから2bit上位のbitが1である場合(ステップS116;YES)、制御部10は、グループ3のビーコン送信の1つ前にビーコン送信したグループ2のビーコンには、送信できなかったグループ0宛のデータがあると判別し、グループ0のデータ残量D0が0より大きいか否かを判別する(ステップS118)。   When the most significant bit from the least significant bit of the consecutive bits is 1 (step S116; YES), the control unit 10 can transmit to the beacon of group 2 transmitted beacon immediately before the beacon transmission of group 3. It is determined that there is no data addressed to group 0, and it is determined whether the remaining data amount D0 of group 0 is greater than 0 (step S118).

グループ0のデータ残量D0が0以下である場合(ステップS118;NO)、制御部10は、グループ0の未送信のデータは無いと判別し、ステップS117の処理に進む。   When the remaining data amount D0 of group 0 is 0 or less (step S118; NO), the control unit 10 determines that there is no untransmitted data of group 0, and proceeds to the process of step S117.

グループ0のデータ残量D0が0より大きい場合(ステップS118;YES)、制御部10は、グループ0のデータ残量D0、グループ1のデータ残量D1、グループ2のデータ残量D2、グループ3のデータ量D3を加算した値からビーコン送信データ量DSを減算した値が0よりも大きいか否かを判別する(ステップS119)。   When the data remaining amount D0 of group 0 is larger than 0 (step S118; YES), the control unit 10 determines the remaining amount of data D0 of group 0, the remaining amount of data D1 of group 1, the remaining amount of data D2 of group 2, and the group 3 It is determined whether the value obtained by subtracting the beacon transmission data amount DS from the value obtained by adding the data amount D3 is greater than 0 (step S119).

グループ0のデータ残量D0、グループ1のデータ残量D1、グループ2のデータ残量D2、グループ3のデータ量D3を加算した値からビーコン送信データ量DSを減算した値が0以下である場合(ステップS119;NO)、制御部10は、グループ3宛のビーコンでグループ3宛のデータとグループ1、2宛及びグループ0宛の未送信のデータ全てを送信できると判別し、ステップS117の処理に進む。   When the value obtained by subtracting the beacon transmission data amount DS from the value obtained by adding the remaining data amount D0 of group 0, remaining data amount D1 of group 1, remaining data amount D2 of group 2, and data amount D3 of group 3 is 0 or less (Step S119; NO), the control unit 10 determines that the data addressed to Group 3 and all the untransmitted data addressed to Groups 1, 2 and 0 can be transmitted using the beacon addressed to Group 3, and the process of Step S117 Proceed to

グループ0のデータ残量D0、グループ1のデータ残量D1、グループ2のデータ残量D2、グループ3のデータ量D3を加算した値からビーコン送信データ量DSを減算した値が0よりも大きい場合(ステップS119;YES)、制御部10は、グループ3宛のビーコンでは、グループ0宛の未送信のデータ全てを送信できないと判別し、連続ビットの最下位bitから3bit上位のbitを1に設定し(ステップS120)、本処理を終了する。   When the value obtained by subtracting the beacon transmission data amount DS from the sum of the group 0 data remaining amount D0, the group 1 data remaining amount D1, the group 2 data remaining amount D2, and the group 3 data amount D3 is greater than 0. (Step S119; YES), the control unit 10 determines that all untransmitted data addressed to group 0 cannot be transmitted in the beacon addressed to group 3, and sets the upper 3 bits from the least significant bit of the consecutive bits to 1. (Step S120), and this process is terminated.

なお、制御部10は、グループ数が4よりも多い場合には、nに応じて、ステップS116〜ステップS120と同様の処理を実行する。   Note that when the number of groups is greater than 4, the control unit 10 performs the same processing as in steps S116 to S120 according to n.

例えば、制御部10は、グループnのビーコン送信の1つ前にビーコン送信したグループn−1のビーコンに、送信できなかったグループ0宛のデータがない場合、グループ0のデータ残量D0が0以下の場合、グループ0のデータ残量D0〜グループn−1のデータ残量の合計量にグループnのデータ量を加算した値からビーコン送信データ量DSを減算した値が0以下の場合、連続ビットの最下位bitからnbit上位のbitを0に設定する。   For example, if there is no data addressed to group 0 that could not be transmitted in the beacon of group n-1 that was beacon transmitted immediately before the beacon transmission of group n, the control unit 10 sets the data remaining amount D0 of group 0 to 0. In the following cases, when the value obtained by subtracting the beacon transmission data amount DS from the value obtained by adding the data amount of the group n to the total amount of data remaining amount of the group 0 data D0 to the group n-1 is 0 or less, Bits higher than n bits and lower bits of bits are set to 0.

また、制御部10は、グループnのビーコン送信の1つ前にビーコン送信したグループn−1のビーコンに、送信できなかったグループ0宛のデータがある場合であって、グループ0のデータ残量D0が0より大きく、グループ0のデータ残量D0〜グループn−1のデータ残量の合計量にグループnのデータ量を加算した値からビーコン送信データ量DSを減算した値が0よりも大きい場合、連続ビットの最下位bitからnbit上位のbitを1に設定する。   Further, the control unit 10 is a case where there is data addressed to the group 0 that could not be transmitted in the beacon of the group n−1 transmitted before the beacon transmission of the group n, and the remaining data amount of the group 0 The value obtained by subtracting the beacon transmission data amount DS from the value obtained by adding the data amount of the group n to the total amount of the remaining data amount of the group 0 data D0 to the group n-1 is greater than 0. In this case, the most significant bit of the consecutive bits is set to 1 from the least significant bit.

制御部10は、図8に示した処理を全グループ、本実施の形態においてはグループ1、2及び3に対しても同様に行う。図9にグループ1に対する連続ビット制御処理のフローチャート、図10にグループ2に対する連続ビット制御処理のフローチャート、図11にグループ3に対する連続ビット制御処理のフローチャートを示す。   The control unit 10 similarly performs the process shown in FIG. 8 for all groups, in the present embodiment, the groups 1, 2 and 3. 9 shows a flowchart of continuous bit control processing for group 1, FIG. 10 shows a flowchart of continuous bit control processing for group 2, and FIG. 11 shows a flowchart of continuous bit control processing for group 3.

図8の処理においてグループ0におけるn=0の処理(ステップS102〜ステップS105)は、グループ1においてはn=1のとき(ステップS122〜ステップS125)、グループ2においてはn=2のとき(ステップS142〜ステップS145)、グループ3においてはn=3のとき(ステップS162〜ステップS165)に行われる。   In the process of FIG. 8, the process of n = 0 in the group 0 (steps S102 to S105) is performed when n = 1 in the group 1 (steps S122 to S125), and when n = 2 in the group 2 (steps). Steps S142 to S145) are performed in group 3 when n = 3 (steps S162 to S165).

グループ0におけるn=1の処理(ステップS106〜ステップS110)は、グループ1においてはn=2のとき(ステップS126〜ステップS130)、グループ2においてはn=3のとき(ステップS146〜ステップS150)、グループ3においてはn=0のとき(ステップS166〜ステップS170)に行われる。   The process of n = 1 in the group 0 (steps S106 to S110) is performed when n = 2 in the group 1 (steps S126 to S130) and when n = 3 in the group 2 (steps S146 to S150). In group 3, this is performed when n = 0 (steps S166 to S170).

グループ0におけるn=2の処理(ステップS111〜ステップS115)は、グループ1においてはn=3のとき(ステップS131〜ステップS135)、グループ2においてはn=0のとき(ステップS151〜ステップS155)、グループ3においてはn=1のとき(ステップS171〜ステップS175)に行われる。   The processing of n = 2 in group 0 (steps S111 to S115) is performed when n = 3 in group 1 (steps S131 to S135), and when n = 0 in group 2 (steps S151 to S155). In group 3, this is performed when n = 1 (steps S171 to S175).

グループ0におけるn=3の処理(ステップS116〜ステップS120)は、グループ1においてはn=0のとき(ステップS136〜ステップS140)、グループ2においてはn=1のとき(ステップS156〜ステップS160)、グループ3においてはn=2のとき(ステップS176〜ステップS180)に行われる。   The processing of n = 3 in group 0 (steps S116 to S120) is performed when n = 0 in group 1 (steps S136 to S140), and when n = 1 in group 2 (steps S156 to S160). In group 3, this is performed when n = 2 (steps S176 to S180).

このように、無線中継装置1は、送信するビーコンに含めるノードアドレスが示す無線端末装置が属するグループのデータ量がビーコン送信期間(ビーコン送信間隔)内で送信可能なデータ量を超える場合、連続ビットとして当該グループに属する無線端末装置の無線受信部の動作状態を受信可能状態に維持させる設定を行なうことができる。そしてこの連続ビットと、と拡張シーケンスナンバー及びマスクビットと、を含むビーコンを定期的に無線端末装置2へ送信することができる。   Thus, when the data amount of the group to which the wireless terminal device indicated by the node address included in the transmitted beacon belongs exceeds the data amount that can be transmitted within the beacon transmission period (beacon transmission interval), the wireless relay device 1 As described above, it is possible to perform a setting for maintaining the operation state of the wireless reception unit of the wireless terminal device belonging to the group in a receivable state. Then, a beacon including this continuous bit and the extended sequence number and mask bit can be periodically transmitted to the wireless terminal device 2.

図12に、無線端末装置2において実行されるビーコン受信処理のフローチャートを示す。なお、図12に示す処理は、無線端末装置2内の制御部20と各部との協働により実行されるものであり、無線端末装置2に電力が供給されている間に実行されるものである。   FIG. 12 shows a flowchart of beacon reception processing executed in the wireless terminal device 2. Note that the processing shown in FIG. 12 is executed by the cooperation of the control unit 20 and each unit in the wireless terminal device 2, and is executed while power is supplied to the wireless terminal device 2. is there.

制御部20は、アドレス用メモリ22に記憶されている自己のノードアドレスを含むパケットを生成し、当該パケットを無線送信部26を介して無線中継装置1に送信する(ステップS21)。   The control unit 20 generates a packet including its own node address stored in the address memory 22, and transmits the packet to the wireless relay device 1 via the wireless transmission unit 26 (step S21).

制御部20は、無線中継装置1との間の無線回路を確保するため、無線中継装置1から周期的に送信されているビーコンを検索(ビーコンサーチ)する(ステップS22)。ビーコンサーチが終了して無線中継装置1との間の無線回路が確保されると、制御部10は後述する起動タイミング算出処理を実行する(ステップS23)。   The control unit 20 searches for a beacon periodically transmitted from the wireless relay device 1 (beacon search) in order to secure a wireless circuit with the wireless relay device 1 (step S22). When the beacon search is completed and a wireless circuit is secured with the wireless relay device 1, the control unit 10 executes an activation timing calculation process described later (step S23).

制御部10は、無線受信部27によりビーコンを受信すると(ステップS24)、無線受信部27によるビーコンの解析結果により、自己が属するグループ宛のビーコンか否かを判別する(ステップS25)。   When the beacon is received by the wireless receiving unit 27 (step S24), the control unit 10 determines whether the beacon is addressed to the group to which the control unit 10 belongs based on the beacon analysis result by the wireless receiving unit 27 (step S25).

ステップS25では、受信されたビーコンから拡張シーケンスナンバー及びマスクビットが抽出される。そして、当該ビーコンに含まれる拡張シーケンスナンバー及びマスクビットにより算出された第1算出値と、自己のノードアドレス及びマスクビットにより算出された第2算出値とが一致するか否かが判別される。第1算出値と第2算出値とが一致する場合、受信したビーコンは、自己が属するグループ宛のビーコンであると判別される。   In step S25, the extended sequence number and the mask bit are extracted from the received beacon. Then, it is determined whether or not the first calculated value calculated by the extended sequence number and the mask bit included in the beacon matches the second calculated value calculated by the own node address and the mask bit. When the first calculated value and the second calculated value match, it is determined that the received beacon is a beacon addressed to the group to which the self belongs.

受信したビーコンが自己が属するグループ宛のビーコンでない場合(ステップS25;NO)、制御部20は、ステップS22の処理に戻る。   When the received beacon is not a beacon addressed to the group to which the beacon belongs (step S25; NO), the control unit 20 returns to the process of step S22.

受信したビーコンが自己が属するグループ宛のビーコンである場合(ステップS25;YES)、制御部20は、受信したビーコンのPAフィールドに自己のノードアドレスが含まれているか否かを判別する(ステップS26)。   When the received beacon is a beacon addressed to the group to which the self belongs (step S25; YES), the control unit 20 determines whether or not the own node address is included in the PA field of the received beacon (step S26). ).

受信したビーコンのPAフィールドに自己のノードアドレスが含まれている場合(ステップS26;YES)、制御部20は、後述するデータ受信処理を実行する(ステップS27)。   When the own beacon address is included in the PA field of the received beacon (step S26; YES), the control unit 20 executes a data reception process described later (step S27).

制御部20は、受信したビーコンの連続ビットを参照し、当該連続ビットにおいて自己が属するグループに対応するbitは1であるか否かを判別する(ステップS28)。   The control unit 20 refers to the continuous bits of the received beacon and determines whether or not the bit corresponding to the group to which the self belongs is 1 in the continuous bits (step S28).

ステップS28では、拡張シーケンスナンバーとマスクビットとをANDして得られた値と自己のノードアドレスとマスクビットとをANDして得られた値との差分値を算出し、連続ビットの最下位bitから算出された差分値を加えたbitが1であるか否かが判別される。例えば、拡張シーケンスナンバーとマスクビットとをANDして得られた値と自己のノードアドレスとマスクビットとをANDして得られた値とが一致する場合には、連続ビットの最下位bitが1であるか否かが判別される。拡張シーケンスナンバーとマスクビットとをANDして得られた値が「10」、ノードアドレスとマスクビットとをANDしてえられた値が「00」である場合には、差分値は2となり、連続ビットの最下位bitから2bit上位のbitが1であるか否かが判別される。   In step S28, a difference value between the value obtained by ANDing the extended sequence number and the mask bit and the value obtained by ANDing the own node address and the mask bit is calculated, and the least significant bit of the consecutive bits is calculated. It is determined whether or not the bit obtained by adding the difference value calculated from 1 is 1. For example, when the value obtained by ANDing the extended sequence number and the mask bit matches the value obtained by ANDing the own node address and the mask bit, the least significant bit of the consecutive bits is 1. It is determined whether or not. When the value obtained by ANDing the extended sequence number and the mask bit is “10” and the value obtained by ANDing the node address and the mask bit is “00”, the difference value is 2. It is determined whether or not the most significant bit of 2 bits is 1 from the least significant bit of the consecutive bits.

連続ビットにおいて自己が属するグループに対応するbitが1でない場合(ステップS28;NO)、制御部20は、起動タイミング算出処理を実行し(ステップS29)、ステップS24の処理に戻る。   When the bit corresponding to the group to which the self belongs is not 1 in the continuous bits (step S28; NO), the control unit 20 executes the activation timing calculation process (step S29) and returns to the process of step S24.

連続ビットにおいて自己が属するグループに対応するbitが1である場合(ステップS28;YES)、制御部20は、ステップS31の処理に進む。   When the bit corresponding to the group to which the self belongs in the consecutive bits is 1 (step S28; YES), the control unit 20 proceeds to the process of step S31.

受信したビーコンのPAフィールドに自己のノードアドレスが含まれていない場合(ステップS26;NO)、制御部20は、受信したビーコンの連続ビットを参照し、当該連続ビットにおいて自己が属するグループに対応するbitは1であるか否かを判別する(ステップS30)。ステップS30の判別は、ステップS28と同様である。   When the own node address is not included in the PA field of the received beacon (step S26; NO), the control unit 20 refers to the continuous bit of the received beacon and corresponds to the group to which the self belongs in the continuous bit. It is determined whether or not bit is 1 (step S30). The determination in step S30 is the same as in step S28.

連続ビットにおいて自己が属するグループに対応するbitが1でない場合(ステップS30;NO)、制御部20は、ステップS29の処理に進む。   When the bit corresponding to the group to which the self belongs is not 1 in consecutive bits (step S30; NO), the control unit 20 proceeds to the process of step S29.

連続ビットにおいて自己が属するグループに対応するbitが1である場合(ステップS30;YES)、制御部20は、次に受信するビーコンの受信準備を行なう(ステップS31)。ステップS31における受信準備としては、無線受信部27を受信可能状態に維持させるもの等である。   When the bit corresponding to the group to which the self belongs is 1 in consecutive bits (step S30; YES), the control unit 20 prepares to receive a beacon to be received next (step S31). The preparation for reception in step S31 includes maintaining the wireless reception unit 27 in a receivable state.

制御部20は、ステップS31後に無線受信部27によりビーコンを受信すると(ステップS32)、ステップS26に戻る。   When the control unit 20 receives a beacon by the wireless reception unit 27 after step S31 (step S32), the control unit 20 returns to step S26.

図13に、起動タイミング算出処理のフローチャートを示す。なお、図13に示す処理は、無線端末装置2内の制御部20と各部との協働により実行されるものである。   FIG. 13 shows a flowchart of the start timing calculation process. Note that the process shown in FIG. 13 is executed by the cooperation of the control unit 20 and each unit in the wireless terminal device 2.

制御部20は、無線中継装置1からビーコンを受信した時刻をTに設定し(ステップS41)、受信したビーコンに含まれているビーコン送信間隔をSFIに設定する(ステップS42)。   The control part 20 sets the time which received the beacon from the radio relay apparatus 1 to T (step S41), and sets the beacon transmission interval contained in the received beacon to SFI (step S42).

また、制御部20は、受信したビーコンのビーコンペイロードに含まれている拡張シーケンスナンバーをSCNに設定し(ステップS43)、マスクビットをMに設定する(ステップS44)。更に、制御部20は、自己のノードアドレスをADDRに設定する(ステップS45)。   Further, the control unit 20 sets the extension sequence number included in the beacon payload of the received beacon to SCN (step S43), and sets the mask bit to M (step S44). Furthermore, the control unit 20 sets its own node address to ADDR (step S45).

制御部20は、SCNとMとのANDの値をSCNに設定し、ADDRとMとのANDの値をADDRに設定する(ステップS46)。   The control unit 20 sets the AND value of SCN and M to SCN, and sets the AND value of ADDR and M to ADDR (step S46).

制御部20は、ADDRがSCNよりも大きいか否かを判別する(ステップS47)。ADDRがSCN以下である場合(ステップS47;NO)、制御部20は、Mに1を加算した値にADDRを加算して、新たなADDRを設定する(ステップS48)。例えば、ステップS48では、Mが「11」、ADDRが「10」である場合、Mに1を加算すると「100」となる。そしてこの「100」にADDRの値「10」を加算した「110」が新たなADDRとして設定される。   The control unit 20 determines whether or not ADDR is larger than SCN (step S47). When ADDR is equal to or less than SCN (step S47; NO), the control unit 20 adds ADDR to a value obtained by adding 1 to M and sets a new ADDR (step S48). For example, in step S48, when M is “11” and ADDR is “10”, adding 1 to M results in “100”. Then, “110” obtained by adding ADDR value “10” to “100” is set as a new ADDR.

ADDRがSCNよりも大きい場合(ステップS47;YES)、又はステップS48後、制御部20は、ADDRからSCNを差分した値(差分値)をNSFIに設定する(ステップS49)。このNSFIは、ビーコンを受信してから次にビーコンを受信するまでのビーコン送信間隔の数となる。例えば、ADDRが「10」、SCNが「00」である場合、NSFIは「10」となる。この場合NSFIは10進数で示すと「2」である。従って、ビーコンを受信してから次にビーコンを受信するまでのビーコン送信間隔の数、即ちNSFIは2に設定されることとなる。   When ADDR is larger than SCN (step S47; YES), or after step S48, control unit 20 sets a value obtained by subtracting SCN from ADDR (difference value) in NSFI (step S49). This NSFI is the number of beacon transmission intervals from when a beacon is received until the next beacon is received. For example, when ADDR is “10” and SCN is “00”, NSFI is “10”. In this case, NSFI is “2” in decimal. Therefore, the number of beacon transmission intervals from when a beacon is received until the next beacon is received, that is, NSFI is set to 2.

制御部20は、NSFIとSFIを乗算した値(第3算出値)にTを加算し、予め設定された余裕時間αを減算し、起動タイミング(起動時刻)を算出する(ステップS50)。制御部20は、算出した起動タイミングを起動用タイマにセットし(ステップS51)、起動用タイマによる計時を開始させ、無線送信部26や無線受信部27等の各部への電力供給を最低限に設定し、無線送信部26や無線受信部27等の動作を停止させ、無線端末装置2をスリープ状態とする(ステップS52)。   The control unit 20 adds T to the value obtained by multiplying NSFI and SFI (third calculated value), subtracts a preset margin time α, and calculates the start timing (start time) (step S50). The control unit 20 sets the calculated activation timing in the activation timer (step S51), starts timing by the activation timer, and minimizes power supply to each unit such as the wireless transmission unit 26 and the wireless reception unit 27. The wireless terminal device 2 is set in a sleep state by stopping the operations of the wireless transmission unit 26 and the wireless reception unit 27 (step S52).

制御部20は、起動用タイマ23から起動タイミング信号が入力されたか否かを判別して起動時刻か否かを判別する(ステップS53)。起動時刻でない場合(ステップS53;NO)、制御部20は、ステップS53の処理に戻る。   The control unit 20 determines whether or not an activation timing signal is input from the activation timer 23, and determines whether or not it is an activation time (step S53). If it is not the activation time (step S53; NO), the control unit 20 returns to the process of step S53.

起動時刻である場合(ステップS53;YES)、制御部20は、起動用タイマ23をクリアし、スリープ状態である各部を起動させ(ステップS54)、本処理を終了する。   When it is the activation time (step S53; YES), the control unit 20 clears the activation timer 23, activates each unit that is in the sleep state (step S54), and ends this process.

図14に、データ受信処理のフローチャートを示す。なお、図14に示す処理は、無線端末装置2内の制御部20と各部との協働により実行されるものである。   FIG. 14 shows a flowchart of the data reception process. Note that the processing shown in FIG. 14 is executed by the cooperation of the control unit 20 and each unit in the wireless terminal device 2.

制御部20は、無線受信部27によるビーコンの解析結果により、自己が属するグループ宛のビーコンか否かを判別する(ステップS61)。ステップS61の判別は、ステップS25と同様の判別内容であるため、説明は省略する。   The control unit 20 determines whether or not the beacon is addressed to the group to which it belongs, based on the beacon analysis result by the wireless reception unit 27 (step S61). The determination in step S61 is the same as the determination content in step S25, and thus the description thereof is omitted.

受信したビーコンが自己が属するグループ宛のビーコンでない場合(ステップS61;NO)、制御部20は、無線受信部27の動作状態を受信可能状態に維持させ、無線中継装置1と他の無線端末装置2との通信のモニタリング(パケットモニタ)を行う(ステップS62)。   When the received beacon is not a beacon addressed to the group to which it belongs (step S61; NO), the control unit 20 maintains the operation state of the wireless reception unit 27 in a receivable state, and the wireless relay device 1 and other wireless terminal devices 2 is monitored (packet monitor) (step S62).

制御部20は、パケットモニタを行なっている最中に優先グループの通信が終了したか否かを判別する(ステップS63)。優先グループとは、ビーコンにより送信されるデータを受信する際、自己が属するグループよりも優先されてデータを受信するグループである。   The control unit 20 determines whether or not the priority group communication has ended during the packet monitoring (step S63). A priority group is a group that receives data with priority over the group to which it belongs when receiving data transmitted by a beacon.

例えば、受信したビーコンの拡張シーケンスナンバーとマスクビットとをANDして得られた値と、ノードアドレスとマスクビットとをANDして得られた値とが一致する無線端末装置のグループが、データの受信を最優先に行なうグループ(最優先グループ)となる。つまり、データを受信するグループの優先度は、拡張シーケンスナンバーとマスクビットとをANDして得られた値から各無線端末装置のノードアドレスとマスクビットとをANDして得られた値を減算した値(減算値)に相当する。この減算値が小さい程、優先度が高くなる。   For example, a group of wireless terminal devices in which the value obtained by ANDing the extended sequence number of the received beacon and the mask bit matches the value obtained by ANDing the node address and the mask bit is the data This is the group that performs reception with the highest priority (the highest priority group). In other words, the priority of the group receiving data is obtained by subtracting the value obtained by ANDing the node address and mask bit of each wireless terminal device from the value obtained by ANDing the extended sequence number and the mask bit. It corresponds to the value (subtraction value). The smaller the subtraction value, the higher the priority.

優先グループの通信が終了したか否かの判別では、制御部20は、受信したビーコンのPAフィールド内に含まれているノードアドレスに基づいて、PAフィールドに含まれている各ノードアドレスが属するグループの優先度を算出する。そして制御部20は、自己が属するグループよりも優先度が高いグループに属するノードアドレスに対応する無線端末装置と無線中継装置との通信をモニタリングする。このモニタリングしている無線端末装置の通信が終了したか否かを制御部20が判別することにより、優先グループの通信が終了したか否かが判別される。   In determining whether the communication of the priority group has ended, the control unit 20 determines whether the group to which each node address included in the PA field belongs is based on the node address included in the PA field of the received beacon. The priority of is calculated. And the control part 20 monitors communication with the radio | wireless terminal apparatus and radio | wireless relay apparatus corresponding to the node address which belongs to the group where priority is higher than the group to which self belongs. When the control unit 20 determines whether or not the communication of the wireless terminal device being monitored has ended, it is determined whether or not the priority group communication has ended.

優先グループの通信が終了していない場合(ステップS63;NO)、制御部20は、ステップS62の処理に戻る。   If the priority group communication has not ended (step S63; NO), the control unit 20 returns to the process of step S62.

優先グループの通信が終了した場合(ステップS63;YES)、制御部20は、データ転送時間に余裕があるか否かを判別する(ステップS64)。   When the priority group communication is completed (step S63; YES), the control unit 20 determines whether or not there is a margin in the data transfer time (step S64).

ステップS64では、例えば、制御部20は、受信したビーコンに含まれるビーコン送信間隔と、当該ビーコンを受信した時刻とに基づいて、次にビーコンを受信するまでの時刻を算出し、現在時刻から算出した時刻までの時間が無線中継装置からデータを受信するために要する時間よりも長い場合、データ転送時間に余裕があると判別するものである。   In step S64, for example, the control unit 20 calculates the time until the next beacon is received based on the beacon transmission interval included in the received beacon and the time when the beacon is received, and calculates from the current time. If the time until the time is longer than the time required to receive data from the wireless relay device, it is determined that there is a margin in the data transfer time.

データ転送時間に余裕がない場合(ステップS63;NO)、制御部20は、本処理を終了する。データ転送時間に余裕がある場合(ステップS63;YES)、制御部20は、データリクエストを無線中継装置1に送信する(ステップS65)。   When there is no allowance for the data transfer time (step S63; NO), the control unit 20 ends this process. When there is a margin in the data transfer time (step S63; YES), the control unit 20 transmits a data request to the wireless relay device 1 (step S65).

制御部20は、データリクエストを無線中継装置1に送信した後、無線中継装置1からACK(Ackowledgment)を受信し(ステップS66)、データを受信する(ステップS67)。   After transmitting the data request to the wireless relay device 1, the control unit 20 receives an ACK (Ackowledgment) from the wireless relay device 1 (step S66) and receives data (step S67).

制御部20は、データの受信が完了するとACKを無線中継装置1に送信し(ステップS68)、本処理を終了する。   When the reception of data is completed, the control unit 20 transmits ACK to the wireless relay device 1 (step S68), and ends this process.

図15に、ビーコン受信処理を行っている無線端末装置の動作例を示す。
図15には、マスクビットが3(下位2bitが1)である場合の例を示し、ビーコンに含まれる拡張シーケンスナンバーの下位2bitと、連続ビットの下位4bitを示す。
FIG. 15 shows an operation example of a wireless terminal device performing beacon reception processing.
FIG. 15 shows an example in which the mask bit is 3 (the lower 2 bits are 1), and the lower 2 bits of the extended sequence number included in the beacon and the lower 4 bits of consecutive bits are shown.

各無線端末装置のノードアドレス及びビーコンに含まれるマスクビットにより、複数の無線端末装置は、4つのグループに分けられる。例えば、複数の無線端末装置は、ノードアドレスの下位2bitが「00」である無線端末装置をグループ0、ノードアドレスの下位2bitが「01」である無線端末装置をグループ1、ノードアドレスの下位2bitが「10」である無線端末装置をグループ2、ノードアドレスの下位2bitが「11」である無線端末装置をグループ3、に分けられる。   The plurality of wireless terminal devices are divided into four groups based on the node address of each wireless terminal device and the mask bits included in the beacon. For example, a plurality of wireless terminal devices are group 0 for wireless terminal devices whose lower 2 bits of the node address are “00”, group 1 for wireless terminal devices whose lower 2 bits of the node address are “01”, and lower 2 bits of the node address. Can be divided into group 2 and wireless terminal devices whose lower 2 bits of the node address are “11” into group 3.

本実施の形態において、図15に示すグループ0に属する無線端末装置の数を10台、グループ1に属する無線端末装置の数を5台、グループ2、3に属する無線端末装置の数を0台とする。また、各無線端末装置に送信するデータ量は同一とし、ビーコン送信間隔で送信できるデータ量は、7台分の無線端末装置に送信するデータ量とする。   In the present embodiment, the number of wireless terminal devices belonging to group 0 shown in FIG. 15 is 10, the number of wireless terminal devices belonging to group 1 is 5, and the number of wireless terminal devices belonging to groups 2 and 3 is 0. And The amount of data transmitted to each wireless terminal device is the same, and the amount of data that can be transmitted at the beacon transmission interval is the amount of data transmitted to seven wireless terminal devices.

グループ0に属する無線端末装置は、自己が属するグループ宛のビーコン(マスクビットにより抽出された拡張シーケンスナンバーの値が「00」であるビーコン)を受信し、、受信したビーコンのPAフィールドに自己のノードアドレスが含まれている場合、データ受信処理(ダウンロード)を行う。図15に示す例では、7台の無線端末装置が無線中継装置からデータを受信することとなる。
そしてグループ0に属する無線端末装置は、自己のグループの連続ビット(連続ビットの最下位bit)が1であるため、無線受信部27を受信可能状態に維持させる。
A wireless terminal device belonging to group 0 receives a beacon addressed to the group to which the wireless terminal device belongs (a beacon having an extended sequence number value of “00” extracted by a mask bit), and receives the own beacon in the PA field of the received beacon. If the node address is included, data reception processing (download) is performed. In the example illustrated in FIG. 15, seven wireless terminal devices receive data from the wireless relay device.
The wireless terminal devices belonging to group 0 maintain the wireless reception unit 27 in a receivable state because the continuous bit (the least significant bit of the continuous bits) of its own group is 1.

次に、グループ0に属する無線端末装置は、マスクビットにより抽出された拡張シーケンスナンバーの値が「01」であるビーコンを受信し、受信したビーコンのPAフィールドに自己のノードアドレスが含まれている場合、優先グループ(グループ1)の通信が終了した後、データ受信処理(ダウンロード)を行う。図15に示す例では、グループ1の5第の無線端末装置がデータを受信した後、グループ0に属する2台の無線端末装置が無線中継装置からデータを受信することとなる。
そしてグループ0に属する無線端末装置は、自己のグループの連続ビット(連続ビットの最下位bitより1bit上位のbit)が1であるため、無線受信部27を受信可能状態に維持させる。
Next, the wireless terminal devices belonging to group 0 receive a beacon whose extended sequence number value extracted by the mask bit is “01”, and the node address of the wireless terminal device is included in the PA field of the received beacon. In this case, after the communication of the priority group (group 1) is completed, the data reception process (download) is performed. In the example illustrated in FIG. 15, after the fifth wireless terminal device in group 1 receives data, two wireless terminal devices belonging to group 0 receive data from the wireless relay device.
The wireless terminal device belonging to group 0 maintains the wireless receiving unit 27 in a receivable state because the continuous bit of its own group (bits higher by 1 bit than the least significant bit of the continuous bits) is 1.

そして、グループ0に属する無線端末装置は、マスクビットにより抽出された拡張シーケンスナンバーの値が「10」であるビーコンを受信し、受信したビーコンのPAフィールドに自己のノードアドレスが含まれている場合、優先グループ(グループ1、2)の通信が終了した後、データ受信処理(ダウンロード)を行う。図15に示す例では、グループ1、2にはデータを受信する無線端末装置がないため、ビーコンを受信後にグループ0に属する1台の無線端末装置が無線中継装置からデータを受信することとなる。
そしてグループ0に属する無線端末装置は、自己のグループの連続ビット(連続ビットの最下位bitより2bit上位のbit)が0であるため、スリープ状態となる。
When the wireless terminal device belonging to group 0 receives a beacon whose extension sequence number value extracted by the mask bit is “10”, and the received beacon PA field includes its own node address After the communication of the priority groups (groups 1 and 2) is completed, data reception processing (downloading) is performed. In the example shown in FIG. 15, since there are no wireless terminal devices that receive data in groups 1 and 2, one wireless terminal device belonging to group 0 receives data from the wireless relay device after receiving a beacon. .
The wireless terminal devices belonging to group 0 are in the sleep state because the continuous bits of their group (bits higher by 2 bits than the least significant bit of the continuous bits) are 0.

また、グループ1、2、3にそれぞれ属する無線端末装置は、マスクビットにより抽出された拡張シーケンスナンバーの値がそれぞれ「01」、「10」、「11」であるビーコンを受信し、3つのビーコン送信間隔の間、スリープ状態となる。   In addition, the wireless terminal devices belonging to the groups 1, 2, and 3 respectively receive beacons whose extended sequence number values extracted by the mask bits are “01”, “10”, and “11”, respectively. During the transmission interval, it goes to sleep.

従って、無線端末装置2は、無線中継装置1から周期的に送信されるビーコン全てを受信する必要がなくなり、最低4回に1回送信されるビーコンを受信すればよいこととなる。   Therefore, it is not necessary for the wireless terminal device 2 to receive all beacons periodically transmitted from the wireless relay device 1, and it is only necessary to receive beacons transmitted at least once every four times.

このように、無線端末装置2は、ビーコンに含まれている拡張シーケンスナンバー及びマスクビットと自身のノードアドレスとに基づいて算出した起動タイミングまで、無線受信部27の動作を停止できることから、送信される全てのビーコンを受信可能とするために消費される電力の低減を図ることができる。そして、無線端末装置2は、算出した起動タイミングで起動された無線受信部27が受信したビーコンに含まれ、自己が属するグループのデータ残量に応じて設定された連続ビットに基づいて、無線受信部27の動作状態を受信可能状態に維持するか否かを設定することができる。従って、各グループのデータ残量に応じて各グループに属する無線端末装置が備える無線受信部27の動作状態を維持して連続的にビーコンを受信させ、データの受信完了期間の短縮を図ることができ、無線端末装置2の省電力化を図ることができる。   Thus, since the wireless terminal device 2 can stop the operation of the wireless reception unit 27 until the activation timing calculated based on the extended sequence number and mask bit included in the beacon and its own node address, the wireless terminal device 2 is transmitted. Therefore, it is possible to reduce the power consumed to receive all beacons. Then, the wireless terminal device 2 receives the wireless signal based on the continuous bits set according to the data remaining amount of the group to which the wireless terminal unit 27 that is activated at the calculated activation timing includes the beacon received. Whether or not the operation state of the unit 27 is maintained in a receivable state can be set. Accordingly, it is possible to continuously receive a beacon while maintaining the operation state of the wireless reception unit 27 included in the wireless terminal device belonging to each group according to the remaining data amount of each group, thereby shortening the data reception completion period. Thus, power saving of the wireless terminal device 2 can be achieved.

例えば、各グループの無線端末装置の数が不均一である場合、多数の無線端末装置から構成されるグループにおいて、他のグループ宛のビーコンを用いて、データの受信を行なわせることができ、無線リソース(周波数帯域、電力、伝送方式等)の時間利用の効率化を図ることができるため、起動時における起動初期処理による消費電力の削減が可能となる。   For example, when the number of wireless terminal devices in each group is uneven, in a group composed of a large number of wireless terminal devices, data reception can be performed using beacons addressed to other groups. Since the time utilization of resources (frequency band, power, transmission method, etc.) can be improved, the power consumption can be reduced by the startup initial process at startup.

更に、無線端末装置2は、連続ビットに応じて無線受信部27を受信可能状態に維持させ、受信したビーコンに自己のノードアドレスが含まれている場合にデータを受信することができる。
特に、受信可能状態に維持された無線受信部27がビーコンを受信した場合であって、当該ビーコンが自己が属するグループ宛のビーコンでない場合、当該ビーコンの受信対象であるグループ(優先グループ)に属する無線端末装置によるデータの受信が完了した後、データを受信することができるため、優先グループに属する無線端末装置によるデータの受信を優先させることができる。従って、優先グループに属する無線端末装置は、他のグループのデータ残量に影響されることなく、グループ毎にビーコンを受信してデータを取得することができる。
Furthermore, the wireless terminal device 2 can maintain the wireless reception unit 27 in a receivable state according to the continuous bits, and can receive data when the received beacon includes its own node address.
In particular, when the wireless reception unit 27 maintained in a receivable state receives a beacon, and the beacon is not a beacon addressed to a group to which the beacon belongs, it belongs to a group (priority group) that is a reception target of the beacon. Since the data can be received after the reception of data by the wireless terminal device is completed, the reception of data by the wireless terminal device belonging to the priority group can be prioritized. Accordingly, wireless terminal devices belonging to the priority group can acquire data by receiving a beacon for each group without being affected by the remaining data amount of other groups.

無線通信システムの概略構成図である。It is a schematic block diagram of a radio | wireless communications system. 無線中継装置の概略構成図である。It is a schematic block diagram of a radio relay apparatus. ビーコンフォーマットの例を示す図である。It is a figure which shows the example of a beacon format. 連続ビットフィールドのフォーマットの例を示す図である。It is a figure which shows the example of a format of a continuous bit field. 無線端末装置の概略構成図である。It is a schematic block diagram of a radio | wireless terminal apparatus. 拡張シーケンスナンバー、マスクビット、ノードアドレスの例を示す図である。It is a figure which shows the example of an extended sequence number, a mask bit, and a node address. ビーコン送信処理のフローチャートである。It is a flowchart of a beacon transmission process. グループ0に対する連続ビット制御処理のフローチャートである。5 is a flowchart of continuous bit control processing for group 0. グループ1に対する連続ビット制御処理のフローチャートである。5 is a flowchart of continuous bit control processing for group 1; グループ2に対する連続ビット制御処理のフローチャートである。6 is a flowchart of continuous bit control processing for group 2; グループ3に対する連続ビット制御処理のフローチャートである。10 is a flowchart of continuous bit control processing for group 3; ビーコン受信処理のフローチャートである。It is a flowchart of a beacon receiving process. 起動タイミング算出処理のフローチャートである。It is a flowchart of a starting timing calculation process. データ受信処理のフローチャートである。It is a flowchart of a data reception process. ビーコン受信処理を行っている無線端末装置の動作例を示す図である。It is a figure which shows the operation example of the radio | wireless terminal apparatus which is performing the beacon reception process.

符号の説明Explanation of symbols

1 無線中継装置
2 無線端末装置
3 有線ネットワーク
10 制御部
11 記憶部
12 端末情報用メモリ
13 ビーコン送信タイマ
14 無線送信部
15 無線受信部
16 SW
17 有線I/F
18 バッファ
19 アンテナ
20 制御部
21 記憶部
22 アドレス用メモリ
23 起動用タイマ
24 電源制御部
25a 表示制御部
25b 表示部
26 無線送信部
27 無線受信部
28 SW
29 アンテナ
A 無線通信システム
B バッテリ
B1 MACヘッダ領域
B2 MACペイロード領域
B3 MFR領域
B21 SS
B22 GTSフィールド
B23 PAフィールド
B24 ビーコンペイロード
B24a 拡張シーケンスナンバー
B24b 連続ビット
B24c マスクビット
Reference Signs List 1 wireless relay device 2 wireless terminal device 3 wired network 10 control unit 11 storage unit 12 terminal information memory 13 beacon transmission timer 14 wireless transmission unit 15 wireless reception unit 16 SW
17 Wired I / F
18 Buffer 19 Antenna 20 Control Unit 21 Storage Unit 22 Address Memory 23 Start-up Timer 24 Power Supply Control Unit 25a Display Control Unit 25b Display Unit 26 Radio Transmitter 27 Radio Receiver 28 SW
29 Antenna A Wireless communication system B Battery B1 MAC header area B2 MAC payload area B3 MFR area B21 SS
B22 GTS field B23 PA field B24 Beacon payload B24a Extended sequence number B24b Consecutive bits B24c Mask bits

Claims (7)

ビーコンを受信する受信部を備えた無線端末装置において、
前記ビーコンは、当該ビーコンの受信対象となる無線端末装置が属するグループを示すグループ識別情報と、前記グループ毎のデータ残量に応じて前記グループ毎に前記受信部の動作状態を受信可能状態に維持するか否かを示す受信状態指示情報と、を含み、
自己を識別する端末識別情報が記憶されている識別情報記憶部と、
前記受信部により受信したビーコンに含まれているグループ識別情報と前記端末識別情報とに基づいて、前記受信部を起動させるタイミングを算出し、当該算出したタイミングまで前記受信部の動作を停止させ、当該算出したタイミングで前記受信部を起動して前記ビーコンを受信させ、当該算出したタイミングで受信したビーコンに含まれている前記受信状態指示情報に基づいて前記受信部の動作状態を設定する制御部と、
を備えることを特徴とする無線端末装置。
In a wireless terminal device including a receiving unit that receives a beacon,
The beacon maintains group receiving information indicating a group to which a wireless terminal device that is a reception target of the beacon belongs and an operation state of the receiving unit in a receivable state for each group according to a remaining data amount for each group. Reception status indication information indicating whether or not to perform,
An identification information storage unit in which terminal identification information for identifying itself is stored;
Based on the group identification information and the terminal identification information included in the beacon received by the receiving unit, calculate the timing to start the receiving unit, stop the operation of the receiving unit until the calculated timing, A control unit that activates the reception unit at the calculated timing to receive the beacon, and sets an operation state of the reception unit based on the reception state instruction information included in the beacon received at the calculated timing When,
A wireless terminal device comprising:
前記制御部は、
前記受信状態指示情報が前記受信部の動作状態を受信可能状態に維持することを示している場合、前記受信部の動作状態を受信可能状態に維持させ、
当該受信可能状態に維持された前記受信部により受信した前記ビーコンに自己の端末識別情報が含まれている場合には、前記受信部によりデータを受信すること、
を特徴とする請求項1に記載の無線端末装置。
The controller is
When the reception state instruction information indicates that the operation state of the reception unit is maintained in a receivable state, the operation state of the reception unit is maintained in a receivable state,
If the beacon received by the receiving unit maintained in the receivable state includes its own terminal identification information, receiving data by the receiving unit;
The wireless terminal device according to claim 1.
前記制御部は、
前記受信可能状態に維持された前記受信部が前記ビーコンを受信した場合、
前記グループ識別情報と前記端末識別情報とに基づき前記受信部により受信したビーコンが自己が属するグループ宛のビーコンであるか否かを判別し、
前記ビーコンが自己が属するグループ宛のビーコンでない場合には、当該ビーコンの受信対象であるグループに属する無線端末装置によるデータの受信が完了した後、前記ビーコンに自己の端末識別情報が含まれている場合には、前記受信部によりデータを受信すること、
を特徴とする請求項2に記載の無線端末装置。
The controller is
When the receiving unit maintained in the receivable state receives the beacon,
Determining whether the beacon received by the receiving unit based on the group identification information and the terminal identification information is a beacon addressed to a group to which the self belongs;
When the beacon is not a beacon addressed to the group to which the beacon belongs, after the reception of data by the wireless terminal device belonging to the group to which the beacon is received is completed, the beacon includes the terminal identification information of the self In this case, receiving data by the receiving unit,
The wireless terminal device according to claim 2.
無線端末装置に定期的にビーコンを送信する送信部と、
前記ビーコンの受信対象となる前記無線端末装置が属するグループを示すグループ識別情報と、前記グループ毎のデータ残量に応じて前記グループ毎に前記無線端末装置が備える受信部の動作状態を受信可能状態に維持するか否かを示す受信状態指示情報と、を含む前記ビーコンを生成し、生成した前記ビーコンを前記送信部により前記無線端末装置へ送信させる制御部と、
を備えることを特徴とする無線中継装置。
A transmitter that periodically transmits a beacon to a wireless terminal device;
The group identification information indicating the group to which the wireless terminal device that is the reception target of the beacon belongs, and the operation status of the receiving unit included in the wireless terminal device for each group according to the data remaining amount for each group A control unit that generates the beacon including the reception state instruction information indicating whether to maintain the beacon, and causes the transmission unit to transmit the generated beacon to the wireless terminal device;
A wireless relay device comprising:
前記ビーコンは、データの送信対象となる前記無線端末装置の端末識別情報を含み、
前記制御部は、
送信する前記ビーコンに含める前記端末識別情報が示す無線端末装置が属するグループのデータ量がビーコン送信期間内で送信可能なデータ量を超える場合、前記受信状態指示情報として当該グループに属する無線端末装置の前記受信部の動作状態を受信可能状態に維持させるものとすること、
を特徴とする請求項4に記載の無線中継装置。
The beacon includes terminal identification information of the wireless terminal device that is a transmission target of data,
The controller is
When the data amount of the group to which the wireless terminal device indicated by the terminal identification information included in the beacon to be transmitted exceeds the data amount that can be transmitted within the beacon transmission period, the wireless terminal device belonging to the group as the reception state instruction information Maintaining the operating state of the receiver in a receivable state;
The wireless relay device according to claim 4.
無線端末装置のコンピュータを、
受信対象となる無線端末装置が属するグループを示すグループ識別情報と、前記グループ毎のデータ残量に応じて前記グループ毎に前記受信部の動作状態を受信可能状態に維持するか否かを示す受信状態指示情報と、を含むビーコンを受信する受信手段、
前記受信したビーコンに含まれているグループ識別情報と自己を識別する端末識別情報とに基づいて、前記受信機能を起動させるタイミングを算出し、当該算出したタイミングまで前記受信機能の動作を停止させ、当該算出したタイミングで前記受信機能を起動して前記ビーコンを受信させ、当該算出したタイミングで受信したビーコンに含まれている受信状態指示情報に基づいて前記受信機能の動作状態を設定する制御手段、
として機能させるプログラム。
Wireless terminal device computer
Group identification information indicating a group to which a wireless terminal device to be received belongs, and reception indicating whether or not the operation state of the reception unit is maintained in a receivable state for each group according to the remaining data amount for each group Receiving means for receiving a beacon including status indication information;
Based on the group identification information included in the received beacon and terminal identification information for identifying itself, calculate the timing for starting the reception function, stop the operation of the reception function until the calculated timing, Control means for activating the reception function at the calculated timing to receive the beacon, and setting an operation state of the reception function based on reception state instruction information included in the beacon received at the calculated timing;
Program to function as.
無線中継装置のコンピュータを、
無線端末装置に定期的にビーコンを送信する送信手段、
前記ビーコンの受信対象となる前記無線端末装置が属するグループを示すグループ識別情報と、前記グループ毎のデータ残量に応じて前記グループ毎に前記無線端末装置が備える受信部の動作状態をビーコンの受信可能状態に維持するか否かを示す受信状態指示情報と、を含む前記ビーコンを生成し、生成した前記ビーコンを前記送信機能により前記無線端末装置へ送信させる制御手段、
として機能させるプログラム。
Wireless relay device computer
A transmission means for periodically transmitting a beacon to a wireless terminal device;
The group identification information indicating the group to which the wireless terminal device that is the reception target of the beacon belongs, and the operation state of the reception unit included in the wireless terminal device for each group according to the data remaining amount for each group. Control means for generating the beacon including reception state instruction information indicating whether to maintain the enabled state, and transmitting the generated beacon to the wireless terminal device by the transmission function;
Program to function as.
JP2008262637A 2008-10-09 2008-10-09 Wireless terminal device, wireless relay device, and program Active JP5125972B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008262637A JP5125972B2 (en) 2008-10-09 2008-10-09 Wireless terminal device, wireless relay device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008262637A JP5125972B2 (en) 2008-10-09 2008-10-09 Wireless terminal device, wireless relay device, and program

Publications (2)

Publication Number Publication Date
JP2010093613A JP2010093613A (en) 2010-04-22
JP5125972B2 true JP5125972B2 (en) 2013-01-23

Family

ID=42255901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008262637A Active JP5125972B2 (en) 2008-10-09 2008-10-09 Wireless terminal device, wireless relay device, and program

Country Status (1)

Country Link
JP (1) JP5125972B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5588754B2 (en) * 2010-06-17 2014-09-10 シャープ株式会社 Wireless communication device, electronic shelf label, wireless communication method, wireless communication program, and recording medium
CN104467931B (en) * 2010-10-08 2018-05-18 Lg电子株式会社 Power-economizing method and wireless device in WLAN
KR101762699B1 (en) 2011-01-25 2017-07-28 삼성전자주식회사 Transmitting device, receiving device and communication method thereof
CN103563457B (en) 2011-05-31 2017-02-15 Lg电子株式会社 Method for transmitting and receiving physical layer convergence procedure protocol data unit and apparatus for the same
MX358729B (en) * 2014-02-20 2018-09-03 Ses Imagotag Gmbh Time slot communication system.
JP6467016B2 (en) * 2017-10-04 2019-02-06 エスエーエス−イマーゴタグ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツング Wireless tag and time slot communication system
JP2024014379A (en) * 2022-07-22 2024-02-01 オムロンヘルスケア株式会社 Measuring apparatus and control program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005269230A (en) * 2004-03-18 2005-09-29 Toyota Industries Corp Communication system
BRPI0721311B1 (en) * 2007-02-27 2019-09-24 Thomson Licensing Method for Transmitting Data on a Wireless Local Area Network and Method for Receiving Data on a Wireless Local Area Network
JP4623197B2 (en) * 2008-10-09 2011-02-02 カシオ計算機株式会社 Wireless terminal device, wireless relay device, and program

Also Published As

Publication number Publication date
JP2010093613A (en) 2010-04-22

Similar Documents

Publication Publication Date Title
JP5125972B2 (en) Wireless terminal device, wireless relay device, and program
JP4623197B2 (en) Wireless terminal device, wireless relay device, and program
CN100418115C (en) Method and apparatus for battery life extension for nodes within beaconing networks
JP4835723B2 (en) Wireless communication apparatus and program
US9201488B2 (en) Access point rotation for sharing power load
JP2020519196A5 (en)
US11729720B2 (en) Apparatuses, methods, and computer-readable medium for communication in a wireless local area network
US20160112955A1 (en) Communication protocol between access point and wireless station
CN108712740B (en) Bluetooth low-power connection method and device
US7978676B2 (en) Radio relay apparatus, radio terminal apparatus, method, and recording medium for performing radio communication based on beacon
CN108289295B (en) Bluetooth device, broadcast period adjusting method thereof and computer storage medium
Le et al. Asynchronous on demand MAC protocol using wake-up radio in wireless body area network
EP3143701B1 (en) Node synchronization in a frequency hopping wireless network
CN115209513A (en) Apparatus and method for mobile access point station
US9408023B2 (en) Short-range wireless communication access device, portable terminal for discovering short-range wireless communication access device, and short-range wireless communication system
JP2011066911A (en) Radio terminal device, radio relay device and program
CN107613548B (en) Low-power-consumption realization method of wireless chip in AP mode and corresponding wireless chip
JP5195233B2 (en) Wireless terminal device, wireless relay device, and program
JP4678055B2 (en) Wireless terminal device, wireless relay device, and program
JP4962628B2 (en) Wireless terminal device, wireless relay device, and program
CN112788558B (en) Data communication method and related equipment
Valta et al. Wake-up radio implementation for internet of things
JP5168192B2 (en) Wireless communication system and wireless communication method
JP2008131467A (en) Communication equipment
JP6754651B2 (en) Communication device and control method of communication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110916

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120925

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121002

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121015

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5125972

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20151109

Year of fee payment: 3