JP2022086324A - Terminal, method, and program - Google Patents

Terminal, method, and program Download PDF

Info

Publication number
JP2022086324A
JP2022086324A JP2020198269A JP2020198269A JP2022086324A JP 2022086324 A JP2022086324 A JP 2022086324A JP 2020198269 A JP2020198269 A JP 2020198269A JP 2020198269 A JP2020198269 A JP 2020198269A JP 2022086324 A JP2022086324 A JP 2022086324A
Authority
JP
Japan
Prior art keywords
reception
packet
unit
period
window
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.)
Granted
Application number
JP2020198269A
Other languages
Japanese (ja)
Other versions
JP7060271B1 (en
Inventor
朗 金丸
Akira Kanamaru
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Platforms Ltd
Original Assignee
NEC Platforms Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2020198269A priority Critical patent/JP7060271B1/en
Application granted granted Critical
Publication of JP7060271B1 publication Critical patent/JP7060271B1/en
Publication of JP2022086324A publication Critical patent/JP2022086324A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

To provide a terminal, a method, and a program that can simplify the configuration of a device, and extend the life of the device while improving packet reception accuracy.SOLUTION: A slave unit (terminal) 10 includes a transmitting/receiving unit (receiving unit) 12, a reception success/failure detection unit 113, and a waiting time window setting unit 118. The transmitting/receiving unit 12 receives packets periodically transmitted from a master unit. The reception success/failure detection unit 113 detects whether packet reception was successful or failed in a window period indicating a reception waiting period. The waiting time window setting unit 118 counts whether the packet reception was successful or failed while receiving a plurality of packets and sets width of the window period in packet reception next time or after based on the number of reception successful times and the number of reception failed times.SELECTED DRAWING: Figure 1

Description

本発明は、端末、方法及びプログラムに関する。 The present invention relates to terminals, methods and programs.

IoT(Internet of Things)技術の発展を背景に、遠隔地のカメラや各種センサで取得した情報を無線端末経由で収集、活用するサービスの需要が増加する中で無線端末の電力消費を抑制し、長寿命化して効率的な運用を行う必要性が以前に増して高まっている。 With the development of IoT (Internet of Things) technology, the power consumption of wireless terminals is suppressed while the demand for services that collect and utilize information acquired by cameras and various sensors in remote areas is increasing. The need for longer life and more efficient operation is increasing more than ever before.

特許文献1には、子機は、親機から周期的に送信されるパケットを受信するための時間窓を設定して、当該時間窓以外においてはその通信機能を休止または停止させることで、端末の長寿命化を図る技術が開示されている。ここで、子機は、初回の通信時はパケットを受信するための第1の時間窓を設定する。そして、子機は、親機から受信したパケットの基準時間情報と該パケットの受信タイミングとから第1の時間窓に代えて親機のアクセス・タイミングに同期する第2の時間窓を生成する。また、子機は、第2の時間窓において受信される親機からのパケットの受信タイミングと前記第2の時間窓の生成タイミングとのずれを検出し、検出したずれ量に応じて第2の時間窓の生成タイミングを補正する。 In Patent Document 1, the slave unit sets a time window for receiving packets periodically transmitted from the master unit, and suspends or stops the communication function other than the time window, thereby causing a terminal. The technology for extending the life of the window is disclosed. Here, the slave unit sets a first time window for receiving the packet at the time of the first communication. Then, the slave unit generates a second time window synchronized with the access timing of the master unit instead of the first time window from the reference time information of the packet received from the master unit and the reception timing of the packet. Further, the slave unit detects a deviation between the reception timing of the packet received from the master unit in the second time window and the generation timing of the second time window, and the second unit according to the detected deviation amount. Correct the generation timing of the time window.

特許第4928864号公報Japanese Patent No. 4928864

特許文献1では、親機と子機の間の基準クロックのずれ(誤差)に起因する揺らぎまでを見込んだ時間窓が生成されている。そのためには、親機と子機がそれぞれ持っているクロックの精度情報から算出される理論値、もしくは前述の方法の他に別の手段を用いて得た実測値を用いる必要がある。そうすると、前者の理論値を用いる場合には、例えば個体差を考慮しなければならないためにウィンドウに含まれるマージンの値が大きくなる。また、後者の実測値を用いる場合には、新たに揺らぎの測定手段を用意する必要がある。そのために、装置の構成が複雑化するという課題があった。 In Patent Document 1, a time window that allows for fluctuations due to a deviation (error) of the reference clock between the master unit and the slave unit is generated. For that purpose, it is necessary to use the theoretical value calculated from the accuracy information of the clocks possessed by the master unit and the slave unit, or the measured value obtained by using another means in addition to the above-mentioned method. Then, when the former theoretical value is used, for example, the value of the margin included in the window becomes large because individual differences must be taken into consideration. Further, when the latter measured value is used, it is necessary to newly prepare a fluctuation measuring means. Therefore, there is a problem that the configuration of the device becomes complicated.

また、特許文献1では、クロックずれに起因する揺らぎのみを想定している。しかしながら、実際にはその他の要素によって生じる揺らぎも当然ながら存在しうる。そのため、想定されていない揺らぎによってパケットの到着タイミングが前述のウィンドウ期間外にずれ込んだ場合にはパケットを受信できない。つまり、パケットの受信精度に向上の余地があるという課題があった。 Further, in Patent Document 1, only fluctuations caused by clock deviation are assumed. However, in reality, fluctuations caused by other factors may naturally exist. Therefore, if the arrival timing of the packet is shifted outside the above-mentioned window period due to unexpected fluctuation, the packet cannot be received. That is, there is a problem that there is room for improvement in packet reception accuracy.

本開示では、そのような課題を解決することによって、装置の構成を単純化し、かつパケットの受信精度を向上しつつ装置を長寿命化できる端末、方法及びプログラムを提供すること。 The present disclosure provides terminals, methods and programs that can extend the life of the device while simplifying the configuration of the device and improving the packet reception accuracy by solving such problems.

本開示の端末は、親機から周期的に送信されたパケットを受信する受信部と、受信待機期間を示すウィンドウ期間において前記パケットの受信に成功したか失敗したかを検出する受信成否検出部と、複数の前記パケットを受信する間に、前記パケットの受信に成功したか失敗したかをカウントし、当該受信成功回数と当該受信失敗回数とに基づいて次回以降のパケットの受信におけるウィンドウ期間の幅を設定する待機時間ウィンドウ設定部と、を備える。 The terminal of the present disclosure includes a receiving unit that receives packets periodically transmitted from the master unit, and a reception success / failure detecting unit that detects whether or not the packet reception was successful or unsuccessful in the window period indicating the reception waiting period. , While receiving a plurality of the packets, the success or failure of the reception of the packet is counted, and the width of the window period in the reception of the next and subsequent packets based on the number of successful receptions and the number of failed receptions. It is equipped with a waiting time window setting unit for setting.

本開示の方法は、親機から周期的に送信されたパケットを受信することと、受信待機期間を示すウィンドウ期間において前記パケットの受信に成功したか失敗したかを検出することと、複数の前記パケットを受信する間に、前記パケットの受信に成功したか失敗したかをカウントし、当該受信成功回数と当該受信失敗回数とに基づいて次回以降のパケットの受信におけるウィンドウ期間の幅を設定することと、を含む。 The method of the present disclosure is to receive a packet periodically transmitted from the master unit, to detect whether or not the reception of the packet is successful or unsuccessful in a window period indicating a reception waiting period, and to detect a plurality of the above. While receiving a packet, count whether the packet was successfully received or failed, and set the width of the window period for receiving the next and subsequent packets based on the number of successful receptions and the number of failed receptions. And, including.

本開示のプログラムは、親機から周期的に送信されたパケットを受信する処理と、受信待機期間を示すウィンドウ期間において前記パケットの受信に成功したか失敗したかを検出する処理と、複数の前記パケットを受信する間に、前記パケットの受信に成功したか失敗したかをカウントし、当該受信成功回数と当該受信失敗回数とに基づいて次回以降のパケットの受信におけるウィンドウ期間の幅を設定する処理と、をコンピュータに実行させる。 The program of the present disclosure includes a process of receiving a packet periodically transmitted from a master unit, a process of detecting whether or not the packet has been successfully received in a window period indicating a reception waiting period, and a plurality of the above. A process that counts whether the packet was successfully received or failed while receiving the packet, and sets the width of the window period for the next and subsequent packet receptions based on the number of successful receptions and the number of failed receptions. And let the computer do it.

本開示によって、装置の構成を単純化し、かつパケットの受信精度を向上しつつ装置を長寿命化できる端末、方法及びプログラムを提供できる。 INDUSTRIAL APPLICABILITY According to the present disclosure, it is possible to provide a terminal, a method and a program capable of extending the life of the device while simplifying the configuration of the device and improving the packet reception accuracy.

第1の実施形態に係る通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the communication system which concerns on 1st Embodiment. 第1の実施形態に係る子機の動作を示すフローチャートである。It is a flowchart which shows the operation of the handset which concerns on 1st Embodiment. 第2の実施形態に係る通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the communication system which concerns on 2nd Embodiment. 第2の実施形態に係る子機の構成を示すブロック図である。It is a block diagram which shows the structure of the handset which concerns on 2nd Embodiment. 第2の実施形態に係る子機の動作を示すフローチャートである。It is a flowchart which shows the operation of the handset which concerns on 2nd Embodiment. 第2の実施形態に係る子機におけるウィンドウ期間設定の初期動作を示す図である。It is a figure which shows the initial operation of the window period setting in the handset which concerns on 2nd Embodiment. 第2の実施形態に係る子機におけるウィンドウ期間の縮小の動作を示す図である。It is a figure which shows the operation of reducing the window period in the handset which concerns on 2nd Embodiment. 第2の実施形態に係る子機におけるウィンドウ期間の拡大の動作を示す図である。It is a figure which shows the operation of expanding the window period in the handset which concerns on 2nd Embodiment. 第2の実施形態に係る子機におけるウィンドウ期間のスキップの動作を示す図である。It is a figure which shows the operation of skipping the window period in the handset which concerns on 2nd Embodiment. コンピュータのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware composition of a computer.

以下では、本開示を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。各図面において、同一要素には同一の符号が付されており、説明の明確化のため、必要に応じて重複説明は省略する。 Hereinafter, specific embodiments to which the present disclosure is applied will be described in detail with reference to the drawings. In each drawing, the same elements are designated by the same reference numerals, and duplicate explanations will be omitted as necessary for the sake of clarity of explanation.

(第1の実施形態)
まず、図1を用いて、第1の実施形態に係る通信システム1の構成を説明する。通信システム1は子機10と親機20を備える。子機10又は親機20は、例えばスマートフォン、タブレット、PC(Personal Computer)などの無線通信を実行できる無線端末又は有線通信を実行できる有線端末である。子機10は、親機20と無線通信又は有線通信し、子機10と親機20との間の通信は一定時間ごとに行われる。親機20は、子機10に対して周期的にパケットを送信する。例えば、親機20は、死活監視パケットと各種コマンドを含むパケットとのいずれかを子機10に送信し、パケットの種別に応じて子機10は処理を実行する。
(First Embodiment)
First, the configuration of the communication system 1 according to the first embodiment will be described with reference to FIG. The communication system 1 includes a slave unit 10 and a master unit 20. The slave unit 10 or the master unit 20 is, for example, a wireless terminal capable of executing wireless communication such as a smartphone, a tablet, or a PC (Personal Computer), or a wired terminal capable of executing wired communication. The slave unit 10 wirelessly or wiredly communicates with the master unit 20, and communication between the slave unit 10 and the master unit 20 is performed at regular time intervals. The master unit 20 periodically transmits a packet to the slave unit 10. For example, the master unit 20 transmits either a life-and-death monitoring packet or a packet including various commands to the slave unit 10, and the slave unit 10 executes processing according to the type of the packet.

子機10は、送受信部(受信部)12、受信成否検出部113、待機時間ウィンドウ設定部118を備える。送受信部12は、親機から周期的に送信されたパケットを受信する。受信成否検出部113は、受信待機期間を示すウィンドウ期間において前記パケットの受信に成功したか失敗したかを検出する。待機時間ウィンドウ設定部118は、複数の前記パケットを受信する間に、前記パケットの受信に成功したか失敗したかをカウントし、当該受信成功回数と当該受信失敗回数とに基づいて次回以降のパケットの受信におけるウィンドウ期間の幅を設定する。 The slave unit 10 includes a transmission / reception unit (reception unit) 12, a reception success / failure detection unit 113, and a standby time window setting unit 118. The transmission / reception unit 12 receives packets periodically transmitted from the master unit. The reception success / failure detection unit 113 detects whether the packet has been successfully received or failed in the window period indicating the reception waiting period. The waiting time window setting unit 118 counts whether the packet has been successfully received or failed while receiving the plurality of the packets, and the next and subsequent packets are based on the number of successful receptions and the number of failed receptions. Sets the width of the window period for receiving.

続いて、図2を用いて、第1の実施形態に係る子機10の動作を説明する。
まず、送受信部12は、親機から周期的に送信されたパケットを受信する(ステップS11)。受信成否検出部113は、受信待機期間を示すウィンドウ期間においてパケットの受信に成功したか失敗したかを検出する(ステップS12)。次に、待機時間ウィンドウ設定部118は、複数のパケットを受信する間に、パケットの受信に成功したか失敗したかをカウントし、当該受信成功回数と当該受信失敗回数とに基づいて次回以降のパケットの受信におけるウィンドウ期間の幅を設定する(ステップS13)。
Subsequently, the operation of the handset 10 according to the first embodiment will be described with reference to FIG.
First, the transmission / reception unit 12 receives the packets periodically transmitted from the master unit (step S11). The reception success / failure detection unit 113 detects whether the packet reception was successful or unsuccessful in the window period indicating the reception waiting period (step S12). Next, the waiting time window setting unit 118 counts whether the packet reception is successful or unsuccessful while receiving a plurality of packets, and is based on the number of successful receptions and the number of failed receptions from the next time onward. The width of the window period in receiving the packet is set (step S13).

第1の実施形態に係る子機10では、親機20が持っているクロックの情報を必要としない。したがって、親機20と子機10とがそれぞれ持っているクロックの精度情報から算出される理論値、もしくは前述の方法の他に別の手段を用いて得た実測値を用いる必要がない。そのため、親機20と子機10との個体差を考慮しなくてもよく、新たに揺らぎの測定手段を用意する必要もない。そのために、装置の構成を単純化できる。
また、子機10は、子機10はパケットの受信状況に応じてウィンドウ期間を長くしたり短くしたり変更することで、パケットの受信を継続しながら受信待機時間を最適化することができる。したがって、揺らぎによってパケットの到着タイミングが前述のウィンドウ期間外にずれ込んだ場合でも、次回のパケット受信において、受信状況に応じてウィンドウ期間にパケットの到着タイミングに収めることができる。よって、パケットの受信精度を向上できる。
したがって、装置の構成を単純化し、かつパケットの受信精度を向上しつつ装置を長寿命化できる。
The slave unit 10 according to the first embodiment does not need the clock information possessed by the master unit 20. Therefore, it is not necessary to use the theoretical value calculated from the clock accuracy information possessed by the master unit 20 and the slave unit 10, or the measured value obtained by using another means other than the above-mentioned method. Therefore, it is not necessary to consider the individual difference between the master unit 20 and the slave unit 10, and it is not necessary to newly prepare a fluctuation measuring means. Therefore, the configuration of the device can be simplified.
Further, the slave unit 10 can optimize the reception standby time while continuing to receive the packet by lengthening, shortening, or changing the window period according to the packet reception status of the slave unit 10. Therefore, even if the arrival timing of the packet is deviated from the above-mentioned window period due to the fluctuation, the packet arrival timing can be set in the window period according to the reception status in the next packet reception. Therefore, the packet reception accuracy can be improved.
Therefore, it is possible to simplify the configuration of the device and extend the life of the device while improving the packet reception accuracy.

(第2の実施形態)
続いて、図3を用いて、第2の実施形態に係る通信システム2の構成を説明する。図3に示すように、通信システム2は、子機10、親機20、管理センタ30及び中継器40を備える。
子機10は、親機20又は中継器40と無線通信又は有線通信する。子機10は、例えばカメラや各種センサを備え情報を収集する。親機20は、子機10又は中継器40と無線通信又は有線通信する。また、親機20は、管理センタ30と通信回線を介して無線通信又は有線通信する。親機20は、例えば子機10によって収集された情報を管理センタ30に送信する。また、子機10の状態を定期的に死活監視する。管理センタ30は、親機20と通信回線を介して無線通信又は有線通信する。管理センタ30は、通信システム2を管理し、例えば子機10によって収集された情報を管理する。
(Second embodiment)
Subsequently, the configuration of the communication system 2 according to the second embodiment will be described with reference to FIG. As shown in FIG. 3, the communication system 2 includes a slave unit 10, a master unit 20, a management center 30, and a repeater 40.
The slave unit 10 communicates wirelessly or by wire with the master unit 20 or the repeater 40. The slave unit 10 includes, for example, a camera and various sensors to collect information. The master unit 20 communicates wirelessly or by wire with the slave unit 10 or the repeater 40. Further, the master unit 20 communicates wirelessly or by wire with the management center 30 via a communication line. The master unit 20 transmits, for example, the information collected by the slave unit 10 to the management center 30. In addition, the state of the slave unit 10 is periodically monitored for life and death. The management center 30 communicates wirelessly or by wire with the master unit 20 via a communication line. The management center 30 manages the communication system 2, for example, the information collected by the slave unit 10.

続いて、図3を用いて、第2の実施形態に係る通信システム2の動作の概略を説明する。
図3に示すように、子機10と親機20との間の通信は一定時間ごとに行われる。例えば、親機20は、管理センタ30からの画像取得リクエストが発生した場合には各種指示コマンドを子機10へ向けて送信する。管理センタ30からの画像取得リクエストが発生しない場合には、親機20は、子機10の死活監視パケットを子機10へ向けて送信する。親機20から子機10へ向けて送信されるパケットには、各種コマンドと死活監視の2種類があり、子機10は、パケットの種別に応じて処理を実行する。
Subsequently, with reference to FIG. 3, the outline of the operation of the communication system 2 according to the second embodiment will be described.
As shown in FIG. 3, communication between the slave unit 10 and the master unit 20 is performed at regular time intervals. For example, when the image acquisition request from the management center 30 is generated, the master unit 20 transmits various instruction commands to the slave unit 10. If the image acquisition request from the management center 30 does not occur, the master unit 20 transmits the life-and-death monitoring packet of the slave unit 10 toward the slave unit 10. There are two types of packets transmitted from the master unit 20 to the slave unit 10: various commands and life-and-death monitoring, and the slave unit 10 executes processing according to the packet type.

続いて、図4を用いて、第2の実施形態に係る子機10の構成を説明する。図4に示すように、子機10は、制御部11、送受信部12、クロック供給部13及び電源部14を備える。制御部11は、パケット通信制御部111、受信時刻ずれ検出部112、受信成否検出部113、受信電界強度検出部114、受信成否比較部115、電源電圧監視部116、記憶部117、待機時間ウィンドウ設定部118及び動作モード判定部119(以下、各機能部)を備える。 Subsequently, the configuration of the slave unit 10 according to the second embodiment will be described with reference to FIG. As shown in FIG. 4, the slave unit 10 includes a control unit 11, a transmission / reception unit 12, a clock supply unit 13, and a power supply unit 14. The control unit 11 includes a packet communication control unit 111, a reception time shift detection unit 112, a reception success / failure detection unit 113, a reception electric field strength detection unit 114, a reception success / failure comparison unit 115, a power supply voltage monitoring unit 116, a storage unit 117, and a standby time window. It includes a setting unit 118 and an operation mode determination unit 119 (hereinafter, each functional unit).

送受信部12は、親機20との間の物理信号の終端を行う。送受信部12は、受信部として、親機から受信した受信パケットを端末内部の制御部11へ供給する。また、送受信部12は、送信部として、制御部11から受け取った送信パケットを親機20に対して送信する。また、送受信部12は、パケット通信制御部111の指示に従って、信号の受信待機を行う。 The transmission / reception unit 12 terminates the physical signal to and from the master unit 20. As a receiving unit, the transmitting / receiving unit 12 supplies the received packet received from the master unit to the control unit 11 inside the terminal. Further, the transmission / reception unit 12 transmits the transmission packet received from the control unit 11 to the master unit 20 as the transmission unit. Further, the transmission / reception unit 12 waits for signal reception according to the instruction of the packet communication control unit 111.

パケット通信制御部111は、送受信部12との間でやり取りするパケットのヘッダの付け外しや送受信部12への受信待機指示を実行する。また、パケット通信制御部111は、制御部11の各機能部との間でパケット通信制御に必要な情報を送受する。 The packet communication control unit 111 executes the attachment / detachment of the header of the packet exchanged with the transmission / reception unit 12 and the reception / standby instruction to the transmission / reception unit 12. Further, the packet communication control unit 111 transmits / receives information necessary for packet communication control to / from each functional unit of the control unit 11.

受信時刻ずれ検出部112は、子機10と親機20との間であらかじめ取り決めた基準時刻と、パケット通信制御部111でパケットを受信した際の受信時刻との間の時刻差分を、クロック供給部13をクロック源として端末が自前で保持している内部時刻に基づいて検出し、検出された時刻差分を待機時間ウィンドウ設定部118へ供給する。 The reception time deviation detection unit 112 clocks the time difference between the reference time previously agreed between the slave unit 10 and the master unit 20 and the reception time when the packet communication control unit 111 receives the packet. The unit 13 is used as a clock source for detection based on the internal time held by the terminal itself, and the detected time difference is supplied to the standby time window setting unit 118.

受信成否検出部113は、待機時間ウィンドウ設定部118が設定した受信期待時刻、受信待機ウィンドウ期間の情報、パケット通信制御部111からの受信通知情報及び内部時刻情報を用いて待機時間内のパケット受信の成否を検出する。受信成否検出部113は、検出結果を受信成否比較部115へ通知する。 The reception success / failure detection unit 113 uses the expected reception time set by the standby time window setting unit 118, the reception standby window period information, the reception notification information from the packet communication control unit 111, and the internal time information to receive the packet within the standby time. Detects the success or failure of. The reception success / failure detection unit 113 notifies the reception success / failure comparison unit 115 of the detection result.

受信電界強度検出部114は、パケット受信時のRSSI(Received Signal Strength Indication)フィールドに格納された電界強度情報をパケット通信制御部111から受領したヘッダ情報から抽出し、抽出された値を記憶部117へ格納する。そして、受信電界強度検出部114は、抽出された値を、記憶部117に格納された受信電界強度閾値と比較して、比較結果を受信成否比較部115へ通知する。 The received electric field strength detection unit 114 extracts the electric field strength information stored in the RSSI (Received Signal Strength Indication) field at the time of packet reception from the header information received from the packet communication control unit 111, and stores the extracted value 117. Store in. Then, the received electric field strength detecting unit 114 compares the extracted value with the received electric field strength threshold value stored in the storage unit 117, and notifies the reception success / failure comparison unit 115 of the comparison result.

受信成否比較部115は、受信成否検出部113からの通知に従って、記憶部117に格納された現在のウィンドウ期間における受信成功回数または受信失敗回数の値を更新する。受信成否比較部115は、更新後の値と記憶部117に格納された各回数の閾値とを比較して、比較結果に基づいてウィンドウ期間変更要請を待機時間ウィンドウ設定部118へ通知する。また、受信成否比較部115は、前回のウィンドウ期間におけるパケットの受信と今回のウィンドウ期間におけるパケットの受信とを連続して失敗した場合に連続受信失敗回数を更新し、更新後の値と記憶部117に格納された閾値とを比較して、比較結果に基づいて受信待機スキップ要請を待機時間ウィンドウ設定部118へ通知する。ここで、受信電界強度検出部114における比較結果に基づいて連続受信失敗回数と比較する閾値の値を変更できる。なお、受信成否比較部115の機能を後述する待機時間ウィンドウ設定部118が有していてもよい。 The reception success / failure comparison unit 115 updates the value of the reception success count or the reception failure count in the current window period stored in the storage unit 117 according to the notification from the reception success / failure detection unit 113. The reception success / failure comparison unit 115 compares the updated value with the threshold value of each number of times stored in the storage unit 117, and notifies the waiting time window setting unit 118 of the window period change request based on the comparison result. Further, the reception success / failure comparison unit 115 updates the number of consecutive reception failures when the reception of the packet in the previous window period and the reception of the packet in the current window period fail in succession, and the updated value and the storage unit. The threshold value stored in 117 is compared, and the reception standby skip request is notified to the waiting time window setting unit 118 based on the comparison result. Here, the value of the threshold value to be compared with the number of continuous reception failures can be changed based on the comparison result in the received electric field strength detecting unit 114. The waiting time window setting unit 118, which will be described later, may have the function of the reception success / failure comparison unit 115.

電源電圧監視部116は、電源部14からの通知によって子機10が内蔵する電池残量を電圧レベルによってモニタする。電源電圧監視部116は、通知された電圧の値を、記憶部117に格納された電源電圧閾値と比較して、比較結果を待機時間ウィンドウ設定部118へ通知する。
記憶部117は、受信期待時刻及びウィンドウ期間の設定に必要な各パラメータの保持や各機能部の要請に応じた値の参照、更新処理を記憶する。
The power supply voltage monitoring unit 116 monitors the remaining battery level of the slave unit 10 according to the voltage level by the notification from the power supply unit 14. The power supply voltage monitoring unit 116 compares the notified voltage value with the power supply voltage threshold value stored in the storage unit 117, and notifies the standby time window setting unit 118 of the comparison result.
The storage unit 117 stores the holding of each parameter necessary for setting the expected reception time and the window period, the reference of the value in response to the request of each functional unit, and the update process.

待機時間ウィンドウ設定部118は、受信時刻ずれ検出部112から入力された時刻差分情報に基づいて次回のパケットの受信期待時刻を算出し、受信期待時刻を含んだ次回のパケット受信待機時間であるウィンドウ期間を設定する。また、待機時間ウィンドウ設定部118は、受信成否比較部115から入力されたウィンドウ期間変更要請に従って、記憶部117を参照し、ウィンドウ期間を決定する。また、待機時間ウィンドウ設定部118は、受信成否比較部115から入力された受信待機スキップ要請に従って、次回以降のパケット受信においてウィンドウ期間の設定を所定の回数スキップする。そして、待機時間ウィンドウ設定部118は、ここまでの処理によって得られた受信期待時刻と受信待機ウィンドウ期間の情報をパケット通信制御部111へ通知する。 The waiting time window setting unit 118 calculates the expected reception time of the next packet based on the time difference information input from the reception time deviation detection unit 112, and is a window which is the next packet reception waiting time including the expected reception time. Set the period. Further, the waiting time window setting unit 118 refers to the storage unit 117 and determines the window period according to the window period change request input from the reception success / failure comparison unit 115. Further, the waiting time window setting unit 118 skips the window period setting a predetermined number of times in the next and subsequent packet receptions in accordance with the reception waiting skip request input from the reception success / failure comparison unit 115. Then, the waiting time window setting unit 118 notifies the packet communication control unit 111 of the information of the expected reception time and the reception waiting window period obtained by the processing up to this point.

動作モード判定部119は、親機20から受信したパケットの種別が死活監視パケットであるか各種コマンドを含むパケットかどうか判定する。動作モード判定部119は、親機20から死活監視パケットを受信した場合、パケット通信制御部111に通知する。パケット通信制御部111は、送受信部12にACK(ACKnowledgement:確認応答)メッセージを親機20に送信させる。そして、動作モード判定部119は、自機をスリープさせる。一方、動作モード判定部119は、親機20から各種コマンドを受信した場合、コマンドの指示に従って処理を実行し、スリープ指示が来るまでスリープしない。
クロック供給部13は、子機10のクロック源としての機能を提供する。
電源部14は、子機10の駆動に必要な電力を供給し、電池残量を電源電圧監視部116へ通知する。
The operation mode determination unit 119 determines whether the type of the packet received from the master unit 20 is a life-and-death monitoring packet or a packet including various commands. When the operation mode determination unit 119 receives the life-and-death monitoring packet from the master unit 20, the operation mode determination unit 119 notifies the packet communication control unit 111. The packet communication control unit 111 causes the transmission / reception unit 12 to transmit an ACK (ACKnowledgement) message to the master unit 20. Then, the operation mode determination unit 119 puts its own machine to sleep. On the other hand, when the operation mode determination unit 119 receives various commands from the master unit 20, the operation mode determination unit 119 executes processing according to the instruction of the command and does not sleep until the sleep instruction comes.
The clock supply unit 13 provides a function as a clock source of the slave unit 10.
The power supply unit 14 supplies the power required to drive the slave unit 10 and notifies the power supply voltage monitoring unit 116 of the remaining battery level.

続いて、図5を用いて、第2の実施形態に係る子機10の動作について説明する。詳細には、子機10が親機20からパケットを受信する時に実行する動作について説明する。
図5に示すように、まず、子機10のパケット通信制御部111は、送受信部12を介して親機20からパケットを受信する(ステップS101)。パケット通信制御部111は、パケットの受信時刻を受信時刻ずれ検出部112、受信成否検出部113に供給する。
Subsequently, the operation of the handset 10 according to the second embodiment will be described with reference to FIG. More specifically, the operation executed when the slave unit 10 receives the packet from the master unit 20 will be described.
As shown in FIG. 5, first, the packet communication control unit 111 of the slave unit 10 receives a packet from the master unit 20 via the transmission / reception unit 12 (step S101). The packet communication control unit 111 supplies the packet reception time to the reception time deviation detection unit 112 and the reception success / failure detection unit 113.

次に、受信時刻ずれ検出部112は、受信時刻のずれを検出する(ステップS102)。具体的には、受信時刻ずれ検出部112は、子機10と親機20との間であらかじめ取り決めた基準時刻とパケット通信制御部111でパケットを受信した際の受信時刻との間の時刻差分を検出する。受信時刻ずれ検出部112は、検出された時刻差分を待機時間ウィンドウ設定部118へ供給する。 Next, the reception time deviation detection unit 112 detects the reception time deviation (step S102). Specifically, the reception time deviation detection unit 112 determines the time difference between the reference time previously agreed between the slave unit 10 and the master unit 20 and the reception time when the packet communication control unit 111 receives the packet. Is detected. The reception time deviation detection unit 112 supplies the detected time difference to the standby time window setting unit 118.

次に、受信成否検出部113は、ウィンドウ期間におけるパケット受信の成否を検出する(ステップS103)。受信成否検出部113は、パケット通信制御部111からパケットを受信した際の受信時刻を取得する。受信成否検出部113は、記憶部117に格納された今回の受信待機期間であるウィンドウ期間に当該パケットの受信時刻が含まれているか否かを検出し、パケット受信の成否を検出する。受信成否検出部113は、検出結果(受信成功又は受信失敗)を受信成否比較部115へ通知する。 Next, the reception success / failure detection unit 113 detects the success / failure of packet reception during the window period (step S103). The reception success / failure detection unit 113 acquires the reception time when a packet is received from the packet communication control unit 111. The reception success / failure detection unit 113 detects whether or not the reception time of the packet is included in the window period, which is the current reception waiting period stored in the storage unit 117, and detects the success / failure of packet reception. The reception success / failure detection unit 113 notifies the reception success / failure comparison unit 115 of the detection result (reception success or reception failure).

次に、受信電界強度検出部114は、受信電界強度を取得する(ステップS104)。受信電界強度検出部114は、今回のパケット受信において取得された受信電界強度を、記憶部117に格納された受信電界強度閾値と比較して、比較結果を受信成否比較部115へ通知する。 Next, the received electric field strength detecting unit 114 acquires the received electric field strength (step S104). The received electric field strength detecting unit 114 compares the received electric field strength acquired in the current packet reception with the received electric field strength threshold value stored in the storage unit 117, and notifies the reception success / failure comparison unit 115 of the comparison result.

次に、受信成否比較部115は、パケットの受信成功回数、受信失敗回数又は連続受信失敗回数をカウントする(ステップS105)。具体的には、受信成否比較部115は、受信成否検出部113からの検出結果の通知に従って、今回のウィンドウ期間においてパケットの受信に成功した場合、記憶部117に格納された受信成功回数を更新する。また、受信成否比較部115は、パケットの受信に失敗した場合、記憶部117に格納された受信失敗回数を更新する。また、受信成否比較部115は、前回のウィンドウ期間におけるパケットの受信と今回のウィンドウ期間におけるパケットの受信とを連続して失敗した場合、記憶部117に格納された連続受信失敗回数を更新する。 Next, the reception success / failure comparison unit 115 counts the number of successful packet receptions, the number of reception failures, or the number of continuous reception failures (step S105). Specifically, the reception success / failure comparison unit 115 updates the number of successful receptions stored in the storage unit 117 when the packet is successfully received in the current window period according to the notification of the detection result from the reception success / failure detection unit 113. do. Further, when the reception success / failure comparison unit 115 fails to receive the packet, the reception failure number of times stored in the storage unit 117 is updated. Further, when the reception success / failure comparison unit 115 continuously fails to receive the packet in the previous window period and the packet reception in the current window period, the reception success / failure comparison unit 115 updates the number of continuous reception failures stored in the storage unit 117.

次に、受信成否比較部115は、パケットの受信成功回数、受信失敗回数及び連続受信失敗回数を閾値と比較する(ステップS106)。具体的には、受信成否比較部115は、更新後の受信成功回数又は受信失敗回数の値が記憶部117に格納された各回数に対応する閾値に到達した場合、ウィンドウ期間変更要請を待機時間ウィンドウ設定部118へ通知する。また、受信成否比較部115は、更新後の連続受信失敗回数の値が記憶部117に格納された閾値に到達した場合、受信待機スキップ要請を待機時間ウィンドウ設定部118へ通知する。ここで、受信成否比較部115は、前回にパケットを受信した際の受信強度より今回にパケットを受信した際の受信強度が高い場合、連続受信失敗回数と比較する閾値を減少させる。また、受信成否比較部115は、前回にパケットを受信した際の受信強度より今回にパケットを受信した際の受信強度が低い場合、連続受信失敗回数と比較する閾値を増加させる。 Next, the reception success / failure comparison unit 115 compares the number of packet reception successes, the number of reception failures, and the number of continuous reception failures with the threshold value (step S106). Specifically, when the value of the number of successful receptions or the number of failed receptions after the update reaches the threshold value corresponding to each number stored in the storage unit 117, the reception success / failure comparison unit 115 waits for the window period change request. Notify the window setting unit 118. Further, when the value of the number of continuous reception failures after the update reaches the threshold value stored in the storage unit 117, the reception success / failure comparison unit 115 notifies the waiting time window setting unit 118 of the reception standby skip request. Here, when the reception strength when the packet is received this time is higher than the reception strength when the packet was received last time, the reception success / failure comparison unit 115 reduces the threshold value to be compared with the number of continuous reception failures. Further, when the reception strength when the packet is received this time is lower than the reception strength when the packet was received last time, the reception success / failure comparison unit 115 increases the threshold value to be compared with the number of continuous reception failures.

次に、待機時間ウィンドウ設定部118は、次回のパケット受信における受信期待時刻を設定する(ステップS107)。具体的には、待機時間ウィンドウ設定部118は、受信時刻ずれ検出部112から時刻差分情報を取得する。待機時間ウィンドウ設定部118は、時刻差分情報を親機20との間で次回のパケット受信において予め設定された基準時刻に加算した時刻を次回に親機20からパケットを受信する受信期待時刻として設定する。 Next, the waiting time window setting unit 118 sets the expected reception time in the next packet reception (step S107). Specifically, the waiting time window setting unit 118 acquires the time difference information from the reception time deviation detection unit 112. The standby time window setting unit 118 sets the time obtained by adding the time difference information to the reference time preset in the next packet reception with the master unit 20 as the expected reception time for receiving the packet from the master unit 20 next time. do.

待機時間ウィンドウ設定部118は、次回のパケット受信におけるウィンドウ期間を設定する(ステップS108)。具体的には、待機時間ウィンドウ設定部118は、設定された受信期待時刻を含む次回のウィンドウ期間を設定する。ここで、待機時間ウィンドウ設定部118は、受信成否比較部115からウィンドウ期間変更要請を受けた場合、ウィンドウ期間変更要請に従って、記憶部117を参照し、次回のパケット受信におけるウィンドウ期間の幅を変更する。例えば、待機時間ウィンドウ設定部118は、受信成功回数が閾値に到達した場合、ウィンドウ期間の幅を所定の期間短くし、受信失敗回数が閾値に到達した場合、ウィンドウ期間の幅を所定の期間長くする。また、待機時間ウィンドウ設定部118は、受信成否比較部115から受信待機スキップ要請を受けた場合、受信待機スキップ要請に従って、次回以降のパケット受信においてウィンドウ期間の設定を所定の回数だけスキップする。例えば、待機時間ウィンドウ設定部118は、連続受信失敗回数が閾値に到達した場合、次回以降のパケット受信においてウィンドウ期間の設定を所定の回数だけスキップする。 The waiting time window setting unit 118 sets the window period for the next packet reception (step S108). Specifically, the waiting time window setting unit 118 sets the next window period including the set expected reception time. Here, when the waiting time window setting unit 118 receives a window period change request from the reception success / failure comparison unit 115, the waiting time window setting unit 118 refers to the storage unit 117 in accordance with the window period change request, and changes the width of the window period in the next packet reception. do. For example, the waiting time window setting unit 118 shortens the width of the window period by a predetermined period when the number of successful receptions reaches the threshold value, and increases the width of the window period by a predetermined period when the number of failed receptions reaches the threshold value. do. Further, when the waiting time window setting unit 118 receives the reception waiting skip request from the reception success / failure comparison unit 115, the waiting time window setting unit 118 skips the window period setting a predetermined number of times in the next and subsequent packet receptions in accordance with the reception waiting skip request. For example, when the number of consecutive reception failures reaches the threshold value, the waiting time window setting unit 118 skips the setting of the window period by a predetermined number of times in the next and subsequent packet receptions.

ここで、待機時間ウィンドウ設定部118における受信期待時刻及びウィンドウ期間設定の詳細な方法に関しては図6-9において後述する。 Here, the detailed method of setting the expected reception time and the window period in the standby time window setting unit 118 will be described later in FIG. 6-9.

そして、待機時間ウィンドウ設定部118は、ここまでの処理によって得られた受信期待時刻とウィンドウ期間の情報をパケット通信制御部111へ通知する。パケット通信制御部111は、当該通知に従って送受信部12への受信待機指示を実行する。この時、送受信部12は、指示された受信期待時刻とウィンドウ期間とに応じて親機20からの受信待機を実行する。 Then, the waiting time window setting unit 118 notifies the packet communication control unit 111 of the information of the expected reception time and the window period obtained by the processing up to this point. The packet communication control unit 111 executes a reception standby instruction to the transmission / reception unit 12 according to the notification. At this time, the transmission / reception unit 12 executes reception standby from the master unit 20 according to the instructed expected reception time and the window period.

次に、動作モード判定部119は、動作モードを判定する(ステップS109)。動作モード判定部119は、親機20から受信したパケットの種別が死活監視パケットであるか各種コマンドを含むパケットかどうか判定する。動作モード判定部119は、親機20から死活監視パケットを受信した場合、パケット通信制御部111に通知する。パケット通信制御部111は、送受信部12にACKメッセージを親機20に送信させる。そして、動作モード判定部119は、自機をスリープさせる。一方、動作モード判定部119は、親機20から各種コマンドを受信した場合、コマンドの指示に従って処理を実行し、スリープ指示が来るまでスリープしない。 Next, the operation mode determination unit 119 determines the operation mode (step S109). The operation mode determination unit 119 determines whether the type of the packet received from the master unit 20 is a life-and-death monitoring packet or a packet including various commands. When the operation mode determination unit 119 receives the life-and-death monitoring packet from the master unit 20, the operation mode determination unit 119 notifies the packet communication control unit 111. The packet communication control unit 111 causes the transmission / reception unit 12 to transmit an ACK message to the master unit 20. Then, the operation mode determination unit 119 puts its own machine to sleep. On the other hand, when the operation mode determination unit 119 receives various commands from the master unit 20, the operation mode determination unit 119 executes processing according to the instruction of the command and does not sleep until the sleep instruction comes.

続いて、図6-9を用いて、第2の実施形態に係る子機10における受信期待時刻及びウィンドウ期間設定の動作について詳細に説明する。子機10は、子機10と親機20との間の通信を重ねるごとに、前述のウィンドウ期間及び受信期待時刻を学習する。ここで、子機10は、親機20との通信開始から1回目のパケット受信待機では、当該学習における初期動作を行う。子機10は、2回目以降のパケット受信待機では図5に示すような処理で学習を行う。 Subsequently, the operation of setting the expected reception time and the window period in the handset 10 according to the second embodiment will be described in detail with reference to FIGS. 6-9. The slave unit 10 learns the above-mentioned window period and expected reception time each time the slave unit 10 and the master unit 20 communicate with each other. Here, the slave unit 10 performs the initial operation in the learning in the first packet reception standby from the start of communication with the master unit 20. The slave unit 10 performs learning by the process as shown in FIG. 5 in the second and subsequent packet reception standbys.

まず、図6を用いて、第2の実施形態に係る子機10におけるパケット受信待機の初期動作を説明する。
子機10に対し、親機20は例えば毎時毎分の00秒に起床してパケットを送信するよう取り決めておく。子機10も、親機20と共通の毎時毎分の00秒を基準時刻として1回目のパケット受信待機を00秒に起床して行う。子機10は、1回目のパケット受信待機の期間に対して記憶部117に格納された「デフォルト待機時間#1」を設定する。「デフォルト待機時間#1」は、チューニングによって任意の値をとることができる。子機10は、親機20からのパケットを受信できるまで「デフォルト待機時間#1」での受信待機を基準時刻に合わせて繰り返し行う。そして、子機10は、親機20からのパケットを受信した際、そのときの受信時刻に基づいて2回目の受信期待時刻を予測し、その前後に幅を設けて受信待機を行う受信待機の期間、すなわちウィンドウ期間を設定する。ここで、子機10は、2回目の受信待機の期間には「デフォルト待機時間#1」よりも短い「デフォルト待機時間#2」を設定する。
First, with reference to FIG. 6, the initial operation of the packet reception standby in the slave unit 10 according to the second embodiment will be described.
For the slave unit 10, the master unit 20 is arranged to wake up at 00 seconds per hour, for example, and transmit a packet. The slave unit 10 also wakes up at 00 seconds for the first packet reception standby with the reference time of 00 seconds per hour, which is common to that of the master unit 20. The slave unit 10 sets the “default waiting time # 1” stored in the storage unit 117 for the period of the first packet reception waiting period. The "default waiting time # 1" can be set to any value by tuning. The slave unit 10 repeatedly waits for reception in the "default standby time # 1" in accordance with the reference time until the packet from the master unit 20 can be received. Then, when the slave unit 10 receives the packet from the master unit 20, it predicts the second expected reception time based on the reception time at that time, and sets a width before and after that to perform reception standby. Set the period, that is, the window period. Here, the slave unit 10 sets a "default standby time # 2" shorter than the "default standby time # 1" in the second reception standby period.

記憶部117は、前述の1回目のパケット受信待機で設定する「デフォルト待機時間#1」、2回目のパケット受信待機で設定する「デフォルト待機時間#2」を予め記憶している。また、記憶部117は、チューニングにより所望の値を固定値で持たせることのできるパラメータとして、3回目以降のパケット受信待機で設定する「待機時間ウィンドウ期間の変更幅」、「待機時間ウィンドウ期間の最大値」、「待機時間ウィンドウ期間の最小値」、「受信成功回数閾値」、「受信失敗回数閾値」、「電源電圧閾値」、「受信電界強度閾値」、「連続受信失敗回数閾値#1」、「連続受信失敗回数閾値#2」、「受信待機見合わせ回数」を予め記憶している。また、記憶部117は、パケットを受信するたびに担当機能部によって更新されるパラメータとして、「前回受信時の受信電界強度」、パケットの受信有無によらず定期的に更新されるパラメータとして、「直近の基準時刻での電源電圧」、「設定したウィンドウ期間での受信成功回数」、「設定したウィンドウ期間での受信失敗回数」、「連続受信失敗回数」を予め記憶している。各パラメータの使用方法については後述する。 The storage unit 117 stores in advance the "default waiting time # 1" set in the above-mentioned first packet reception standby and the "default waiting time # 2" set in the second packet reception standby. Further, the storage unit 117 sets the "waiting time window period change width" and "waiting time window period change width" set in the third and subsequent packet reception waits as parameters that can have a desired value as a fixed value by tuning. "Maximum value", "Minimum value of standby time window period", "Reception success count threshold", "Reception failure count threshold", "Power supply voltage threshold", "Received electric field strength threshold", "Continuous reception failure count threshold # 1" , "Continuous reception failure count threshold # 2" and "Reception standby postponement count" are stored in advance. Further, the storage unit 117 has "received electric field strength at the time of the previous reception" as a parameter updated by the function unit in charge each time a packet is received, and "a parameter updated periodically regardless of whether or not the packet has been received". The power supply voltage at the latest reference time, the number of successful receptions in the set window period, the number of reception failures in the set window period, and the number of continuous reception failures are stored in advance. The usage of each parameter will be described later.

図6に示すように、子機10の待機時間ウィンドウ設定部118は、1回目の起床時には記憶部117に格納された前述の「デフォルト待機時間#1」を1回目のパケット受信待機における受信待機期間、すなわちウィンドウ期間W11として設定する。以後、パケット通信制御部111は、1回目のパケットを受信するまで毎時毎分の00秒に起床して「デフォルト待機時間#1」の期間だけにおいてパケットの受信待機を行う。そして、パケット通信制御部111は、子機10がパケットを受信しないまま「デフォルト待機時間#1」が終了した場合にはスリープし、次の00秒に再度起床し、「デフォルト待機時間#1」だけパケットの受信待機を実行するという動作を繰り返す。 As shown in FIG. 6, the standby time window setting unit 118 of the slave unit 10 waits for the above-mentioned "default standby time # 1" stored in the storage unit 117 at the time of the first wake-up in the first packet reception standby. It is set as a period, that is, a window period W11. After that, the packet communication control unit 111 wakes up at 00 seconds per hour until the first packet is received, and waits for packet reception only during the "default waiting time # 1" period. Then, the packet communication control unit 111 sleeps when the "default waiting time # 1" ends without the slave unit 10 receiving the packet, wakes up again at the next 00 seconds, and "default waiting time # 1". The operation of waiting for packet reception is repeated.

パケット通信制御部111は、「デフォルト待機時間#1」の受信待機期間中にパケットを親機20から受信した場合には、内部時刻情報に基づく受信時刻の値を受信時刻ずれ検出部112に通知する。受信時刻ずれ検出部112は、基準時刻(00秒)と受信時刻との時刻差分を検出する。図6において子機10が親機20から受信するパケットをPとし、パケット受信時刻を一点鎖線で示す。具体的には、図6に示すように、受信時刻ずれ検出部112は、毎時毎分の基準時刻であるxx:yy+1:00に対して1回目のパケット受信時刻がxx:yy+1:aaだった場合、基準時刻と受信時刻との時刻差分を00:00:aaとする。そして、受信時刻ずれ検出部112は、時刻差分の値を待機時間ウィンドウ設定部118へ通知する。 When the packet communication control unit 111 receives a packet from the master unit 20 during the reception standby period of the “default standby time # 1”, the packet communication control unit 111 notifies the reception time deviation detection unit 112 of the reception time value based on the internal time information. do. The reception time deviation detection unit 112 detects the time difference between the reference time (00 seconds) and the reception time. In FIG. 6, the packet received by the slave unit 10 from the master unit 20 is defined as P, and the packet reception time is indicated by a dashed line. Specifically, as shown in FIG. 6, the reception time shift detection unit 112 has the first packet reception time of xx: yy + 1: aa with respect to the reference time of every hour and minute of xx: yy + 1: 00. In this case, the time difference between the reference time and the reception time is set to 00:00: aa. Then, the reception time deviation detection unit 112 notifies the waiting time window setting unit 118 of the value of the time difference.

次に、待機時間ウィンドウ設定部118は、2回目のパケット受信待機における基準時刻のxx:yy+2:00に時刻差分の値00:00:aaを足し合わせた時刻xx:yy+2:00+aaを2回目のパケット受信における受信期待時刻とする。そして、待機時間ウィンドウ設定部118は、受信期待時刻の前後に「デフォルト待機時間#2」だけ幅を設けて2回目の受信待機期間を設定する。ここで、「デフォルト待機時間#2」の値をαとすると、図6に示すように、時刻xx:yy+2:aa-αからxx:yy+2:aa+αの間(xx:yy+2:aa±α)に2回目の受信待機を行うことになる。ここで、当該2回目の受信待機を行う期間をウィンドウ期間W12とする。ただし、当該ウィンドウ期間W12は、期間内にパケットを受信しなかった場合の最大待ち受け時間である。 Next, the waiting time window setting unit 118 sets the time xx: yy + 2:00 + aa, which is the sum of the reference time xx: yy + 2:00 and the time difference value 00:00: aa in the second packet reception standby, for the second time. The expected reception time for packet reception. Then, the waiting time window setting unit 118 sets the second reception waiting period by providing a width by "default waiting time # 2" before and after the expected reception time. Here, assuming that the value of the "default waiting time # 2" is α, as shown in FIG. 6, between the time xx: yy + 2: aa−α and xx: yy + 2: aa + α (xx: yy + 2: aa ± α). The second reception standby will be performed. Here, the period during which the second reception standby is performed is defined as the window period W12. However, the window period W12 is the maximum standby time when a packet is not received within the period.

子機10は、期間中にパケットを受信した場合、パケットの種別やパケットに含まれるコマンドに従った処理を行った後、スリープ状態へ移行する。そのため、子機10は、パケットを受信した場合、当該受信待機期間を超えて動作を継続したり、逆に、期間の終了を待たずにスリープ状態へ移行したりすることがある。ただし、子機10は、動作を継続するのは親機20との通信のために必要な場合のみであり、死活監視の場合には受信後、ACKメッセージを親機20に送信して即座にスリープ状態へ移行するため、電力消費は必要最小限に抑えられる。 When the slave unit 10 receives a packet during the period, the slave unit 10 performs processing according to the packet type and the command included in the packet, and then shifts to the sleep state. Therefore, when the slave unit 10 receives a packet, the slave unit 10 may continue the operation beyond the reception standby period, or conversely, may shift to the sleep state without waiting for the end of the period. However, the slave unit 10 continues to operate only when it is necessary for communication with the master unit 20, and in the case of alive monitoring, after receiving the slave unit 10, an ACK message is transmitted to the master unit 20 immediately. Power consumption is kept to the minimum necessary because it goes to sleep.

続いて、図7-9を用いて、第2の実施形態に係る子機10におけるパケット受信待機の学習動作を説明する。
2回目以降の受信待機では、受信成否検出部113は、現在設定している受信待機時間のウィンドウについて設定期間内にパケットを受信できたかどうかを受信待機のたびに検出する。そして、受信成否検出部113は、判定結果を受信成否比較部115に通知する。パケットを受信できた場合、受信成否比較部115は、記憶部117に記憶されたパラメータ「設定したウィンドウ期間での受信成功回数」を参照し、「設定したウィンドウ期間での受信成功回数」の値に1を加えて更新する。一方、パケットを受信できなかった場合、受信成否比較部115は、記憶部117に記憶されたパラメータ「設定したウィンドウ期間での受信失敗回数」を参照し、「設定したウィンドウ期間での受信失敗回数」の値に1を加えて更新する。そして、受信成否比較部115は、更新後の「設定したウィンドウ期間での受信成功回数」の値と記憶部117に記憶された固定パラメータ「受信成功回数閾値」とを比較する。また、受信成否比較部115は、更新後の「設定したウィンドウ期間での受信失敗回数」の値と記憶部117に記憶された固定パラメータ「受信失敗回数閾値」の値とを比較する。
Subsequently, the learning operation of the packet reception standby in the slave unit 10 according to the second embodiment will be described with reference to FIGS. 7-9.
In the second and subsequent reception standbys, the reception success / failure detection unit 113 detects whether or not a packet can be received within the set period for the window of the reception standby time currently set for each reception standby. Then, the reception success / failure detection unit 113 notifies the reception success / failure comparison unit 115 of the determination result. When the packet can be received, the reception success / failure comparison unit 115 refers to the parameter "number of successful receptions in the set window period" stored in the storage unit 117, and the value of "number of successful receptions in the set window period". Add 1 to update. On the other hand, when the packet cannot be received, the reception success / failure comparison unit 115 refers to the parameter "number of reception failures in the set window period" stored in the storage unit 117, and "the number of reception failures in the set window period". 1 is added to the value of "" to update. Then, the reception success / failure comparison unit 115 compares the value of the updated “reception success count in the set window period” with the fixed parameter “reception success count threshold” stored in the storage unit 117. Further, the reception success / failure comparison unit 115 compares the value of the updated “number of reception failures in the set window period” with the value of the fixed parameter “reception failure number threshold” stored in the storage unit 117.

比較の結果、「設定したウィンドウ期間での受信成功回数」の値が「受信成功回数閾値」の値よりも小さい、または、「設定したウィンドウ期間での受信失敗回数」の値が「受信失敗回数閾値」の値よりも小さい場合、受信成否比較部115は、そのまま処理を終了し、次回の起床時にまた同様の処理を行う。 As a result of the comparison, the value of "Reception success count in the set window period" is smaller than the value of "Reception success count threshold", or the value of "Reception failure count in the set window period" is "Reception failure count". If it is smaller than the value of "threshold value", the reception success / failure comparison unit 115 ends the process as it is, and performs the same process again at the next wake-up time.

比較の結果、「設定したウィンドウ期間での受信成功回数」の値が「受信成功回数閾値」の値と等しい、または、「設定したウィンドウ期間での受信失敗回数」の値が「受信失敗回数閾値」の値と等しい場合、受信成否比較部115は、ウィンドウ期間変更要請を待機時間ウィンドウ設定部118に通知する。待機時間ウィンドウ設定部118は、ウィンドウ期間変更要請に従って、次回の起床時に設定する受信待機期間のウィンドウ期間を変更する。具体的には、「設定したウィンドウ期間での受信成功回数」の値が「受信成功回数閾値」の値と等しい場合、子機10は、後述する図7のように、ウィンドウ期間を縮小する。「設定したウィンドウ期間での受信失敗回数」の値が「受信失敗回数閾値」の値と等しい場合、後述する図8のように、子機10はウィンドウ期間を拡大する。このときの各ウィンドウ期間の変更における刻み幅は前述の固定パラメータ「待機時間ウィンドウ期間の変更幅」によって決められる。また、ウィンドウ期間の上限値は「待機時間ウィンドウ期間の最大値」、下限値は「待機時間ウィンドウ期間の最小値」によって定められる。そして、ウィンドウ期間がこれらの値に達した場合にはこれ以上長くしたり短くしたりすることはできないものとする。つまり、変更条件が満たされた場合であっても値が維持できる。 As a result of the comparison, the value of "Reception success count in the set window period" is equal to the value of "Reception success count threshold", or the value of "Reception failure count in the set window period" is "Reception failure count threshold". When the value is equal to the value of "", the reception success / failure comparison unit 115 notifies the waiting time window setting unit 118 of the window period change request. The waiting time window setting unit 118 changes the window period of the reception waiting period set at the next wake-up according to the window period change request. Specifically, when the value of "the number of successful receptions in the set window period" is equal to the value of the "threshold value of the number of successful receptions", the slave unit 10 reduces the window period as shown in FIG. 7, which will be described later. When the value of "the number of reception failures in the set window period" is equal to the value of the "reception failure number threshold", the slave unit 10 extends the window period as shown in FIG. 8 to be described later. The step size for changing each window period at this time is determined by the above-mentioned fixed parameter "waiting time window period change width". The upper limit of the window period is determined by the "maximum value of the waiting time window period", and the lower limit value is determined by the "minimum value of the waiting time window period". Then, when the window period reaches these values, it cannot be made longer or shorter. That is, the value can be maintained even when the change condition is satisfied.

続いて、図7を用いて、第2の実施形態に係る子機10におけるウィンドウ期間を縮小するための学習動作の詳細を説明する。
図7に示すように、親機20からパケットを受信できた場合、子機10の受信成否比較部115は、記憶部117の「設定したウィンドウ期間での受信成功回数」の値に1を加えて更新する。図7に示すように、子機10は、N-2回目のパケット受信、N-1回目のパケット受信及びN回目のパケット受信に成功する。そして、N回目のパケット受信において、「設定したウィンドウ期間での受信成功回数」の値が「受信成功回数閾値」の値と等しくなる。その場合、受信成否比較部115は、当該結果を待機時間ウィンドウ設定部118に通知する。待機時間ウィンドウ設定部118は、通知された結果に従って、N+1回目のパケット受信におけるパケットの受信待機期間にウィンドウ期間W21を縮小したウィンドウ期間W22を設定する。具体的には、待機時間ウィンドウ設定部118は、N回目のパケット受信において、受信待機期間を時刻xx:yy+2:aa-αからxx:yy+2:aa+αの間(xx:yy+2:aa±α)に設定している。そして、ウィンドウ期間W21がウィンドウ期間W22に縮小されることによって、待機時間ウィンドウ設定部118は、N+1回目のパケット受信において、受信待機期間を時刻xx:yy+3:aa-(α-β)からxx:yy+3:aa+(α-β)の間(xx:yy+3:aa±(α-β))に設定する。βは、記憶部117に記憶される固定パラメータ「待機時間ウィンドウ期間の変更幅」であり、0以上の整数で表される。
Subsequently, with reference to FIG. 7, the details of the learning operation for reducing the window period in the slave unit 10 according to the second embodiment will be described.
As shown in FIG. 7, when the packet can be received from the master unit 20, the reception success / failure comparison unit 115 of the slave unit 10 adds 1 to the value of the “number of successful receptions in the set window period” of the storage unit 117. And update. As shown in FIG. 7, the slave unit 10 succeeds in receiving the N-2th packet, the N-1th packet, and the Nth packet. Then, in the Nth packet reception, the value of "the number of successful receptions in the set window period" becomes equal to the value of the "threshold value of the number of successful receptions". In that case, the reception success / failure comparison unit 115 notifies the waiting time window setting unit 118 of the result. The waiting time window setting unit 118 sets the window period W22, which is a reduction of the window period W21, in the packet reception waiting period in the N + 1th packet reception according to the notified result. Specifically, the waiting time window setting unit 118 sets the reception waiting period between the times xx: yy + 2: aa−α and xx: yy + 2: aa + α (xx: yy + 2: aa ± α) in the Nth packet reception. It is set. Then, by reducing the window period W21 to the window period W22, the waiting time window setting unit 118 sets the reception waiting period from the time xx: yy + 3: aa- (α-β) to xx: in the N + 1th packet reception. It is set between yy + 3: aa + (α-β) (xx: yy + 3: aa ± (α-β)). β is a fixed parameter “change width of the waiting time window period” stored in the storage unit 117, and is represented by an integer of 0 or more.

続いて、図8を用いて、第2の実施形態に係る子機10におけるウィンドウ期間を拡大するための学習動作の詳細を説明する。
親機20からパケットを受信できなかった場合、子機10の受信成否比較部115は、記憶部117の「設定したウィンドウ期間での受信失敗回数」の値に1を加えて更新する。図8に示すように、子機10は、M-2回目のパケット受信、M-1回目のパケット受信及びM回目のパケット受信に失敗する。そして、M回目のパケット受信において、「設定したウィンドウ期間での受信失敗回数」の値が「受信失敗回数閾値」の値と等しくなる。その場合、受信成否比較部115は、当該結果を待機時間ウィンドウ設定部118に通知する。待機時間ウィンドウ設定部118は、通知された結果に従って、M+1回目のパケット受信におけるパケットの受信待機期間にウィンドウ期間W31を拡大したウィンドウ期間W32を設定する。具体的には、待機時間ウィンドウ設定部118は、M回目のパケット受信において、受信待機期間を時刻xx:yy+2:aa-αからxx:yy+2:aa+αの間(xx:yy+2:aa±α)に設定している。そして、ウィンドウ期間W31がウィンドウ期間W32に拡大されることによって、待機時間ウィンドウ設定部118は、M+1回目のパケット受信において、受信待機期間を時刻xx:yy+3:aa-(α+β)からxx:yy+3:aa+(α+β)の間(xx:yy+3:aa±(α+β))に設定する。βは、記憶部117に記憶される固定パラメータ「待機時間ウィンドウ期間の変更幅」であり、0以上の整数で表される。
Subsequently, with reference to FIG. 8, the details of the learning operation for expanding the window period in the handset 10 according to the second embodiment will be described.
When the packet cannot be received from the master unit 20, the reception success / failure comparison unit 115 of the slave unit 10 adds 1 to the value of the "number of reception failures in the set window period" of the storage unit 117 to update. As shown in FIG. 8, the slave unit 10 fails to receive the M-2nd packet, the M-1st packet, and the Mth packet. Then, in the Mth packet reception, the value of "the number of reception failures in the set window period" becomes equal to the value of the "reception failure number threshold". In that case, the reception success / failure comparison unit 115 notifies the waiting time window setting unit 118 of the result. The waiting time window setting unit 118 sets the window period W32, which is an extension of the window period W31, to the packet reception waiting period in the M + 1th packet reception according to the notified result. Specifically, the waiting time window setting unit 118 sets the reception waiting period between the times xx: yy + 2: aa−α and xx: yy + 2: aa + α (xx: yy + 2: aa ± α) in the Mth packet reception. It is set. Then, by expanding the window period W31 to the window period W32, the waiting time window setting unit 118 sets the reception waiting period from the time xx: yy + 3: aa− (α + β) to xx: yy + 3: in the M + 1th packet reception. It is set between aa + (α + β) (xx: yy + 3: aa ± (α + β)). β is a fixed parameter “change width of the waiting time window period” stored in the storage unit 117, and is represented by an integer of 0 or more.

その後、子機10は、M+1回目のパケット受信に成功する。子機10の受信時刻ずれ検出部112は、毎時毎分の基準時刻であるxx:yy+3:00に対してM+1回目のパケット受信時刻がxx:yy+3:bbだった場合、基準時刻と受信時刻との時刻差分を00:00:bbとする。待機時間ウィンドウ設定部118は、M+2回目のパケット受信待機における基準時刻のxx:yy+4:00に時刻差分の値00:00:bbを足し合わせた時刻xx:yy+4:00+bbをM+2回目のパケットの受信期待時刻とする。そして、待機時間ウィンドウ設定部118は、受信期待時刻の前後にα+βだけ幅を設けてM+2回目の受信待機期間を設定する。そうすると、子機10は、時刻xx:yy+4:bb-(α+β)からxx:yy+2:bb+(α+β)の間(xx:yy+2:bb±(α+β))にM+2回目の受信待機を行うことになる。 After that, the slave unit 10 succeeds in receiving the M + 1th packet. The reception time deviation detection unit 112 of the slave unit 10 determines the reference time and the reception time when the M + 1th packet reception time is xx: yy + 3: bb with respect to the reference time of every hour and minute xx: yy + 3:00. The time difference of is 00:00:bb. The waiting time window setting unit 118 receives the M + second packet at the time xx: yy + 4:00 + bb, which is the sum of the reference time xx: yy + 4:00 and the time difference value 00:00:bb in the M + second packet reception standby. Set as the expected time. Then, the waiting time window setting unit 118 sets a width of α + β before and after the expected reception time to set the M + second reception waiting period. Then, the slave unit 10 will perform M + second reception standby between the time xx: yy + 4: bb- (α + β) and xx: yy + 2: bb + (α + β) (xx: yy + 2: bb ± (α + β)). ..

したがって、子機10はパケットの受信状況に応じて受信待機時間を長くしたり短くしたりすることでパケットの受信を継続しながら受信待機時間を最適化することができる。 Therefore, the slave unit 10 can optimize the reception standby time while continuing to receive the packet by lengthening or shortening the reception standby time according to the packet reception status.

続いて、図9を用いて、第2の実施形態に係る子機10における受信待機をスキップするための学習動作を説明する。
子機10は、1回目の起床後、前述の処理で動作するが、例えば日照条件の悪化や遮蔽物の飛来等に起因してソーラーパネルを使った電池の充電ができなくなる場合があり、このような場合には子機10における前述の処理を適切に行ったとしても時間が経つにつれて電池残量が低下していき、システムの可用性が損なわれることになる。特に電波状況の悪化で安定した通信が見込めなくなったときには受信の失敗回数が増え、待機時間のウィンドウが「待機時間ウィンドウ期間の最大値」に達した状態で長時間運用されることになる恐れがある。
Subsequently, with reference to FIG. 9, the learning operation for skipping the reception standby in the slave unit 10 according to the second embodiment will be described.
After waking up for the first time, the slave unit 10 operates by the above-mentioned processing, but the battery may not be charged using the solar panel due to deterioration of sunshine conditions, flying of a shield, or the like. In such a case, even if the above-mentioned processing in the slave unit 10 is properly performed, the remaining battery level will decrease over time, and the availability of the system will be impaired. In particular, when stable communication cannot be expected due to deterioration of radio wave conditions, the number of reception failures increases, and there is a risk that the standby time window will be operated for a long time when it reaches the "maximum value of the standby time window period". be.

長時間パケットの未受信が続いた場合に前述のような事態を回避するため、受信成否比較部115は、現在設定しているウィンドウ期間ごとの「受信失敗回数閾値」とは別に、初回の受信失敗からの連続受信失敗回数をカウントする。ここで、受信成否比較部115は、学習動作によって更新されていく個々のウィンドウ期間の設定範囲を超えて継続してカウントする。具体的には、図9に示すように、期間T1では、受信成否比較部115は、ウィンドウ期間W41において連続受信失敗回数をカウントする。期間T2は、受信成否比較部115は、ウィンドウ期間W42において連続受信失敗回数をカウントする。ここで、ウィンドウ期間W42は、ウィンドウ期間W41において「設定したウィンドウ期間での受信失敗回数」が「受信失敗回数閾値」に到達したため、ウィンドウ期間W41よりウィンドウ期間が拡大されている。期間T3では、受信成否比較部115は、ウィンドウ期間W41及びウィンドウ期間W42における連続受信失敗回数をウィンドウ期間の設定範囲を超えてカウントする。 In order to avoid the above-mentioned situation when the packet has not been received for a long time, the reception success / failure comparison unit 115 receives the first time in addition to the "reception failure number threshold" for each window period currently set. Count the number of consecutive reception failures from failure. Here, the reception success / failure comparison unit 115 continuously counts beyond the set range of each window period updated by the learning operation. Specifically, as shown in FIG. 9, in the period T1, the reception success / failure comparison unit 115 counts the number of consecutive reception failures in the window period W41. In the period T2, the reception success / failure comparison unit 115 counts the number of continuous reception failures in the window period W42. Here, in the window period W42, the window period is expanded from the window period W41 because the “reception failure number in the set window period” reaches the “reception failure number threshold” in the window period W41. In the period T3, the reception success / failure comparison unit 115 counts the number of continuous reception failures in the window period W41 and the window period W42 beyond the set range of the window period.

そして、受信成否比較部115は、連続受信失敗回数が「連続受信失敗回数閾値」に達したら受信待機スキップ要請を待機時間ウィンドウ設定部118へ通知する。待機時間ウィンドウ設定部118は、次回以降の受信待機を「受信待機見合わせ回数」だけスキップする。スキップ後に再度基準時刻aa:bb:00から「デフォルト待機時間#1」で受信待機(復旧待ち受け)を行うという動作を、再びパケットを受信するまで繰り返す。 Then, the reception success / failure comparison unit 115 notifies the waiting time window setting unit 118 of the reception standby skip request when the number of continuous reception failures reaches the “continuous reception failure number threshold”. The waiting time window setting unit 118 skips the reception waiting from the next time onward by the "number of times of waiting for reception". After skipping, the operation of performing reception standby (recovery standby) again from the reference time aa: bb: 00 at the "default standby time # 1" is repeated until the packet is received again.

このとき、前回受信時の電波状況は良好であったにもかかわらず突然パケットが来なくなった場合と、もともと電波状況は悪かったがとうとうパケットが来なくなった場合の2パターンが考えられる。前者の場合は比較的早期にタイミングずれではなく何らかの理由でパケットが来なくなっていることがわかるが、後者の場合には完全にパケットが来なくなったとみなせるかどうかはしばらく様子を見なければ判断が難しい。 At this time, there are two possible patterns: a case where the packet does not come suddenly even though the radio wave condition at the time of the previous reception was good, and a case where the packet finally stops coming even though the radio wave condition was originally bad. In the former case, it can be seen that packets are not coming at a relatively early stage rather than timing lag, but in the latter case, it can be judged whether it can be considered that packets are completely stopped without waiting for a while. difficult.

そこで、前述の「連続受信失敗回数閾値」を、前回の受信電界強度の値によって切り替える。具体的には、受信成否比較部115が受信失敗のカウントを開始した後、受信電界強度検出部114は、記憶部117に格納されている「前回受信時の受信電界強度」の値を参照し、これを同じく記憶部117に格納されている「受信電界強度閾値」を比較して、比較結果を受信成否比較部115へ通知する。受信成否比較部115は、受信電界強度が閾値を上回っていた場合には「連続受信失敗回数閾値#1」を、下回っていた場合には「連続受信失敗回数閾値#2」を、前述の連続受信失敗回数の閾値として適用する。ここで「連続受信失敗回数閾値#1」を小さく、「連続受信失敗回数閾値#2」を大きく設定しておけば、前述の2パターンのそれぞれについてパケットが完全に来なくなった場合を見極め、その後の復旧待ち受け動作へと適切に移行することができる。 Therefore, the above-mentioned "threshold value for the number of continuous reception failures" is switched according to the value of the previous received electric field strength. Specifically, after the reception success / failure comparison unit 115 starts counting reception failures, the reception electric field strength detection unit 114 refers to the value of "reception electric field strength at the time of previous reception" stored in the storage unit 117. , This is also compared with the "received electric field strength threshold" stored in the storage unit 117, and the comparison result is notified to the reception success / failure comparison unit 115. When the reception electric field strength exceeds the threshold value, the reception success / failure comparison unit 115 sets the “continuous reception failure count threshold # 1”, and when the reception electric field strength falls below the threshold value, the “continuous reception failure count threshold # 2” is set. It is applied as a threshold for the number of reception failures. Here, if the "continuous reception failure count threshold # 1" is set small and the "continuous reception failure count threshold # 2" is set large, it is possible to determine the case where packets do not come completely for each of the above two patterns, and then. It is possible to properly shift to the recovery standby operation of.

また、復旧待ち受けの合間に受信待機をスキップする回数は「受信待機見合わせ回数」としてあらかじめ記憶部117が格納している。そして、待機時間ウィンドウ設定部118は、受信成否比較部115から連続受信失敗回数が閾値に達した旨の通知を受けた後、この値を参照して次回以降の受信待機をスキップ、復旧待ち受けの指示をパケット通信制御部111に対して出力する。 Further, the number of times the reception standby is skipped between the recovery standbys is stored in advance in the storage unit 117 as the "reception standby suspension number". Then, after receiving the notification from the reception success / failure comparison unit 115 that the number of continuous reception failures has reached the threshold value, the standby time window setting unit 118 skips the reception standby from the next time onward with reference to this value, and waits for recovery. The instruction is output to the packet communication control unit 111.

この処理によって、子機10は、パケットの未受信が継続した場合であっても際限なくウィンドウ期間を広げ続けることはなく、定められた数の受信失敗を契機に受信待機の頻度を下げ、電力消費を抑えながらも基準時刻と初回ウィンドウを使って定期的に受信の復旧を待ち受けることができる。 By this process, the slave unit 10 does not continue to extend the window period endlessly even if the packet has not been received continuously, and the frequency of reception standby is reduced when a predetermined number of reception failures occur, and the power consumption is reduced. You can use the reference time and the first window to wait for reception to be restored on a regular basis while reducing consumption.

また、子機10は電池残量を通知する電源電圧を定期的に監視して、あらかじめ設定した閾値との間の大小に応じて動作を切り替えてもよい。例えば、電源電圧監視部116は各基準時刻での電源電圧の値をチェックし、これが記憶部117に格納された「電源電圧閾値」を下回った場合にはその情報を待機時間ウィンドウ設定部118へ通知する。そして、待機時間ウィンドウ設定部118は、ウィンドウの学習動作を低消費電力化に特化したモードへと切り替えるようにしてもよい。子機10は、このモードへ移行した場合には例えばウィンドウ最適化のための学習動作のうち、受信失敗回数が閾値を超えた場合のウィンドウ拡大処理のみを停止して電源電圧の監視を継続する。そして、子機10は、電源電圧値が閾値を上回った場合には学習動作を再び変更前のモードに戻すようにする。そうすることによって、子機10は、自身の電池残量が低下してきた場合に、可能な限りパケットを受信しつつ学習動作に伴う電力消費を抑制することができる。 Further, the slave unit 10 may periodically monitor the power supply voltage for notifying the remaining battery level and switch the operation according to the magnitude between the threshold value and the preset threshold value. For example, the power supply voltage monitoring unit 116 checks the value of the power supply voltage at each reference time, and if this falls below the "power supply voltage threshold value" stored in the storage unit 117, the information is sent to the standby time window setting unit 118. Notice. Then, the standby time window setting unit 118 may switch the learning operation of the window to a mode specialized for low power consumption. When the slave unit 10 shifts to this mode, for example, among the learning operations for window optimization, only the window enlargement processing when the number of reception failures exceeds the threshold value is stopped and the monitoring of the power supply voltage is continued. .. Then, when the power supply voltage value exceeds the threshold value, the slave unit 10 returns the learning operation to the mode before the change again. By doing so, the slave unit 10 can suppress power consumption associated with the learning operation while receiving packets as much as possible when the remaining battery level of the slave unit 10 is low.

したがって、第2の実施形態に係る通信システム2では、第1の実施形態に係る通信システム1に係る効果に加え、次の効果を奏する。
短く設定したウィンドウの期間内にパケットを受信できなかった場合について特許文献1では言及されていないが、このような状況に陥った場合にはパケットを再び受信できる範囲までウィンドウの期間を広げるしかない。パケットの未受信が受信タイミングのウィンドウ期間外へのずれに起因したものであればこの対処方法で救済できるが、例えば無線通信における電波強度の低下でパケットが不着となっている場合にはウィンドウの期間を広げても電波状況が改善されるまでパケットは受信できず、それどころかパケットの未受信が続いた場合はウィンドウの期間を広げる処理が繰り返され、最終的には初回通信時と同様、もしくはそれ以上の不要な電力消費が継続して発生してしまう課題があった。
通信システム2では、子機10が万が一パケットを親機20から受信できなくなった場合には直近の受信電界強度情報に基づいてこれを判定し、起床頻度を下げて電力消費を抑制することで長時間の復旧待ち受けを行える。
Therefore, the communication system 2 according to the second embodiment has the following effects in addition to the effects according to the communication system 1 according to the first embodiment.
Patent Document 1 does not mention the case where the packet cannot be received within the short window period, but in such a situation, the window period must be extended to the extent that the packet can be received again. .. If the unreceived packet is caused by the deviation of the reception timing outside the window period, this countermeasure can be used. However, for example, if the packet is not delivered due to a decrease in the signal strength in wireless communication, the window is displayed. Even if the period is extended, the packet cannot be received until the radio wave condition is improved. On the contrary, if the packet is not received continuously, the process of extending the window period is repeated, and finally the same as the first communication, or it. There is a problem that the above unnecessary power consumption continues to occur.
In the communication system 2, if the slave unit 10 cannot receive a packet from the master unit 20, it is determined based on the latest received electric field strength information, and the frequency of waking up is reduced to suppress power consumption. You can wait for time to recover.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。
本発明のその他の実施例として、図3における子機10を有線端末に置き換えた構成においても、受信電界強度のパラメータを未使用とし、これを判定条件として使用するモードの切り替え処理を停止することで、同様に端末の長寿命化を実現できる。また、親機20と子機10の間に中継器40を挟んだ場合であっても、前述の実施形態における親機20に対しては子機としての、子機10に対しては親機としての動作をそれぞれ中継器40が行う。そうすることで、親機20と中継器40、中継器40と子機10のそれぞれにおいて同様の親子関係を保ったままで電力消費を最適化できる。
The present invention is not limited to the above embodiment, and can be appropriately modified without departing from the spirit.
As another embodiment of the present invention, even in the configuration in which the slave unit 10 in FIG. 3 is replaced with a wired terminal, the parameter of the received electric field strength is not used, and the mode switching process using this as a determination condition is stopped. In the same way, the life of the terminal can be extended. Further, even when the repeater 40 is sandwiched between the master unit 20 and the slave unit 10, the master unit 20 in the above-described embodiment is used as a slave unit, and the slave unit 10 is used as a master unit. The repeater 40 performs each of these operations. By doing so, it is possible to optimize the power consumption of the master unit 20 and the repeater 40, and the repeater 40 and the slave unit 10 while maintaining the same parent-child relationship.

<ハードウェア構成>
続いて、図10を用いて、子機10に係るコンピュータのハードウェア構成例を説明する。図10においてコンピュータは、プロセッサ1001と、メモリ1002とを有している。プロセッサ1001は、例えば、マイクロプロセッサ、MPU(Micro Processing Unit)、又はCPU(Central Processing Unit)であってもよい。プロセッサ1001は、複数のプロセッサを含んでもよい。メモリ1002は、揮発性メモリ及び不揮発性メモリの組み合わせによって構成される。メモリ1002は、プロセッサ1001から離れて配置されたストレージを含んでもよい。この場合、プロセッサ1001は、図示されていないI/Oインターフェースを介してメモリ1002にアクセスしてもよい。
<Hardware configuration>
Subsequently, an example of the hardware configuration of the computer according to the slave unit 10 will be described with reference to FIG. In FIG. 10, the computer has a processor 1001 and a memory 1002. The processor 1001 may be, for example, a microprocessor, an MPU (Micro Processing Unit), or a CPU (Central Processing Unit). Processor 1001 may include a plurality of processors. The memory 1002 is composed of a combination of a volatile memory and a non-volatile memory. The memory 1002 may include storage located away from the processor 1001. In this case, the processor 1001 may access the memory 1002 via an I / O interface (not shown).

また、上述の実施形態における各装置は、ハードウェア又はソフトウェア、もしくはその両方によって構成され、1つのハードウェア又はソフトウェアから構成してもよいし、複数のハードウェア又はソフトウェアから構成してもよい。上述の実施形態における各装置の機能(処理)を、コンピュータにより実現してもよい。例えば、メモリ1002に実施形態における方法を行うためのプログラムを格納し、各機能を、メモリ1002に格納されたプログラムをプロセッサ1001で実行することにより実現してもよい。 Further, each device in the above-described embodiment is composed of hardware and / or software, and may be composed of one hardware or software, or may be composed of a plurality of hardware or software. The function (processing) of each device in the above-described embodiment may be realized by a computer. For example, a program for performing the method in the embodiment may be stored in the memory 1002, and each function may be realized by executing the program stored in the memory 1002 on the processor 1001.

これらのプログラムは、様々なタイプの非一時的なコンピュータ可読媒体(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)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 These programs can be stored and supplied to a 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 transient 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.

1 通信システム
2 通信システム
10 子機(端末)
11 制御部
12 送受信部(受信部)
13 クロック供給部
14 電源部
20 親機
30 管理センタ
40 中継器
111 パケット通信制御部
112 受信時刻ずれ検出部
113 受信成否検出部
114 受信電界強度検出部
115 受信成否比較部
116 電源電圧監視部
117 記憶部
118 待機時間ウィンドウ設定部
119 動作モード判定部
1001 プロセッサ
1002 メモリ
1 Communication system 2 Communication system 10 Slave unit (terminal)
11 Control unit 12 Transmission / reception unit (reception unit)
13 Clock supply unit 14 Power supply unit 20 Master unit 30 Management center 40 Repeater 111 Packet communication control unit 112 Reception time deviation detection unit 113 Reception success / failure detection unit 114 Reception field strength detection unit 115 Reception success / failure comparison unit 116 Power supply voltage monitoring unit 117 Storage Unit 118 Standby time window setting unit 119 Operation mode determination unit 1001 Processor 1002 Memory

Claims (9)

親機から周期的に送信されたパケットを受信する受信部と、
受信待機期間を示すウィンドウ期間において前記パケットの受信に成功したか失敗したかを検出する受信成否検出部と、
複数の前記パケットを受信する間に、前記パケットの受信に成功したか失敗したかをカウントし、当該受信成功回数と当該受信失敗回数とに基づいて次回以降のパケットの受信におけるウィンドウ期間の幅を設定する待機時間ウィンドウ設定部と、を備える
端末。
A receiver that receives packets periodically transmitted from the master unit,
A reception success / failure detection unit that detects whether or not the packet was successfully received in the window period indicating the reception waiting period, and
While receiving a plurality of the packets, the success or failure of the reception of the packet is counted, and the width of the window period in the reception of the next and subsequent packets is calculated based on the number of successful receptions and the number of failed receptions. A terminal equipped with a waiting time window setting unit to be set.
前記待機時間ウィンドウ設定部は、前記受信成功回数が第1の閾値に到達した場合、前記ウィンドウ期間の幅を所定の期間短くし、前記受信失敗回数が第2の閾値に到達した場合、前記ウィンドウ期間の幅を所定の期間長くする
請求項1に記載の端末。
The waiting time window setting unit shortens the width of the window period when the number of successful receptions reaches the first threshold value, and the window when the number of failed receptions reaches the second threshold value. The terminal according to claim 1, wherein the width of the period is extended by a predetermined period.
前記待機時間ウィンドウ設定部は、前回のウィンドウ期間におけるパケットの受信と今回のウィンドウ期間におけるパケットの受信とを連続して失敗した場合に連続受信失敗回数をカウントし、前記連続受信失敗回数に基づいて次回以降のパケットの受信待機を所定の回数スキップする
請求項1又は2に記載の端末。
The waiting time window setting unit counts the number of consecutive reception failures when the reception of the packet in the previous window period and the reception of the packet in the current window period fail in succession, and is based on the number of consecutive reception failures. The terminal according to claim 1 or 2, which skips the reception waiting of the next and subsequent packets a predetermined number of times.
前記待機時間ウィンドウ設定部は、前記連続受信失敗回数が第3の閾値に到達した場合、次回以降のパケットの受信待機を所定の回数スキップする
請求項3に記載の端末。
The terminal according to claim 3, wherein the waiting time window setting unit skips the reception waiting of the next and subsequent packets a predetermined number of times when the number of consecutive reception failures reaches the third threshold value.
前記待機時間ウィンドウ設定部は、前回にパケットを受信した際の受信強度より今回にパケットを受信した際の受信強度が高い場合、第3の閾値を減少させ、前回にパケットを受信した際の受信強度より今回にパケットを受信した際の受信強度が低い場合、第3の閾値を増加させる
請求項4に記載の端末。
When the reception strength when the packet is received this time is higher than the reception strength when the packet was received last time, the waiting time window setting unit reduces the third threshold value and receives the packet when the packet was received last time. The terminal according to claim 4, wherein when the reception strength when the packet is received this time is lower than the strength, the third threshold value is increased.
前記待機時間ウィンドウ設定部は、所定の回数スキップした後に設定されたウィンドウ期間において前記親機からパケットを受信できない場合、次回以降のパケットの受信待機を所定の回数スキップする
請求項3乃至5のいずれか一項に記載の端末。
Any of claims 3 to 5, wherein the waiting time window setting unit skips the reception waiting of the next and subsequent packets a predetermined number of times when the packet cannot be received from the master unit in the window period set after skipping a predetermined number of times. The terminal described in item 1.
受信した前記パケットに含まれる指示に従って、センサによって取得した情報を前記親機に送信する送信部をさらに備える
請求項1乃至6のいずれか一項に記載の端末。
The terminal according to any one of claims 1 to 6, further comprising a transmission unit that transmits information acquired by a sensor to the master unit according to an instruction included in the received packet.
親機から周期的に送信されたパケットを受信することと、
受信待機期間を示すウィンドウ期間において前記パケットの受信に成功したか失敗したかを検出することと、
複数の前記パケットを受信する間に、前記パケットの受信に成功したか失敗したかをカウントし、当該受信成功回数と当該受信失敗回数とに基づいて次回以降のパケットの受信におけるウィンドウ期間の幅を設定することと、を含む
方法。
Receiving packets periodically transmitted from the master unit and
To detect whether reception of the packet was successful or unsuccessful in the window period indicating the reception waiting period, and
While receiving a plurality of the packets, the success or failure of the reception of the packet is counted, and the width of the window period in the reception of the next and subsequent packets is calculated based on the number of successful receptions and the number of failed receptions. How to set and include.
親機から周期的に送信されたパケットを受信する処理と、
受信待機期間を示すウィンドウ期間において前記パケットの受信に成功したか失敗したかを検出する処理と、
複数の前記パケットを受信する間に、前記パケットの受信に成功したか失敗したかをカウントし、当該受信成功回数と当該受信失敗回数とに基づいて次回以降のパケットの受信におけるウィンドウ期間の幅を設定する処理と、をコンピュータに実行させる
プログラム。
Processing to receive packets periodically transmitted from the master unit,
A process for detecting whether or not the packet was successfully received in the window period indicating the reception waiting period, and
While receiving a plurality of the packets, the success or failure of the reception of the packet is counted, and the width of the window period in the reception of the next and subsequent packets is calculated based on the number of successful receptions and the number of failed receptions. A program that causes a computer to execute the processing to be set.
JP2020198269A 2020-11-30 2020-11-30 Terminals, methods and programs Active JP7060271B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020198269A JP7060271B1 (en) 2020-11-30 2020-11-30 Terminals, methods and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020198269A JP7060271B1 (en) 2020-11-30 2020-11-30 Terminals, methods and programs

Publications (2)

Publication Number Publication Date
JP7060271B1 JP7060271B1 (en) 2022-04-26
JP2022086324A true JP2022086324A (en) 2022-06-09

Family

ID=81387441

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020198269A Active JP7060271B1 (en) 2020-11-30 2020-11-30 Terminals, methods and programs

Country Status (1)

Country Link
JP (1) JP7060271B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006033021A (en) * 2004-07-12 2006-02-02 Matsushita Electric Works Ltd Portable wireless communication terminal and emergency reporting device employing it
WO2017056396A1 (en) * 2015-09-30 2017-04-06 日本電気株式会社 Communication terminal, base station, monitoring method, transmission method, and non-transitory computer-readable medium
JP2018085572A (en) * 2016-11-21 2018-05-31 バックス情報システム株式会社 Battery-driven wireless communication system and communication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006033021A (en) * 2004-07-12 2006-02-02 Matsushita Electric Works Ltd Portable wireless communication terminal and emergency reporting device employing it
WO2017056396A1 (en) * 2015-09-30 2017-04-06 日本電気株式会社 Communication terminal, base station, monitoring method, transmission method, and non-transitory computer-readable medium
JP2018085572A (en) * 2016-11-21 2018-05-31 バックス情報システム株式会社 Battery-driven wireless communication system and communication method

Also Published As

Publication number Publication date
JP7060271B1 (en) 2022-04-26

Similar Documents

Publication Publication Date Title
US9801150B2 (en) Controlled synchronizing of sensor devices in a wireless sensor network based on received drift information
JP5240345B2 (en) Wireless communication device
CN111246490B (en) Networking method and communication system
JP2006187316A (en) Remote sensing system and sensor unit
EP3624296A1 (en) Battery management system and communication method thereof
JP4700725B2 (en) Transmitter and wireless communication apparatus using the same
JP7060271B1 (en) Terminals, methods and programs
JP5163890B2 (en) Wireless communication system
JP2009260734A (en) Wireless node system, wireless node, and synchronization method for wireless node
JP5170189B2 (en) Battery driving device, battery driving method and program
JP6891512B2 (en) Information processing equipment and communication system
JP2012129931A (en) Wireless sensor network system
WO2021017741A1 (en) Energy-saving downlink control channel transmission method, terminal and network-side device
JP6015545B2 (en) Communication apparatus and timing adjustment method
JP6591122B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
US20180049121A1 (en) Radio communication system, radio communication network, radio terminal, and radio communication method
JP6614687B1 (en) Wireless terminal, system, method and program
JP4267776B2 (en) Radio base station and radio communication system
JP2006079442A (en) Wireless data collection system
JP6253113B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION SYSTEM, AND PROGRAM
JP5669216B2 (en) PHS communication terminal and operation method thereof
JP2015220620A (en) Radio communication device and radio communication method
KR20090015361A (en) Method for synchronization and network self healing between nodes in ubiquitous sensor network environment
JP2023040634A (en) Communication device, communication method, and communication system
JP2022185706A (en) Master unit, terminal, repeater, communication system, control method, and control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220218

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: 20220315

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220407

R150 Certificate of patent or registration of utility model

Ref document number: 7060271

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150