JP2021022835A - Communication control unit, communication control program, communication control method, and communication control system - Google Patents
Communication control unit, communication control program, communication control method, and communication control system Download PDFInfo
- Publication number
- JP2021022835A JP2021022835A JP2019138329A JP2019138329A JP2021022835A JP 2021022835 A JP2021022835 A JP 2021022835A JP 2019138329 A JP2019138329 A JP 2019138329A JP 2019138329 A JP2019138329 A JP 2019138329A JP 2021022835 A JP2021022835 A JP 2021022835A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- channel
- repeater
- communication control
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 289
- 238000000034 method Methods 0.000 title claims description 46
- 230000008569 process Effects 0.000 claims description 37
- 230000006870 function Effects 0.000 claims description 6
- 238000012935 Averaging Methods 0.000 claims 2
- 230000004044 response Effects 0.000 description 41
- 238000003860 storage Methods 0.000 description 18
- 238000012545 processing Methods 0.000 description 15
- 230000005540 biological transmission Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 238000001514 detection method Methods 0.000 description 7
- 206010003497 Asphyxia Diseases 0.000 description 6
- 230000008859 change Effects 0.000 description 6
- 230000007704 transition Effects 0.000 description 6
- 238000009826 distribution Methods 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 description 2
- 238000004092 self-diagnosis Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本発明は、通信制御装置、通信制御プログラム、通信制御方法及び通信制御システムに関する。 The present invention relates to a communication control device, a communication control program, a communication control method, and a communication control system.
特許文献1(特開2013−120973号公報)に、利用する無線通信方式に応じて、所要の伝送特性を担保しながら、ネットワーク伝送路所要帯域を制御可能とした無線ゲートウェイ装置が開示されている。 Patent Document 1 (Japanese Unexamined Patent Publication No. 2013-120973) discloses a wireless gateway device capable of controlling the required band of a network transmission line while ensuring the required transmission characteristics according to the wireless communication method to be used. ..
この無線ゲートウェイ装置は、信号処理プログラムの書き換えが可能な可変信号処理部、自装置と信号処理サーバとの間の伝送帯域を制御する制御部、を備える。信号処理サーバは、記信号処理プログラムの書き換えが可能な可変信号処理部、無線ゲートウェイ装置と自装置との間の伝送帯域を制御する制御部とを備える。各制御部は、無線通信方式に基づいて、各可変信号処理部に実装可能なリソースの大きさ、利用可能なネットワーク伝送帯域、ネットワーク伝送遅延の情報を用いて、各可変信号処理部に無線通信機能ブロックを振り分ける。これにより、利用する無線通信方式に応じて、所要の伝送特性を担保しながら、ネットワーク伝送路所要帯域を制御可能とすることができる。 This wireless gateway device includes a variable signal processing unit capable of rewriting a signal processing program, and a control unit that controls a transmission band between the own device and the signal processing server. The signal processing server includes a variable signal processing unit capable of rewriting the signal processing program, and a control unit that controls the transmission band between the wireless gateway device and the own device. Based on the wireless communication method, each control unit wirelessly communicates with each variable signal processing unit using information on the size of resources that can be implemented in each variable signal processing unit, the available network transmission band, and the network transmission delay. Sort functional blocks. As a result, it is possible to control the required band of the network transmission line while ensuring the required transmission characteristics according to the wireless communication method to be used.
ここで、1台のゲートウェイ装置に割り当てられている通信チャンネルは、例えば4チャンネル等のように制限がある。また、1台のゲートウェイ装置で管理可能な通信端末も、最大で例えば400台等のように制限がある。このような状況下において、例えば500台等の、1台のゲートウェイ装置で管理可能な台数を大幅に超える台数の通信端末を管理することを考える。この場合、複数のゲートウェイ装置が必要となる。 Here, the communication channels assigned to one gateway device are limited, for example, four channels. Further, the number of communication terminals that can be managed by one gateway device is limited to 400, for example, at the maximum. Under such circumstances, it is considered to manage the number of communication terminals that greatly exceeds the number that can be managed by one gateway device, for example, 500 units. In this case, a plurality of gateway devices are required.
しかし、同じ通信チャンネルが設定された複数のゲートウェイ装置を用いると、各ゲートウェイ装置で管理している通信端末が、同じ通信チャンネルを用いて無線通信を行った場合に、通信干渉を生ずるおそれがある。このため、それぞれ異なる通信チャンネルが設定された複数のゲートウェイ装置を用いて多数の通信端末を管理する必要がある。 However, if a plurality of gateway devices in which the same communication channel is set are used, communication interference may occur when the communication terminals managed by each gateway device perform wireless communication using the same communication channel. .. Therefore, it is necessary to manage a large number of communication terminals by using a plurality of gateway devices in which different communication channels are set.
これは、ゲートウェイ装置のメーカ側において、通信チャンネルが異なる別の型番のゲートウェイ装置をそれぞれ製造し、出荷及び在庫管理を行う必要があることを意味する。具体的に説明すると、メーカ側は、第1番目の型番のゲートウェイ装置として、第1チャンネル、第10チャンネル、第19チャンネル及び第28チャンネルの計4チャンネルを割り当てたゲートウェイ装置を製造する。また、第2番目の型番のゲートウェイ装置として、第5チャンネル、第14チャンネル、第23チャンネル及び第32チャンネルの計4チャンネルを割り当てたゲートウェイ装置を製造する。このように、メーカ側は、それぞれ対応する通信チャンネルが異なるゲートウェイ装置を製造し、出荷及び在庫管理を行う必要がある。 This means that it is necessary for the gateway device manufacturer to manufacture gateway devices of different model numbers having different communication channels, and to carry out shipping and inventory management. Specifically, the manufacturer manufactures a gateway device to which a total of four channels, that is, the first channel, the tenth channel, the 19th channel, and the 28th channel, are assigned as the gateway device of the first model number. Further, as the gateway device of the second model number, a gateway device to which a total of 4 channels of 5th channel, 14th channel, 23rd channel and 32nd channel are assigned is manufactured. In this way, the manufacturer needs to manufacture gateway devices having different communication channels, and perform shipping and inventory management.
特許文献1に開示されている無線ゲートウェイ装置の場合も同様であり、使用する通信方式を切り替えるだけでは、各無線ゲートウェイ装置で管理している通信端末が同じ通信チャンネルを用いて無線通信を行った場合に、やはり、通信干渉を生ずる。
The same applies to the wireless gateway device disclosed in
本発明は、上述の課題に鑑みてなされたものであり、複数の通信制御装置間で通信干渉を生じないように、各通信制御装置の通信チャンネルを設定可能とした通信制御装置、通信制御プログラム、通信制御方法及び通信制御システムの提供を目的とする。 The present invention has been made in view of the above problems, and is a communication control device and a communication control program capable of setting a communication channel of each communication control device so as not to cause communication interference between a plurality of communication control devices. , Communication control method and communication control system.
上述した課題を解決し、目的を達成するために、本発明は、グループ間の通信干渉を防止するように組み合わされた複数の通信チャンネルをグループ化した複数グループ分の通信チャンネル設定情報のうち、いずれか一つのグループの通信チャンネル設定情報を取得する取得部と、取得された通信チャンネル設定情報で示される通信チャンネルを用いて、子機との間で無線通信を行うように、無線通信部を制御する無線通信制御と、を有する。 In order to solve the above-mentioned problems and achieve the object, the present invention presents the communication channel setting information for a plurality of groups in which a plurality of communication channels combined so as to prevent communication interference between the groups are grouped. The wireless communication unit is set up so as to perform wireless communication with the slave unit using the acquisition unit that acquires the communication channel setting information of any one group and the communication channel indicated by the acquired communication channel setting information. It has wireless communication control to control.
本発明によれば、複数の通信制御装置間で通信干渉を生じないように、各通信制御装置の通信チャンネルを設定可能とすることができるという効果を奏する。 According to the present invention, there is an effect that the communication channel of each communication control device can be set so as not to cause communication interference between a plurality of communication control devices.
以下、添付図面を参照して、通信制御装置、通信制御プログラム、通信制御方法及び通信制御システムの実施の形態となる動物管理システムの説明をする。 Hereinafter, an animal management system that is an embodiment of a communication control device, a communication control program, a communication control method, and a communication control system will be described with reference to the attached drawings.
(システム構成)
図1は、実施の形態の動物管理システムのシステム構成図である。この図1に示すように、動物管理システムは、例えば牛等の産業動物に装着されるセンサ装置1(子機の一例)と、中継器(GW:ゲートウェイ:通信制御装置の一例)200と、サーバ装置300とを有している。
(System configuration)
FIG. 1 is a system configuration diagram of the animal management system of the embodiment. As shown in FIG. 1, the animal management system includes a sensor device 1 (an example of a slave unit) mounted on an industrial animal such as a cow, a repeater (GW: gateway: an example of a communication control device) 200, and the like. It has a
センサ装置1は、メインマイクロコンピュータ(メインマイコン:無線通信制御部の一例)101、記憶部102、電源ボタン103、行動分析センサ104、無線通信モジュール105(無線通信部の一例)、報知部106及び電波強度検出部107を有している。
The
記憶部102は、例えばROM(Read Only Memory)、RAM(Random Access Memory)又はHDD(Hard Disk Drive)等を用いることができる。記憶部102には、通信制御プログラムが記憶されている。メインマイコン101は、この通信制御プログラムを実行することで、無線通信状態のインジケート動作を行う。また、メインマイコン101は、電源ボタン103の所定時間以上の長押し操作を、最初に検出した際に、「送信先検出モード」に移行して、中継器200との間の無線通信状態を検出する。なお、メインマイコン101は、電源ボタン103の所定時間以上の長押し操作を、次に検出した際に、「送信先検出モード」を終了し、通常の通信モードに復帰する。
As the
行動分析センサ104は、一例として3軸センサからの検出出力に基づいて、牛の上下左右及び前後方向の動作を検出する。無線通信モジュール105は、中継器200との間で、例えばLoRaWAN(登録商標)等のLPWA(Low Power Wide Area)と呼ばれる無線通信規格に準拠した通信を行う。なお、この例では、センサ装置1と中継器200との間で無線通信を行うこととして説明を進めるが、センサ装置1と中継器200との間で有線通信を行うようにしてもよい。
As an example, the behavior analysis sensor 104 detects the movement of the cow in the up / down / left / right and front / back directions based on the detection output from the three-axis sensor. The
電波強度検出部107は、無線通信モジュール105で受信される中継器200からの電波の電波強度を検出し、メインマイコン101に通知する。メインマイコン101は、送信先検出モード時において、中継器200との間の通信状態を、報知部106を介して報知する。
The radio wave
(中継器のハードウェア構成)
次に、中継器200は、メインマイクロコンピュータ(メインマイコン)201、無線通信モジュール202、通信モジュール203、及び、記憶部204を有している。メインマイコン201は、センサ装置1との間の無線通信制御、及び、サーバ装置300との間の有線通信制御(又は無線通信制御でもよい)を行う。無線通信モジュール202は、センサ装置1との間の無線通信を行う。通信モジュールは、例えばインターネット等の所定のネットワークを介してサーバ装置300との間で通信を行う。
(Hardware configuration of repeater)
Next, the
記憶部204には、中継器200用の通信制御プログラムが記憶されている。詳しくは後述するが、メインマイコン201は、この通信制御プログラムに基づいて動作することで、自機に対して、他の中継器とは異なる型番(パッケージ番号)を設定することで、複数の中継器200で管理する多数のセンサ装置1間における通信干渉を防止するようになっている。
The communication control program for the
(サーバ装置のハードウェア構成)
サーバ装置300は、通信モジュール301、制御部302及び記憶部303を有している。記憶部303には、ユーザ情報、管理情報、及び、サーバ装置300用の通信制御プログラムが記憶されている。
(Hardware configuration of server device)
The
(ユーザ情報の例)
図2は、ユーザ情報の一例を示す図である。この図2に示すように、記憶部303には、ユーザ情報として、ユーザ名、ユーザが管理するセンサ装置1の数(センサ数)、ユーザが必要とする中継器200の数(必要G/W数)が記憶されている。また、記憶部303には、ユーザ情報として、各中継器200に対して割り当てている識別番号(割り当てG/WID)及び配布されているセンサ装置1の識別番号(配布センサID)が記憶されている。
(Example of user information)
FIG. 2 is a diagram showing an example of user information. As shown in FIG. 2, the storage unit 303 contains the user name, the number of
すなわち、この図2の例の場合、ユーザAさんは、産業動物に装着した80台のセンサ装置1を有している例を示している。一例として、1台の中継器200で150台のセンサ装置1を管理可能である場合、Aさんが所有する80台のセンサ装置1の通信管理に必要な必要G/W数は、「1」であることを示している。この1台の中継器200には、「000000000000000」の割り当てG/WIDが割り当てられており、各センサ装置1に対して、「0×00000001〜0×00000050」の配布センサIDが配布されていることを示している。
That is, in the case of the example of FIG. 2, the user A shows an example of having 80
同様に、この図2の例の場合、ユーザBさんは、産業動物に装着した500台のセンサ装置1を有している例を示している。一例ではあるが、1台の中継器200で管理可能なセンサ装置1の台数は150台であるため、Aさんが所有する500台のセンサ装置1の通信管理に必要な必要G/W数は、「4」であることを示している(150台×4=600台以内)。この4台の中継器200には、「100000000000000〜100000000000003」の割り当てG/WIDが割り当てられている。また、各センサ装置1に対しては、「0×10000001〜0×100001F4」の配布センサIDが配布されていることを示している。
Similarly, in the case of the example of FIG. 2, the user B shows an example of having 500
(管理情報の例)
図3は、管理情報の一例を示す図である。この図3に示すように、記憶部303には、管理情報として、ユーザ名、ユーザが所有する中継器200に対して割り当てられた上述の割り当てG/WID、ユーザが所有する中継器200に対して割り当てられた型番(パッケージNo.)が記憶されている。また、記憶部303には、管理情報として、中継器200に対して接続可能なセンサ最大数(最大接続センサ情報)、各中継器200の応答フラグが記憶されている。
(Example of management information)
FIG. 3 is a diagram showing an example of management information. As shown in FIG. 3, the storage unit 303 contains management information such as a user name, the above-mentioned allocation G / WID assigned to the
すなわち、この図3の例の場合、上述のユーザAさんが所有する1台の中継器200には、「000000000000000」の割り当てG/WIDが割り当てられており、「No.1」のパッケージNo.(型番)が設定されることを示している。また、ユーザAさんが所有する1台の中継器200には、「0x10010096」のG/W応答フラグが設定されていることを示している。なお、各中継器200の最大接続センサ数は、上述のように150台である。この「150台」の台数は、初期値であり、制御部302により、サーバ装置300上で変更可能となっている。
That is, in the case of the example of FIG. 3, the allocation G / WID of "000000000000000000" is assigned to the one
同様に、この図3の例の場合、上述のユーザBさんが所有する4台の中継器200には、「100000000000000〜100000000000003」の割り当てG/WIDが割り当てられており、それぞれ「No.1〜No.4」のパッケージNo.(型番)が設定されることを示している。また、ユーザBさんが所有する4台の中継器200には、「0x100F0096」、「0x200F0096」、「0x300F0096」及び「0x400F0096」のG/W応答フラグが、それぞれ設定されていることを示している。
Similarly, in the case of the example of FIG. 3, the four
(G/W応答フラグの例)
G/W応答フラグは、サーバ装置5から各中継器200に割り当てパッケージ番号及び接続可能なセンサ装置1の最大数等を通知する際に用いられる。また、G/W応答フラグは、定常時において、中継器200の数又はセンサ装置1の数が変更となった際に、制御部302により変更される。図4は、G/W応答フラグのフォーマットの一例を示す図である。この図4に示すように、G/W応答フラグは、4バイト(32ビット)の情報となっており、最下位ビット(LSB:00)〜15ビットで、接続可能なセンサ装置1の最大数等を示している。
(Example of G / W response flag)
The G / W response flag is used when the
また、16ビット目〜24ビット目で、中継器200に割り当てたパッケージ番号を示すようになっている。すなわち、16ビット目〜24ビット目は、それぞれパッケージNo.16〜パッケージNo.24に対応するビットとなっている。サーバ装置5の制御部302は、中継器200に割り当てたパッケージ番号に対応するビットを「1」とし、他のビットを「0」とする。
Further, the 16th to 24th bits indicate the package number assigned to the
すなわち、制御部302は、中継器200に対してパッケージNo.1を割り当てた場合、パッケージNo.1に対応する16ビット目を「1」とし、17ビット目〜24ビット目をそれぞれ「0」とする。同様に、制御部302は、中継器200に対してパッケージNo.8を割り当てた場合、パッケージNo.8に対応する23ビット目を「1」とし、16ビット目〜22ビット目及び24ボット目をそれぞれ「0」とする。
That is, the
また、図4に示すように、G/W応答フラグは、28ビット〜最上位ビット(MSB:31)の4ビットで、中継器200に割り当てたパッケージ番号を示すようになっている。なお、25ビット〜27ビットは、リザーブ(予約:0固定)となっている。
Further, as shown in FIG. 4, the G / W response flag is 4 bits from 28 bits to the most significant bit (MSB: 31), and indicates the package number assigned to the
(中継器の動作)
次に、中継器200の動作を説明する。中継器200のメインマイコン201は、記憶部204に記憶されている中継器200用の通信制御プログラムを実行することで、図5に示す各機能を実現する。すなわち、メインマイコン201は、通信制御プログラムを実行することで、電源制御部251、ID取得部252、POST(Power On Self Test:電源投入時自己診断テスト)実行部253、応答フラグ取得部254、センサ最大数取得部255、通信チャンネル割り当て部256及び起動制御部257として機能する。
(Operation of repeater)
Next, the operation of the
なお、この例は、電源制御部251〜起動制御部257をソフトウェアで実現する例であるが、これらのうち、一部又は全部を、IC(Integrated Circuit)等のハードウェアで実現してもよい。また、電源制御部251〜起動制御部257は、通信制御プログラム単体で実現しても良いし、他のプログラムに処理の一部を実現させ、又は、他のプログラムを用いて間接的に実現させても良い。
In this example, the power
また、中継器200用の通信制御プログラムは、インストール可能な形式または実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)などのコンピュータ装置で読み取り可能な記録媒体に記録して提供してもよい。また、中継器200用の通信制御プログラムは、CD−R、DVD(Digital Versatile Disk)、ブルーレイディスク(登録商標)、半導体メモリなどのコンピュータ装置で読み取り可能な記録媒体に記録して提供してもよい。また、中継器200用の通信制御プログラムは、インターネット等のネットワーク経由でインストールするかたちで提供してもよいし、機器内のROM等に予め組み込んで提供してもよい。
Further, the communication control program for the
図6は、中継器200の初動時における動作の流れを示すフローチャートである。この図6のフローチャートにおいて、電源制御部241が、電源のオン操作を検出すると(ステップS1)、ID取得部252が、サーバ装置5から予め自機に対して割り当てられ、記憶部204に記憶しておいた割り当てG/WIDを取得する(ステップS2)。そして、POST実行部253が、電源投入時における自己診断テストを実行し(ステップS3)、ステップS4に処理が進む。
FIG. 6 is a flowchart showing an operation flow at the time of initial operation of the
ステップS4では、応答フラグ取得部254が、通信モジュール203を介してサーバ装置300に、自機の割り当てG/WIDを送信し、図4を用いて説明したG/W応答フラグの取得要求を行う。サーバ装置300は、中継器200から受信した割り当てG/WIDに対応するG/W応答フラグを、取得要求された中継器200に送信(通知)する。取得部の一例である応答フラグ取得部254は、サーバ装置300から送信された自機の割り当てG/WIDに対応するG/W応答フラグを取得する。
In step S4, the response
例えば、中継器200からサーバ装置300に送信された割り当てG/WIDが「200000000000001」であった場合、これは、図3に示すようにユーザCの2台目の中継器200のG/WIDであることを示す。このため、サーバ装置300は、このユーザCの2台目の中継器200に対して割り当てている「No.2」のパッケージ番号を示すG/W応答フラグを、中継器200に送信する。
For example, when the allocation G / WID transmitted from the
次に、中継器200のセンサ最大数取得部255は、サーバ装置300から取得した図4に示すG/W応答フラグの最下位ビット〜15ビット目を参照することで、当該中継器200に接続可能なセンサ装置1の最大数を取得する(ステップS5)。この例の場合、図3に示すようにユーザCのG/W応答フラグが「0x20030096」であるため、接続可能なセンサ装置1の最大数は「150台」となる。なお、上述のように、各中継器200の最大接続センサ数は、サーバ装置300の制御部302が変更可能となっている。
Next, the sensor maximum
次に、通信チャンネル割り当て部256が、G/W応答フラグの16ビット目〜24ビット目、及び、28ビット目〜最上位ビットから得られたパッケージ番号に基づいて、センサ装置1との間の無線通信に用いる通信チャンネルの振り直しを行う(ステップS6)。
Next, the communication
具体的には、各中継器200に対しては、例えば4つの通信チャンネルが割り当て可能となっている。また、「No.1」のパッケージ番号の場合、第1チャンネル、第10チャンネル、第19チャンネル、第28チャンネルを中継器200の通信チャンネルとして割り当てるようになっている。同様に、「No.2」のパッケージ番号の場合、第5チャンネル、第14チャンネル、第23チャンネル、第32チャンネルを通信チャンネルとして割り当て、「No.3」のパッケージ番号の場合、第7チャンネル、第16チャンネル、第25チャンネル、第34チャンネルを通信チャンネルとして割り当てるようになっている。
Specifically, for example, four communication channels can be assigned to each
同様に、「No.4」のパッケージ番号の場合、第3チャンネル、第12チャンネル、第21チャンネル、第30チャンネルを通信チャンネルとして割り当て、「No.5」のパッケージ番号の場合、第9チャンネル、第18チャンネル、第27チャンネル、第36チャンネルを通信チャンネルとして割り当てるようになっている。 Similarly, in the case of the package number of "No. 4", the 3rd channel, the 12th channel, the 21st channel, and the 30th channel are assigned as communication channels, and in the case of the package number of "No. 5", the 9th channel, The 18th channel, the 27th channel, and the 36th channel are assigned as communication channels.
同様に、「No.6」のパッケージ番号の場合、第2チャンネル、第11チャンネル、第20チャンネル、第29チャンネルを通信チャンネルとして割り当て、「No.7」のパッケージ番号の場合、第4チャンネル、第13チャンネル、第22チャンネル、第31チャンネルを通信チャンネルとして割り当てるようになっている。 Similarly, in the case of the package number of "No. 6", the second channel, the eleventh channel, the twentieth channel, and the 29th channel are assigned as communication channels, and in the case of the package number of "No. 7", the fourth channel, The 13th channel, the 22nd channel, and the 31st channel are assigned as communication channels.
同様に、「No.8」のパッケージ番号の場合、第6チャンネル、第15チャンネル、第24チャンネル、第33チャンネルを通信チャンネルとして割り当て、「No.9」のパッケージ番号の場合、第8チャンネル、第17チャンネル、第26チャンネル、第35チャンネルを通信チャンネルとして割り当てるようになっている。なお、各パッケージ番号のパッケージはグループの一例である。 Similarly, in the case of the package number of "No. 8", the 6th channel, the 15th channel, the 24th channel, and the 33rd channel are assigned as communication channels, and in the case of the package number of "No. 9", the 8th channel, The 17th channel, the 26th channel, and the 35th channel are assigned as communication channels. The package of each package number is an example of a group.
このように、異なるパッケージ間においては、同じチャンネルの割り当てを行わないことで、パッケージ間の各チャンネルの干渉が防止可能となっている。さらに、パッケージ内の各チャンネル間は、例えば9チャンネル等のように、間のチャンネルを大きく空けてチャンネルの割り当てが行われている。これにより、パッケージ内の各チャンネル間の干渉を防止可能となっている。また、異なるパッケージ間においては、同じチャンネルの割り当てを行わず、かつ、各パッケージ間で少なくとも2チャンネルを空けてチャンネルの割り当てが行われている。これにより、さらに、パッケージ間の各チャンネルの干渉を防止可能となっている。ただし、2チャンネル空けていない場合にも、各チャンネルの干渉防止に対して一定の効果は奏する。 In this way, by not allocating the same channel between different packages, it is possible to prevent interference of each channel between the packages. Further, between the channels in the package, channels are assigned with a large space between the channels, for example, 9 channels. This makes it possible to prevent interference between each channel in the package. Further, the same channel is not assigned between different packages, and at least two channels are allocated between each package. This further makes it possible to prevent interference of each channel between packages. However, even when two channels are not open, a certain effect is exerted on the prevention of interference of each channel.
上述の例の場合、G/W応答フラグが「0x20030096」であるため、自機に割り当てられたパッケージ番号は「No.2」である。このため、通信チャンネル割り当て部256は、第5チャンネル、第14チャンネル、第23チャンネル、第32チャンネルを通信チャンネルとして割り当てる。
In the case of the above example, since the G / W response flag is "0x2003006", the package number assigned to the own machine is "No. 2". Therefore, the communication
このように通信チャンネルの割り当てを行うと、起動制御部257が中継器200を再起動処理し(ステップS7)、定常処理へ移行する(ステップS8)。
When the communication channel is assigned in this way, the
(中継器の定常動作)
図7のフローチャートが、定常時(サーバ装置300との連携時)における中継器200の動作の流れである。図6のフローチャートのステップS7で再起動処理が行われることで、この図7のフローチャートの処理がスタートとなり、ステップS11から処理が実行される。すなわち、再起動処理により、図5に示したPOST実行部253が、電源投入時の自己診断テストを実行し(ステップS11)、応答フラグ取得部254が、割り当てG/WIDをサーバ装置300に送信し、サーバ装置300から図4に示した応答フラグを受信する(ステップS12)。
(Steady operation of repeater)
The flowchart of FIG. 7 shows the operation flow of the
次に、例えばユーザAが所有する中継器200が、それまで1台であったが、新たに中継器200を導入することで、ユーザAが所有する中継器が計2台となる場合、又は、中継器200で管理しているセンサ装置1が、80台から130台になる場合がある。このように、所有する中継器200の数又は管理するセンサ装置1の数が変更となると、サーバ装置300は、この数の変更に対応するG/W応答フラグを形成して中継器200に送信する。
Next, for example, when the number of
応答フラグ取得部254は、前回取得したG/W応答フラグと、今回取得したG/W応答フラグとを比較することで、G/W応答フラグの変化の有無を検出する(ステップS13)。G/W応答フラグの変化が検出されない場合、G/W応答フラグを受信して前回のG/W応答フラグと比較する処理を繰り返し行う。
The response
これに対して、G/W応答フラグの変化が検出された場合、中継器の数、又は、センサ装置1の数に基づいて、各通信チャンネルに対して均等にセンサ装置1を割り当てる、「割り当てセンサの均等化処理」を行う(ステップS14)。
On the other hand, when a change in the G / W response flag is detected, the
(割り当てセンサの均等化処理)
次に、図3に示したユーザBの中継器200に基づいて、ステップS14における割り当てセンサの均等化処理を説明する。ユーザBの場合、4台の中継器200で500台のセンサ装置1を管理している。この500台のセンサ装置1には、図2に示したように「0x10000001〜0x100001F4」の配布センサIDが付されている。各センサ装置1は、起動時となると、中継器4の4つの通信チャンネルのうち、無作為に1つの通信チャンネルを選択し、中継器200から応答(ACK)があった通信チャンネルで定常状態に移行する。このため、ユーザBが所有する各中継器200の各通信チャンネルに対して、均等にセンサ装置1が関連付けされるわけではなく、偏りが発生する。この各通信チャンネルに対するセンサ装置1の関連付けの偏りの発生は、新規な中継器200の設置時又は新規なセンサ装置1の設置時に顕著となる。
(Equalization process of allocation sensor)
Next, the equalization process of the allocation sensor in step S14 will be described based on the
図8は、割り当てセンサの均等化処理を模式的に示す図である。図8(a)は、各通信チャンネルに対するセンサ装置1の関連付けの偏りが発生した例を示している。この図8(a)の例は、ユーザBが所有する「100000000000000」の割り当てG/WIDの中継器200に対して、最大数が150台であるにも関わらず、300台のセンサ装置1が関連付けされた例を示している。
FIG. 8 is a diagram schematically showing the equalization process of the allocation sensor. FIG. 8A shows an example in which the association of the
すなわち、各センサ装置1は、電源投入時に中継器200の通信チャンネルを無作為に選択して通信回線を確立した後は定常状態に移行し、以後、間欠的に中継器200との間で通信を行う。このため、通信回線が確立されてから次の通信までの間は、空きチャンネルとなるため、同じ通信チャンネルに、最大数以上(150台以上)のセンサ装置1が関連付けされる不都合を生ずることが多々ある。
That is, each
図5に示す中継器200の通信チャンネル割り当て部256は、このように一つの通信チャンネルに過剰な台数のセンサ装置1が割り当てられていることを認識すると、他の中継器200との間で通信を行い、余剰となっている台数のセンサ装置1を、他の中継器200に割り当てる処理を行う。
When the communication
すなわち、ユーザBの場合、図3に示したように「100000000000000」の割り当てG/WIDの中継器200の他、「100000000000001」、「100000000000002」、「100000000000003」の割り当てG/WIDの、3台の中継器200を有している。このため、「100000000000000」の割り当てG/WIDの中継器200は、「100000000000001」、「100000000000002」及び「100000000000003」の割り当てG/WIDの各中継器200と通信を行い、余剰となっている台数のセンサ装置1を、他の中継器200に割り当てる処理を行う。
That is, in the case of user B, as shown in FIG. 3, in addition to the
図8(a)の例の場合、「100000000000000」の割り当てG/WIDの中継器200に対して150台の余剰のセンサ装置1が割り当てられているため、「100000000000000」の割り当てG/WIDの中継器200は、図8(b)に示すように、他の中継器200のうち、割り当てセンサ数に余裕のある他の中継器200に対して、余剰150台を均等に振り分ける。
In the case of the example of FIG. 8A, since 150
図8(a)の例の場合、現在、それぞれ50台のセンサ装置1が割り当てられている「100000000000002」及び「100000000000003」の割り当てG/WIDの中継器200の割り当てセンサ数に余裕がある。このため、通信チャンネル割り当て部256は、「100000000000002」の割り当てG/WIDの中継器200に対して、余剰150台のうち、75台のセンサ装置1を振り分け、また、「100000000000003」の割り当てG/WIDの中継器200に対して、残り75台のセンサ装置1を振り分ける。
In the case of the example of FIG. 8A, there is a margin in the number of assigned sensors of the G /
これにより、図8(b)に示すように、「100000000000000」の割り当てG/WIDの中継器200は150台、「100000000000001」の割り当てG/WIDの中継器200は100台、「100000000000002」の割り当てG/WIDの中継器200は125台、「100000000000003」の割り当てG/WIDの中継器200は125台のセンサ装置1が割り当てられることとなる。
As a result, as shown in FIG. 8B, 150 units of the “100000000000000” allocation G /
このように余剰台数を管理している中継器200と、他の中継器200との間における余剰台数の振り分け処理を行うことで、余剰台数を管理している中継器200の余剰分となるセンサ装置1を、他の中継器200で通信管理する準備が整う。
By distributing the surplus number between the
次に、余剰台数を管理している中継器200の通信チャンネル割り当て部256は、余剰となっている各センサ装置1と通信を行い、余剰となっている各センサ装置1に設定されている通信チャンネルを、振り分けを行った他の中継器200で管理する通信チャンネルに変更制御する。
Next, the communication
例えば、図8(c)に示すように、「100000000000000」の割り当てG/WIDの中継器200に設定されている型番(パッケージ番号)が「No.1」であり、第1チャンネルに100台、第10チャンネルに25台、第19チャンネルに50台、第28チャンネルに125台のセンサ装置1が割り当てられているとする。この割当により、100台が割り当てられている第1チャンネルの負荷が大きく、25台が割り当てられている第10チャンネルの負荷が小さく、50台が割り当てられている第19チャンネルの負荷が中程度であり、125台が割り当てられている第28チャンネルの負荷が大きくなる。
For example, as shown in FIG. 8C, the model number (package number) set in the
このため、「100000000000000」の割り当てG/WIDの中継器200の通信チャンネル割り当て部256は、自機で管理する150台のセンサ装置1と通信を行い、各通信チャンネルに割り当てられるセンサ装置1の数が均等となるように振り分け制御を行う。具体的には、自機で管理する150台のセンサ装置1を、各通信チャンネルに対して均等に割り当てようとすると、2つの通信チャンネルに対して38台、他2つの通信チャンネルに対して、それぞれ37台を割り当てることとなる。
Therefore, the communication
このため、通信チャンネル割り当て部256は、図8(d)に示すように、第1チャンネル及び第10チャンネルに対してそれぞれ38台のセンサ装置1を割り当て、第19チャンネル及び第28チャンネルに対してそれぞれ37台のセンサ装置1を割り当てるように、自機で管理する150台のセンサ装置1と通信を行い、各センサ装置1が通信で用いる通信チャンネルを変更制御する。これにより、各通信チャンネルの通信負荷を大幅に低減することができる。
Therefore, as shown in FIG. 8D, the communication
次に、通信チャンネル割り当て部256は、余剰150台のセンサ装置1と通信を行い、75台のセンサ装置1の通信チャンネルを、「100000000000002」の割り当てG/WIDの中継器200で用いている通信チャンネルに変更制御する。また、通信チャンネル割り当て部256は、余剰分のうち、残り75台のセンサ装置1の通信チャンネルを、「100000000000003」の割り当てG/WIDの中継器200で用いている通信チャンネルに変更制御する。
Next, the communication
「100000000000002」の割り当てG/WIDの中継器200に対しては、図3に示したように「No.3」のパッケージ番号が割り当てられている。上述のように、「No.3」のパッケージ番号が割り当てられた中継器200は、第7チャンネル、第16チャンネル、第25チャンネル及び第34チャンネルが、通信チャンネルとして割り当てられている。同様に、「100000000000003」の割り当てG/WIDの中継器200に対しては、図3に示したように「No.4」のパッケージ番号が割り当てられている。上述のように、「No.4」のパッケージ番号が割り当てられた中継器200は、第3チャンネル、第12チャンネル、第21チャンネル及び第30チャンネルが、通信チャンネルとして割り当てられている。
Assignment of "100000000000000002" A package number of "No. 3" is assigned to the
このため、「100000000000000」の割り当てG/WIDの中継器200の通信チャンネル割り当て部256は、上述のように他の中継器200に対して振り分け処理を行った150台のセンサ装置1(余剰分となっていたセンサ装置1)と通信を行う。そして、余剰150台のうち、75台のセンサ装置1が使用する通信チャンネルを、図8(e)に示すように「No.3」のパッケージ番号の中継器200に合わせて、第7チャンネルを19台、第16チャンネルを19台、第25チャンネルを19台及び第34チャンネルを18台等のように、略均等となるように変更制御する。
Therefore, the communication
同様に、通信チャンネル割り当て部256は、残り75台のセンサ装置1が使用する通信チャンネルを、図8(e)に示すように「No.4」のパッケージ番号の中継器200に合わせて、第3チャンネルを19台、第12チャンネルを19台、第21チャンネルを19台及び第30チャンネルを18台等のように、略均等となるように変更制御する。
Similarly, the communication
図8(f)は、各中継器200の各通信チャンネルに。略均等に割り当てられた通信チャンネルを示している。この図8(f)からわかるように、中継器200が通信管理するセンサ装置1の余剰分を、他の中継器200に振り分ける。また、各中継器200において、各通信チャンネルを用いるセンサ装置1の数を、略均等に割り当てる。これにより、中継器200の通信負担を大幅に軽減できると共に、通信干渉を極力防止できる。
FIG. 8 (f) shows each communication channel of each
(センサ装置の動作)
次に、各センサ装置1の動作を説明する。図1に示すセンサ装置1のメインマイコン101は、記憶部102に記憶されている通信制御プログラムを実行することで、図9に示す通信制御部151、パッケージ番号決定部152、モジュール番号決定部153、モード制御部154、チャンネル番号判別部155及びチャンネル設定部156の各機能を実現する。
(Operation of sensor device)
Next, the operation of each
なお、この例は、通信制御部151〜チャンネル設定部156をソフトウェアで実現する例であるが、これらのうち、一部又は全部を、IC(Integrated Circuit)等のハードウェアで実現してもよい。また、通信制御部151〜チャンネル設定部156が実現する機能は、通信制御プログラム単体で実現しても良いし、他のプログラムに処理の一部を実行させる、又は他のプログラムを用いて間接的に処理を実行させても良い。
In this example, the
また、通信制御プログラムは、インストール可能な形式または実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)などのコンピュータ装置で読み取り可能な記録媒体に記録して提供してもよい。また、通信制御プログラムは、CD−R、DVD(Digital Versatile Disk)、ブルーレイディスク(登録商標)、半導体メモリなどのコンピュータ装置で読み取り可能な記録媒体に記録して提供してもよい。また、通信制御プログラムは、インターネット等のネットワーク経由でインストールするかたちで提供してもよいし、機器内のROM等に予め組み込んで提供してもよい。 Further, the communication control program may be provided by recording a file in an installable format or an executable format on a recording medium readable by a computer device such as a CD-ROM or a flexible disk (FD). Further, the communication control program may be provided by recording on a recording medium readable by a computer device such as a CD-R, a DVD (Digital Versatile Disk), a Blu-ray disc (registered trademark), or a semiconductor memory. Further, the communication control program may be provided in the form of being installed via a network such as the Internet, or may be provided by being incorporated in advance in a ROM or the like in the device.
図10は、上述のユーザBが所有する計4台のセンサ装置1のうちの1台のセンサ装置1における初動時の動作の流れを示すフローチャートである。この図10のフローチャートは、センサ装置1の電源がオン操作されることでスタートとなり、ステップS21から処理を開始する。
FIG. 10 is a flowchart showing the flow of operation at the time of initial operation in one of the four
すなわち、センサ装置1の電源がオン操作されると、図9に示す通信制御部151は、上述の4つの通信チャンネルのうち、1つの通信チャンネルを固定的に用いてダミーデータを中継器200に送信する(ステップS21)。次に、パッケージ番号決定部152が、「No.1〜No.9」のパッケージ番号のうち、過去に決定したことの無いパッケージ番号をランダムに決定する(ステップS22)。また、モジュール番号決定部153は、Bさんが計4台の中継器200を有しているため、1〜4のモジュール番号のうち、1つのモジュール番号をランダムに決定する(ステップS23)。
That is, when the power of the
次に、チャンネル設定部156が、「チャンネル番号=((モジュール番号−1)×9)+パッケージ番号」の演算を行うことで、チャンネル番号を設定する(ステップS24)。通信制御部151は、この設定されたチャンネル番号の通信チャンネルを用いて、中継器200に対してダミーデータを送信し(ステップS25)、中継器200からの返信(ACK)の有無を判別する(ステップS26)。モード制御部154は、中継器200から返信(ACK)を受信した場合(ステップS26:Yes)、センサ装置1の動作モードを、定常処理を行う動作モードに移行制御する(ステップS27)。
Next, the
これに対して、中継器200からの応答(ACK)を受信しない場合(ステップS26:No)、通信制御部151は、「No.1〜No.9」のパッケージ番号のうち、全てのパッケージ番号で、ステップS22〜ステップS26の処理を繰り返し行ったか否か(パッケージ番号を使い果たしたか否か)を判別する(ステップS28)。
On the other hand, when the response (ACK) from the
全てのパッケージ番号で、ステップS22〜ステップS26の処理を行っていない場合、すなわち、まだ割り当てていないパッケージ番号が存在する場合(ステップS28:No)、ステップS22に処理が戻り、パッケージ番号決定部152は、まだ割り当てていないパッケージ番号を決定し、上述のステップS23に処理が進む。
If the processes of steps S22 to S26 have not been performed for all the package numbers, that is, if there is a package number that has not been assigned yet (step S28: No), the process returns to step S22, and the package
これに対して、全てのパッケージ番号で、ステップS22〜ステップS26の処理が行われた場合(ステップS28:Yes)、モード制御部154は、消費するエネルギーを節約するモードである省エネモードに、センサ装置1の動作モードを移行制御する(ステップS29)。この省エネモードは、後述する。
On the other hand, when the processes of steps S22 to S26 are performed for all the package numbers (step S28: Yes), the mode control unit 154 sets the sensor in the energy saving mode, which is a mode for saving energy consumption. The operation mode of the
(センサ装置における通信チャンネルの変更動作)
図11は、センサ装置1における通信チャンネルの変更動作の流れを示すフローチャートである。図8を用いて説明したが、中継器200は、余剰分となるセンサ装置1の通信チャンネルの振り分けを行うと、そのセンサ装置1が通信で用いる通信チャンネルを示す情報を、応答(ACK)に含めて通知する。すなわち、図11のフローチャートにおいて、通信制御部151が中継器200にECフォーマットを送信することで(ステップS31)、中継器200からの応答(ACK)を受信する(ステップS32)。
(Communication channel change operation in the sensor device)
FIG. 11 is a flowchart showing a flow of a communication channel changing operation in the
図9に示すチャンネル番号判別部155は、前回受信した中継器200からの応答(ACK)に含まれる通信チャンネルのチャンネル番号と、今回受信した応答(ACK)に含まれるチャンネル番号とを比較する(ステップS33)。この比較により、両者が同じチャンネル番号であると判別した場合(ステップS33:No)、ステップS31に処理が戻り、次回受信した応答(ACK)に基づいて、上述の比較動作を行う。
The channel
これに対して、上述の比較処理により、両者が同じチャンネル番号ではないと判別した場合(ステップS33:Yes)、モード制御部154は、センサ装置1の通信リセット動作(LoRa(登録商標)モジュールリセット)を行う(ステップS34)。そして、チャンネル設定部156は、今回受信した応答(ACK)に含まれているチャンネル番号に、通信チャンネルを設定する(ステップS35)。これにより、各センサ装置1に割り当てている通信チャネルの変更処理が完了する。通信チャンネルの設定が完了すると、モード制御部154は、再度、中継器200との通信を行うまでの間、センサ装置1(LoRa(登録商標)モジュール)をスリープモードに移行制御する(ステップS36)。
On the other hand, when it is determined by the above-mentioned comparison process that they do not have the same channel number (step S33: Yes), the mode control unit 154 resets the communication of the sensor device 1 (LoRa (registered trademark) module reset). ) (Step S34). Then, the
(省エネモードへの移行動作の詳細)
次に、図12のフローチャートを用いて、図10のフローチャートのステップS29で説明した省エネモードへの移行動作の詳細を説明する。この図12のフローチャートは、センサ装置1の電源がオン操作されることでスタートとなり、ステップS31から処理を実行する。
(Details of transition operation to energy saving mode)
Next, using the flowchart of FIG. 12, the details of the operation for shifting to the energy saving mode described in step S29 of the flowchart of FIG. 10 will be described. The flowchart of FIG. 12 starts when the power of the
すなわち、電源がオン操作されると、チャンネル番号設定部156等により、図10のフローチャートのステップS21〜ステップS26及びステップS28で説明したチャンネル探索処理が行われる(ステップS31)。このチャンネル探索処理で暫定的に決定した通信チャンネルで中継器200と通信を行ったが、通信を行うことができなかった場合、チャンネル設定部156が、電源のオン操作をトリガとしたチャンネル探索処理を、例えば3回等の所定回数分、実行したか否かを判別する(ステップS39、ステップS40)。
That is, when the power is turned on, the channel
チャンネル設定部156により、電源のオン操作をトリガとしたチャンネル探索処理が所定回数分、実行されていないと判別された場合(ステップS40:No)、ステップS31に動作が戻り、図10のフローチャートのステップS21〜ステップS26及びステップS28で説明したチャンネル探索処理が繰り返し行われる。
When the
これに対して、電源のオン操作をトリガとしたチャンネル探索処理を所定回数分、実行しても、中継器200と通信できない場合(ステップS40:Yes)、センサ装置1の通信系等が故障の可能性があるため、モード制御部154は、センサ装置1の動作モードを、一旦、通信を停止すると共に主要部に対する電源供給を停止する仮死モードへと移行制御する(ステップS41)。モード制御部154は、センサ装置1を仮死モードへ移行させてから経過する時間を、タイマでカウントされる時刻情報に基づいて計時しており、例えば6時間等の所定時間が経過したか否かを判別する(ステップS42)。
On the other hand, if communication with the
6時間等の所定時間経過すると(ステップS42:Yes)、モード制御部154は、通信チャンネル等を「リセット」してセンサ装置1を動作復帰させる。通信制御部151等は、この復帰後に、再度、ステップS31のチャンネル探索処理を実行する。
After a predetermined time such as 6 hours has elapsed (step S42: Yes), the mode control unit 154 "reset" the communication channel or the like to restore the operation of the
ここで、この「リセット」によるチャンネル探索処理は、電源のオン操作に起因するチャンネル探索処理ではない。このため、「リセット」によるチャンネル探索処理を行っても、中継器200と通信ができない場合(ステップS39:No)、上述の3回等のリトライを行うことなく、モード制御部154は、センサ装置1の動作モードを、仮死モードへと移行制御する(ステップS41)。
Here, the channel search process by this "reset" is not the channel search process caused by the power-on operation. Therefore, if communication with the
なお、モード制御部154は、6時間経過後に、センサ装置1を仮死モードから復帰させる。これにより、再度、「リセット」によるチャンネル探索処理が行われるが、これは、電源のオン操作に起因するチャンネル探索処理ではないため、中継器200と通信できない場合、再度、仮死モードに移行制御される。
The mode control unit 154 returns the
一方、ステップS31のチャンネル探索処理で暫定的に決定された通信チャンネルで、中継器200との間の通信を行うと、チャンネル設定部156は、中継器200が推奨する通信チャンネルである推奨チャンネルを取得し、取得した推奨チャンネルをセンサ装置1に設定する(ステップS33)。モード制御部154は、この推奨チャンネル設定後に、センサ装置1のモードを通常モードへ移行制御する(ステップS34)。通常モードへ移行すると、通信制御部151は、例えば5分に1回等のように間欠的に、中継器200に対して、産業動物の状態を示すデータを送信する(ステップS35)。
On the other hand, when the communication channel tentatively determined in the channel search process of step S31 is used for communication with the
ここで、偶発的に、中継器200との間の通信が可能となる場合がある。この場合、ステップS34において、センサ装置1は通常モードに移行するのであるが、中継器200との間の通信は偶発的であったため、通常モードに移行後の中継器200との間のデータ送信は、通信不可状態(通信NG)が続くこととなる。
Here, it may happen that communication with the
中継器200に対するデータ送信のリトライ回数は、例えば10回等の所定回数となっている。通信制御部151は、中継器200に対するデータ送信を5分置きに10回繰り返す。10回のリトライは、センサ装置1の蓄電池に蓄電されている電力を消費する。このため、モード制御部154は、中継器200に対してデータ送信できずに、例えば1時間の経過を計時すると、センサ装置1のモードを「エコアックモード(Eco Ackモード)」に移行制御する(ステップS36)。
The number of retries for data transmission to the
このエコアックモードは、5分に1回、中継器200に対してデータ送信を試みるがリトライは行わないモードである。通信制御部151は、この「エコアックモード」に移行してから例えば5分に1回のみ、中継器200にデータ送信を試みる。この通信制御により、中継器200に対してデータ送信できた場合(ステップS37:OK応答)、モード制御部154は、センサ装置1のモードを通常モードに移行制御する。
This eco-ac mode is a mode in which data transmission is attempted to the
これに対して、「エコアックモード」に移行してから、中継器200に対するデータ送信が行えない状態から例えば6時間が経過すると(ステップS38:Yes)、モード制御部154は、上述のように通信チャンネル等を「リセット」してセンサ装置1を動作復帰させる。通信制御部151等は、この復帰後に、再度、ステップS31のチャンネル探索処理を実行する。そして、中継器200と通信ができない場合、電源のオン操作に起因するチャンネル探索処理ではないため、再度、仮死モードに移行制御されることは、上述のとおりである。
On the other hand, when, for example, 6 hours have passed from the state in which data transmission to the
(実施の形態の効果)
以上の説明から明らかなように、実施の形態の動物管理システムは、サーバ装置300が、ユーザが所有している各中継器200に対して、それぞれ使用する通信チャンネルが異なる型番(パッケージ番号)を、通信により設定する。これにより、ユーザが所有している複数の中継器200が使用する通信チャンネルを、それぞれ異なる通信チャンネルとすることができ、簡単に、複数の中継器200の間の通信干渉を防止することができる。また、各中継器200に対して所望の型番(パッケージ番号)を自由に設定できるため、中継器200のメーカ側は、それぞれ通信チャンネルが異なる中継器200を製造し、出荷及び在庫管理を行うという面倒な製造作業及び管理を不要とすることができる。
(Effect of embodiment)
As is clear from the above description, in the animal management system of the embodiment, the
また、パッケージ番号を変更するためには、強固な防塵及び防滴加工が施された中継器200を、一度、開封する必要があるが、再度、強固な防塵及び防滴加工を施すことは、面倒かつ困難である。しかし、実施の形態の動物管理システムの中継器200の場合、通信によりパッケージ番号を割り当て及び変更できるため、中継器200を開封することなく、簡単に、パッケージ番号の割り当て及び変更等を行うことができる。
Further, in order to change the package number, it is necessary to open the
また、各中継器200は、他の中継器200との間で通信を行うことで、自機の通信チャンネルに対して余剰に設定されているセンサ装置1を、他の中継器200の通信チャンネルに振り分ける。これにより、1つの中継器200に対して偏って割り付けられていたセンサ装置1を、他の中継器200に分散して割り付けることができ、1つの中継器200に掛かる通信負荷を軽減することができる。
Further, each
さらに、各中継器200は、自機の各通信チャンネルに割り当てられているセンサ装置1の数を、平均化した各通信チャンネルに割り当て直すことができる。これにより、各通信チャンネルの通信負荷を、各通信チャンネルで平均化することができる。
Further, each
最後に、上述の実施の形態は、一例として提示したものであり、本発明の範囲を限定することは意図していない。この新規な実施の形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことも可能である。 Finally, the embodiments described above are presented as an example and are not intended to limit the scope of the invention. This novel embodiment can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the gist of the invention.
例えば、上述の実施の形態では、中継器200に対してサーバ装置300がパッケージ番号の割り当てを行うこととしたが、サーバ装置300以外の、例えばスマートフォン、タブレット端末等の通信機器でパッケージ番号の割り当てを行ってもよいし、中継器200の操作部を操作してパッケージ番号の入力を行うようにしてもよい。
For example, in the above-described embodiment, the
また、上述の実施の形態は、本発明を牛等の産業動物に子機を設置し、中継器200及びサーバ装置300で子機の管理(産業動物の管理)を行う動物管理システムに適用した例であった。しかし、本発明は、子機に相当する第1の通信機器と、中継器200に相当する第2の通信機器との間で通信を行う通信システムであれば、どのような通信システムにも適用可能である。また、本願発明は、例えば強固な防塵加工及び防滴加工が施された中継器200が必要な状況下において、より好適に機能する。
Further, the above-described embodiment is applied to an animal management system in which a slave unit is installed in an industrial animal such as a cow and the slave unit is managed (management of the industrial animal) by the
また、実施の形態及び実施の形態の変形は、発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。 Further, the embodiment and the modification of the embodiment are included in the scope and gist of the invention, and are included in the scope of the invention described in the claims and the equivalent scope thereof.
1 センサ装置
101 メインマイコン
102 記憶部
103 電源ボタン
104 行動分析センサ
105 無線通信モジュール
106 報知部
107 電波強度検出部
151 通信制御部
152 パッケージ番号決定部
153 モジュール番号決定部
154 モード制御部
155 チャンネル番号判別部
156 チャンネル設定部
200 中継器
201 メインマイコン
202 無線通信モジュール
203 通信モジュール
204 記憶部
251 電源制御部
252 ID取得部
253 POST実行部
254 応答フラグ取得部
255 センサ最大数取得部
256 通信チャンネル割り当て部
257 起動制御部
300 サーバ装置
301 通信モジュール
302 制御部
303 記憶部
1 Sensor device 101
Claims (8)
取得された通信チャンネル設定情報で示される通信チャンネルを用いて、子機との間で無線通信を行うように、無線通信部を制御する無線通信制御と、
を有する通信制御装置。 An acquisition unit that acquires the communication channel setting information of any one of the communication channel setting information for a plurality of groups in which a plurality of communication channels combined to prevent communication interference between the groups are grouped.
Wireless communication control that controls the wireless communication unit so that wireless communication is performed with the slave unit using the communication channel indicated by the acquired communication channel setting information.
Communication control device with.
を特徴とする請求項1に記載の通信制御装置。 When the number of slave units assigned to the own unit becomes surplus, the surplus slave unit is distributed to other communication control devices, and the communication channel used by the surplus slave unit is distributed. The communication control device according to claim 1, further comprising a communication channel allocation unit that changes and controls a communication channel managed by another communication control device that has performed the above.
を特徴とする請求項2に記載の通信制御装置。 The communication control device according to claim 2, wherein the communication channel allocating unit performs an averaging process of averaging and reallocating the number of slave units assigned to each communication channel of the own unit.
を特徴とする請求項1から請求項3のうち、いずれか一項に記載の通信制御装置。 The communication control according to any one of claims 1 to 3, wherein a plurality of communication channels are assigned so as to prevent communication interference in the group in the communication channel setting information. apparatus.
グループ内及びグループ間の通信干渉を防止するように組み合わされた複数の通信チャンネルをグループ化した複数グループ分の通信チャンネル設定情報のうち、いずれか一つのグループの通信チャンネル設定情報を取得する取得部と、
取得された通信チャンネル設定情報で示される通信チャンネルを用いて、子機との間で無線通信を行うように、無線通信部を制御する無線通信制御として機能させること、
を特徴とする通信制御プログラム。 Computer,
Acquisition unit that acquires the communication channel setting information of any one of the communication channel setting information for a plurality of groups in which a plurality of communication channels combined to prevent communication interference within and between groups are grouped. When,
Using the communication channel indicated by the acquired communication channel setting information, it functions as a wireless communication control that controls the wireless communication unit so that wireless communication is performed with the slave unit.
A communication control program characterized by.
取得された通信チャンネル設定情報で示される通信チャンネルを用いて、子機との間で無線通信を行うように、無線通信部を制御する無線通信制御ステップと、
を有する通信制御方法。 Acquisition step to acquire the communication channel setting information of any one group among the communication channel setting information for a plurality of groups in which a plurality of communication channels combined to prevent communication interference within and between groups are grouped. When,
A wireless communication control step that controls the wireless communication unit so that wireless communication is performed with the slave unit using the communication channel indicated by the acquired communication channel setting information.
Communication control method having.
前記通信制御装置と通信を行い、前記通信制御装置に対して、いずれか一つのグループの前記通信チャンネル設定情報を設定するサーバ装置と、
を有する通信制御システム。 The communication control device according to any one of claims 1 to 4.
A server device that communicates with the communication control device and sets the communication channel setting information of any one group to the communication control device.
Communication control system with.
前記通信制御装置が取得した前記通信チャンネル設定情報で示される通信チャンネルを介して、前記通信制御装置と通信を行う少なくとも一つの子機と、
を有する通信制御システム。 The communication control device according to any one of claims 1 to 4.
At least one slave unit that communicates with the communication control device via the communication channel indicated by the communication channel setting information acquired by the communication control device.
Communication control system with.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019138329A JP2021022835A (en) | 2019-07-26 | 2019-07-26 | Communication control unit, communication control program, communication control method, and communication control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019138329A JP2021022835A (en) | 2019-07-26 | 2019-07-26 | Communication control unit, communication control program, communication control method, and communication control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021022835A true JP2021022835A (en) | 2021-02-18 |
Family
ID=74574922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019138329A Pending JP2021022835A (en) | 2019-07-26 | 2019-07-26 | Communication control unit, communication control program, communication control method, and communication control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021022835A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005277833A (en) * | 2004-03-25 | 2005-10-06 | Matsushita Electric Ind Co Ltd | Master communication unit, slave communication unit, communication system, and program |
JP2015111809A (en) * | 2013-11-11 | 2015-06-18 | 三菱電機株式会社 | Radio channel allocation method, radio channel allocation device, and communication system |
-
2019
- 2019-07-26 JP JP2019138329A patent/JP2021022835A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005277833A (en) * | 2004-03-25 | 2005-10-06 | Matsushita Electric Ind Co Ltd | Master communication unit, slave communication unit, communication system, and program |
JP2015111809A (en) * | 2013-11-11 | 2015-06-18 | 三菱電機株式会社 | Radio channel allocation method, radio channel allocation device, and communication system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4379516B2 (en) | Power control system, power control apparatus, power control method, and program | |
US9313119B2 (en) | Network routing based on resource availability | |
WO2010050335A1 (en) | Resource management method and building-in device | |
JP6310547B2 (en) | Wireless communication apparatus and wireless communication method | |
KR20010014059A (en) | Management of functionality in a consumer electronics system | |
US20190132763A1 (en) | Method and device for transmitting data | |
CN101120579B (en) | Method for providing download and upload service in network control system | |
US9317098B2 (en) | Server, power management system, power management method, and program | |
JP2021022835A (en) | Communication control unit, communication control program, communication control method, and communication control system | |
JP2007019724A (en) | Radio base station and base band signal processing allocation method | |
KR100643280B1 (en) | Apparatus and method for managing sub channels dynamically | |
JP2020136745A (en) | Gateway, communication system, and communication method | |
CN112311671B (en) | Method, apparatus, medium and device for issuing aggregated link configuration to switch chip | |
US7738923B2 (en) | Method for selecting a processing device | |
JP4584809B2 (en) | Control device and controlled device | |
WO2018092372A1 (en) | Communication terminal, communication method, program, and wireless system | |
JP5940566B2 (en) | Network system, constant connection method, server, electronic device, program | |
CN108334359B (en) | Server control method, system, equipment and computer storage medium | |
CN116483296A (en) | Screen projection control method and device, storage medium and electronic equipment | |
KR20080096349A (en) | System and method to improve symmetry in data transfer in llc layer of peer to peer nfc device | |
JP3791001B2 (en) | Operation monitoring system | |
CN117098074A (en) | Information sharing method, device, storage medium and sharing node in ad hoc network | |
JPWO2015107613A1 (en) | Wide area management system, wide area management apparatus, building management apparatus, wide area management method, identifier information transmission method, identifier issuance method, and program | |
CN115297527A (en) | Wireless hotspot management method and device | |
RU2019141667A (en) | WIRELESS POWER DISPATCHING SYSTEM AND REMOTE CONTROL DEVICE, CONTROLLED DEVICE AND CORRESPONDING REMOTE CONTROL METHOD |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220518 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230131 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20230801 |