JP2022083604A - Wireless communication relay device, retry control method of wireless communication relay device, and retry control program - Google Patents
Wireless communication relay device, retry control method of wireless communication relay device, and retry control program Download PDFInfo
- Publication number
- JP2022083604A JP2022083604A JP2020195025A JP2020195025A JP2022083604A JP 2022083604 A JP2022083604 A JP 2022083604A JP 2020195025 A JP2020195025 A JP 2020195025A JP 2020195025 A JP2020195025 A JP 2020195025A JP 2022083604 A JP2022083604 A JP 2022083604A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- communication
- determination
- failure
- packet
- 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
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
本発明は、無線通信の中継装置、無線通信の中継装置のリトライ制御方法、及びリトライ制御プログラムに関する。 The present invention relates to a wireless communication relay device, a retry control method for the wireless communication relay device, and a retry control program.
近年、充電方法が太陽光発電である鉛蓄電池を電源として稼働する装置が用いられている。例えば、無線通信における子機や、親機と子機の間を中継する中継装置には、充電方法が太陽光発電である鉛蓄電池を用いた機器が利用されることがある。 In recent years, a device that operates using a lead storage battery whose charging method is solar power generation has been used. For example, a device using a lead storage battery whose charging method is solar power generation may be used as a slave unit in wireless communication or a relay device that relays between the master unit and the slave unit.
ここで夫々の機器における充電方法が太陽光発電である場合、悪天候や積雪等の日照条件で発電が停止することが考えられる。このように発電の停止等により、中継装置と子機との通信の確立に失敗した場合、中継装置は、子機に対して通信の確立を試みる動作を行う。典型的には、中継装置は、子機に対してあらかじめ定めたリトライ回数だけリトライを行う。 Here, when the charging method of each device is solar power generation, it is conceivable that the power generation will stop due to sunshine conditions such as bad weather and snow cover. When the establishment of communication between the relay device and the slave unit fails due to the stop of power generation or the like, the relay device performs an operation of trying to establish communication with the slave unit. Typically, the relay device retries the slave unit a predetermined number of retries.
特許文献1には、通信システムネットワークに対する通信失敗の度合いを、捕捉失敗の回数や安定待受時間ST未満となった連続待受時間に応じて求める構成が記載されている。 Patent Document 1 describes a configuration in which the degree of communication failure for a communication system network is obtained according to the number of acquisition failures and the continuous standby time that is less than the stable standby time ST.
特許文献2には、点検対象の計測データに失敗原因が対応付けられている場合に、対応付けられた失敗原因に応じてデータ取得をリトライすることが記載されている。 Patent Document 2 describes that when a failure cause is associated with the measurement data to be inspected, data acquisition is retried according to the associated failure cause.
しかしながら、ある子機が故障などにより復旧不可能な状況に陥ってしまった場合であっても中継装置から子機にリトライ処理を繰り返すと、電力を余分に消費してしまう。このようにして中継装置の電力を余分に消費することで、中継装置の電力が切れてしまった場合には、中継装置が中継している他の子機への通信まで不可能となる可能性がある。 However, even if a certain handset falls into an unrecoverable situation due to a failure or the like, if the retry process is repeated from the relay device to the handset, extra power is consumed. By consuming extra power of the relay device in this way, if the power of the relay device is cut off, it may not be possible to communicate with other slave units relayed by the relay device. There is.
本開示の目的は、上述した課題を解決する無線通信の中継装置、無線通信の中継装置のリトライ制御方法、及びリトライ制御プログラムを提供することにある。 An object of the present disclosure is to provide a wireless communication relay device, a retry control method for the wireless communication relay device, and a retry control program for solving the above-mentioned problems.
本発明にかかる無線通信の中継装置は、親機と、1つ以上の子機と、の間で確立される無線パケット通信を中継する無線通信の中継装置であって、前記子機との通信の確立を試みるリトライ回数をパラメータとして有する複数の動作モードのうち、いずれかの動作モードを設定する動作モード設定部と、前記親機及び前記子機とのパケット通信を制御するとともに、前記子機からのパケットの受信状態に応じて前記子機との通信の確立の成否を検知するパケット通信制御部と、前記パケット通信制御部で通信の確立の失敗が検知された場合に、通信の確立の失敗回数が規定の回数以上か否かによる第1の判定を行う失敗回数比較判定部と、所定の期間における前記子機との通信確立の成否の確率を算出し、前記算出された確率が規定の確率より高いか否かによる第2の判定を行う状態検出判定部と、を有する演算部と、前記親機と、前記子機と、に対してパケットの送受信を行う送受信部と、前記演算部と、前記送受信部と、に電力の供給を行う電源部と、を備え、前記動作モード設定部は、前記第1の判定と、前記第2の判定と、の少なくとも一方に応じて、前記動作モードを設定し、前記パケット通信制御部は、前記動作モードに応じて前記子機への通信の確立を試みるリトライ回数を変更する制御を行う。 The wireless communication relay device according to the present invention is a wireless communication relay device that relays wireless packet communication established between a master unit and one or more slave units, and is a communication with the slave unit. Of the plurality of operation modes having the number of retries to try to establish as a parameter, the operation mode setting unit for setting one of the operation modes controls the packet communication between the master unit and the slave unit, and the slave unit. When the packet communication control unit that detects the success or failure of the establishment of communication with the slave unit according to the reception status of the packet from the packet communication control unit and the packet communication control unit detects the failure of the communication establishment, the communication is established. The failure count comparison determination unit that makes the first determination based on whether or not the number of failures is equal to or greater than the specified number calculates the probability of success or failure of communication establishment with the slave unit in a predetermined period, and the calculated probability is specified. A calculation unit having a state detection determination unit that makes a second determination based on whether or not the probability is higher than the probability of The operation mode setting unit includes a unit, a power supply unit that supplies power to the transmission / reception unit, and the operation mode setting unit according to at least one of the first determination and the second determination. The operation mode is set, and the packet communication control unit controls to change the number of retries to try to establish communication to the slave unit according to the operation mode.
また、無線通信の中継装置のリトライ制御方法は、親機と、1つ以上の子機と、の間で確立されるパケット通信による無線通信を中継する無線通信の中継装置のリトライ制御方法であって、パケット通信制御部が、前記子機からのパケットの受信状態に応じて、前記子機との通信の確立の成否を検知し、前記パケット通信制御部で通信の確立の失敗が検知された場合に、通信の確立の失敗回数が規定の回数以上か否かによる第1の判定を行い、
所定の期間における前記子機との通信確立の成否の確率を計算し、前記計算された確率が規定の確率より高いか否かによる第2の判定を行い、前記第1の判定と、前記第2の判定と、の少なくとも一方に応じて、前記子機との通信の確立を試みるリトライ回数を規定した複数の動作モードのうち、いずれの動作モードに設定するかを決定する。
Further, the retry control method of the wireless communication relay device is a retry control method of the wireless communication relay device that relays wireless communication by packet communication established between the master unit and one or more slave units. The packet communication control unit detects the success or failure of the establishment of communication with the slave unit according to the reception status of the packet from the slave unit, and the packet communication control unit detects the failure of the establishment of communication. In that case, the first determination is made based on whether or not the number of failures in establishing communication is equal to or greater than the specified number.
The probability of success or failure of establishing communication with the slave unit in a predetermined period is calculated, the second determination is made based on whether or not the calculated probability is higher than the specified probability, and the first determination and the first determination are made. Depending on at least one of the determinations in 2, it is determined which operation mode is to be set among the plurality of operation modes in which the number of retries attempting to establish communication with the slave unit is specified.
また、リトライ制御プログラムは、親機と、1つ以上の子機と、の間で確立されるパケット通信による無線通信を中継する無線通信の中継装置のリトライ制御プログラムであって、パケット通信制御部が、前記子機からのパケットの受信状態に応じて、前記子機との通信の確立の成否を検知し、前記パケット通信制御部で通信の確立の失敗が検知された場合に、通信の確立の失敗回数が規定の回数以上か否かによる第1の判定を行い、所定の期間における前記子機との通信確立の成否の確率を計算し、前記計算された確率が規定の確率より高いか否かによる第2の判定を行い、前記第1の判定と、前記第2の判定と、の少なくとも一方に応じて、前記子機との通信の確立を試みるリトライ回数を規定した複数の動作モードのうち、いずれの動作モードに設定するかを決定する。 Further, the retry control program is a retry control program of a wireless communication relay device that relays wireless communication by packet communication established between a master unit and one or more slave units, and is a packet communication control unit. However, depending on the reception status of the packet from the slave unit, the success or failure of the establishment of communication with the slave unit is detected, and when the packet communication control unit detects the failure of the establishment of communication, the establishment of communication is established. The first determination is made based on whether or not the number of failures is equal to or greater than the specified number of times, the probability of success or failure of establishing communication with the slave unit in a predetermined period is calculated, and whether the calculated probability is higher than the specified probability. A plurality of operation modes in which a second determination is made depending on whether or not, and the number of retries attempting to establish communication with the slave unit is specified according to at least one of the first determination and the second determination. Of these, determine which operation mode to set.
これにより、中継装置と子機との通信状態に応じてリトライ回数を変更し、中継装置にかかる電力消費を低減させることができる。 As a result, the number of retries can be changed according to the communication state between the relay device and the slave unit, and the power consumption of the relay device can be reduced.
以下、図面を参照して本発明の実施の形態について説明する。図1は、無線パケット通信システム1の構成の一例を示している。ここでは図1に示すように、1台の親機11と、複数台の子機12と、親機11と子機12の間を中継する中継装置(以下、中継機)13と、を備える。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows an example of the configuration of the wireless packet communication system 1. Here, as shown in FIG. 1, one
親機11は、中継機13を介して、子機12とのパケット通信による情報の送受信を行う装置である。典型的には、親機11は子機12から取得した情報を、サーバー(図示せず)に送信するアクセスポイントである。なお親機11は、この機能を有するものに限定されず、中継機13を介して、子機12とパケット通信を行うものであればよい。
The
子機12は、中継機13を介した、親機11とのパケット通信による情報の送受信を行う端末である。
The
中継機13は、中継機13の本体に設けられた電池により供給される電力で動作する装置である。例えば、この電池は、太陽光発電により充電される。また中継機13は、複数の子機12のそれぞれと通信接続が確立され、あるいは通信接続が確立できない場合には通信リトライを行う。
The
中継機13では、後述する動作モード設定部31により、「通常モード」「通信優先モード」「省電力モード」のいずれの動作モードで動作するかが設定される。中継機13では動作モードに応じて、子機12への通信の確立を試みる回数を変更する。
In the
さらに中継機13では、動作状態を「アクティブ状態」と「スリープ状態」で切り替えることができる。すなわち中継機13では、通信の中継等を頻繁に行う場合には動作状態を「アクティブ状態」とすることができ、又は、通信の中継などを行わない場合には「スリープ状態」とすることができる。なお例えば、アクティブ状態はスリープ状態に比べて消費電力が大きいが、通常の通信の中継を遅滞なく実行する状態であり、スリープ状態はアクティブ状態に比べて消費電力が小さく、通信の開始などを待つための待機状態である。
Further, in the
したがって例えば中継機13では、動作モードが省電力モードであり、かつ、動作状態がスリープ状態という状況になり得る。他の動作モード、他の動作状態についても同様である。
Therefore, for example, in the
ここで中継機13の構成の一例について説明する。図2に示すように、中継機13は、送受信部21と、演算部22と、電池が格納されている電源部23と、を備える。
Here, an example of the configuration of the
送受信部21は、親機11や子機12とのパケット通信によるパケットの送受信を行う。なお以下では、送受信部21と親機11とのパケット通信は無線パケット通信であり、同様に、送受信部21と子機12とのパケット通信は無線パケット通信であるものとして説明する。
The transmission /
送受信部21では、親機11からの受信パケットを演算部22へ入力や、演算部22からの送信パケットを親機11に対して出力する。また、送受信部21は、後述する演算部22のパケット通信制御部32の指示に従ってパケットの送受信を行う。
The transmission /
演算部22は、動作モード設定部31と、パケット通信制御部32と、失敗回数比較判定部33と、状態検出判定部34と、記憶部35と、を備える。なお演算部22は、CPU(Central Processing Unit)や主記憶装置、補助記憶装置などの組み合わせにより実現することができる。
The
以下では図3に示すように、演算部22には、さらに電源電圧監視部36を有しているものとして説明する。
Hereinafter, as shown in FIG. 3, the
動作モード設定部31は、複数の動作モードのうち、いずれの動作モードで中継機13を動作させるかの設定を行う。ここで複数の動作モードは、「通常モード」「通信優先モード」「省電力モード」の3種類である。なお、それぞれの動作モードには、通信の確立を試みるリトライ回数の情報を、パラメータとして有している。なお以下では、通信の確立を試みることを「リトライ」とし、通信の確立を試みるリトライ回数のことを単に「リトライ回数」と記載することがある。
The operation
また、動作モード設定部31は、失敗回数比較判定部33と、状態検出判定部34と、の少なくとも一方による判定に応じて、動作モードを設定することができる。
Further, the operation
なお以下では、動作モード設定部31は、パケット通信制御部32と、失敗回数比較判定部33と、状態検出判定部34と、電源電圧監視部36からの情報に応じて、動作モードを設定することについて記載する。
In the following, the operation
ここで通常モードでは、リトライ回数のパラメータはデフォルト値を設定するものとする。このデフォルト値であるリトライ回数は10回とする。同様に、通信優先モードでは、通信自体は可能である場合に設定されるモードである。この通信優先モードでは、リトライ回数は5回とする。同様に、省電力モードでは、中継機13の省電力化を優先する。省電力モードでは、リトライ回数を2回とする。
Here, in the normal mode, the default value is set for the parameter of the number of retries. The number of retries, which is the default value, is 10. Similarly, in the communication priority mode, the communication itself is a mode set when it is possible. In this communication priority mode, the number of retries is five. Similarly, in the power saving mode, priority is given to power saving of the
動作モード設定部31が、失敗回数比較判定部33による判定(第1の判定)や、状態検出判定部34による判定(第2の判定)等を利用して、いずれの動作モードを設定するかを決定する方法については、後に詳述する。
Which operation mode is set by the operation
なお、これらのリトライ回数は一例であり、状況に応じて最適な回数を設定することができる。例えば、あまり省電力にならなくても通信できることを重視した場合、通信優先モードのリトライ回数を8回とすることができる。また、省電力モードでは、少しでも消費電力を減らすためにリトライ回数を1回とすることができる。 The number of these retries is an example, and the optimum number of retries can be set according to the situation. For example, if it is important to be able to communicate without saving much power, the number of retries in the communication priority mode can be set to eight. Further, in the power saving mode, the number of retries can be set to one in order to reduce the power consumption as much as possible.
さらに省電力モードでは、子機12の故障が判明しているか否か、または、電源部23として用いられている電池の残量に応じて、リトライ回数を変更することができる。具体的には、省電力モードにおけるリトライ回数は、0~2回のいずれかとすることができる。
Further, in the power saving mode, the number of retries can be changed according to whether or not a failure of the
特に、電源電圧監視部36による監視により、電源部23の電池残量に余裕があると判定された場合には、リトライ回数は多くなるように設定することができる。一方、電源部23の電池残量が少なければ、電力を節約するために、リトライ回数は少なくなるように設定することができる。
In particular, when it is determined by the monitoring by the power supply
なお、動作モード設定部31では、いずれの動作モードが設定されているかの状態の情報を、パケット通信制御部32に出力することができる。
The operation
パケット通信制御部32は、送受信部21との間でやり取りするパケットのヘッダの付け外しや、送受信部21への送受信の指示や通信のリトライ指示を行う。言い換えると、パケット通信制御部32では、親機11及び子機12とのパケット通信を制御することができる。
The packet
またパケット通信制御部32では、演算部22内の各機能部との間でパケット通信制御に必要な情報の送受の制御を行うことができる。例えば、失敗回数比較判定部33や状態検出判定部34、電源電圧監視部36が、後述するように記憶部35に記憶されている情報を利用して判定を行う場合に、各部による記憶部35からの情報の取得の制御を行うことや、記憶部35への情報の書き込みの制御を行うことができる。
Further, the packet
さらに、パケット通信制御部32では、子機12からのパケットの受信状態に応じて、子機12との通信の確立の成否を検知することができる。
Further, the packet
また例えば、パケット通信制御部32では、動作モードに応じたリトライ回数だけ子機12との通信の確立を試みるように、親機11に対して通知を行うための制御を実行できる。特に、パケット通信制御部32では、子機12との通信の確立に失敗した場合(以下、通信NGと記載することがある)に、所定の時間内に応答が無かった旨のTimeOut通知と、設定されている動作モードに応じたリトライ回数の情報を親機11送信するように、送受信部21の動作を制御する。
Further, for example, the packet
失敗回数比較判定部33は、パケット通信制御部32で、子機12との通信の確立を試みて失敗した回数を取得する。特に、失敗回数比較判定部33は、パケット通信制御部32において子機12との通信の確立を試みて失敗した際に、それまでに連続して通信の確立の試みた結果、連続して失敗となったリトライ回数を取得し、そのリトライ回数が規定の回数(第1の閾値)を超えているか否かを判定する。言い換えると、失敗回数比較判定部33は、子機12との通信の確立を直近で連続して試みて接続NGであった回数が、規定の回数を超えているか否かを判定する。この失敗回数比較判定部33による第1の閾値との比較判定を、第1の判定とする。
The failure count
失敗回数比較判定部33の判定において、第1の閾値として用いる規定のリトライの回数の情報は、記憶部35に記憶されているものとする。例えば、失敗回数比較判定部33は、記憶部35からリトライの規定の回数の情報を取得して、実際のリトライ回数と比較することにより、第1の判定を行う。また、失敗回数比較判定部33は、第1の判定の結果を動作モード設定部31に出力する。
It is assumed that the information on the specified number of retries used as the first threshold value in the determination of the failure count
なお、失敗回数比較判定部33の第1判定にかかる、子機12との通信の確立を試みるために送受信を行うパケットを、実通信のパケットとする。
In addition, the packet to be transmitted / received in order to try to establish the communication with the
状態検出判定部34は、子機12とのパケットの送受信状態を取得して状態の判定を行う。より具体的には、状態検出判定部34では、送受信部21を介して子機12との間で送受信したヘルスチェックパケットについて、子機12からのヘルスチェックパケットの受信の成否の情報を取得する。
The state
さらに状態検出判定部34では、任意に設定したある一定の期間において、子機12からのヘルスチェックパケットの受信の成否の確率を算出する。そして状態検出判定部34では、この確率が、規定の確率(第2の閾値)を超えているか否かを判定する。この状態検出判定部34による第2の閾値との比較判定を、第2の判定とする。
Further, the state
ここで状態検出判定部34の判定において、第2の閾値として用いる規定の確率の情報は、記憶部35に記憶されているものとする。例えば、状態検出判定部34は、算出された確率と、記憶部35に記憶された第2の閾値とする確率を比較することにより、第2の判定を行うことができる。状態検出判定部34は、第2の判定の結果を、動作モード設定部31に出力する。
Here, it is assumed that the information of the predetermined probability used as the second threshold value in the determination of the state
なお、状態検出判定部34では、ヘルスチェックパケットを用いて中継機13と子機12との通信の確立を試みた際の成否の情報を記憶部35に記憶させることができる。さらに、状態検出判定部34では、一定期間における通信の確立の成否の確率を算出した結果を、記憶部35に記憶させることができる。さらに、状態検出判定部34では、ヘルスチェックパケットに子機12の故障を示すエラーコードが含まれていた場合に、その旨を記憶部35に記憶させることができる。
The state
ここでヘルスチェックパケットとは、中継機13が接続の確立を試みている子機12が故障している場合に、子機12が故障していることを示す情報を含めることができるパケットである。
Here, the health check packet is a packet that can include information indicating that the
ここで、状態検出判定部34が第2の判定を行うために用いたヘルスチェックパケットは、失敗回数比較判定部33が第1の判定を行うために用いた実信号のパケットとは、異なるパケットであるものとする。
Here, the health check packet used by the state
記憶部35は、失敗回数比較判定部33の第1の判定で用いる第1の閾値の情報や、状態検出判定部34の第2の判定で用いる第2の閾値の情報や、ヘルスチェックパケットを用いて中継機13と子機12との通信の確立を試みた際の成否の情報や、ヘルスチェックパケットにエラーコードが含まれていた場合にはその旨の情報などを記憶する。
The
記憶部35で記憶される情報はこれらに限られず、記憶部35では中継機13に用いられる各種のパラメータを記憶及び更新を行うことができる。また記憶部35では、中継機13の各部から、必要に応じてこれらのパラメータが参照される。
The information stored in the
電源電圧監視部36は、電源部23に用いられている電池の残量を電圧レベルによってモニタする。また電源電圧監視部36は、モニタされた電圧レベルの情報を、動作モード設定部31に通知する。
The power supply
次に図4~図6を参照して、動作モード設定部31の動作モードの変更の手順について説明する。
Next, the procedure for changing the operation mode of the operation
最初に、中継機13の動作モードが通常モードであるものとし、動作モード設定部31が、通常モードから他の動作モードに設定変更を行う条件(1)~(3)について、図4を参照して説明する。
First, it is assumed that the operation mode of the
(1)動作モード設定部31は、パケット通信制御部32で通信の確立の失敗を検知して、失敗回数比較判定部33において第1の判定が行われ、その第1の判定の結果として直近の連続する通信の確立の失敗回数が第1の閾値より多く、かつ、パケット通信制御部32で通信の確立の失敗が検知される前の一定期間に、状態検出判定部34の第2の判定による子機12との通信確立が成功した確率が第2の閾値より高ければ、省電力モードに変更して設定する。
(1) The operation
これは、通信成否確率が良好な値、すなわち通信が成功する確率が高ければ、直前まで電波状況が良かったが急に通信を失敗するようになったのは、子機12の故障や、電波の干渉による影響と考えらえるためである。そして、この状態でリトライを続けても電力を余計に消費してしまうため、中継機13では、リトライ回数が少ない省電力モードとする。
This is because if the communication success / failure probability is a good value, that is, if the communication success probability is high, the radio wave condition was good until just before, but the communication failed suddenly due to the failure of the
(2)動作モード設定部31は、パケット通信制御部32で通信の確立の失敗を検知して、失敗回数比較判定部33において第1の判定が行われ、その第1の判定の結果として直近の連続する通信の確立の失敗回数が第1の閾値より多く、かつ、パケット通信制御部32で通信の確立の失敗が検知される前の一定期間に、状態検出判定部34の第2の判定による、子機12との通信確立が成功した確率が第2の閾値より低ければ、通信優先モードに変更して設定する。
(2) The operation
これは、第2の判定における通信成否の確率が不良、すなわち通信が成功する確率が低ければ、子機12の故障ではなく、もともと悪かった電波状況が外乱などでさらに悪化して通信を失敗していると考えることができる。したがって中継機13では、リトライにより通信が確立される可能性があるため、リトライ回数が中程度である通信優先モードとする。
This is because if the probability of success or failure of communication in the second determination is poor, that is, if the probability of successful communication is low, it is not a failure of the
(3)動作モード設定部31は、第2の判定において、子機12から受信したヘルスチェックパケットに子機12の故障を示すエラーコードが含まれる場合には、省電力モードに変更して設定する。
(3) In the second determination, if the health check packet received from the
これは、子機12の故障が明らかとなっている状態において、通信の確立を試みるリトライ回数を少なくすることが望ましいと考えられるためである。したがって中継機13は、リトライ回数が少ない省電力モードとして、電力の消費を抑える。
This is because it is considered desirable to reduce the number of retries attempting to establish communication in a state where the failure of the
次に、中継機13の動作モードが通信優先モードであるものとし、動作モード設定部31が、通信優先モードから他の動作モードに設定変更を行う条件(4)~(6)について、図4を参照して説明する。
Next, it is assumed that the operation mode of the
(4)動作モード設定部31は、パケット通信制御部32で通信の確立の成功を検知して、かつ、状態検出判定部34の第2の判定による、子機12との通信確立が成功した確率が第2の閾値より高ければ、通常モードに変更して設定する。
(4) The operation
例えば、この状態検出判定部34における第2の判定は、パケット通信制御部32で通信の確立の成功を検知するより前であり、かつ、直近の通信確立の成否の確率を用いることができる。
For example, the second determination in the state
これは、子機12に発生していた問題の解消や、干渉の問題が改善されるなどの理由により、通信状態が良化したものと考えて、通常モードとするものである。
It is considered that the communication state has been improved due to the solution of the problem occurring in the
(5)動作モード設定部31は、パケット通信制御部32で通信の確立の失敗を検知して、失敗回数比較判定部33において第1の判定が行われ、その第1の判定の結果として直近の連続する通信の確立の失敗回数が第1の閾値より多い場合、省電力モードに変更して設定する。
(5) The operation
これは、子機12の故障や電波の干渉の影響により、通信の確立に失敗しているものと考えて、省電力モードとするものである。
It is considered that the establishment of communication has failed due to the failure of the
(6)動作モード設定部31は、第2の判定において、子機12から受信したヘルスチェックパケットに子機12の故障を示すエラーコードが含まれる場合には、省電力モードに変更して設定する。これは、上記の(3)と理由と同様である。
(6) In the second determination, if the health check packet received from the
次に、中継機13の動作モードが省電力モードであるものとし、動作モード設定部31が、省電力モードから他の動作モードに設定変更を行う条件について説明する。
Next, it is assumed that the operation mode of the
(7)省電力モードである場合に、動作モード設定部31は、パケット通信制御部32で通信の確立の成功を検知した場合に、通常モードに移行する。なお、この動作モードの変更の際には、状態検出判定部34の所定の時間内における通信成否確率(第2の判定結果)によらずに、通常モードへの移行を行うことができる。
(7) In the power saving mode, the operation
これは例えば、子機12が障害により通信に失敗する状態から復旧したと考えた場合には、復旧以前の通信成否確率は、重要ではないと考えられるためである。
This is because, for example, when it is considered that the
次に、図5~図7を参照して、無線パケット通信システム1の各部の動作を、タイムラインに沿って説明する。ここでは上記(1)、(2)、(3)、(5)及び(6)に記載した、通常モードから省電力モードに移行、及び、通常モード又は通信優先モードから省電力モードに移行する場合の各部の動作について説明する。 Next, with reference to FIGS. 5 to 7, the operation of each part of the wireless packet communication system 1 will be described along the timeline. Here, the transition from the normal mode to the power saving mode and the transition from the normal mode or the communication priority mode to the power saving mode described in (1), (2), (3), (5) and (6) above are performed. The operation of each part of the case will be described.
なお図5は、関連する無線パケット通信システムの動作のタイムラインを示した図であって、子機の状態に応じたリトライ制御を行わない例を示している。 Note that FIG. 5 is a diagram showing a timeline of the operation of the related wireless packet communication system, and shows an example in which retry control is not performed according to the state of the slave unit.
具体的には図5では、親機から子機に対し、中継機を介してコマンドを送信したときに子機からの応答が無かった状態を表している。さらにこのとき、親機、中継機はともに、子機の状態がわからない状態であるものとする。 Specifically, FIG. 5 shows a state in which there is no response from the slave unit when a command is transmitted from the master unit to the slave unit via the repeater. Further, at this time, it is assumed that the state of the slave unit is unknown for both the master unit and the repeater.
この親機では、仕様に従い通信のリトライを行う。このとき中継機では、その間はsleep制御ができず、ずっと起動し続けてしまうため電力が消費されてしまう。 This master unit retries communication according to the specifications. At this time, the repeater cannot control sleep during that period and keeps starting up all the time, which consumes power.
次に図6では、無線パケット通信システム1において、実通信のパケットを用いた通信を試みる前に、ヘルスチェック信号を利用した中継機13と子機12の事前の通信状態の確認を行い、その後に実通信のパケットを用いた通信を行い、省電力モードに移行する場合の動作の流れを、タイムラインで示している。
Next, in FIG. 6, in the wireless packet communication system 1, before attempting communication using a packet of actual communication, the communication status of the
言い換えると、図6では、中継機13では子機12との通信状態をヘルスチェック信号の送受信を利用した第2の判定を行うとともに、失敗回数比較判定部33が子機12に対して実通信のパケットを用いた第1の判定することにより、動作モード設定部31が動作モードを設定する例を示している。さらに図6では、中継機13がこれらの判定結果に基づき、スリープ状態となって電力消費を低減することができることを示している。
In other words, in FIG. 6, in FIG. 6, the
具体的には、中継機13では、送受信部21を利用して子機12とのヘルスチェック信号にかかるパケットを送信する(S1)とともに、その応答の受信を試みる。これにより中継機13では、子機12との通信の確立の成否を確認する。ここでは中継機13には、ヘルスチェック信号の応答がなかったものとする(S2)。なお中継機13では、子機12からのヘルスチェック信号の応答がなかったことを、記憶部35に記憶する。
Specifically, the
ここで中継機13の状態検出判定部34では、所定の期間における複数回のヘルスチェック信号の応答から、接続の確立が成功したか否かにかかる確率の算出を行うことができる。さらに状態検出判定部34では、第2の判定として、算出された確率が、記憶部35に記憶された第2の閾値より高いか否かを判定することができる。中継機13では、算出された確率や、第2の判定結果を記憶部35に記憶することができる(S3)。
Here, the state
その後、親機11は、子機12に向けて、中継機13を介してコマンドを送信する(S4-1)。すなわち、中継機13では、親機11から送信されたコマンドを含むパケット(実通信のパケット)を中継して子機12に送信し(S4-2)、これに対する子機12の応答の有無を確認する(S5)。
After that, the
ここで、一定時間経過しても子機12からの応答が無いTimeOut状態であり、中継機13と子機12との間の通信の接続の確立に失敗していることを、中継機13で認識したものとして説明する。言い換えると、パケット通信制御部32が、子機12に対する通信NGを検知した状態である。なお中継機13では、子機12に対する通信NGを検知したことを、記憶部35に記憶する。
Here, the
ここで中継機13では、少なくとも親機11から実通信のパケットを受信したとき以後は、動作をアクティブ状態とする。
Here, the
またこのとき中継機13では、親機11に対して、子機12との通信がTimeOut状態である旨の通知(TimeOut通知)と、中継機13において、動作モード設定部31で設定された動作モードに応じたリトライ回数に関する通知を送信する(S6)。例えば、中継機13では、状態検出判定部34による第2の判定と、第1の閾値である規定の失敗回数を1回として第1の判定を行う失敗回数比較判定部33と、によって動作モードを設定する。
At this time, the
ここでは、中継機13で設定されている動作モードは省電力モードであり、省電力モードとしてリトライ回数は1回に設定されていることとする。このとき中継機13から親機11には、TimeOut通知とともに、リトライ回数が1回である旨の情報が送信される。
Here, it is assumed that the operation mode set in the
その後、親機11では、中継機13から受信したリトライ回数に応じて、コマンドの再送信を行う(S7-1)。
After that, the
親機11は、中継機13からリトライ回数が1回である旨の通知の受信により、この通知後の受信後に1回、中継機13を介した子機12へのコマンドの再送信を行う。
Upon receiving the notification from the
これにより、中継機13では、親機11から実通信によるコマンド送信を、子機12に向けて送信するように中継する(S7-2)。そして中継機13では、子機12からの応答がないことを検知する(S8)。
As a result, the
中継機13では、S6と同様に親機11に対して、子機12との通信がTimeOut状態である旨の通知(TimeOut通知)を送信する(S9)。
Similar to S6, the
さらにこのとき、中継機13では、親機11に通知したリトライ回数だけ子機12へのリトライが終了したため、その後の再送制御が必要ないものとして、スリープ状態に移行する(S10)。
Further, at this time, since the retry to the
言い換えると、中継機13では、パケット通信制御部32の制御により、中継機13自身がスリープ状態となるように移行するとともに、親機11に対してリトライを制御する制御信号を、送受信部21を介して送信することができる。これにより中継機13は、スリープ状態となって電力を節約できるとともに、スリープ状態の中継機13に対して親機11からコマンドが送られないように、親機11の動作を制御できる。
In other words, in the
ここで図6では、実通信のパケットを用いた通信のリトライ回数が1回であるものとしているが、2回以上の複数回であってもよい。この場合には、中継機13では、失敗回数比較判定部33において、第1の判定として、記憶部35に予め設定した第1の閾値の回数以上の通信の失敗が連続したか否かの情報を利用して、動作モードを変更することができる。
Here, in FIG. 6, it is assumed that the number of retries of communication using the actual communication packet is one, but it may be two or more times. In this case, in the
なお図4に示したように、所定の時間の経過後に中継機13と子機12との通信状態の回復が認められる場合には、中継機13は動作モードを通常モードに移行させることができる。この場合、典型的には、中継機13ではスリープ状態からアクティブ状態に変更して、再送制御の実行に適した状態となる。
As shown in FIG. 4, when the recovery of the communication state between the
次に図7では、無線パケット通信システム1において、実通信のパケットによる通信を試みる前に、中継機13では子機12との通信状態をヘルスチェック信号の送受信を利用して判定した際に、子機12が故障している旨の情報を受けて、リトライ回数を0回に設定する例を示している。
Next, in FIG. 7, in the wireless packet communication system 1, before attempting communication by a packet of actual communication, the
具体的には、中継機13では、送受信部21を利用して子機12とのヘルスチェック信号にかかるパケットを送信する(S21)とともに、その応答の受信を試みる。これにより中継機13では、子機12との通信の確立の成否を確認する。ここでは中継機13には、ヘルスチェック信号の応答として、子機12が故障した旨の内容が含まれていたものとする(S22)。なお中継機13では、子機12が故障している旨の情報を、記憶部35に記憶させることができる。
Specifically, the
その後、親機11は、子機12に向けて、中継機13を介してコマンドを送信する(S23)。
After that, the
ここで中継機13では、子機12が故障している旨を記憶しているため、親機11からのコマンドを受信した中継機13は、親機11に対して、子機12が故障している旨の通知を返すとともに、リトライ回数を0回とする旨を通知する(S24)。
Here, since the
さらに中継機13では、再送制御が必要ないものとして、スリープ状態に移行する(S25)。これにより中継機13は、電力を節約することができる。
Further, the
なおこの場合も、所定の時間の経過後に中継機13と子機12との通信状態の回復が認められる場合には、中継機13は動作モードを通常モードに移行させることができる。
Also in this case, if the recovery of the communication state between the
なお、図4に示したように、所定の時間の経過後に中継機13と子機12との通信状態の回復が認められる場合には、中継機13は動作モードを通常モードに移行させることができる。
As shown in FIG. 4, when the recovery of the communication state between the
このように、中継機13では、実通信のパケットを用いた通信を試みる前に、ヘルスチェック信号を利用した子機12との通信状態が良好であるか否かのチェック、及び、子機12に故障が発生しているか否かを検知しておくことができる。そして、子機12に故障が発生している場合には、親機11からの実信号による子機12への通信の中継をせず、動作モードを省電力モードとして、親機11にリトライを行わないように通知するとともに、スリープ状態に移行する。これにより中継機13では電力消費を抑えることができる。
In this way, the
また中継機13では、ヘルスチェック信号に子機12の故障を示す信号がない場合には、ヘルスチェック信号を利用した通信の成功確率による第2の判定を行うことができる。その後、中継機13では、子機12に対して実通信のパケットを用いた通信の接続を試み、接続に失敗した際に連続する失敗回数が、あらかじめ定めた第1の閾値以上であるか否かの第1の判定を行うことができる。さらに中継機13では、第1の判定と第2の判定との判定結果を用いて、動作モードを通常モード、通信優先モード、省電力モードのいずれかに設定することができる。
Further, in the
このようにして設定された動作モードに応じたリトライ回数となるように、中継機13では、親機11からの通信のリトライ回数を設定できる。さらに中継機13では、この設定されたリトライ回数に応じて、中継が必要ないときに適切にスリープ状態とすることができる。
In the
実施の形態2
次に、実施の形態1に示したヘルスチェック信号を利用する状態検出判定部34に代えて、電界強度検出部44を利用する無線パケット通信システム2について説明する。
Embodiment 2
Next, a wireless packet communication system 2 that uses the electric field
すなわち、無線パケット通信システム2は、親機11と、子機12と、親機11と子機12の間を中継する中継装置(以下、中継機)14と、を備える。以下では、実施の形態1に示した無線パケット通信システム1に用いられた構成物品と同様の機能を奏する箇所については、同様の符号を付し、説明を省略する。
That is, the wireless packet communication system 2 includes a
中継機14は、送受信部21と、演算部24と、電池が格納されている電源部23と、を備える。
The
演算部24は、動作モード設定部31と、パケット通信制御部32と、失敗回数比較判定部33と、電界強度検出部44と、記憶部35と、電源電圧監視部36と、を備える。なお演算部24は、CPU(Central Processing Unit)や主記憶装置、補助記憶装置などの組み合わせにより実現することができる。
The
電界強度検出部44は、パケット通信制御部32によって受信されたパケットのうち、パケットのヘッダ情報におけるRSSI(Received Signal Strength Indicator)フィールドに格納された電界強度情報を抽出する。また、電界強度検出部44では、通信が成功している場合における電界強度情報を、記憶部35に記憶することができる。
The electric field
さらに電界強度検出部44では、受信成功時から遡って、任意に定めた所定の期間のRSSIの平均値についても算出し、算出した値を記憶部35に記憶することができる。
Further, the electric field
無線パケット通信システム2では、電界強度検出部44により検出された所定の期間におけるRSSIの平均値と、予め記憶部に記憶させた閾値(第3の閾値)とを比較した判定結果を、実施の形態1に示したヘルスチェック信号を利用した第2の判定に代えて利用することができる。
In the wireless packet communication system 2, the determination result of comparing the average value of RSSI detected by the electric field
ここで、ヘルスチェック信号を利用する方法に代えて、電界強度情報を用いて動作モードを変更する手順について説明する。 Here, a procedure for changing the operation mode by using the electric field strength information instead of the method using the health check signal will be described.
最初に、中継機14の動作モードが通常モードであるものとし、動作モード設定部31が、通常モードから他の動作モードに設定変更を行う条件(8)~(10)について、図8を参照して説明する。
First, it is assumed that the operation mode of the
(8)動作モード設定部31は、パケット通信制御部32で通信の確立の失敗を検知して、失敗回数比較判定部33において第1の判定が行われ、その第1の判定の結果として直近の連続する通信の確立の失敗回数が第1の閾値より多く、かつ、パケット通信制御部32で通信の確立の失敗が検知される前の一定期間に、電界強度検出部44により検出された電界強度の平均値が第3の閾値より高ければ、省電力モードに変更して設定する。
(8) The operation
これは、直前まで電波状況が良かったが急に通信を失敗するようになったのは、子機12の故障や、電波の干渉による影響と考えらえるためである。そして、この状態でリトライを続けても電力を余計に消費してしまうため、中継機14では、リトライ回数が少ない省電力モードとする。
This is because the radio wave condition was good until just before, but the communication suddenly failed because it is considered to be the influence of the failure of the
(9)動作モード設定部31は、パケット通信制御部32で通信の確立の失敗を検知して、失敗回数比較判定部33において第1の判定が行われ、その第1の判定の結果として直近の連続する通信の確立の失敗回数が第1の閾値より多く、かつ、パケット通信制御部32で通信の確立の失敗が検知される前の一定期間に、電界強度検出部44により検出された電界強度の平均値が第3の閾値より低ければ、通信優先モードに変更して設定する。
(9) The operation
これは、第2の判定における通信成否の確率が不良、すなわち通信が成功する確率が低ければ、子機12の故障ではなく、もともと悪かった電波状況が外乱などでさらに悪化して通信を失敗していると考えることができる。したがって中継機14では、リトライにより通信が確立される可能性があるため、リトライ回数が中程度である通信優先モードとする。
This is because if the probability of success or failure of communication in the second determination is poor, that is, if the probability of successful communication is low, it is not a failure of the
次に、中継機14の動作モードが通信優先モードであるものとし、動作モード設定部31が、通信優先モードから他の動作モードに設定変更を行う条件(10)~(12)について、図9を参照して説明する。
Next, it is assumed that the operation mode of the
(10)動作モード設定部31は、パケット通信制御部32で通信の確立の成功を検知して、かつ電界強度検出部44により検出された電界強度の平均値が第3の閾値より高ければ、通常モードに変更して設定する。
(10) If the operation
これは、子機12に発生していた問題の解消や、干渉の問題が改善されるなどの理由により、通信状態が良化したものと考えて、通常モードとするものである。
It is considered that the communication state has been improved due to the solution of the problem occurring in the
(11)動作モード設定部31は、パケット通信制御部32で通信の確立の失敗を検知して、失敗回数比較判定部33において第1の判定が行われ、その第1の判定の結果として直近の連続する通信の確立の失敗回数が第1の閾値より多い場合、省電力モードに変更して設定する。
(11) The operation
これは、子機12の故障や電波の干渉の影響により、通信の確立に失敗しているものと考えて、省電力モードとするものである。
It is considered that the establishment of communication has failed due to the failure of the
次に、中継機14の動作モードが省電力モードであるものとし、動作モード設定部31が、省電力モードから他の動作モードに設定変更を行う条件について説明する。
Next, it is assumed that the operation mode of the
(12)省電力モードである場合に、動作モード設定部31は、パケット通信制御部32で通信の確立の成功を検知した場合に、通常モードに移行する。なお、この動作モードの変更の際には、電界強度検出部44により検出された電界強度の平均値によらずに、通常モードへの移行を行うことができる。
(12) In the power saving mode, the operation
なお、この中継機14ではRSSIで判断を行うため、新たな電波強度測定のためのアンテナを追加する必要が無く、低コストで実行することができる。
Since the
本発明にかかる各部における処理は、コンピュータなどにプログラムを実行させることによって実現できる。より具体的には、プログラムメモリに格納された、危険回避装置の各部における処理を実行させるためのプログラムを主記憶装置にロードし、CPUの制御によって当該プログラムを実行して実現する。ここで、プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD-ROM(Read Only Memory)、CD-R、CD-R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(Random Access Memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。また、ナビゲーション装置の各部における処理は、プログラムによるソフトウェアで実現することに限ることなく、ハードウェア、ファームウェア、及びソフトウェアのうちのいずれかの組み合わせ等により実現しても良い。 The processing in each part according to the present invention can be realized by causing a computer or the like to execute a program. More specifically, a program stored in the program memory for executing processing in each part of the danger avoidance device is loaded into the main storage device, and the program is executed and realized under the control of the CPU. Here, the program can be stored and supplied to the computer using various types of non-transitory computer readable media. Non-temporary computer-readable media include various types of tangible storage media. Examples of non-temporary computer readable media include magnetic recording media (eg flexible disks, magnetic tapes, hard disk drives), optomagnetic recording media (eg optomagnetic disks), CD-ROMs (Read Only Memory), CD-Rs, Includes CD-R / W, semiconductor memory (eg, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)). The program may also be supplied to the computer by various types of temporary computer readable media. Examples of temporary computer readable media include electrical, optical, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path. Further, the processing in each part of the navigation device is not limited to being realized by software by a program, and may be realized by any combination of hardware, firmware, and software.
なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。 The present invention is not limited to the above embodiment, and can be appropriately modified without departing from the spirit.
例えば、実施の形態1に示した中継機13では、親機11への応答の際にリトライ回数の情報を送信することとして説明したが、これに限られず、その他の任意のタイミングでリトライ回数の情報を送信することを妨げない。
For example, in the
また、失敗回数比較判定部33では、パケット通信制御部32で通信NGを検知した場合に、直近の連続する接続NGの回数をカウントするものとして記載したが、これに限定されない。例えば、パケット通信制御部32で検知した現在の通信NGと、直近の過去1回の接続NGを除外して、それ以前の連続する接続NGをカウントする等のように、任意に変更可能である。これは、実施の形態1に示した状態検出判定部34の確率の算出や、実施の形態2に示した電界強度検出部44によるRSSIの平均値の算出についても同様である。
Further, the failure count
また、実施の形態1に示したヘルスチェック信号を用いた方法と、実施の形態2に示したRSSIフィールドを用いた方法の両方を同時に用いることも可能である。 It is also possible to simultaneously use both the method using the health check signal shown in the first embodiment and the method using the RSSI field shown in the second embodiment.
1 無線パケット通信システム
2 無線パケット通信システム
11 親機
12 子機
13 中継機
14 中継機
21 送受信部
22 演算部
23 電源部
24 演算部
31 動作モード設定部
32 パケット通信制御部
33 失敗回数比較判定部
34 状態検出判定部
35 記憶部
36 電源電圧監視部
44 電界強度検出部
1 Wireless packet communication system 2 Wireless
Claims (10)
前記子機との通信の確立を試みるリトライ回数をパラメータとして有する複数の動作モードのうち、いずれかの動作モードを設定する動作モード設定部と、
前記親機及び前記子機とのパケット通信を制御するとともに、前記子機からのパケットの受信状態に応じて前記子機との通信の確立の成否を検知するパケット通信制御部と、
前記パケット通信制御部で通信の確立の失敗が検知された場合に、通信の確立の失敗回数が規定の回数以上か否かによる第1の判定を行う失敗回数比較判定部と、
所定の期間における前記子機との通信確立の成否の確率を算出し、前記算出された確率が規定の確率より高いか否かによる第2の判定を行う状態検出判定部と、を有する演算部と、
前記親機と、前記子機と、に対してパケットの送受信を行う送受信部と、
前記演算部と、前記送受信部と、に電力の供給を行う電源部と、を備え、
前記動作モード設定部は、
前記第1の判定と、前記第2の判定と、の少なくとも一方に応じて、前記動作モードを設定し、
前記パケット通信制御部は、前記動作モードに応じて前記子機への通信の確立を試みるリトライ回数を変更する制御を行う、
無線通信の中継装置。 A wireless communication relay device that relays wireless packet communication established between a master unit and one or more slave units.
An operation mode setting unit for setting one of a plurality of operation modes having the number of retries for establishing communication with the slave unit as a parameter, and an operation mode setting unit.
A packet communication control unit that controls packet communication with the master unit and the slave unit and detects the success or failure of establishment of communication with the slave unit according to the reception status of the packet from the slave unit.
When the packet communication control unit detects a failure in establishing communication, a failure count comparison determination unit that makes a first determination based on whether or not the number of communication establishment failures is equal to or greater than a specified number of times, and a failure count comparison determination unit.
A calculation unit having a state detection determination unit that calculates the probability of success or failure of communication establishment with the slave unit in a predetermined period and makes a second determination based on whether or not the calculated probability is higher than the specified probability. When,
A transmission / reception unit that transmits / receives packets to / from the master unit and the slave unit.
The arithmetic unit, the transmission / reception unit, and a power supply unit that supplies electric power to the transmission / reception unit are provided.
The operation mode setting unit is
The operation mode is set according to at least one of the first determination and the second determination.
The packet communication control unit controls to change the number of retries attempting to establish communication to the slave unit according to the operation mode.
Wireless communication relay device.
前記第2の判定を行う際に、前記パケット通信制御部が前記子機との通信の確立の失敗が検知されるより前の期間の通信確立の成否の結果を用いて確率の算出を行う、
請求項1に記載の無線通信の中継装置。 The state detection determination unit is
When making the second determination, the packet communication control unit calculates the probability using the result of the success or failure of the communication establishment in the period before the failure of the establishment of the communication with the slave unit is detected.
The wireless communication relay device according to claim 1.
前記パケット通信制御部は、前記子機からの前記実通信パケットの受信状態に応じて、前記子機との通信の確立の成否を検知し、
前記状態検出判定部は、前記子機からの前記ヘルスチェックパケットの受信状態から前記子機との通信確立の成否の確率を算出し、前記算出された確率が規定の確率より高いか否かにより前記第2の判定を行う、
請求項2に記載の無線通信の中継装置。 The transmission / reception unit transmits / receives an actual communication packet and a health check packet having information on a failure of the slave unit as transmission / reception of a packet to the slave unit.
The packet communication control unit detects the success or failure of establishment of communication with the slave unit according to the reception state of the actual communication packet from the slave unit.
The state detection determination unit calculates the probability of success or failure of establishing communication with the handset from the reception state of the health check packet from the handset, and determines whether the calculated probability is higher than the specified probability. The second determination is made.
The wireless communication relay device according to claim 2.
動作モードとして、前記リトライ回数を所定の回数に設定した通信優先モードと、前記通信優先モードより多いリトライ回数を設定した通常モードと、前記通信優先モードより少ないリトライ回数を設定した省電力モードと、を設定する
請求項1乃至請求項3のいずれか1項に記載の無線通信の中継装置。 The operation mode setting unit is
The operation modes include a communication priority mode in which the number of retries is set to a predetermined number, a normal mode in which the number of retries is set to be larger than the communication priority mode, and a power saving mode in which the number of retries is set to be smaller than the communication priority mode. The wireless communication relay device according to any one of claims 1 to 3.
前記通常モードから他の動作モードへの移行は、
(1)前記第1の判定が行われ、前記通信の確立の失敗回数が規定の回数より多く、かつ、前記第2の判定による前記子機との通信確立が成功した確率があらかじめ規定した値より高ければ、前記省電力モードに移行、
(2)前記第1の判定が行われ、前記通信の確立の失敗回数が規定の回数より多く、かつ、前記第2の判定による前記子機との通信確立が成功した確率があらかじめ規定した値より低ければ、前記通信優先モードに移行、
(3)前記第2の判定において、前記子機から受信したヘルスチェックパケットに前記子機の故障を示すエラーコードが含まれる場合には、前記省電力モードに移行、
のいずれかにより行い、
前記通信優先モードから他の動作モードへの移行は、
(4)前記パケット通信制御部で通信の確立の成功を検知し、かつ、前記第2の判定による前記子機との通信確立が成功した確率があらかじめ規定した値より高ければ、前記通常モードに移行、
(5)前記第1の判定が行われ、前記通信の確立の失敗回数が規定の回数を超えていれば前記省電力モードに移行、
(6)前記第2の判定において、前記子機から受信したヘルスチェックパケットに前記子機の故障を示すエラーコードが含まれる場合には、前記省電力モードに移行、
のいずれかにより行い、
前記省電力モードから他の動作モードへの移行は、
(7)前記パケット通信制御部で通信の確立の成功を検知した場合に、通常モードに移行、
を行う、請求項4に記載の無線通信の中継装置。 The operation mode setting unit is
The transition from the normal mode to another operation mode is
(1) The probability that the first determination is made, the number of failures in establishing the communication is larger than the specified number of times, and the establishment of communication with the slave unit by the second determination is successful is a predetermined value. If it is higher, it shifts to the power saving mode,
(2) The probability that the first determination is made, the number of failures in establishing the communication is greater than the specified number of times, and the probability of success in establishing communication with the slave unit by the second determination is a predetermined value. If it is lower, the mode shifts to the communication priority mode.
(3) In the second determination, if the health check packet received from the slave unit contains an error code indicating a failure of the slave unit, the mode shifts to the power saving mode.
Do it by either
The transition from the communication priority mode to another operation mode is
(4) If the packet communication control unit detects the success of the communication establishment and the probability of the success of the communication establishment with the slave unit by the second determination is higher than the predetermined value, the normal mode is set. Migration,
(5) If the first determination is made and the number of failures in establishing the communication exceeds the specified number, the mode shifts to the power saving mode.
(6) In the second determination, if the health check packet received from the slave unit contains an error code indicating a failure of the slave unit, the mode shifts to the power saving mode.
Do it by either
The transition from the power saving mode to another operation mode is
(7) When the packet communication control unit detects success in establishing communication, the mode shifts to the normal mode.
The wireless communication relay device according to claim 4.
前記電源監視部は、前記電源部として用いられる電池の残量を電圧レベルによって監視し、
前記動作モード設定部は、
前記動作モードが省電力モードである場合に、前記第2の判定において前記子機から受信したヘルスチェックパケットに前記子機の故障を示すエラーコードが含まれるか否か、及び、前記電源監視部により取得された前記電池の残量があらかじめ定めた値より大きいか否かの少なくとも一方により、前記リトライ回数を変更する、
請求項4又は請求項5に記載の無線通信の中継装置。 The calculation unit further includes a power supply monitoring unit.
The power supply monitoring unit monitors the remaining amount of the battery used as the power supply unit according to the voltage level.
The operation mode setting unit is
When the operation mode is the power saving mode, whether or not the health check packet received from the slave unit in the second determination includes an error code indicating the failure of the slave unit, and the power supply monitoring unit. The number of retries is changed depending on at least one of whether or not the remaining amount of the battery acquired by the above is larger than a predetermined value.
The wireless communication relay device according to claim 4 or 5.
前記演算部は、
少なくとも、前記失敗回数比較判定部の前記第1の判定に用いられる前記規定の回数の情報と、前記状態検出判定部の前記第2の判定において用いられる前記規定の確率の情報と、前記複数回計算された前記子機との通信確立の成否の確率と、を記憶する記憶部と、をさらに備える、
請求項2乃至6のいずれか1項に記載の無線通信の中継装置。 The state detection determination unit calculates the probability of success or failure of communication establishment with the slave unit a plurality of times at predetermined periods, and then calculates the probability of success or failure of communication establishment with the slave unit.
The arithmetic unit
At least, the information of the specified number of times used for the first determination of the failure number comparison determination unit, the information of the specified probability used in the second determination of the state detection determination unit, and the plurality of times. A storage unit for storing the calculated probability of success or failure of communication establishment with the slave unit is further provided.
The wireless communication relay device according to any one of claims 2 to 6.
所定の期間における前記子機との通信確立の成否の確率を算出し、前記算出された確率が規定の確率より高いか否かにより第2の判定を行うことに代えて、
前記送受信部で受信したパケットから電波強度の情報を取得し、前記取得された電波強度が規定の強度より強いか否かによる判定を行う、
請求項1乃至7のいずれか1項に記載の無線通信の中継装置。 The state detection determination unit is
Instead of calculating the probability of success or failure of establishing communication with the slave unit in a predetermined period and making a second determination based on whether or not the calculated probability is higher than the specified probability.
Information on the radio wave strength is acquired from the packet received by the transmission / reception unit, and a determination is made based on whether or not the acquired radio wave strength is stronger than the specified strength.
The wireless communication relay device according to any one of claims 1 to 7.
パケット通信制御部が、前記子機からのパケットの受信状態に応じて、前記子機との通信の確立の成否を検知し、
前記パケット通信制御部で通信の確立の失敗が検知された場合に、通信の確立の失敗回数が規定の回数以上か否かによる第1の判定を行い、
所定の期間における前記子機との通信確立の成否の確率を計算し、前記計算された確率が規定の確率より高いか否かによる第2の判定を行い、
前記第1の判定と、前記第2の判定と、の少なくとも一方に応じて、前記子機との通信の確立を試みるリトライ回数を規定した複数の動作モードのうち、いずれの動作モードに設定するかを決定する
無線通信の中継装置のリトライ制御方法。 It is a retry control method of a wireless communication relay device that relays wireless communication by packet communication established between a master unit and one or more slave units.
The packet communication control unit detects the success or failure of establishment of communication with the slave unit according to the reception status of the packet from the slave unit.
When the packet communication control unit detects a failure in establishing communication, the first determination is made based on whether or not the number of failures in establishing communication is equal to or greater than the specified number.
The probability of success or failure of establishing communication with the slave unit in a predetermined period is calculated, and a second determination is made based on whether or not the calculated probability is higher than the specified probability.
Depending on at least one of the first determination and the second determination, the operation mode is set to any of the plurality of operation modes in which the number of retries attempting to establish communication with the slave unit is specified. A retry control method for a wireless communication relay device to determine whether or not.
パケット通信制御部が、前記子機からのパケットの受信状態に応じて、前記子機との通信の確立の成否を検知し、
前記パケット通信制御部で通信の確立の失敗が検知された場合に、通信の確立の失敗回数が規定の回数以上か否かによる第1の判定を行い、
所定の期間における前記子機との通信確立の成否の確率を計算し、前記計算された確率が規定の確率より高いか否かによる第2の判定を行い、
前記第1の判定と、前記第2の判定と、の少なくとも一方に応じて、前記子機との通信の確立を試みるリトライ回数を規定した複数の動作モードのうち、いずれの動作モードに設定するかを決定する
リトライ制御プログラム。 It is a retry control program of a wireless communication relay device that relays wireless communication by packet communication established between a master unit and one or more slave units.
The packet communication control unit detects the success or failure of establishment of communication with the slave unit according to the reception status of the packet from the slave unit.
When the packet communication control unit detects a failure in establishing communication, the first determination is made based on whether or not the number of failures in establishing communication is equal to or greater than the specified number.
The probability of success or failure of establishing communication with the slave unit in a predetermined period is calculated, and a second determination is made based on whether or not the calculated probability is higher than the specified probability.
Depending on at least one of the first determination and the second determination, the operation mode is set to any of the plurality of operation modes in which the number of retries attempting to establish communication with the slave unit is specified. A retry control program that determines whether or not.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020195025A JP2022083604A (en) | 2020-11-25 | 2020-11-25 | Wireless communication relay device, retry control method of wireless communication relay device, and retry control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020195025A JP2022083604A (en) | 2020-11-25 | 2020-11-25 | Wireless communication relay device, retry control method of wireless communication relay device, and retry control program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022083604A true JP2022083604A (en) | 2022-06-06 |
Family
ID=81855463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020195025A Pending JP2022083604A (en) | 2020-11-25 | 2020-11-25 | Wireless communication relay device, retry control method of wireless communication relay device, and retry control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022083604A (en) |
-
2020
- 2020-11-25 JP JP2020195025A patent/JP2022083604A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8379608B2 (en) | Radio communication method, radio communication system and wireless terminal | |
US9288837B2 (en) | Wireless device and wireless system | |
JP6342915B2 (en) | Intelligent network operation | |
CN103220695A (en) | Processing method and processing device for network element states | |
KR20140046045A (en) | Power control method, base station and terminal equipment | |
US10880945B2 (en) | System for controlling mobile device, control device, and control method | |
US10938628B2 (en) | Battery management system and communication method thereof | |
JPH1098427A (en) | Portable mobile radio terminal equipment | |
US8964558B2 (en) | Transmission control method and communication apparatus | |
CN103118387B (en) | A kind of thin AP redundancy connection control method of active-standby mode | |
CN112367107B (en) | Method and system for autonomously processing satellite measurement and control equipment fault on satellite | |
CN112367643A (en) | Wireless sensor connection and remote upgrading method and monitoring system thereof | |
CN114337796B (en) | Redundancy backup method and system for digital optical fiber repeater | |
KR20190078677A (en) | Remote meter reading system, remote meter reading device and remote meter reading method | |
JP2022083604A (en) | Wireless communication relay device, retry control method of wireless communication relay device, and retry control program | |
JP2007312066A (en) | Guard system, guard terminal, and guard method | |
CN110740491B (en) | Communication processing method and device of wireless network and household appliance | |
JP2012182512A (en) | Ring type network system | |
JP5056204B2 (en) | Wireless communication network system, wireless terminal, wireless communication method, wireless communication program | |
JP5056205B2 (en) | Wireless communication network system, wireless terminal, wireless communication method, wireless communication program | |
CN107682600B (en) | Camera and gateway | |
JP6822702B1 (en) | Wireless communication equipment, wireless collection equipment, wireless communication systems, control methods and control programs | |
JP4670727B2 (en) | Low power microwave radio communication system | |
US10764810B1 (en) | Systems and methods for adaptively joining a wireless communication network | |
JP2021190855A (en) | Wireless sensor terminal, wireless sensor system, and control method of wireless sensor terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231002 |