JP6251665B2 - Adjustment method, adjustment device, and adjustment program - Google Patents
Adjustment method, adjustment device, and adjustment program Download PDFInfo
- Publication number
- JP6251665B2 JP6251665B2 JP2014238893A JP2014238893A JP6251665B2 JP 6251665 B2 JP6251665 B2 JP 6251665B2 JP 2014238893 A JP2014238893 A JP 2014238893A JP 2014238893 A JP2014238893 A JP 2014238893A JP 6251665 B2 JP6251665 B2 JP 6251665B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- data transmission
- adjustment
- transmission
- next time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
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
- Small-Scale Networks (AREA)
- Selective Calling Equipment (AREA)
- Mobile Radio Communication Systems (AREA)
Description
本発明は、子機が親機にデータを送信する時間間隔を調整する技術に関する。 The present invention relates to a technique for adjusting a time interval at which a slave unit transmits data to a master unit.
現在、親機と子機を備えた無線ネットワークが存在する。該親機は、所定のアクセスポイントに設置されており、複数の通信用プロトコルに対応可能である。親機は、該プロトコルを排他的に周期的に切り替え、切り替えたプロトコルに対応する電波を送信する。一方、子機は、少なくとも一種類以上のプロトコルに対応可能であり、周辺の子機と親機との間で通信が行われていないことを検知すればいつでもデータの送信を行うことが可能であるが、自身の対応プロトコルが親機の対応プロトコルと同じ場合にデータ送信が成功となる。 Currently, there is a wireless network including a master unit and a slave unit. The master unit is installed at a predetermined access point and can support a plurality of communication protocols. The master unit periodically switches the protocol exclusively and transmits radio waves corresponding to the switched protocol. On the other hand, the slave unit can support at least one type of protocol, and can transmit data at any time by detecting that communication is not performed between the peripheral slave unit and the master unit. However, data transmission is successful when its own protocol is the same as that of the parent device.
しかしながら、親機と子機でそれぞれ使用するプロトコルの種別が同期していないため、子機においてデータ送信が成功するまでデータ送信処理が繰り返し行われ、子機の消費電力が増大してしまう。 However, since the types of protocols used by the parent device and the child device are not synchronized, the data transmission process is repeatedly performed until the data transmission is successful in the child device, and the power consumption of the child device increases.
このような親機と子機からなる無線ネットワークとして、特許文献1では、予め指定された時刻に端末局から信号を制御局へ送信し、該信号を制御局の複数のアンテナで順次受信し、最も品質の高い信号を受信したアンテナを端末局との通信に用いる技術を記載している。かかるように送信機と受信機の間で各通信方式が時刻同期されている場合には、該特許文献1の技術を流用して予め使用するプロトコルの時間帯を決定しておくことによりデータ送信が可能である。しかし、例えばセンサネットワークの場合、通常のシステムは非同期ネットワークで構築されているため、送信機と受信機の間で同期をとることは非常に難しく、該特許文献1の方式を適用することは難しい。 As a wireless network composed of such a master unit and a slave unit, in Patent Document 1, a signal is transmitted from a terminal station to a control station at a predesignated time, and the signal is sequentially received by a plurality of antennas of the control station, A technique is described in which an antenna that receives a signal with the highest quality is used for communication with a terminal station. As described above, when each communication method is time-synchronized between the transmitter and the receiver, the data transmission is performed by determining the protocol time zone to be used in advance by using the technique of Patent Document 1. Is possible. However, in the case of a sensor network, for example, since a normal system is constructed by an asynchronous network, it is very difficult to synchronize between a transmitter and a receiver, and it is difficult to apply the method of Patent Document 1. .
本発明は、上記事情を鑑みてなされたものであり、使用するプロトコルの種別が同期していない親機と子機において、該親機に対する該子機のデータ送信に係る負荷を改善することを目的とする。 The present invention has been made in view of the above circumstances, and in a parent device and a child device in which the type of protocol to be used is not synchronized, the load related to data transmission of the child device to the parent device is improved. Objective.
以上の課題を解決するため、請求項1に記載の調整方法は、子機が親機にデータを送信する時間間隔を調整する調整装置で行う調整方法において、前記親機は、複数のプロトコルを使用可能であり、前記複数のプロトコルを排他的に周期的に切り替え、切り替えたプロトコルに対応する電波を送信可能であって、前記子機は、少なくとも一種類以上のプロトコルを使用可能であり、使用するプロトコルが前記親機で使用中のプロトコルと同じ場合に前記親機へのデータ送信が成功であって、前記調整装置は、前記子機により所定の時間間隔で繰り返し行われたデータ送信に対する前記親機からの応答の有無に基づき、当該親機に対するデータ送信の成否を送信状態情報として記憶手段に記憶しておく記憶ステップと、前記送信状態情報に登録されている各時刻でのデータ送信の成否に基づき、前記所定の時間間隔に基づいて次の時刻で行われるデータ送信の成否を判定する判定ステップと、前記次の時刻で行われるデータ送信が成功しないと判定された場合、当該次の時刻を変更することにより前記所定の時間間隔を調整する調整ステップと、を有することを要旨とする。 In order to solve the above problems, the adjustment method according to claim 1 is an adjustment method performed by an adjustment device that adjusts a time interval at which a slave unit transmits data to the master unit, wherein the master unit includes a plurality of protocols. The plurality of protocols can be switched periodically and exclusively, radio waves corresponding to the switched protocols can be transmitted, and the slave unit can use at least one type of protocol, and can be used When the protocol to be used is the same as the protocol being used in the base unit, data transmission to the base unit is successful, and the coordinating device performs the data transmission for the data transmission repeatedly performed by the slave unit at a predetermined time interval. Based on the presence / absence of a response from the master unit, a storage step for storing success / failure of data transmission to the master unit in the storage means as transmission status information, and registration in the transmission status information A determination step of determining success or failure of data transmission performed at the next time based on the predetermined time interval based on the success or failure of data transmission at each time, and successful data transmission performed at the next time If it is determined not to do so, the gist is to have an adjustment step of adjusting the predetermined time interval by changing the next time.
請求項2に記載の調整方法は、請求項1に記載の調整方法において、前記調整ステップでは、前記次の時刻から一定時間前又は後にずらした時刻を次の時刻として決定することを要旨とする。 The gist of the adjustment method according to claim 2 is that, in the adjustment method according to claim 1, in the adjustment step, a time shifted by a certain time before or after the next time is determined as the next time. .
請求項3に記載の調整方法は、請求項1に記載の調整方法において、前記調整ステップでは、直前のデータ送信が成功であった場合、当該直前の時刻と前記次の時刻との中間時刻又は当該中間時刻から一定時間前若しくは後にずらした時刻を次の時刻として決定し、直前のデータ送信が失敗であった場合、前記次の時刻とさらに次の時刻との中間時刻又は当該中間時刻から一定時間前若しくは後にずらした時刻を次の時刻として決定することを要旨とする。 The adjustment method according to claim 3 is the adjustment method according to claim 1, wherein, in the adjustment step, when the immediately preceding data transmission is successful, an intermediate time between the immediately preceding time and the next time or If the time shifted from a certain time before or after the intermediate time is determined as the next time, and the previous data transmission is unsuccessful, the intermediate time between the next time and the next time or constant from the intermediate time The gist is to determine the time shifted before or after the time as the next time.
請求項4に記載の調整方法は、請求項1乃至3のいずれかに記載の調整方法において、前記判定ステップでは、直近でデータ送信が成功であった時刻と該直近の前にデータ送信が成功であった時刻との時間間隔と、直近でデータ送信が成功であった時刻と現在の時刻との時間間隔との差が所定の時間範囲内に収まる場合、前記次の時刻で行われるデータ送信は成功すると判定することを要旨とする。 The adjustment method according to claim 4 is the adjustment method according to any one of claims 1 to 3, wherein in the determination step, the time when the data transmission was successful most recently and the data transmission succeeded before the most recent time. When the difference between the time interval between the current time and the time interval between the most recent data transmission success and the current time is within a predetermined time range, the data transmission performed at the next time The gist is to determine that is successful.
請求項5に記載の調整装置は、子機が親機にデータを送信する時間間隔を調整する調整装置において、前記親機は、複数のプロトコルを使用可能であり、前記複数のプロトコルを排他的に周期的に切り替え、切り替えたプロトコルに対応する電波を送信可能であって、前記子機は、少なくとも一種類以上のプロトコルを使用可能であり、使用するプロトコルが前記親機で使用中のプロトコルと同じ場合に前記親機へのデータ送信が成功であって、前記調整装置は、前記子機により所定の時間間隔で繰り返し行われたデータ送信に対する前記親機からの応答の有無に基づき、当該親機に対するデータ送信の成否を送信状態情報として記憶しておく記憶手段と、前記送信状態情報に登録されている各時刻でのデータ送信の成否に基づき、前記所定の時間間隔に基づいて次の時刻で行われるデータ送信の成否を判定する判定手段と、前記次の時刻で行われるデータ送信が成功しないと判定された場合、当該次の時刻を変更することにより前記所定の時間間隔を調整する調整手段と、を有することを要旨とする。 The adjustment device according to claim 5 is an adjustment device that adjusts a time interval at which a child device transmits data to the parent device, wherein the parent device can use a plurality of protocols, and the plurality of protocols are exclusively used. The slave unit can use at least one type of protocol, and the protocol to be used is the protocol being used by the master unit. In the same case, the data transmission to the parent device is successful, and the adjustment device determines whether the parent device is based on the presence or absence of a response from the parent device to the data transmission repeatedly performed by the child device at a predetermined time interval. Storage means for storing success / failure of data transmission to the device as transmission status information, and based on success / failure of data transmission at each time registered in the transmission status information The determination means for determining success or failure of data transmission performed at the next time based on the time interval, and when it is determined that the data transmission performed at the next time is not successful, by changing the next time The gist of the present invention is to have adjusting means for adjusting a predetermined time interval.
請求項6に記載の調整装置は、請求項5に記載の調整装置において、前記調整手段は、前記次の時刻から一定時間前又は後にずらした時刻を次の時刻として決定することを要旨とする。 The adjusting device according to claim 6 is the adjusting device according to claim 5, wherein the adjusting means determines a time shifted from the next time by a certain time before or after as the next time. .
請求項7に記載の調整装置は、請求項5に記載の調整装置において、前記調整手段は、直前のデータ送信が成功であった場合、当該直前の時刻と前記次の時刻との中間時刻又は当該中間時刻から一定時間前若しくは後にずらした時刻を次の時刻として決定し、直前のデータ送信が失敗であった場合、前記次の時刻とさらに次の時刻との中間時刻又は当該中間時刻から一定時間前若しくは後にずらした時刻を次の時刻として決定することを要旨とする。 The adjustment device according to claim 7 is the adjustment device according to claim 5, wherein, when the previous data transmission is successful, the adjustment means is an intermediate time between the previous time and the next time or If the time shifted from a certain time before or after the intermediate time is determined as the next time, and the previous data transmission is unsuccessful, the intermediate time between the next time and the next time or constant from the intermediate time The gist is to determine the time shifted before or after the time as the next time.
請求項8に記載の調整プログラムは、請求項5乃至7のいずれかに記載の調整装置としてコンピュータを機能させることを要旨とする。 The gist of an adjustment program according to an eighth aspect is to cause a computer to function as the adjustment apparatus according to any one of the fifth to seventh aspects.
本発明によれば、使用するプロトコルの種別が同期していない親機と子機において、該子機による該親機に対するデータ送信成否の送信回数を削減でき、該子機の消費電力を削減できる。 According to the present invention, in the parent device and the child device whose types of protocols to be used are not synchronized, it is possible to reduce the number of times of data transmission success / failure transmission to the parent device by the child device, and to reduce the power consumption of the child device. .
本発明は、親機と子機で使用するプロトコルの種別が同期していない場合において、子機が自身でデータ送信の成否を学習し、データ送信周期を自律的に制御する方法を確立することにある。以下、本発明を実施する一実施の形態について図面を用いて説明する。 The present invention establishes a method for autonomously controlling the data transmission cycle by learning the success or failure of data transmission by the slave itself when the types of protocols used by the master and the slave are not synchronized. It is in. Hereinafter, an embodiment for carrying out the present invention will be described with reference to the drawings.
まず、本実施の形態に係る通信システム1の構成を説明する。図1は、該通信システム1の全体構成を示す図である。該通信システム1は、相互通信可能に接続された親機10と複数の子機30とを備えて構成される。
First, the configuration of the communication system 1 according to the present embodiment will be described. FIG. 1 is a diagram showing an overall configuration of the communication system 1. The communication system 1 includes a
親機10とは、例えば無線LAN等のアクセスポイントに設置された電波中継機である。複数種のプロトコル{例えば、920MHz帯のIEEE802.15.4,IEEE802.15.4e,IEEE802.15.4g,IEEE802.15.4d,TTC標準JJ-300.10(Wi-SUN, Zigbee IP)等の標準規格で定められたプロトコル,その他の独自に定められたプロトコル}に対応可能であり、予め決められた周期でプロトコルを排他的に切り替え、切り替えたプロトコルに対応する電波を送信する。親機10は複数でもよい。
The
子機30とは、例えば、アンテナやICチップを備えたセンサ機器,該センサ機器を備えた携帯電話やスマートフォン,該センサ機器を備えていない携帯電話やスマートフォンである。少なくとも一種類以上のプロトコルに対応可能であり、該プロトコルに対応する電波を利用して所望のデータを送信する。例えば、図1に示したように、子機ID=1はプロトコルP1に対応する電波でデータ1を送信し、子機ID=2はプロトコルP2に対応する電波でデータ2を送信する。 The subunit | mobile_unit 30 is the mobile telephone and smart phone which are not provided with the sensor apparatus provided with the antenna and the IC chip, the mobile phone and smart phone provided with the sensor equipment, for example. At least one type of protocol can be supported, and desired data is transmitted using radio waves corresponding to the protocol. For example, as shown in FIG. 1, the slave unit ID = 1 transmits data 1 by radio waves corresponding to the protocol P1, and the slave unit ID = 2 transmits data 2 by radio waves corresponding to the protocol P2.
かかる親機10と子機30とを備えた通信システム1としては、例えば、無線センサ端末から情報を収集するための無線センサネットワーク,携帯電話と基地局を備えた電話通信ネットワーク,Wi−Fi通信ネットワークが考えられる。
Examples of the communication system 1 including the
かかる通信システム1において、親機10は対応プロトコルを周期的に切り替えて電波を送信するため、子機30は自身と同じ対応プロトコルが使用されている時間帯のみ親機10と通信を行うことができる。そのため、子機30は、親機10との間でデータ通信を行いたい場合、該親機10に対してデータ送信を繰り返し行い、該親機10からの受信応答の有無によってデータ到達の可否を判断する。かかる状況下、本発明は、該子機30のデータ送信に係る負荷を低減するため、該子機30において親機10に対するデータ送信の周期(時間間隔)を調整することにある。
In such a communication system 1, since the
そこで、本実施の形態に係る子機30は、上述した機能以外に、データ送信周期を調整するための調整装置100を備える。図2は、該調整装置100の機能ブロック構成を示す図である。該調整装置100は、データ送信を要求するデータ送信要求部101と、データ送信の結果に基づく送信状態情報(データ到達成否等を含む)を管理し、決定されたデータ送信周期に基づきデータを親機10に送信する送受信状態管理部102と、上記送信状態情報を記憶する送信状態管理データベース103と、該送信状態情報を用いてデータ送信周期を決定する送信周期決定部104と、を備えて構成される。
Therefore,
かかる調整装置100は、CPU等の演算機能やメモリ等の記憶機能を備えたコンピュータで実現できる。該調整装置100としてコンピュータを機能させるための推定プログラムや該推定プログラムの記憶媒体を作成することも可能である。
Such an
次に、該調整装置100で行うデータ送信周期の決定動作(調整動作を含む)を説明する。図3は、データ送信周期の決定処理フローを示す図である。
Next, the data transmission cycle determination operation (including the adjustment operation) performed by the
まず、ステップS1において、送受信状態管理部102は、データ送信要求部101からデータ送信要求(データと送信先親機IDとを含む)を受け取った場合、受け取った現在の時刻と送信先親機IDとを紐づけて送受信状態情報として送信状態管理データベース103に登録する。その後、送受信状態管理部102は、送信周期決定部104に対してデータ送信周期の算出を要求する。
First, in step S <b> 1, when the transmission / reception
次に、ステップS2において、送信周期決定部104は、送受信状態管理部102からデータ送信周期の算出要求を受け取った場合、送信状態管理データベース103から送信状態情報を取得し、データ送信周期が算出できる十分な送信状態数が登録されているか否かを判定する。
Next, in step S <b> 2, when receiving a data transmission cycle calculation request from the transmission / reception
「データ送信周期が算出できる十分な送信状態数」とは、例えば、送信状態情報に3つ以上の時刻が登録されており、かつ、登録されている時刻をt1,t2,t3とした場合に(t3−t2)≒(t2−t1)の判定式が成立する場合をいう。このとき、例えば、{(t3−t2)−(t2−t1)}が{5分の(t3−t2)}よりも小さく、{5分の(t2−t1)}よりも小さいときに該判定式が成立するものとする。該判定式が成立する場合、送信周期決定部104は、例えば、{(t3−t2)+(t2−t1)}/2の式を用いてデータ送信周期を算出する。
“A sufficient number of transmission states for which the data transmission cycle can be calculated” is, for example, when three or more times are registered in the transmission state information and the registered times are t1, t2, and t3. This is a case where the determination formula (t3−t2) ≈ (t2−t1) is satisfied. At this time, for example, when {(t3-t2)-(t2-t1)} is smaller than {5 (t3-t2)} and smaller than {5 (t2-t1)}, the determination is made. Assume that the formula holds. When the determination formula is satisfied, the transmission
なお、現時点では、データ送信周期が算出できる十分な送信状態数が登録されていないものとする。この場合、送信周期決定部104は、データ送信周期の変更なしを示す周期変更なし情報を送受信状態管理部102に送信する。
At this time, it is assumed that a sufficient number of transmission states that can calculate the data transmission cycle are not registered. In this case, the transmission
次に、ステップS3において、送受信状態管理部102は、送信周期決定部104から周期変更なし情報を受け取った場合、データ送信要求に含まれていたデータをただちに親機10に送信する。現時点ではデータ送信周期が設定されていないため“ただち”に送信している。
Next, in step S <b> 3, when the transmission / reception
次に、送受信状態管理部102は、親機10にデータを送信した後、該親機10から予め決められた時間内に受信応答(Ack)を受信した場合、ステップS4において、ステップS1で記憶していた現在の時刻(≒親機10に対するデータの送信時刻)と送信成功とを対にして送信状態情報に登録する。一方、予め決められた時間内に受信応答を受信しない場合、ステップS5において、送受信状態管理部102は、上記現在の時刻と送信失敗とを対にして送信状態情報に登録する。
Next, when the transmission / reception
ここで、送信状態情報の例を図4に示す。送信結果の登録方法については本決定処理フローで説明する通りであるが、一般的には、子機30は送信先の親機10を1つ選択した上でデータ送信を行う。そのため、成功か失敗かのフラグは時刻Timeに対して親機IDのいずれか1つに対して登録され、送信先でない親機にはNullが登録される。もし、ブロードキャストもしくは複数の親機に対して同時にデータを送信した場合には、送信先(送信を試みた)親機IDに対してそれぞれ成功か失敗かのフラグが登録される。
Here, an example of the transmission state information is shown in FIG. Although the registration method of the transmission result is as described in this determination processing flow, generally, the
その後、ステップS1に戻り、送受信状態管理部102は、データ送信要求部101から次のデータ送信要求(次データと送信先親機IDとを含む)を受け取った場合、該次のデータ送信要求について上述したステップS1の処理を実行する。その後、ステップS2に進み、今度は、データ送信周期が算出できる十分な送信状態数が送信状態情報に登録されているものとする。そのため、送信周期決定部104は、上述したデータ送信周期の算出式〔{(t3−t2)+(t2−t1)}/2〕を用いてデータ送信周期を計算し、送受信状態管理部102に送信する。
Thereafter, the process returns to step S1, and when the transmission / reception
次に、ステップS6において、送信周期決定部104は、送信状態情報にデータ送信周期が特定できる十分な状態数が登録されていれていると判定した場合、該送信状態情報および計算したデータ送信周期を参照し、次の時刻のタイミングで行うデータ送信が成功するか失敗するかを予測判定する。
Next, in step S6, when the transmission
例えば、図4の親機ID=2のように、全てのデータ送信周期において送信成功であった場合には、次の時刻も送信成功であると推定する。また、図4の親機ID=3のように、全てのデータ送信周期において送信失敗であった場合には、次の時刻も送信失敗であると推定する。一方、送信成功と送信失敗が混在している場合には次の処理を実行する。例えば、図4の親機ID=4のように、ひとつ前に送信成功であった時刻と、もう一つ前に送信成功であった時刻との時間間隔Aと、ひとつ前に送信成功であった時刻と現在の時刻との時間間隔Bとを算出し、時間間隔Aと時間間隔BとがステップS2で行われた方法と同じ方法に基づき近い(A≒B)と判断された場合、次の時刻は送信成功であると推定する。その他、図4の親機ID=5のように、送信成功が2回以上登録されていなければ、次の時刻は送信成功であると推定してもよい。 For example, when the transmission is successful in all the data transmission cycles as in the case of the parent device ID = 2 in FIG. 4, it is estimated that the next time is also the transmission success. Further, when the transmission failure occurs in all data transmission cycles as in the case of the parent device ID = 3 in FIG. 4, it is estimated that the next time is also a transmission failure. On the other hand, when transmission success and transmission failure coexist, the following processing is executed. For example, as in the case of the master unit ID = 4 in FIG. 4, the time interval A between the time when the transmission was successful one time before and the time when the transmission was successful two times before, and the transmission success was the last time. When the time interval B between the current time and the current time is calculated, and it is determined that the time interval A and the time interval B are close based on the same method as that performed in step S2 (A≈B), Is estimated to be successful. In addition, if the transmission success is not registered twice or more like the parent device ID = 5 in FIG. 4, it may be estimated that the next time is the transmission success.
そして、ステップS6で行った予測判定の結果、次の時刻で行うデータ送信は成功であると推定した場合、ステップS7において、送信周期決定部104は、計算していたデータ送信周期に変更はないとし、周期変更なし情報を送受信状態管理部102に送信する。
If the data transmission performed at the next time is estimated to be successful as a result of the prediction determination performed in step S6, the transmission
一方、ステップS6で行った予測判定の結果、次の時刻で行うデータ送信は失敗であると推定した場合、ステップS8において、送信周期決定部104は、次のデータ送信時刻を以下のように決定(調整)し、データ送信周期の変更ありを示す周期変更あり情報を送受信状態管理部102に送信する。
On the other hand, as a result of the prediction determination performed in step S6, when it is estimated that the data transmission performed at the next time is unsuccessful, in step S8, the transmission
例えば、次のデータ送信時刻からnミリ秒(n:実数)前にずらした時刻を次のデータ送信時刻として決定する。nミリ秒としては、例えばIEEE802.15.4で規定されているTSCH(Time Slotted Channel Hopping)ネットワークの1タイムスロット分等を用いる。一方、最近のデータ送信周期において、既にnミリ秒前にずらした時刻でデータ送信を行い、かつ、該データ送信が失敗している場合には、次のデータ送信時刻からnミリ秒後ろにずらした時刻を次のデータ送信時刻として決定する。 For example, the time shifted n milliseconds (n: real number) before the next data transmission time is determined as the next data transmission time. As n milliseconds, for example, one time slot of a TSCH (Time Slotted Channel Hopping) network defined by IEEE802.15.4 is used. On the other hand, if data transmission has already been performed at a time shifted n milliseconds before in the latest data transmission cycle, and the data transmission has failed, the data is shifted n milliseconds behind the next data transmission time. Is determined as the next data transmission time.
その他、前回のデータ送信時刻と次のデータ送信時刻とのほぼ真ん中の時刻を次のデータ送信時刻として決定してもよい。例えば、ひとつ前のデータ送信が成功であった場合、該ひとつ前のデータ送信時刻と次のデータ送信時刻とのほぼ真ん中の時刻を次のデータ送信時刻として決定する。一方、ひとつ前のデータ送信が失敗であった場合、次のデータ送信時刻とさらに次のデータ送信時刻とのほぼ真ん中の時刻を次のデータ送信時刻として決定する。なお、ここでいう“ほぼ”とは、上記真ん中の時刻からmミリ秒(m:実数)前又は後ろにずらした時刻をいう。 In addition, a time approximately in the middle between the previous data transmission time and the next data transmission time may be determined as the next data transmission time. For example, when the previous data transmission is successful, the time approximately in the middle between the previous data transmission time and the next data transmission time is determined as the next data transmission time. On the other hand, when the previous data transmission is unsuccessful, a time approximately in the middle between the next data transmission time and the next data transmission time is determined as the next data transmission time. Here, “substantially” refers to a time shifted m milliseconds (m: real number) before or after the middle time.
なお、ステップS8で決定された調整後の次のデータ送信時刻は送信状態管理データベース103に送信され、送信状態情報に追加登録される。例えば、上述したようにnミリ秒前にずらした場合は「−n」、nミリ秒後ろにずらした場合は「+n」として、ずらした時刻を送信状態情報の時刻に紐付けて保持しておく。ただし、該保存方法は一例であり、任意の保持方法を用いることができる。
The adjusted next data transmission time determined in step S8 is transmitted to the transmission
その後、上記のステップS3へ進み、送受信状態管理部102は、送信周期決定部104から周期変更なし情報を受信した場合、送信周期決定部104から受信していたデータ送信周期に基づき次データを親機10に送信する。一方、送信周期決定部104から周期変更あり情報を受信した場合には、ステップS8で決定された次のデータ送信時刻に基づいて受信していたデータ送信周期を変更し、該変更後のデータ送信周期に基づき次データを親機10に送信する。
Thereafter, the process proceeds to step S3, and when the transmission / reception
その後、親機10からの受信応答の有無に応じてステップS4またはステップS5を実行する。そして、さらに次のデータ送信要求を受け取った場合には、ステップS2以降の処理を繰り返し実行する。
Thereafter, step S4 or step S5 is executed according to the presence / absence of a reception response from
本実施の形態によれば、調整装置100において、所定のデータ送信周期で繰り返し行われたデータ送信に対する親機10からの応答の有無に基づき、該親機10に対するデータ送信の成否を送信状態情報として記憶しておき、該送信状態情報に登録されている各時刻でのデータ送信の成否に基づき、上記データ送信周期に基づいて次の時刻で行われるデータ送信の成否を判定し、該次の時刻で行われるデータ送信が成功しないと判定された場合、該次の時刻を変更することにより上記データ送信周期を調整するので、該親機10に対するデータ送信成否の送信回数を削減でき、子機30の消費電力を削減できる。
According to the present embodiment, in
なお、本実施の形態では、「データ送信周期が算出できる十分な送信状態数」の例として上記判定式が成立する場合を説明したが、それ以外の定義を用いてもよい。例えば、データ送信要求の時間間隔、すなわち送受信状態管理部102がデータ送信要求部101からデータ送信要求を受信した時刻の間隔が一定であり、かつ、送信失敗もしくは送信成功が2回以上発生した状況を含む場合としてもよい。
In the present embodiment, the case where the determination formula is satisfied is described as an example of “a sufficient number of transmission states in which the data transmission cycle can be calculated”, but other definitions may be used. For example, the time interval between data transmission requests, that is, the time interval when the transmission / reception
また、本実施の形態で説明したデータ送信周期の計算式は一例にすぎず、他の計算式を用いてもよい。さらに、本実施の形態で説明したようにデータ送信周期を上記決定処理フローの処理過程の中で算出してもよいし、該決定処理フローを開始する前に算出されたデータ送信周期を用いてもよい。 Moreover, the calculation formula of the data transmission period demonstrated in this Embodiment is only an example, You may use another calculation formula. Furthermore, as described in the present embodiment, the data transmission cycle may be calculated in the process of the determination processing flow, or the data transmission cycle calculated before starting the determination processing flow is used. Also good.
1…通信システム
10…親機
30…子機
100…調整装置
101…データ送信要求部
102…送受信状態管理部
103…送信状態管理データベース
104…送信周期決定部
S1〜S8…ステップ
DESCRIPTION OF SYMBOLS 1 ...
Claims (8)
前記親機は、複数のプロトコルを使用可能であり、前記複数のプロトコルを排他的に周期的に切り替え、切り替えたプロトコルに対応する電波を送信可能であって、
前記子機は、少なくとも一種類以上のプロトコルを使用可能であり、使用するプロトコルが前記親機で使用中のプロトコルと同じ場合に前記親機へのデータ送信が成功であって、
前記調整装置は、
前記子機により所定の時間間隔で繰り返し行われたデータ送信に対する前記親機からの応答の有無に基づき、当該親機に対するデータ送信の成否を送信状態情報として記憶手段に記憶しておく記憶ステップと、
前記送信状態情報に登録されている各時刻でのデータ送信の成否に基づき、前記所定の時間間隔に基づいて次の時刻で行われるデータ送信の成否を判定する判定ステップと、
前記次の時刻で行われるデータ送信が成功しないと判定された場合、当該次の時刻を変更することにより前記所定の時間間隔を調整する調整ステップと、
を有することを特徴とする調整方法。 In the adjustment method performed by the adjustment device that adjusts the time interval at which the slave unit transmits data to the master unit,
The base unit can use a plurality of protocols, and can periodically switch the plurality of protocols and transmit radio waves corresponding to the switched protocol,
The slave unit can use at least one type of protocol, and when the protocol to be used is the same as the protocol used by the master unit, data transmission to the master unit is successful,
The adjusting device is
A storage step of storing success or failure of data transmission to the parent device in the storage means as transmission state information based on the presence or absence of a response from the parent device with respect to data transmission repeatedly performed at predetermined time intervals by the child device; ,
A determination step of determining success or failure of data transmission performed at the next time based on the predetermined time interval based on success or failure of data transmission at each time registered in the transmission state information;
An adjustment step of adjusting the predetermined time interval by changing the next time when it is determined that the data transmission performed at the next time is not successful;
The adjustment method characterized by having.
前記次の時刻から一定時間前又は後にずらした時刻を次の時刻として決定することを特徴とする請求項1に記載の調整方法。 In the adjustment step,
The adjustment method according to claim 1, wherein a time shifted from a predetermined time before or after the next time is determined as a next time.
直前のデータ送信が成功であった場合、当該直前の時刻と前記次の時刻との中間時刻又は当該中間時刻から一定時間前若しくは後にずらした時刻を次の時刻として決定し、直前のデータ送信が失敗であった場合、前記次の時刻とさらに次の時刻との中間時刻又は当該中間時刻から一定時間前若しくは後にずらした時刻を次の時刻として決定することを特徴とする請求項1に記載の調整方法。 In the adjustment step,
If the previous data transmission was successful, the intermediate time between the previous time and the next time or the time shifted from the intermediate time by a certain time before or after is determined as the next time, and the previous data transmission is 2. The method according to claim 1, wherein if it is a failure, an intermediate time between the next time and the next time, or a time shifted from a predetermined time before or after the intermediate time is determined as the next time. Adjustment method.
直近でデータ送信が成功であった時刻と該直近の前にデータ送信が成功であった時刻との時間間隔と、直近でデータ送信が成功であった時刻と現在の時刻との時間間隔との差が所定の時間範囲内に収まる場合、前記次の時刻で行われるデータ送信は成功すると判定することを特徴とする請求項1乃至3のいずれかに記載の調整方法。 In the determination step,
The time interval between the time when the data transmission was successful most recently and the time when the data transmission was successful before the latest time, and the time interval between the time when the data transmission was successful and the current time 4. The adjustment method according to claim 1, wherein if the difference falls within a predetermined time range, it is determined that the data transmission performed at the next time is successful.
前記親機は、複数のプロトコルを使用可能であり、前記複数のプロトコルを排他的に周期的に切り替え、切り替えたプロトコルに対応する電波を送信可能であって、
前記子機は、少なくとも一種類以上のプロトコルを使用可能であり、使用するプロトコルが前記親機で使用中のプロトコルと同じ場合に前記親機へのデータ送信が成功であって、
前記調整装置は、
前記子機により所定の時間間隔で繰り返し行われたデータ送信に対する前記親機からの応答の有無に基づき、当該親機に対するデータ送信の成否を送信状態情報として記憶しておく記憶手段と、
前記送信状態情報に登録されている各時刻でのデータ送信の成否に基づき、前記所定の時間間隔に基づいて次の時刻で行われるデータ送信の成否を判定する判定手段と、
前記次の時刻で行われるデータ送信が成功しないと判定された場合、当該次の時刻を変更することにより前記所定の時間間隔を調整する調整手段と、
を有することを特徴とする調整装置。 In the adjustment device that adjusts the time interval at which the slave unit transmits data to the master unit,
The base unit can use a plurality of protocols, and can periodically switch the plurality of protocols and transmit radio waves corresponding to the switched protocol,
The slave unit can use at least one type of protocol, and when the protocol to be used is the same as the protocol used by the master unit, data transmission to the master unit is successful,
The adjusting device is
Storage means for storing success / failure of data transmission to the parent device as transmission state information based on the presence or absence of a response from the parent device to data transmission repeatedly performed by the child device at a predetermined time interval;
Based on the success or failure of data transmission at each time registered in the transmission status information, a determination means for determining the success or failure of data transmission performed at the next time based on the predetermined time interval;
When it is determined that the data transmission performed at the next time is not successful, an adjustment unit that adjusts the predetermined time interval by changing the next time;
The adjustment apparatus characterized by having.
前記次の時刻から一定時間前又は後にずらした時刻を次の時刻として決定することを特徴とする請求項5に記載の調整装置。 The adjusting means includes
The adjusting device according to claim 5, wherein a time shifted from the next time by a certain time before or after is determined as the next time.
直前のデータ送信が成功であった場合、当該直前の時刻と前記次の時刻との中間時刻又は当該中間時刻から一定時間前若しくは後にずらした時刻を次の時刻として決定し、直前のデータ送信が失敗であった場合、前記次の時刻とさらに次の時刻との中間時刻又は当該中間時刻から一定時間前若しくは後にずらした時刻を次の時刻として決定することを特徴とする請求項5に記載の調整装置。 The adjusting means includes
If the previous data transmission was successful, the intermediate time between the previous time and the next time or the time shifted from the intermediate time by a certain time before or after is determined as the next time, and the previous data transmission is 6. If it is a failure, the intermediate time between the next time and the next time, or the time shifted from the intermediate time by a certain time before or after is determined as the next time. Adjustment device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014238893A JP6251665B2 (en) | 2014-11-26 | 2014-11-26 | Adjustment method, adjustment device, and adjustment program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014238893A JP6251665B2 (en) | 2014-11-26 | 2014-11-26 | Adjustment method, adjustment device, and adjustment program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016100863A JP2016100863A (en) | 2016-05-30 |
JP6251665B2 true JP6251665B2 (en) | 2017-12-20 |
Family
ID=56078202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014238893A Active JP6251665B2 (en) | 2014-11-26 | 2014-11-26 | Adjustment method, adjustment device, and adjustment program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6251665B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6906413B2 (en) * | 2017-09-26 | 2021-07-21 | 三菱電機株式会社 | Plant equipment monitoring and control system |
JP7291391B2 (en) * | 2019-09-02 | 2023-06-15 | 株式会社四国総合研究所 | Wireless communication system and slave station control program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008167149A (en) * | 2006-12-28 | 2008-07-17 | Matsushita Electric Ind Co Ltd | Communication method and communication equipment |
JP2009224916A (en) * | 2008-03-14 | 2009-10-01 | Brother Ind Ltd | Wireless communication apparatus |
WO2012101779A1 (en) * | 2011-01-26 | 2012-08-02 | 株式会社日立製作所 | Network management system, network management server, network terminal, and network management method |
-
2014
- 2014-11-26 JP JP2014238893A patent/JP6251665B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2016100863A (en) | 2016-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230319526A1 (en) | Wireless sensor system, wireless terminal device, communication control method and communication control program | |
WO2015022845A1 (en) | Communication apparatus, communication system, communication control method, and communication control program | |
KR101554271B1 (en) | Apparatus and method for reducing current in wireless communication terminal | |
JP6661677B2 (en) | Wireless communication system, control circuit and control method | |
US10285145B2 (en) | Method for deterministic wireless transfer of time-controlled real-time messages in a distributed real-time system | |
JP2002164837A (en) | Mobile communication system and base station apparatus | |
JP6251665B2 (en) | Adjustment method, adjustment device, and adjustment program | |
JP2012249166A (en) | Communication system | |
CN107211351B (en) | Quick initial link circuit establishes discovery (FD) frame transmission | |
CN114342461A (en) | Method and communication device for transmitting data | |
JP6542908B2 (en) | Communication terminal | |
JP2009100074A5 (en) | ||
US20160227494A1 (en) | Method and apparatus to determine a transmission time of a wireless data frame | |
CA3012140A1 (en) | Systems and methods of a portable device roaming between a plurality of access point devices with which the portable device is enrolled | |
JP2015192269A (en) | wireless alarm system | |
CN113273098B (en) | Signal transmission method, related equipment and system | |
JP2014082550A (en) | Communication device, communication method, and program | |
JP4760039B2 (en) | Multi-hop wireless network, base station, wireless terminal, monitor terminal, and network monitoring / control method | |
KR20160030675A (en) | Wireless comunication terminal, wireless comunication system and wireless comunication method | |
JP2020005137A (en) | Communication system, communication terminal, and relay device | |
JPWO2018211616A1 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM | |
JP2009171228A (en) | Reference signal generator, base station system, and signal transmission method | |
JP2009260851A (en) | Base station and frame synchronization method | |
JP6658688B2 (en) | Communication module | |
JP5959316B2 (en) | Communication apparatus and communication control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170213 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20171121 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171127 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6251665 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |