JP7210918B2 - Communication device, communication system, communication method and program - Google Patents

Communication device, communication system, communication method and program Download PDF

Info

Publication number
JP7210918B2
JP7210918B2 JP2018131548A JP2018131548A JP7210918B2 JP 7210918 B2 JP7210918 B2 JP 7210918B2 JP 2018131548 A JP2018131548 A JP 2018131548A JP 2018131548 A JP2018131548 A JP 2018131548A JP 7210918 B2 JP7210918 B2 JP 7210918B2
Authority
JP
Japan
Prior art keywords
data
unit
communication device
state
wirelessly
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018131548A
Other languages
Japanese (ja)
Other versions
JP2019041375A (en
Inventor
僚太 川又
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Publication of JP2019041375A publication Critical patent/JP2019041375A/en
Application granted granted Critical
Publication of JP7210918B2 publication Critical patent/JP7210918B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、通信装置、通信システム、通信方法およびプログラムに関する。 The present invention relates to a communication device, a communication system, a communication method and a program.

動作可能時間を延ばすために、通信方式、通信間隔、および通信データレート等のデータ通信に影響する動作条件をバッテリ残量に応じて変更する無線通信装置と、これらをエッジノードとして用いて構成される無線通信ネットワークが知られている。このような無線通信装置では、動作条件の変更の際には何らかのトレードオフが発生し、例えば、動作条件の変更に伴って通信品質が低下する等の問題がある。例えば、送信側の無線通信装置が自身の消費電力を下げるために、より小さい送信電力で電波を送出した場合には、受信側の無線通信装置で十分な信号品質(受信電力およびS/N比等)を確保できず、信号の復調に失敗することがある。 In order to extend the operable time, it is configured by using wireless communication devices that change operating conditions that affect data communication, such as communication methods, communication intervals, and communication data rates, according to the remaining battery capacity, and these as edge nodes. wireless communication networks are known. In such a wireless communication device, some kind of trade-off occurs when the operating conditions are changed. For example, if the wireless communication device on the transmitting side sends out radio waves with lower transmission power in order to reduce its own power consumption, the wireless communication device on the receiving side has sufficient signal quality (received power and S/N ratio etc.) may fail to demodulate the signal.

このような、無線通信装置に関する技術として、バッテリによる動作可能時間を延ばすために、他の無線通信装置との通信が完了するまでに、バッテリの残量が所定の閾値を下回った場合には、より消費電力の小さい動作モードまたは通信方式を用いる中継装置および通信方法が開示されている(特許文献1参照)。 As a technology related to such a wireless communication device, in order to extend the operable time of the battery, when the remaining amount of the battery falls below a predetermined threshold before communication with another wireless communication device is completed, A relay device and a communication method using an operation mode or communication method with lower power consumption are disclosed (see Patent Document 1).

しかしながら、特許文献1に記載された技術では、上述したように、バッテリ残量に応じて動作条件を変更することに伴って、通信品質が低下するという現象は依然として解消されないという問題点がある。 However, the technique described in Patent Literature 1 still has the problem that the communication quality deteriorates as the operating conditions are changed according to the remaining battery level, as described above.

本発明は、上述の問題点に鑑みてなされたものであって、通信品質の低下を抑制して、動作可能時間を延ばすことができる通信装置、通信システム、通信方法およびプログラムを提供することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and aims to provide a communication device, a communication system, a communication method, and a program capable of suppressing deterioration in communication quality and extending the operable time. aim.

上述した課題を解決し、目的を達成するために、本発明は、通信装置であって、前記通信装置の動作に利用される電力を供給する電力供給部から供給される前記電力の残量を取得する取得部と、前記通信装置のデータを無線送信する第1の送信部と、前記取得部により取得された前記残量が第1の閾値より大きい場合、第1の動作条件により前記第1の送信部からデータが無線送信され、かつ、前記第1の送信部による無線送信中以外では他の通信装置からのデータを無線受信して中継するための受信待機状態となる第1の動作状態に切り替え、前記残量が前記第1の閾値より小さい第2の閾値より小さい場合、前記第1の動作条件よりも消費電力が小さい第2の動作条件により前記第1の送信部からデータが無線送信され、無線送信される該データに対して中継を要求する第1の情報を含める第2の動作状態に切り替える第1の切替部と、前記第1の切替部により前記第1の動作状態に切り替えられている場合、他の通信装置から無線受信したデータの受信電波強度を取得する強度取得部と、前記第1の切替部により前記第2の動作状態に切り替えられた場合における前記第2の動作条件を、最低受信感度が、前記強度取得部により取得された前記受信電波強度のうち少なくともいずれかよりも小さくなるような拡散率によってデータを無線送信するように設定する設定部と、を備え、前記第1の送信部は、前記通信装置が前記第1の動作状態のときに、前記受信待機状態中に前記他の通信装置から前記第1の情報を含むデータを無線受信した場合、該データを前記第1の動作条件によって中継して送信することを特徴とする。
In order to solve the above-described problems and achieve the object, the present invention provides a communication device that detects the remaining amount of power supplied from a power supply unit that supplies power used for the operation of the communication device. an acquisition unit that acquires data; a first transmission unit that wirelessly transmits data of the communication device; and if the remaining amount acquired by the acquisition unit is greater than a first threshold, the first data is wirelessly transmitted from the transmission unit of and, except during wireless transmission by the first transmission unit, a reception standby state for wirelessly receiving and relaying data from another communication device. and if the remaining amount is smaller than a second threshold that is smaller than the first threshold, data is wirelessly transmitted from the first transmitting unit under a second operating condition that consumes less power than the first operating condition. a first switching unit for switching to a second operating state including first information requesting relaying of the data transmitted and wirelessly transmitted; an intensity acquisition unit that acquires the received radio wave intensity of data wirelessly received from another communication device when switched, and the second operation state when switched to the second operation state by the first switching unit a setting unit that sets operating conditions such that data is wirelessly transmitted with a spreading factor such that the minimum receiving sensitivity is smaller than at least one of the received radio field strengths obtained by the strength obtaining unit; , when the communication device is in the first operation state and the communication device is in the reception standby state, the first transmission unit wirelessly receives data including the first information from the other communication device; The data is relayed and transmitted according to the first operating condition.

本発明によれば、通信品質の低下を抑制して、動作可能時間を延ばすことができる。 ADVANTAGE OF THE INVENTION According to this invention, the deterioration of communication quality can be suppressed and operation|movement possible time can be extended.

図1は、実施形態に係る通信システムの全体構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of the overall configuration of a communication system according to an embodiment. 図2は、実施形態に係る通信端末のハードウェア構成の一例す示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of a communication terminal according to the embodiment; 図3は、実施形態に係るゲートウェイのハードウェア構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of a hardware configuration of a gateway according to the embodiment; 図4は、実施形態に係る通信システムの機能ブロックの構成の一例を示す図である。FIG. 4 is a diagram illustrating an example of a configuration of functional blocks of the communication system according to the embodiment; 図5は、実施形態に係る通信端末の各動作状態への移行処理および各動作状態での動作の一例を示すフローチャートである。FIG. 5 is a flowchart showing an example of transition processing to each operation state of the communication terminal according to the embodiment and an example of operation in each operation state. 図6は、実施形態に係る通信端末の各動作状態でのデータの送信タイミングの一例を示す図である。FIG. 6 is a diagram showing an example of data transmission timing in each operating state of the communication terminal according to the embodiment. 図7は、実施形態に係る通信端末の通信データのフレーム構成の一例を示す図である。FIG. 7 is a diagram illustrating an example of a frame configuration of communication data of a communication terminal according to the embodiment; 図8は、実施形態に係る通信端末の通常状態でのデータの送信時の通信経路を説明する図である。FIG. 8 is a diagram for explaining communication paths during data transmission in a normal state of the communication terminal according to the embodiment. 図9は、実施形態に係る通信端末の節電状態でのデータの送信時の通信経路を説明する図である。FIG. 9 is a diagram illustrating communication paths during data transmission in the power saving state of the communication terminal according to the embodiment. 図10は、実施形態に係る通信端末の間に通信を妨害する要因がある場合について説明する図である。FIG. 10 is a diagram illustrating a case where there is a factor that interferes with communication between communication terminals according to the embodiment. 図11は、実施形態に係るゲートウェイのデータの受信時の重複確認処理の一例を示すフローチャートである。FIG. 11 is a flowchart illustrating an example of duplication check processing when data is received by the gateway according to the embodiment.

以下に、図1~図11を参照しながら、本発明に係る通信装置、通信システム、通信方法およびプログラムの実施形態を詳細に説明する。また、以下の実施形態によって本発明が限定されるものではなく、以下の実施形態における構成要素には、当業者が容易に想到できるもの、実質的に同一のもの、およびいわゆる均等の範囲のものが含まれる。さらに、以下の実施形態の要旨を逸脱しない範囲で構成要素の種々の省略、置換、変更および組み合わせを行うことができる。 Embodiments of a communication device, a communication system, a communication method, and a program according to the present invention will be described in detail below with reference to FIGS. 1 to 11. FIG. In addition, the present invention is not limited by the following embodiments, and the constituent elements in the following embodiments can be easily conceived by those skilled in the art, substantially the same, and so-called equivalent ranges. is included. Furthermore, various omissions, replacements, changes and combinations of components can be made without departing from the gist of the following embodiments.

(通信システムの全体構成)
図1は、実施形態に係る通信システムの全体構成の一例を示す図である。図1を参照しながら、本実施形態に係る通信システム1の全体構成について説明する。
(Overall configuration of communication system)
FIG. 1 is a diagram illustrating an example of the overall configuration of a communication system according to an embodiment. An overall configuration of a communication system 1 according to this embodiment will be described with reference to FIG.

図1に示すように、本実施形態に係る通信システム1は、通信端末10a~10cと、ゲートウェイ20(中継装置の一例)と、を含む。通信端末10a~10cおよびゲートウェイ20は、それぞれ、無線通信によって互いにデータ通信が可能となっている。 As shown in FIG. 1, a communication system 1 according to this embodiment includes communication terminals 10a to 10c and a gateway 20 (an example of a relay device). Communication terminals 10a to 10c and gateway 20 are capable of data communication with each other by wireless communication.

なお、通信端末10a~10cについて、任意の通信端末を示す場合、または総称する場合、単に「通信端末10」と称するものとする。また、図1において、通信システム1は、3台の通信端末10a~10cを含むものとしているが、これに限定されるものではなく、本実施形態では、通信端末10は複数であればよい。 The communication terminals 10a to 10c are simply referred to as "communication terminal 10" when indicating arbitrary communication terminals or when collectively referring to them. In addition, in FIG. 1, the communication system 1 includes three communication terminals 10a to 10c, but it is not limited to this.

通信端末10は、外部環境から取得した情報、または当該情報を基にして新たに生成した情報等を外部(例えば、ゲートウェイ20等)に無線通信により送信する通信装置である。例えば、通信端末10は、当該通信端末10が配置された環境の温度または湿度等を検出して、温度情報または湿度情報等として取得し、これらの情報を外部に無線通信により送信する。このような通信端末10は、例えば、IoT(Internet of Things)等で利用される。 The communication terminal 10 is a communication device that transmits information obtained from an external environment, information newly generated based on the information, or the like to the outside (for example, the gateway 20 or the like) by wireless communication. For example, the communication terminal 10 detects the temperature, humidity, etc. of the environment in which the communication terminal 10 is placed, obtains temperature information, humidity information, etc., and transmits this information to the outside by wireless communication. Such a communication terminal 10 is used, for example, in IoT (Internet of Things).

ゲートウェイ20は、通信端末10から無線通信により受信したデータを、当該無線通信で使用される通信プロトコルとは異なるネットワークに対して中継する装置である。例えば、ゲートウェイ20は、無線通信規格のネットワークから、プロトコル変換を行って、TCP(Transmission Control Protocol)/IP(Internet Protocol)のインターネットにデータを中継する。 The gateway 20 is a device that relays data received by wireless communication from the communication terminal 10 to a network different from the communication protocol used in the wireless communication. For example, the gateway 20 performs protocol conversion from a wireless communication standard network and relays data to the Internet of TCP (Transmission Control Protocol)/IP (Internet Protocol).

(通信端末のハードウェア構成)
図2は、実施形態に係る通信端末のハードウェア構成の一例す示す図である。図2を参照しながら、本実施形態に係る通信端末10のハードウェア構成について説明する。
(Hardware configuration of communication terminal)
FIG. 2 is a diagram illustrating an example of a hardware configuration of a communication terminal according to the embodiment; The hardware configuration of the communication terminal 10 according to this embodiment will be described with reference to FIG.

図2に示すように、本実施形態に係る通信端末10は、電力管理ブロック500(電力供給部)と、通信制御ブロック600と、を備える。 As shown in FIG. 2 , the communication terminal 10 according to this embodiment includes a power management block 500 (power supply section) and a communication control block 600 .

電力管理ブロック500は、電力線700を介して、通信制御ブロック600が動作するために必要な電力を供給する装置である。電力管理ブロック500は、充電池501と、太陽電池502と、電力制御IC(Integrated Circuit)503と、を備えている。充電池501、太陽電池502および電力制御IC503は、内部バス504によって互いにデータ通信が可能となるように接続されている。 The power management block 500 is a device that supplies power necessary for the communication control block 600 to operate via the power line 700 . The power management block 500 includes a rechargeable battery 501 , a solar cell 502 and a power control IC (Integrated Circuit) 503 . Rechargeable battery 501, solar cell 502, and power control IC 503 are connected by internal bus 504 so as to enable data communication with each other.

電力制御IC503は、充電池501および太陽電池502の電力の通信制御ブロック600への供給を制御するIC装置である。具体的には、電力制御IC503は、太陽電池502により発電される電力量が、通信制御ブロック600を動作させるために十分な量である場合、その電力を通信制御ブロック600に電力線700を介して供給する。一方、電力制御IC503は、太陽電池502により発電される電力量が、通信制御ブロック600を動作させるために不十分な量である場合、充電池501から電力線700を介して通信制御ブロック600に電力を供給させると共に、太陽電池502により発電された電力を充電池501に対して充電用に供給させる。 Power control IC 503 is an IC device that controls the supply of power from rechargeable battery 501 and solar cell 502 to communication control block 600 . Specifically, when the amount of power generated by the solar cell 502 is sufficient to operate the communication control block 600, the power control IC 503 supplies the power to the communication control block 600 via the power line 700. supply. On the other hand, when the amount of power generated by the solar cell 502 is insufficient to operate the communication control block 600, the power control IC 503 supplies power from the rechargeable battery 501 to the communication control block 600 via the power line 700. is supplied, and the power generated by the solar battery 502 is supplied to the rechargeable battery 501 for charging.

通信制御ブロック600は、無線通信の動作を制御する装置である。通信制御ブロック600は、MPU(Micro Processing Unit)601と、RAM(Random Access Memory)602と、フラッシュROM(Read Only Memory)603と、通信モジュール604と、アンテナ605と、メインクロック606と、サブクロック607と、タイマ608と、を備えている。MPU601、RAM602、フラッシュROM603、通信モジュール604、メインクロック606およびタイマ608は、内部バス609によって互いにデータ通信が可能となるように接続されている。また、電力管理ブロック500の電力制御IC503も、内部バス609に接続されている。アンテナ605は、通信モジュール604に直接接続され、サブクロック607は、タイマ608に直接接続されている。 The communication control block 600 is a device that controls wireless communication operations. The communication control block 600 includes an MPU (Micro Processing Unit) 601, a RAM (Random Access Memory) 602, a flash ROM (Read Only Memory) 603, a communication module 604, an antenna 605, a main clock 606, and a sub clock. 607 and a timer 608 . MPU 601 , RAM 602 , flash ROM 603 , communication module 604 , main clock 606 and timer 608 are connected by internal bus 609 so as to enable mutual data communication. A power control IC 503 of the power management block 500 is also connected to the internal bus 609 . Antenna 605 is directly connected to communication module 604 and sub-clock 607 is directly connected to timer 608 .

MPU601は、通信制御ブロック600全体の動作を制御する演算装置である。具体的には、MPU601は、フラッシュROM603に記憶されているプログラムを読み出し、フラッシュROM603に展開して当該プログラムを実行する。また、MPU601は、実行するプログラムに従って、データの送受信の動作を行う。また、MPU601は、通信動作を必要としない場合等には、消費電力を小さくするために、タイマ608に対して復帰までの時間を設定した後にスリープ状態へ移行させ、設定時間経過後、タイマ608から復帰信号を受けたときスリープ状態から復帰させる。また、MPU601は、電力制御IC503から、電力管理ブロック500からの電力供給量、および、充電池501の電力残量等を受信する。 The MPU 601 is an arithmetic unit that controls the operation of the communication control block 600 as a whole. Specifically, the MPU 601 reads a program stored in the flash ROM 603, develops it in the flash ROM 603, and executes the program. Further, the MPU 601 performs data transmission/reception operations according to the programs to be executed. When the MPU 601 does not require a communication operation or the like, the MPU 601 sets the timer 608 to the sleep state after setting the time until recovery in order to reduce power consumption. wakes up from the sleep state when it receives a wake-up signal from Also, the MPU 601 receives the power supply amount from the power management block 500 and the remaining power level of the rechargeable battery 501 from the power control IC 503 .

RAM602は、MPU601のワークエリアとして使用される揮発性記憶装置である。フラッシュROM603は、MPU601により実行されるプログラムを記憶している不揮発性記憶装置である。 A RAM 602 is a volatile storage device used as a work area for the MPU 601 . A flash ROM 603 is a nonvolatile storage device that stores programs executed by the MPU 601 .

通信モジュール604は、アンテナ605を利用したデータの無線通信動作を制御するモジュールである。メインクロック606は、タイマ608を除いた通信制御ブロック600内の各ハードウェアに動作クロックを供給する装置である。サブクロック607は、タイマ608に動作クロックを供給する装置である。タイマ608は、通信制御ブロック600がスリープ状態へ移行した後の経過時間を計測する装置である。 The communication module 604 is a module that controls data wireless communication operation using the antenna 605 . A main clock 606 is a device that supplies an operating clock to each piece of hardware in the communication control block 600 excluding the timer 608 . A sub-clock 607 is a device that supplies an operating clock to the timer 608 . A timer 608 is a device that measures the elapsed time after the communication control block 600 transitions to the sleep state.

なお、図2に示した通信端末10のハードウェア構成は、一例を示すものであり、図2に示したハードウェア構成に限定されるものではない。 Note that the hardware configuration of the communication terminal 10 shown in FIG. 2 is an example, and is not limited to the hardware configuration shown in FIG.

(ゲートウェイのハードウェア構成)
図3は、実施形態に係るゲートウェイのハードウェア構成の一例を示す図である。図3を参照しながら、本実施形態に係るゲートウェイ20のハードウェア構成について説明する。
(Gateway hardware configuration)
FIG. 3 is a diagram illustrating an example of a hardware configuration of a gateway according to the embodiment; The hardware configuration of the gateway 20 according to this embodiment will be described with reference to FIG.

図3に示すように、本実施形態に係るゲートウェイ20は、CPU801と、RAM802と、ROM803と、無線通信モジュール804と、アンテナ805と、ネットワークI/F806と、を備えている。CPU801、RAM802、ROM803、無線通信モジュール804およびネットワークI/F806は、バス807によって互いにデータ通信が可能となるように接続されている。 As shown in FIG. 3, the gateway 20 according to this embodiment includes a CPU 801, a RAM 802, a ROM 803, a wireless communication module 804, an antenna 805, and a network I/F 806. CPU 801 , RAM 802 , ROM 803 , wireless communication module 804 and network I/F 806 are connected by bus 807 so as to enable data communication with each other.

CPU801は、ROM803に記憶されたプログラムを実行することによって、ゲートウェイ20全体の動作を制御する演算装置である。RAM802は、CPU801のワークエリアとして使用される揮発性記憶装置である。ROM803は、CPU801により実行されるプログラムを記憶している不揮発性記憶装置である。 The CPU 801 is an arithmetic device that controls the overall operation of the gateway 20 by executing programs stored in the ROM 803 . A RAM 802 is a volatile storage device used as a work area for the CPU 801 . A ROM 803 is a non-volatile storage device that stores programs executed by the CPU 801 .

無線通信モジュール804は、アンテナ805を利用したデータの無線通信動作を制御するモジュールである。ネットワークI/F806は、ゲートウェイ20を、通信システム1内の無線通信ネットワーク外のネットワーク(インターネット等)に接続するための通信インターフェースである。 The wireless communication module 804 is a module that controls wireless data communication operations using the antenna 805 . Network I/F 806 is a communication interface for connecting gateway 20 to a network (such as the Internet) outside the wireless communication network within communication system 1 .

なお、図3に示したゲートウェイ20のハードウェア構成は、一例を示すものであり、図3に示したハードウェア構成に限定されるものではない。 Note that the hardware configuration of the gateway 20 shown in FIG. 3 is an example, and is not limited to the hardware configuration shown in FIG.

(通信システム内の無線通信について)
次に、図1に示す通信システム1内の通信端末10およびゲートウェイ20の無線通信における通信可能距離、および、データ送信に要する時間について説明する。
(Regarding wireless communication within a communication system)
Next, the communicable distance in wireless communication between the communication terminal 10 and the gateway 20 in the communication system 1 shown in FIG. 1 and the time required for data transmission will be described.

無線通信におけるデータの通信可能距離は、同じ無線通信方式であっても、動作時にパラメータの違いによって変化する。例えば、無線通信規格の1つであり、上述のIoTまたはM2M(Machine to Machine)等の分野で今後利用が期待されるLPWA(Low Power Wide Area)の技術を利用した無線通信規格の1つとしてLoRa(Long Range modulation technique)が知られている。LoRaでは、スペクトラム拡散における直接拡散の拡散率を変えることによって、最低受信感度を変更することができる。この拡散率を上げることによって、通信端末10の受信感度が上がる。 The communicable distance of data in wireless communication changes depending on the parameter difference during operation even if the same wireless communication method is used. For example, LPWA (Low Power Wide Area), which is one of the wireless communication standards and is expected to be used in the future in the above-mentioned IoT or M2M (Machine to Machine) fields, is one of the wireless communication standards using the technology. LoRa (Long Range Modulation technique) is known. In LoRa, the minimum receiving sensitivity can be changed by changing the spreading factor of direct spreading in spread spectrum. By increasing this spreading factor, the reception sensitivity of the communication terminal 10 is increased.

例えば、以下の(表1)で示すように、屋内推定モデルでは、拡散率が「12」の場合、750[m]であるのに対し、拡散率が「7」の場合、280[m]であり、その幅は470[m]程度となっている。また、市街地推定モデルでは、拡散率が「12」の場合、6800[m]であるのに対し、拡散率が「7」の場合、2500[m]であり、その幅は4300[m]程度となっている。ここで、(表1)に示す屋内推定モデルとして、「ITU-Recommendation P.1238-2」のモデルを用いている。また、(表1)に示す市街地推定モデルとして、いわゆる奥村-秦カーブに基づくモデルを用いている。両モデルにおいて、データの送受信の内部損失はないものとし、アンテナゲインは送受信共に0[dBi]、送信出力は20[mW]としている。 For example, as shown in Table 1 below, in the indoor estimation model, when the spreading factor is "12", it is 750 [m], whereas when the spreading factor is "7", it is 280 [m]. and its width is about 470 [m]. In addition, in the urban area estimation model, when the diffusion rate is "12", it is 6800 [m], whereas when the diffusion rate is "7", it is 2500 [m], and its width is about 4300 [m]. It has become. Here, the model of "ITU-Recommendation P.1238-2" is used as the indoor estimation model shown in (Table 1). A model based on the so-called Okumura-Hata curve is used as the urban area estimation model shown in (Table 1). In both models, it is assumed that there is no internal loss in data transmission and reception, the antenna gain is 0 [dBi] for both transmission and reception, and the transmission output is 20 [mW].

Figure 0007210918000001
Figure 0007210918000001

一方、拡散率を上げることは、通信端末10の無線通信のデータレートを下げることになるため、同じサイズのデータを送信するために要する時間が長くなる。例えば、10[バイト]のデータを送信する場合、拡散率が「12」の場合と「7」の場合とでは、2[sec]程度の差が生じる。通信端末10において、無線通信によるデータ送信中は、常に通信制御ブロック600は稼動しており、通信モジュール604は無線通信のための電波を送出し続けるため、消費電力を少なくするためには、高いデータレートで送信することが望ましい。 On the other hand, increasing the spreading factor reduces the data rate of wireless communication of the communication terminal 10, so it takes longer to transmit data of the same size. For example, when transmitting 10 [bytes] of data, there is a difference of about 2 [sec] between when the spreading factor is "12" and when it is "7". In the communication terminal 10, during data transmission by wireless communication, the communication control block 600 is always in operation, and the communication module 604 continues to transmit radio waves for wireless communication. It is desirable to transmit at the data rate.

(通信システムの機能ブロック構成)
図4は、実施形態に係る通信システムの機能ブロックの構成の一例を示す図である。図4を参照しながら、本実施形態に係る通信システム1の機能ブロックの構成について説明する。
(Functional block configuration of communication system)
FIG. 4 is a diagram illustrating an example of a configuration of functional blocks of the communication system according to the embodiment; The configuration of the functional blocks of the communication system 1 according to this embodiment will be described with reference to FIG.

図4に示すように、本実施形態に係る通信端末10は、受信部101と、送信部102(第1の送信部)と、電力管理部103(取得部)と、判定部104と、動作状態管理部105(第1の切替部)と、データ変更部106と、受信待機管理部107と、スリープ管理部108(第2の切替部)と、タイマ部109と、強度取得部110と、送信条件設定部111と、記憶部112と、を有する。 As shown in FIG. 4, the communication terminal 10 according to the present embodiment includes a receiving unit 101, a transmitting unit 102 (first transmitting unit), a power management unit 103 (acquiring unit), a determining unit 104, an operation State management unit 105 (first switching unit), data change unit 106, reception standby management unit 107, sleep management unit 108 (second switching unit), timer unit 109, intensity acquisition unit 110, It has a transmission condition setting unit 111 and a storage unit 112 .

受信部101は、後述する通信端末10の動作状態が中継状態(第1の動作状態の一例)であって、受信待機状態である場合に、他の通信端末10から無線通信によりデータを受信(以下、「無線受信」と称する場合がある)する機能部である。受信部101は、図2に示す通信モジュール604およびアンテナ605、ならびにMPU601で実行されるプログラムによって実現される。 The receiving unit 101 receives data from another communication terminal 10 by wireless communication ( Hereafter, it may be referred to as “radio reception”). Receiving section 101 is realized by communication module 604 and antenna 605 shown in FIG. 2 and a program executed by MPU 601 .

送信部102は、通信端末10の動作状態に応じてデータレートを切り替え、そのデータレートによって無線通信によりデータを送信(以下、「無線送信」と称する場合がある)する機能部である。送信部102は、図2に示す通信モジュール604およびアンテナ605、ならびにMPU601で実行されるプログラムによって実現される。 The transmission unit 102 is a functional unit that switches the data rate according to the operating state of the communication terminal 10 and transmits data by wireless communication at that data rate (hereinafter sometimes referred to as “wireless transmission”). Transmitter 102 is implemented by a program executed by communication module 604 and antenna 605 and MPU 601 shown in FIG.

電力管理部103は、電力管理ブロック500が通信制御ブロック600に対して電力供給が可能な電力残量を取得して管理する機能部である。電力管理部103は、例えば、図2に示すMPU601で実行されるプログラムによって実現される。 The power management unit 103 is a functional unit that acquires and manages the remaining amount of power that the power management block 500 can supply to the communication control block 600 . The power management unit 103 is implemented by, for example, a program executed by the MPU 601 shown in FIG.

判定部104は、電力管理部103により取得された通信端末10(電力管理ブロック500)の電力残量に対して閾値判定を行う機能部である。具体的には、判定部104は、下記の(表2)に示す閾値Wt1、Wt2を用いて、電力残量に対して閾値判定を行う。判定部104は、電力残量が閾値Wt1(第1の閾値)以上であると判定した場合(すなわち、通信端末10の電力残量に十分な余裕がある場合)、通信端末10の動作状態は中継状態に移行すべきものと判定する。判定部104は、電力残量が閾値Wt2(第2の閾値)以上、閾値Wt1(>Wt2)未満であると判定した場合(すなわち、通信端末10の電力残量が、通常状態の動作状態として稼動する上で支障のない場合)、通信端末10の動作状態は通常状態(第3の動作状態の一例)に移行すべきものと判定する。判定部104は、電力残量が閾値Wt2未満であると判定した場合(すなわち、通信端末10の電力残量が、通常状態の動作状態として稼動するには困難である場合)、通信端末10の動作状態は節電状態(第2の動作状態の一例)に移行すべきものと判定する。 The determination unit 104 is a functional unit that performs threshold determination on the remaining power of the communication terminal 10 (power management block 500 ) acquired by the power management unit 103 . Specifically, the determination unit 104 uses thresholds Wt1 and Wt2 shown in (Table 2) below to perform threshold determination on the remaining power. When determining section 104 determines that the remaining power level is equal to or greater than threshold Wt1 (first threshold) (that is, when communication terminal 10 has a sufficient remaining power margin), communication terminal 10 is in an operating state of It is determined that the state should be shifted to the relay state. If the determination unit 104 determines that the remaining power level is equal to or greater than the threshold Wt2 (second threshold) and less than the threshold Wt1 (>Wt2) (that is, if the remaining power level of the communication terminal 10 is in the normal operating state, If there is no problem in operation), it is determined that the operating state of the communication terminal 10 should be shifted to the normal state (an example of the third operating state). If the determination unit 104 determines that the remaining power level is less than the threshold Wt2 (that is, if the remaining power level of the communication terminal 10 makes it difficult for the communication terminal 10 to operate in the normal operating state), the communication terminal 10 It is determined that the operating state should be shifted to the power saving state (an example of the second operating state).

Figure 0007210918000002
Figure 0007210918000002

ここで、中継状態とは、上述の(表2)に示すように、通信端末10が他の通信端末10から無線受信したデータを中継する動作を行い、データを無線送信する場合、到達性の高い通常のデータレートで行う通信端末10の動作状態である。また、通常状態とは、上述の(表2)に示すように、通信端末10が他の通信端末10から無線受信したデータを中継する動作は行わず、データを無線送信する場合、到達性の高い通常のデータレートで行い、さらに、データの無線送信後は、所定時間、データの送受信を行わないスリープ状態とする通信端末10の動作状態である。また、節電状態とは、上述の(表2)に示すように、通信端末10が他の通信端末10から無線受信したデータを中継する動作は行わず、データを無線送信する場合、到達性は低いがデータレートが通常のデータレートよりも高い状態で行い、さらに、データの無線送信後は、所定時間、データの送受信を行わないスリープ状態とする通信端末10の動作状態である。 Here, the relay state means that, as shown in Table 2 above, when the communication terminal 10 performs the operation of relaying the data wirelessly received from another communication terminal 10 and transmits the data wirelessly, the reachability The operating state of the communication terminal 10 at a high normal data rate. As shown in Table 2 above, the normal state means that the communication terminal 10 does not relay data wirelessly received from another communication terminal 10, and when data is wirelessly transmitted, reachability This is an operation state of the communication terminal 10 in which data is transmitted at a normal high data rate and, after wireless transmission of data, a sleep state in which data transmission/reception is not performed for a predetermined period of time. In addition, as shown in Table 2 above, the power saving state means that when the communication terminal 10 does not relay data wirelessly received from another communication terminal 10 and data is wirelessly transmitted, the reachability is This is an operation state of the communication terminal 10 in which the data rate is low but higher than the normal data rate, and furthermore, after wireless transmission of data, the communication terminal 10 enters a sleep state in which data transmission/reception is not performed for a predetermined time.

判定部104は、例えば、図2に示すMPU601で実行されるプログラムによって実現される。 The determination unit 104 is realized by, for example, a program executed by the MPU 601 shown in FIG.

動作状態管理部105は、判定部104により電力残量に対する閾値判定の結果に基づいて、通信端末10の動作状態を切り替えて管理する機能部である。具体的には、動作状態管理部105は、判定部104により電力残量が閾値Wt1以上であると判定された場合、通信端末10の動作状態を中継状態に移行させる。動作状態管理部105は、判定部104により電力残量が閾値Wt2以上、閾値Wt1未満であると判定された場合、通信端末10の動作状態を通常状態に移行させる。動作状態管理部105は、判定部104により電力残量が閾値Wt2未満であると判定された場合、通信端末10の動作状態を節電状態に移行させる。 The operation state management unit 105 is a functional unit that switches and manages the operation state of the communication terminal 10 based on the result of threshold determination for the remaining power by the determination unit 104 . Specifically, when determination section 104 determines that the remaining power level is equal to or greater than threshold value Wt1, operation state management section 105 shifts the operation state of communication terminal 10 to the relay state. When the determination unit 104 determines that the remaining power is equal to or greater than the threshold Wt2 and less than the threshold Wt1, the operation state management unit 105 shifts the operation state of the communication terminal 10 to the normal state. When the determination unit 104 determines that the remaining power level is less than the threshold value Wt2, the operation state management unit 105 shifts the operation state of the communication terminal 10 to the power saving state.

動作状態管理部105は、例えば、図2に示すMPU601で実行されるプログラムによって実現される。 The operating state management unit 105 is implemented by, for example, a program executed by the MPU 601 shown in FIG.

データ変更部106は、送信部102が無線送信するデータがどのような状態であるのかを判別するための情報を変更する機能部である。具体的には、データ変更部106は、後述する図7に示すデータのヘッダ部の制御ビットを、送信部102が無線送信するデータの状態に応じて変更する。具体的に制御ビットをどのように変更するかについては、後述する。データ変更部106は、例えば、図2に示すMPU601で実行されるプログラムによって実現される。 The data changing unit 106 is a functional unit that changes information for determining the state of the data wirelessly transmitted by the transmitting unit 102 . Specifically, the data changing unit 106 changes control bits in the header portion of the data shown in FIG. How to specifically change the control bits will be described later. The data change unit 106 is implemented by, for example, a program executed by the MPU 601 shown in FIG.

受信待機管理部107は、通信端末10の動作状態が中継状態である場合に、送信部102によりデータの無線送信後、他の通信端末10から中継するためのデータを受信するために待機する受信待機状態に移行させる機能部である。受信待機管理部107は、例えば、図2に示すMPU601で実行されるプログラムによって実現される。 When the operation state of communication terminal 10 is in the relay state, reception standby management section 107 waits to receive data to be relayed from other communication terminal 10 after data is wirelessly transmitted by transmission section 102 . It is a functional unit that shifts to a standby state. The reception standby management unit 107 is realized by, for example, a program executed by the MPU 601 shown in FIG.

スリープ管理部108は、通信端末10の動作状態が通常状態または節電状態である場合に、送信部102によるデータの無線送信後、データの中継動作および送受信動作を行わないスリープ状態に移行させる機能部である。スリープ管理部108は、例えば、図2に示すMPU601で実行されるプログラムによって実現される。 The sleep management unit 108 is a functional unit that, when the operating state of the communication terminal 10 is the normal state or the power saving state, transitions to a sleep state in which the data relay operation and the data transmission/reception operation are not performed after the data wireless transmission by the transmission unit 102. is. The sleep manager 108 is realized by, for example, a program executed by the MPU 601 shown in FIG.

タイマ部109は、受信待機管理部107により受信待機状態に移行され、または、スリープ管理部108によりスリープ状態に移行されてからの経過時間を計測する機能部である。タイマ部109は、図2に示すタイマ608によって実現される。 The timer unit 109 is a functional unit that measures the elapsed time after being shifted to a reception standby state by the reception standby management unit 107 or shifted to a sleep state by the sleep management unit 108 . Timer section 109 is realized by timer 608 shown in FIG.

強度取得部110は、通信端末10の動作状態が中継状態である場合に、他の通信端末10からのデータを受信部101により受信され、データのヘッダ部の制御ビットが中継要求を示していない場合、当該データの送信元である他の通信端末10のアドレス(送信元アドレス)、および当該データの信号強度(受信電波強度)を取得する機能部である。強度取得部110は、取得した送信元アドレスと、受信電波強度とを対応付けて、記憶部112に記憶させる。なお、データの受信電波強度は、受信部101(通信モジュール604およびアンテナ605)により検出される。強度取得部110は、例えば、図2に示すMPU601で実行されるプログラムによって実現される。 When the operation state of communication terminal 10 is in the relay state, strength acquisition section 110 receives data from other communication terminal 10 by reception section 101 and the control bit in the header of the data does not indicate a relay request. In this case, it is a functional unit that acquires the address (source address) of another communication terminal 10 that is the source of the data and the signal strength (received radio wave strength) of the data. The intensity acquisition unit 110 associates the acquired transmission source address with the received radio wave intensity, and stores them in the storage unit 112 . The received radio wave intensity of data is detected by the receiving unit 101 (the communication module 604 and the antenna 605). The intensity acquisition unit 110 is implemented by, for example, a program executed by the MPU 601 shown in FIG.

送信条件設定部111は、強度取得部110により取得された送信元アドレスおよび受信電波強度に基づいて、自身(通信端末10)の動作状態が節電状態である場合に、データを無線送信するときの送信条件を設定する機能部である。具体的には、例えば、強度取得部110により、下記の(表3)に示すような、送信元アドレスに対応した受信電波強度が取得され、記憶部112に記憶されているものとする。 The transmission condition setting unit 111, based on the transmission source address and the received radio wave intensity acquired by the intensity acquisition unit 110, determines the setting for wireless transmission of data when the operating state of itself (the communication terminal 10) is in the power saving state. This is a functional unit that sets transmission conditions. Specifically, for example, it is assumed that the intensity acquisition unit 110 acquires the received radio wave intensity corresponding to the transmission source address as shown in (Table 3) below and stores it in the storage unit 112 .

Figure 0007210918000003
Figure 0007210918000003

ここで、受信電波強度[dbm]=送信電波出力[dbm]-減衰量[dbm]で算出されるため、各通信端末10の送信電波出力が同一であれば、受信電波強度が大きい通信端末10ほど減衰量が小さく、通信品質がよいことになる。上記の(表3)に示した記憶部112に記憶された送信元アドレスおよび受信電波強度のうち、送信元アドレスが「XX:XX:XX:02」の通信端末10からデータの受信電波強度がー125[dbm]であり最も高い。 Here, received radio wave intensity [dbm] = transmitted radio wave output [dbm] - attenuation [dbm]. The smaller the attenuation, the better the communication quality. Of the transmission source addresses and received radio wave intensities stored in storage unit 112 shown in (Table 3) above, the received radio wave intensity of data from communication terminal 10 with transmission source address “XX:XX:XX:02” is -125 [dbm] is the highest.

また、下記の(表4)に、拡散率と最低受信感度[dBm]との関係を示す。 Also, the following (Table 4) shows the relationship between the spreading factor and the minimum reception sensitivity [dBm].

Figure 0007210918000004
Figure 0007210918000004

ここで、送信条件設定部111は、例えば、「XX:XX:XX:02」の通信端末10に、ゲートウェイ20へデータを中継させるためには、最低受信感度が受信電波強度よりも小さくなるような拡散率でデータを無線送信するように送信条件を設定する。また、データを中継する通信端末10の数が多いほどゲートウェイ20への到達確率は向上するので、送信条件設定部111は、例えば、送信条件設定部111は、受信電波強度の順位が3番目であって送信元アドレスが「XX:XX:XX:05」である通信端末10へもデータが到達するように、拡散率を「9」として送信条件を設定するようにしてもよい。この場合、拡散率が「8」の場合と比較すると、データレートは低くなり、データの送信に係る消費電力が大きくなるため、送信条件設定部111は、当該消費電力を抑えるために、例えば、拡散率を「9」とした場合には、データの送信間隔を、拡散率を「8」としたときの倍にする等のようにして大きな間隔となるように送信条件を設定するようにしてもよい。 Here, for example, in order for the communication terminal 10 of "XX:XX:XX:02" to relay data to the gateway 20, the transmission condition setting unit 111 sets the minimum reception sensitivity to be smaller than the received radio wave intensity. transmission conditions are set so that data is wirelessly transmitted with a spreading factor of In addition, as the number of communication terminals 10 relaying data increases, the probability of arrival at the gateway 20 improves. The transmission condition may be set with the spreading factor of "9" so that the data reaches even the communication terminal 10 whose source address is "XX:XX:XX:05". In this case, compared to the case where the spreading factor is "8", the data rate is lower and the power consumption related to data transmission is higher. When the spreading factor is set to "9", the transmission condition is set so that the data transmission interval becomes large, such as by doubling the data transmission interval when the spreading factor is set to "8". good too.

記憶部112は、強度取得部110により取得された送信元アドレスと、受信電波強度とを対応付ける情報(例えば、(表3)に示す情報)、および拡散率と最低受信感度とを対応付ける情報を記憶する機能部である。記憶部112は、RAM602またはフラッシュROM603の少なくともいずれかによって実現される。 Storage unit 112 stores information that associates the source address acquired by intensity acquisition unit 110 with received radio wave intensity (for example, information shown in (Table 3)) and information that associates the spreading factor with the minimum reception sensitivity. It is a functional part that Storage unit 112 is implemented by at least one of RAM 602 and flash ROM 603 .

なお、図4に示す通信端末10の受信部101、送信部102、電力管理部103、判定部104、動作状態管理部105、データ変更部106、受信待機管理部107、スリープ管理部108、タイマ部109、強度取得部110、送信条件設定部111および記憶部112は、機能を概念的に示したものであって、このような構成に限定されるものではない。例えば、図4に示す通信端末10で独立した機能部として図示した複数の機能部を、1つの機能部として構成してもよい。一方、図4に示す通信端末10で1つの機能部が有する機能を複数に分割し、複数の機能部として構成するものとしてもよい。 Note that the communication terminal 10 shown in FIG. The unit 109, the intensity acquisition unit 110, the transmission condition setting unit 111, and the storage unit 112 conceptually show the functions, and are not limited to such configurations. For example, the plurality of functional units illustrated as independent functional units in the communication terminal 10 shown in FIG. 4 may be configured as one functional unit. On the other hand, in the communication terminal 10 shown in FIG. 4, the functions possessed by one functional unit may be divided into a plurality of functions to form a plurality of functional units.

また、図4では、通信端末10が有する主要な機能部が示されているものであり、通信端末10が有する機能は、これらに限定されるものではない。 Moreover, FIG. 4 shows main functional units of the communication terminal 10, and the functions of the communication terminal 10 are not limited to these.

図4に示すように、本実施形態に係るゲートウェイ20は、受信部201(受信部)と、送信部202(第2の送信部)と、判定部203(判定部)と、データ処理部204(処理部)と、記憶部205と、を有する。 As shown in FIG. 4, the gateway 20 according to the present embodiment includes a receiving unit 201 (receiving unit), a transmitting unit 202 (second transmitting unit), a determining unit 203 (determining unit), and a data processing unit 204. (processing unit) and a storage unit 205 .

受信部201は、通信端末10から無線送信されたデータを無線受信する機能部である。受信部201は、図3に示す無線通信モジュール804およびアンテナ805、ならびにCPU801で実行されるプログラムによって実現される。 The receiving unit 201 is a functional unit that wirelessly receives data wirelessly transmitted from the communication terminal 10 . Receiving section 201 is realized by wireless communication module 804 and antenna 805 shown in FIG. 3 and a program executed by CPU 801 .

送信部202は、受信部201により無線受信されたデータであって、データ処理部204によりデータ処理(プロトコル変換等)されたデータを、通信システム1内の無線通信ネットワーク外のネットワーク(インターネット等)に送信する機能部である。送信部202は、図3に示すネットワークI/F806、および、CPU801で実行されるプログラムによって実現される。 The transmitting unit 202 transmits the data wirelessly received by the receiving unit 201 and processed (protocol conversion, etc.) by the data processing unit 204 to a network (Internet, etc.) outside the wireless communication network within the communication system 1. It is a functional part that transmits to The transmission unit 202 is implemented by the network I/F 806 shown in FIG. 3 and a program executed by the CPU 801 .

判定部203は、通信端末10から受信部201により無線受信されたデータが、既に受信済みであるか否かを判定する機能部である。判定部203は、例えば、図3に示すCPU801で実行されるプログラムによって実現される。 The determination unit 203 is a functional unit that determines whether the data wirelessly received by the reception unit 201 from the communication terminal 10 has already been received. The determination unit 203 is realized by, for example, a program executed by the CPU 801 shown in FIG.

データ処理部204は、判定部203の判定結果に基づいて、受信部201により無線受信されたデータを破棄するか受理するかを処理する機能部である。また、データ処理部204は、受信部201により受信されたデータであって破棄せずに受理したデータを、通信システム1内の無線通信ネットワーク外のネットワーク(インターネット等)に送信するためにプロトコル変換を行う。データ処理部204は、例えば、図3に示すCPU801で実行されるプログラムによって実現される。 The data processing unit 204 is a functional unit that processes whether to discard or accept the data wirelessly received by the receiving unit 201 based on the determination result of the determining unit 203 . Further, the data processing unit 204 performs protocol conversion so as to transmit data received by the receiving unit 201 without discarding to a network (such as the Internet) outside the wireless communication network within the communication system 1 . I do. The data processing unit 204 is implemented by, for example, a program executed by the CPU 801 shown in FIG.

記憶部205は、データ処理部204により受理されたデータ、および当該データの送信元(識別情報の一例)およびシーケンス番号(識別情報の一例)を記憶する機能部である。記憶部205は、例えば、図3に示すRAM802によって実現される。 The storage unit 205 is a functional unit that stores the data received by the data processing unit 204, the source of the data (an example of identification information), and the sequence number (an example of identification information). The storage unit 205 is realized by the RAM 802 shown in FIG. 3, for example.

なお、図4に示すゲートウェイ20の受信部201、送信部202、判定部203、データ処理部204および記憶部205は、機能を概念的に示したものであって、このような構成に限定されるものではない。例えば、図4に示すゲートウェイ20で独立した機能部として図示した複数の機能部を、1つの機能部として構成してもよい。一方、図4に示すゲートウェイ20で1つの機能部が有する機能を複数に分割し、複数の機能部として構成するものとしてもよい。 Note that the reception unit 201, the transmission unit 202, the determination unit 203, the data processing unit 204, and the storage unit 205 of the gateway 20 shown in FIG. not something. For example, a plurality of functional units illustrated as independent functional units in the gateway 20 shown in FIG. 4 may be configured as one functional unit. On the other hand, in the gateway 20 shown in FIG. 4, the functions possessed by one functional unit may be divided into a plurality of functions to form a plurality of functional units.

また、図4では、ゲートウェイ20が有する主要な機能部が示されているものであり、ゲートウェイ20が有する機能は、これらに限定されるものではない。 Moreover, FIG. 4 shows main functional units of the gateway 20, and the functions of the gateway 20 are not limited to these.

(通信端末の各動作状態への移行処理および各動作状態での動作)
図5は、実施形態に係る通信端末の各動作状態への移行処理および各動作状態での動作の一例を示すフローチャートである。図6は、実施形態に係る通信端末の各動作状態でのデータの送信タイミングの一例を示す図である。図7は、実施形態に係る通信端末の通信データのフレーム構成の一例を示す図である。図5~図7を参照しながら、本実施形態に係る通信端末10の各動作状態への移行処理および各動作状態での動作について説明する。
(Transition processing to each operation state of communication terminal and operation in each operation state)
FIG. 5 is a flowchart showing an example of transition processing to each operation state of the communication terminal according to the embodiment and an example of operation in each operation state. FIG. 6 is a diagram showing an example of data transmission timing in each operating state of the communication terminal according to the embodiment. FIG. 7 is a diagram illustrating an example of a frame configuration of communication data of a communication terminal according to the embodiment; 5 to 7, transition processing to each operation state of the communication terminal 10 according to the present embodiment and operation in each operation state will be described.

<ステップS11>
まず、通信端末10の電力管理部103は、通信端末10の電力残量W(電力管理ブロック500が通信制御ブロック600に対して電力供給可能な電力残量)を取得する。そして、通信端末10の判定部104は、電力管理部103により取得された電力残量Wに対して閾値判定を行う。閾値判定の結果、電力残量Wが閾値Wt1以上である場合(ステップS11:Wt1≦W)、ステップS12へ移行し、電力残量Wが閾値Wt2以上、閾値Wt1未満である場合(ステップS11:Wt2≦W<Wt1)、ステップS22へ移行し、電力残量Wが閾値Wt2未満である場合(ステップS11:W<Wt2)、ステップS26へ移行する。
<Step S11>
First, the power management unit 103 of the communication terminal 10 acquires the remaining power W of the communication terminal 10 (the remaining power that the power management block 500 can supply to the communication control block 600). Then, the determination unit 104 of the communication terminal 10 performs threshold determination on the remaining power amount W acquired by the power management unit 103 . As a result of threshold determination, if the remaining power level W is equal to or greater than the threshold value Wt1 (step S11: Wt1≦W), the process proceeds to step S12. Wt2≦W<Wt1), the process moves to step S22, and when the remaining power level W is less than the threshold value Wt2 (step S11: W<Wt2), the process moves to step S26.

<ステップS12>
通信端末10の動作状態管理部105は、判定部104により電力残量Wが閾値Wt1以上であると判定された場合、通信端末10の動作状態を中継状態に移行させる。そして、ステップS13へ移行する。
<Step S12>
Operation state management section 105 of communication terminal 10 shifts the operation state of communication terminal 10 to the relay state when determination section 104 determines that remaining power level W is equal to or greater than threshold value Wt1. Then, the process proceeds to step S13.

<ステップS13>
通信端末10のデータ変更部106は、図7に示すように、ヘッダ部およびペイロード部で構成された無線送信しようとするデータのヘッダ部の制御ビットを、中継状態で送信され、かつ、中継が不要である旨の情報(図7の例では、ビット「00」(通常状態送信または中継状態送信))に変更する。また、データ変更部106は、図7に示すように、無線送信しようとするデータのヘッダ部のシーケンス番号に、当該データの順番を規定する番号を割り当て、ヘッダ部の送信元アドレスに、通信端末10を一意に識別するためのアドレスを割り当て、さらに、ヘッダ部の宛先アドレスに、データの送信先を示すアドレスを割り当てる。そして、通信端末10の送信部102は、通信端末10の動作状態が中継状態であるため、到達性の高い通常のデータレートで、データ変更部106により制御ビットが変更されたデータを、ゲートウェイ20に対して無線送信する。そして、ステップS14へ移行する。
<Step S13>
As shown in FIG. 7, the data change unit 106 of the communication terminal 10 transmits the control bits of the header portion of the data to be wirelessly transmitted, which is composed of the header portion and the payload portion, in a relay state, and the relay is not performed. It is changed to information indicating that it is unnecessary (in the example of FIG. 7, bit "00" (normal state transmission or relay state transmission)). Further, as shown in FIG. 7, the data change unit 106 assigns a number that defines the order of the data to the sequence number of the header of the data to be wirelessly transmitted, and sets the transmission source address of the header to the communication terminal address. 10 is assigned uniquely, and an address indicating the destination of the data is assigned to the destination address of the header portion. Since the operation state of communication terminal 10 is relay state, transmission section 102 of communication terminal 10 transmits data with control bits changed by data change section 106 at a normal data rate with high reachability to gateway 20. radio transmission to Then, the process proceeds to step S14.

<ステップS14>
通信端末10の受信待機管理部107は、送信部102によるデータの無線送信後、他の通信端末10から中継するデータを受信するために待機する受信待機状態に移行させる。この場合、通信端末10のタイマ部109は、通信端末10が受信待機状態に移行されてからの経過時間の計測を開始する。なお、タイマ部109は、受信待機状態への移行後からの経過時間ではなく、ステップS13における無線送信処理の開始後からの経過時間の計測を行うものとしてもよい。そして、ステップS15へ移行する。
<Step S14>
After the transmission unit 102 wirelessly transmits the data, the reception standby management unit 107 of the communication terminal 10 shifts the communication terminal 10 to a reception standby state in which it waits to receive data to be relayed from another communication terminal 10 . In this case, the timer section 109 of the communication terminal 10 starts measuring the elapsed time after the communication terminal 10 is shifted to the reception standby state. Note that the timer unit 109 may measure the elapsed time from the start of the wireless transmission process in step S13 instead of the elapsed time from the shift to the reception standby state. Then, the process proceeds to step S15.

<ステップS15>
通信端末10が受信待機状態において、受信部101によって、他の通信端末10から無線送信されたデータを無線受信した場合(ステップS15:Yes)、ステップS16へ移行し、無線受信していない場合(ステップS15:No)、ステップS19へ移行する。
<Step S15>
When the receiving unit 101 wirelessly receives data wirelessly transmitted from another communication terminal 10 in the reception standby state of the communication terminal 10 (step S15: Yes), the process proceeds to step S16, and when wireless reception is not performed ( Step S15: No), the process proceeds to step S19.

<ステップS16>
通信端末10のデータ変更部106は、受信部101により他の通信端末10からデータが無線受信された場合、その受信したデータのヘッダ部の制御ビットが、他の通信端末10の動作状態が節電状態でありデータの中継を要求している旨(図7の例では、ビット「01」(中継要求))(第1の情報)を示すか否かを判定する。受信したデータのヘッダ部の制御ビットが中継要求を示す場合(ステップS16:Yes)、ステップS17へ移行し、中継要求を示さない場合(ステップS16:No)、データ変更部106は、受信されたデータは中継する必要がないと判断し、ステップS18へ移行する。ここで、データのヘッダ部の制御ビットが中継要求を示す場合、後述するように、当該データは、動作状態が節電状態の他の通信端末10から無線受信されたデータであることを示す。
<Step S16>
When data is wirelessly received from another communication terminal 10 by the receiving unit 101, the data changing unit 106 of the communication terminal 10 changes the control bit in the header of the received data to indicate that the operating state of the other communication terminal 10 is power saving. It is determined whether or not the state indicates that data relay is requested (bit "01" (relay request) in the example of FIG. 7) (first information). If the control bit in the header of the received data indicates a relay request (step S16: Yes), the process proceeds to step S17. It determines that the data need not be relayed, and proceeds to step S18. Here, when the control bit in the header of the data indicates a relay request, it indicates that the data is wirelessly received from another communication terminal 10 in the power saving state, as will be described later.

<ステップS17>
データ変更部106は、受信部101により他の通信端末10から無線受信されたデータの制御ビットを、当該データが中継された旨を示す情報(図7の例では、ビット「10」(中継済み))(第2の情報)に変更する。この場合、データ変更部106は、無線受信されたデータについて、制御ビット以外のヘッダ部の情報、およびペイロード部の情報は変更しない。これによって、同じデータが中継状態の通信端末10によって繰り返し中継されることを防ぐことができる。そして、送信部102は、通信端末10の動作状態が中継状態であり電力残量にも余裕があるため、到達性の高い通常のデータレートで、データ変更部106により制御ビットが変更されたデータを、ゲートウェイ20に対して再送信(中継して送信)する。これによって、節電状態の他の通信端末10から無線送信され、データレートが通常のデータレートよりも高くて到達性の低いデータが、中継状態の通信端末10によって中継されることにより、到達性の高い通常のデータレートで中継して送信されるため、通信品質の低下を抑制することができる。そして、ステップS19へ移行する。
<Step S17>
Data changing section 106 changes the control bit of data wirelessly received from other communication terminal 10 by receiving section 101 to information indicating that the data has been relayed (in the example of FIG. 7, bit "10" (relayed )) (second information). In this case, the data changing unit 106 does not change the information of the header part other than the control bits and the information of the payload part of the wirelessly received data. This can prevent the same data from being repeatedly relayed by the communication terminal 10 in the relay state. Since the operating state of communication terminal 10 is in the relay state and there is a margin in the remaining power, transmitting section 102 transmits data whose control bits have been changed by data changing section 106 at a normal data rate with high reachability. is retransmitted (relayed and transmitted) to the gateway 20 . As a result, data wirelessly transmitted from another communication terminal 10 in the power saving state and having a data rate higher than the normal data rate and low reachability is relayed by the communication terminal 10 in the relay state. Since it is relayed and transmitted at a high normal data rate, deterioration of communication quality can be suppressed. Then, the process proceeds to step S19.

<ステップS18>
通信端末10の強度取得部110は、受信部101により無線受信された他の通信端末10からのデータのヘッダ部の制御ビットが中継要求を示していない場合、当該データの送信元である他の通信端末10のアドレス(送信元アドレス)、および当該データの信号強度(受信電波強度)を取得する。そして、強度取得部110は、取得した送信元アドレスと、受信電波強度とを対応付けて、記憶部112に記憶させる。そして、ステップS19へ移行する。
<Step S18>
If the control bit in the header of the data from the other communication terminal 10 wirelessly received by the receiving unit 101 does not indicate a relay request, the strength acquiring unit 110 of the communication terminal 10 acquires the other The address (source address) of the communication terminal 10 and the signal strength (received radio wave strength) of the data are acquired. Then, the intensity acquisition unit 110 associates the acquired transmission source address with the received radio wave intensity, and stores them in the storage unit 112 . Then, the process proceeds to step S19.

<ステップS19>
タイマ部109により計測されている受信待機状態に移行してからの経過時間が所定時間(受信待機期間)に達した場合(ステップS19:Yes)、ステップS20へ移行し、経過時間が受信待機期間に達していない場合(ステップS19:No)、ステップS14へ戻る。
<Step S19>
When the elapsed time after shifting to the reception standby state measured by the timer unit 109 reaches a predetermined time (reception standby period) (step S19: Yes), the process proceeds to step S20, and the elapsed time is the reception standby period. If it has not reached (step S19: No), the process returns to step S14.

<ステップS20>
受信待機管理部107は、タイマ部109により計測されている受信待機状態に移行してからの経過時間が受信待機期間に達した場合、受信待機状態を解除する。そして、ステップS21へ移行する。
<Step S20>
The reception standby management unit 107 cancels the reception standby state when the elapsed time after shifting to the reception standby state measured by the timer unit 109 reaches the reception standby period. Then, the process proceeds to step S21.

<ステップS21>
通信端末10の送信条件設定部111は、強度取得部110により取得された送信元アドレスおよび受信電波強度に基づいて、自身(通信端末10)の動作状態が節電状態である場合に、データを無線送信するときの送信条件を設定する。送信条件設定部111による送信条件の具体的な設定方法は、上述した通りである。そして、中継状態での一通りの動作を終了し、以降、ステップS11から繰り返し実行される。
<Step S21>
The transmission condition setting unit 111 of the communication terminal 10, based on the transmission source address and the received radio wave intensity acquired by the intensity acquisition unit 110, transmits data wirelessly when the operating state of itself (the communication terminal 10) is in the power saving state. Set the transmission conditions when sending. A specific method of setting the transmission condition by the transmission condition setting unit 111 is as described above. Then, the series of operations in the relay state is completed, and thereafter, the process is repeatedly executed from step S11.

すなわち、動作状態が中継状態の通信端末10は、図6(c)に示すように、データの無線送信中の区間を示す送信区間305と、次の送信区間305が開始されるまでの間、節電状態の他の通信端末10から無線送信されたデータを無線受信した場合にゲートウェイ20に中継するための受信待機区間306と、を交互に繰り返す。そして、通信端末10は、受信待機区間306中に、節電状態の他の通信端末10から無線送信されたデータを無線受信した場合には、当該データをゲートウェイ20へ中継する処理(上述のステップS16およびS17)をする中継区間307を経て、再び受信待機区間306へ戻る。また、通信端末10は、受信待機区間306においては、後述する図6(a)および図6(b)のスリープ区間302およびスリープ区間304とは異なり、他の通信端末10からのデータを無線受信して中継する処理を行うため、スリープ状態とはならない。 That is, as shown in FIG. 6(c), the communication terminal 10 whose operation state is in the relay state has a transmission section 305 indicating a section in which data is being wirelessly transmitted, and a period until the next transmission section 305 starts. A reception standby period 306 for relaying data wirelessly transmitted from another communication terminal 10 in the power saving state to the gateway 20 when wirelessly received is repeated alternately. Then, when the communication terminal 10 wirelessly receives data wirelessly transmitted from another communication terminal 10 in the power saving state during the reception standby section 306, the process of relaying the data to the gateway 20 (step S16 described above). and S17), and returns to the reception standby section 306 again via the relay section 307. FIG. Further, in the reception standby period 306, the communication terminal 10 wirelessly receives data from another communication terminal 10, unlike the sleep period 302 and the sleep period 304 in FIGS. It does not enter a sleep state because it performs the processing to relay it.

<ステップS22>
動作状態管理部105は、判定部104により電力残量Wが閾値Wt2以上、閾値Wt1(>Wt2)未満であると判定された場合、通信端末10の動作状態を通常状態に移行させる。そして、ステップS23へ移行する。
<Step S22>
When determination unit 104 determines that remaining power level W is equal to or greater than threshold value Wt2 and less than threshold value Wt1 (>Wt2), operation state management unit 105 shifts the operation state of communication terminal 10 to the normal state. Then, the process proceeds to step S23.

<ステップS23>
データ変更部106は、図7に示すように、ヘッダ部およびペイロード部で構成された無線送信しようとするデータのヘッダ部の制御ビットを、通常状態で送信され、かつ、中継が不要である旨の情報(図7の例では、ビット「00」(通常状態送信または中継状態送信))に変更する。また、データ変更部106は、図7に示すように、無線送信しようとするデータのヘッダ部のシーケンス番号に、当該データの順番を規定する番号を割り当て、ヘッダ部の送信元アドレスに、通信端末10を一意に識別するためのアドレスを割り当て、さらに、ヘッダ部の宛先アドレスに、データの送信先を示すアドレスを割り当てる。そして、送信部102は、通信端末10の動作状態が通常状態であるため、到達性の高い通常のデータレートで、データ変更部106により制御ビットが変更されたデータを、ゲートウェイ20に対して無線送信する。そして、ステップS24へ移行する。
<Step S23>
As shown in FIG. 7, the data change unit 106 sets the control bit of the header portion of the data to be wirelessly transmitted, which is composed of the header portion and the payload portion, to the effect that the data is transmitted in a normal state and that relaying is unnecessary. (in the example of FIG. 7, bit "00" (normal state transmission or relay state transmission)). Further, as shown in FIG. 7, the data change unit 106 assigns a number that defines the order of the data to the sequence number of the header of the data to be wirelessly transmitted, and sets the transmission source address of the header to the communication terminal address. 10 is assigned uniquely, and an address indicating the destination of the data is assigned to the destination address of the header portion. Since the operating state of communication terminal 10 is the normal state, transmitting section 102 wirelessly transmits the data with the control bits changed by data changing section 106 to gateway 20 at a normal data rate with high reachability. Send. Then, the process proceeds to step S24.

<ステップS24>
通信端末10のスリープ管理部108は、送信部102によるデータの無線送信後、上述の中継状態における受信待機状態のようなデータの中継動作および送受信動作を行わないスリープ状態に移行させる。この場合、タイマ部109は、通信端末10がスリープ状態に移行されてからの経過時間の計測を開始する。なお、タイマ部109は、スリープ状態への移行後からの経過時間ではなく、ステップS23における無線送信処理の開始後からの経過時間の計測を行うものとしてもよい。そして、ステップS25へ移行する。
<Step S24>
After wireless transmission of data by the transmission unit 102, the sleep management unit 108 of the communication terminal 10 shifts the communication terminal 10 to a sleep state in which the data relay operation and transmission/reception operation are not performed, such as the reception waiting state in the relay state described above. In this case, the timer unit 109 starts measuring the elapsed time after the communication terminal 10 is shifted to the sleep state. Note that the timer unit 109 may measure the elapsed time from the start of the wireless transmission process in step S23 instead of the elapsed time from the transition to the sleep state. Then, the process proceeds to step S25.

<ステップS25>
スリープ管理部108は、タイマ部109により計測されているスリープ状態に移行してからの経過時間が所定時間に達した場合、スリープ状態を解除する。そして、通常状態での一通りの動作を終了し、以降、ステップS11から繰り返し実行される。
<Step S25>
The sleep management unit 108 cancels the sleep state when the elapsed time from the transition to the sleep state measured by the timer unit 109 reaches a predetermined time. Then, the series of operations in the normal state is terminated, and thereafter, the process is repeatedly executed from step S11.

すなわち、動作状態が通常状態の通信端末10は、図6(a)に示すように、データの無線送信中の区間を示す送信区間301と、次の送信区間301が開始されるまでスリープ状態で待機するスリープ区間302と、を交互に繰り返す。また、通信端末10は、スリープ区間302においては、他の通信端末10とのデータの送受信およびデータの中継動作を行わないので、送信時以外の消費電力を小さくすることができる。 That is, as shown in FIG. 6(a), the communication terminal 10 in the normal operating state is in a sleep state until a transmission period 301 indicating a period during which data is being wirelessly transmitted and the next transmission period 301 is started. A sleep interval 302 for waiting is alternately repeated. In addition, since the communication terminal 10 does not perform data transmission/reception and data relaying operations with other communication terminals 10 during the sleep period 302, power consumption other than during transmission can be reduced.

<ステップS26>
動作状態管理部105は、判定部104により電力残量Wが閾値Wt2未満であると判定された場合、通信端末10の動作状態を節電状態に移行させる。そして、ステップS27へ移行する。
<Step S26>
When the determination unit 104 determines that the remaining power level W is less than the threshold value Wt2, the operation state management unit 105 shifts the operation state of the communication terminal 10 to the power saving state. Then, the process proceeds to step S27.

<ステップS27>
データ変更部106は、図7に示すように、ヘッダ部およびペイロード部で構成された無線送信しようとするデータのヘッダ部の制御ビットを、節電状態で送信され、かつ、中継を要求する旨の情報(図7の例では、ビット「01」(中継要求))に変更する。また、データ変更部106は、図7に示すように、無線送信しようとするデータのヘッダ部のシーケンス番号に、当該データの順番を規定する番号を割り当て、ヘッダ部の送信元アドレスに、通信端末10を一意に識別するためのアドレスを割り当て、さらに、ヘッダ部の宛先アドレスに、データの送信先を示すアドレスを割り当てる。そして、送信部102は、通信端末10の動作状態が節電状態であるため、到達性は低いがデータレートが通常のデータレートよりも高い状態で、データ変更部106により制御ビットが変更されたデータを、ゲートウェイ20に対して無線送信する。この場合、節電状態における送信部102による無線送信処理に要する時間は、通常のデータレートよりも高いデータレートであるため、中継状態および通常状態における無線送信処理に要する時間よりも短くなる。そして、ステップS28へ移行する。
<Step S27>
As shown in FIG. 7, the data change unit 106 sets the control bit in the header portion of the data to be wirelessly transmitted, which is composed of the header portion and the payload portion, to indicate that the header portion is to be transmitted in the power saving state and that the relay is requested. information (in the example of FIG. 7, bit "01" (relay request)). Further, as shown in FIG. 7, the data change unit 106 assigns a number that defines the order of the data to the sequence number of the header of the data to be wirelessly transmitted, and sets the transmission source address of the header to the communication terminal address. 10 is assigned uniquely, and an address indicating the destination of the data is assigned to the destination address of the header portion. Then, since the operating state of the communication terminal 10 is the power saving state, the transmission unit 102 transmits data whose reachability is low but the data rate is higher than the normal data rate. is wirelessly transmitted to the gateway 20 . In this case, the time required for wireless transmission processing by the transmission unit 102 in the power saving state is shorter than the time required for wireless transmission processing in the relay state and normal state because the data rate is higher than the normal data rate. Then, the process proceeds to step S28.

<ステップS28>
通信端末10のスリープ管理部108は、送信部102によるデータの無線送信後、上述の中継状態における受信待機状態のようなデータの中継動作および送受信動作を行わないスリープ状態に移行させる。この場合、タイマ部109は、通信端末10がスリープ状態に移行されてからの経過時間の計測を開始する。なお、タイマ部109は、スリープ状態への移行後からの経過時間ではなく、ステップS27における無線送信処理の開始後からの経過時間の計測を行うものとしてもよい。そして、ステップS29へ移行する。
<Step S28>
After wireless transmission of data by the transmission unit 102, the sleep management unit 108 of the communication terminal 10 shifts the communication terminal 10 to a sleep state in which the data relay operation and transmission/reception operation are not performed, such as the reception waiting state in the relay state described above. In this case, the timer unit 109 starts measuring the elapsed time after the communication terminal 10 is shifted to the sleep state. Note that the timer unit 109 may measure the elapsed time from the start of the wireless transmission process in step S27 instead of the elapsed time from the transition to the sleep state. Then, the process proceeds to step S29.

<ステップS29>
スリープ管理部108は、タイマ部109により計測されているスリープ状態に移行してからの経過時間が所定時間に達した場合、スリープ状態を解除する。そして、節電状態での一通りの動作を終了し、以降、ステップS11から繰り返し実行される。
<Step S29>
The sleep management unit 108 cancels the sleep state when the elapsed time from the transition to the sleep state measured by the timer unit 109 reaches a predetermined time. Then, the series of operations in the power saving state is completed, and thereafter, the process is repeatedly executed from step S11.

すなわち、動作状態が節電状態の通信端末10は、図6(b)に示すように、データの無線送信中の区間を示す送信区間303と、次の送信区間303が開始されるまでスリープ状態で待機するスリープ区間304と、を交互に繰り返す。また、通信端末10は、送信区間303においてデータを無線送信する場合、送信時の消費電力を抑えるため、通常のデータレートよりも高いデータレートで無線送信することにより、送信にかかる時間を短縮(送信区間303を短縮)するものとしている。例えば、通信端末10が上述のLoRaの規格に従って無線送信する場合、データレートを高くするために、スペクトラム拡散の拡散率を下げるものとすればよい。また、通信端末10は、スリープ区間304においては、他の通信端末10とのデータの送受信およびデータの中継動作を行わないので、送信時以外の消費電力を小さくすることができる。この場合、送信区間303が短縮された分だけスリープ区間304を長くすることによって、無線送信の処理以外の消費電力をより少なくすることができる。 That is, as shown in FIG. 6B, the communication terminal 10 in the power saving state is in the sleep state until the transmission interval 303 indicating the interval during which data is being wirelessly transmitted and the next transmission interval 303 is started. A sleep interval 304 for waiting is alternately repeated. Further, when wirelessly transmitting data in the transmission section 303, the communication terminal 10 wirelessly transmits data at a higher data rate than the normal data rate in order to reduce power consumption during transmission, thereby shortening the time required for transmission ( The transmission interval 303 is shortened). For example, when the communication terminal 10 performs wireless transmission according to the LoRa standard described above, the spreading factor of spread spectrum should be lowered in order to increase the data rate. In addition, since the communication terminal 10 does not perform data transmission/reception or data relaying operations with other communication terminals 10 during the sleep period 304, power consumption other than during transmission can be reduced. In this case, by lengthening the sleep period 304 by the amount that the transmission period 303 is shortened, it is possible to further reduce the power consumption for processes other than the wireless transmission process.

以上のステップS11~S29の処理によって、通信端末10の各動作状態への移行処理および各動作状態での動作が実行される。 Through the processing of steps S11 to S29 described above, the transition processing to each operation state of the communication terminal 10 and the operation in each operation state are executed.

(通信端末のデータの送信時の通信経路について)
図8は、実施形態に係る通信端末の通常状態でのデータの送信時の通信経路を説明する図である。図9は、実施形態に係る通信端末の節電状態でのデータの送信時の通信経路を説明する図である。図8および図9を参照しながら、本実施形態に係る通信端末10の通常状態および節電状態でのデータの送信時の通信経路について説明する。
(Regarding the communication route when sending data from a communication terminal)
FIG. 8 is a diagram for explaining communication paths during data transmission in a normal state of the communication terminal according to the embodiment. FIG. 9 is a diagram illustrating communication paths during data transmission in the power saving state of the communication terminal according to the embodiment. Communication paths during data transmission in the normal state and the power saving state of the communication terminal 10 according to the present embodiment will be described with reference to FIGS. 8 and 9. FIG.

まず、図8を参照しながら、通信端末10の通常状態でのデータの送信時の通信経路について説明する。図8に示す通信端末10a~10cは、動作状態がそれぞれ、中継状態、通常状態、通常状態となっており、それぞれゲートウェイ20に対して、自身のデータを無線送信する。このとき、通信端末10b(および通信端末10c)は、動作を行うための十分な電力残量を有している通常状態であるため、長い距離を無線送信することが可能である。また、通信端末10aは、動作を行うための電力残量を通信端末10bよりも多く有している中継状態であるため、長い距離を無線送信することが可能である。 First, with reference to FIG. 8, the communication path during data transmission in the normal state of the communication terminal 10 will be described. The communication terminals 10a to 10c shown in FIG. 8 are in the relay state, the normal state, and the normal state, respectively, and wirelessly transmit their own data to the gateway 20, respectively. At this time, the communication terminal 10b (and the communication terminal 10c) is in a normal state with sufficient remaining power for operation, and thus can perform wireless transmission over a long distance. In addition, since the communication terminal 10a is in a relay state in which it has more remaining power for operation than the communication terminal 10b, it is possible to perform wireless transmission over a long distance.

通信端末10bは通常状態であるため、通信端末10bの無線送信が可能な範囲を示す通信可能範囲401は、後述する図9に示す通信可能範囲402よりも広い範囲となっている。この通信可能範囲401内に存在し、データを無線受信することが可能な機器(図8においては、ゲートウェイ20および通信端末10a)であれば、通信端末10bから無線送信されたデータを無線受信することが可能である。したがって、通信端末10bから無線送信されたデータは、ゲートウェイ20において直接、無線受信されることが可能であり、ゲートウェイ20により無線受信されたデータは、外部のネットワークに転送される。また、通信端末10bから無線送信されたデータは、中継状態である通信端末10aにおいても無線受信されるが、当該データの制御ビットは中継要求を示す情報でないため、通信端末10aにおいて中継(再送信)は実行されない。 Since the communication terminal 10b is in the normal state, the communicable range 401 indicating the range in which the communication terminal 10b can perform wireless transmission is wider than the communicable range 402 shown in FIG. 9 to be described later. If the device exists within this communicable range 401 and is capable of wirelessly receiving data (gateway 20 and communication terminal 10a in FIG. 8), it wirelessly receives data wirelessly transmitted from communication terminal 10b. It is possible. Therefore, data wirelessly transmitted from communication terminal 10b can be directly wirelessly received by gateway 20, and data wirelessly received by gateway 20 is transferred to an external network. Data wirelessly transmitted from the communication terminal 10b is also wirelessly received by the communication terminal 10a in the relay state, but the control bit of the data is not information indicating a relay request. ) is not executed.

なお、図8においては、通常状態にある通信端末10(図8では通信端末10b)から無線送信されるデータの通信経路について説明したが、中継状態にある通信端末10から無線送信されるデータについても通信経路は同様である。 8, the communication path of data wirelessly transmitted from the communication terminal 10 in the normal state (communication terminal 10b in FIG. 8) has been described, but data wirelessly transmitted from the communication terminal 10 in the relay state communication route is the same.

次に、図9を参照しながら、通信端末10の節電状態でのデータの送信時の通信経路について説明する。図9に示す通信端末10a~10cは、動作状態がそれぞれそれぞれ、中継状態、節電状態、通常状態となっており、それぞれゲートウェイ20に対して、自身のデータを無線送信する。このとき、通信端末10bは、節電状態であるため、電力残量が少なく、無線送信をする距離は短い。また、通信端末10aは、動作を行うための電力残量を通信端末10c(通常状態)よりも多く有している中継状態であるため、長い距離を無線送信することが可能である。 Next, with reference to FIG. 9, a communication path for data transmission in the power saving state of the communication terminal 10 will be described. The communication terminals 10a to 10c shown in FIG. 9 are in the relay state, the power saving state, and the normal state, respectively, and wirelessly transmit their own data to the gateway 20, respectively. At this time, since the communication terminal 10b is in the power saving state, the remaining power is low and the wireless transmission distance is short. Further, since the communication terminal 10a is in a relay state having a larger amount of remaining power for operation than the communication terminal 10c (normal state), it is possible to perform wireless transmission over a long distance.

通信端末10bは節電状態であるため、通信端末10bの無線送信が可能な範囲を示す通信可能範囲402は、上述した図8に示す通信可能範囲401よりも狭い範囲となっている。この通信可能範囲402内に存在し、データを無線受信することが可能な機器(図9においては、通信端末10a)であれば、通信端末10bから無線送信されたデータを無線受信することが可能である。このとき、通信端末10bから無線送信されたデータの制御ビットは中継を要求することを示す情報となっている。また、通信端末10bから無線送信されたデータは、中継状態の通信端末10aで無線受信される。そして、通信端末10aは、無線受信したデータが、節電状態の通信端末10(通信端末10b)から無線送信されたデータであって中継要求を示す制御ビットを有するデータであるため、当該制御ビットを、中継済みを示す情報に変更して、ゲートウェイ20に対して中継(再送信)する。 Since the communication terminal 10b is in the power saving state, the communicable range 402 indicating the wireless transmission range of the communication terminal 10b is narrower than the communicable range 401 shown in FIG. If the device exists within the communicable range 402 and is capable of wirelessly receiving data (the communication terminal 10a in FIG. 9), the data wirelessly transmitted from the communication terminal 10b can be wirelessly received. is. At this time, the control bit of the data wirelessly transmitted from the communication terminal 10b is information indicating a relay request. Data wirelessly transmitted from the communication terminal 10b is wirelessly received by the communication terminal 10a in the relay state. Then, the communication terminal 10a receives the data wirelessly from the communication terminal 10 (communication terminal 10b) in the power saving state and has a control bit indicating a relay request. , is changed to information indicating that it has been relayed, and relayed (retransmitted) to the gateway 20 .

なお、ゲートウェイ20が、通信可能範囲402内に存在すれば、通信端末10bから無線送信されたデータは、ゲートウェイ20において直接、無線受信されることも可能である。 Note that if the gateway 20 exists within the communicable range 402, the data wirelessly transmitted from the communication terminal 10b can be directly wirelessly received by the gateway 20. FIG.

図10は、実施形態に係る通信端末の間に通信を妨害する要因がある場合について説明する図である。図10を参照しながら、本実施形態に係る通信端末10の間に通信を妨害する等の要因がある場合に送信条件を変更して設定する動作について説明する。 FIG. 10 is a diagram illustrating a case where there is a factor that interferes with communication between communication terminals according to the embodiment. With reference to FIG. 10, the operation of changing and setting the transmission conditions when there is a factor such as communication interference between the communication terminals 10 according to the present embodiment will be described.

図10に示す通信端末10a~10cは、動作状態がそれぞれ、中継状態、節電状態、通常状態となっており、それぞれゲートウェイ20に対して、自身のデータを無線送信する。この場合、中継状態で動作する10aと、節電状態で動作する通信端末10bとの間に、構造物等の電波を減衰させる要因が存在する場合、通信端末10bが無線送信できる範囲が狭まって通信可能範囲411の範囲となっており、この場合、通信端末10aはその範囲となっている。したがって、通信端末10bから無線送信されたデータは、結果的に、ゲートウェイ20まで到達しない。 The operation states of the communication terminals 10a to 10c shown in FIG. 10 are the relay state, the power saving state, and the normal state, respectively, and wirelessly transmit their own data to the gateway 20, respectively. In this case, if there is a factor that attenuates radio waves, such as a structure, between the communication terminal 10a operating in the relay state and the communication terminal 10b operating in the power saving state, the range in which the communication terminal 10b can perform wireless transmission becomes narrower. It is within the possible range 411, and in this case, the communication terminal 10a is within that range. Therefore, the data wirelessly transmitted from the communication terminal 10b does not reach the gateway 20 as a result.

これを回避するためには、例えば、節電状態である通信端末10bは、無線送信ができる範囲を拡張して通信可能範囲412とし、この範囲に通信端末10aが含まれるようになれば、通信端末10aによりデータが中継され、当該データがゲートウェイ20まで到達することになる。このように、通信可能範囲を拡張する具体的な方法としては、上述の図4および図5で説明した強度取得部110および送信条件設定部111の動作の通りである。 In order to avoid this, for example, the communication terminal 10b in the power-saving state expands the range in which wireless transmission is possible to a communicable range 412, and if the communication terminal 10a is included in this range, the communication terminal 10b The data is relayed by 10 a and reaches the gateway 20 . As a specific method for extending the communicable range in this way, the operations of the intensity acquisition unit 110 and the transmission condition setting unit 111 described with reference to FIGS. 4 and 5 are the same.

(ゲートウェイのデータの受信時の重複確認処理)
図11は、実施形態に係るゲートウェイのデータの受信時の重複確認処理の一例を示すフローチャートである。上述の図8および図9に示したように、通信端末10から無線送信されたデータについて、同じデータ(正確には、図7に示す制御ビット以外のデータが同じであるデータを示すが、以下、単に「同じデータ」と称するものとする)が、ゲートウェイ20によって無線受信される場合がある。例えば、図9において、ゲートウェイ20が通信可能範囲402内にある場合、通信端末10bから無線送信されたデータは、直接、ゲートウェイ20によって無線受信される場合と、通信端末10aを中継してゲートウェイ20によって無線受信される場合とがあり、この場合、ゲートウェイ20は同じデータを重複して受信することになる。また、通信可能範囲402内に、複数の中継状態の通信端末10が存在する場合、通信端末10bから無線送信されたデータは、1の中継状態の通信端末10により中継されてゲートウェイ20によって無線受信される場合と、他の中継状態の通信端末10により中継されてゲートウェイ20によって無線受信される場合とがあり、この場合も、ゲートウェイ20は同じデータを重複して受信することになる。このように重複して受信するような環境にある場合、ゲートウェイ20においては、既に受信したデータを重複して受信したデータを破棄する処理が必要となる。そこで、図11を参照しながら、本実施形態に係るゲートウェイ20のデータの受信時の重複確認処理について説明する。
(Duplicate check processing when receiving gateway data)
FIG. 11 is a flowchart illustrating an example of duplication check processing when data is received by the gateway according to the embodiment. As shown in FIGS. 8 and 9 above, the data wirelessly transmitted from the communication terminal 10 are the same data (more precisely, the data other than the control bits shown in FIG. 7 are the same data). , simply referred to as “same data”) may be wirelessly received by the gateway 20 . For example, in FIG. 9, when the gateway 20 is within the communicable range 402, the data wirelessly transmitted from the communication terminal 10b is directly received by the gateway 20, or is relayed by the communication terminal 10a to the gateway 20. In this case, the gateway 20 receives the same data redundantly. When a plurality of communication terminals 10 in the relay state exist within the communicable range 402, data wirelessly transmitted from the communication terminal 10b is relayed by one communication terminal 10 in the relay state and received wirelessly by the gateway 20. In other cases, the data is relayed by another communication terminal 10 in the relay state and is wirelessly received by the gateway 20. Also in this case, the gateway 20 receives the same data redundantly. In such an environment in which data is received redundantly, the gateway 20 needs to perform a process of discarding data that has been received redundantly. Therefore, with reference to FIG. 11, the duplication check processing at the time of data reception by the gateway 20 according to the present embodiment will be described.

<ステップS31>
ゲートウェイ20の受信部201は、通信端末10から無線送信されるデータを無線受信可能な状態となっている。受信部201により通信端末10からのデータを無線受信した場合(ステップS31:Yes)、ステップS32へ移行し、通信端末10からデータが無線受信されない場合(ステップS31:No)、受信部201は、データを無線受信するまで待機する。
<Step S31>
The receiving unit 201 of the gateway 20 is in a state capable of wirelessly receiving data wirelessly transmitted from the communication terminal 10 . When the data from the communication terminal 10 is wirelessly received by the receiving unit 201 (step S31: Yes), the process proceeds to step S32, and when the data is not wirelessly received from the communication terminal 10 (step S31: No), the receiving unit 201 Wait until data is wirelessly received.

<ステップS32>
ゲートウェイ20の判定部203は、受信部201により無線受信されたデータのヘッダ部の送信元アドレスおよびシーケンス番号(図7参照)を確認し、記憶部205に記憶された送信元アドレスおよびシーケンス番号とそれぞれ同一であるか否かを判定することによって、無線受信されたデータが既に受信済みであるか否かを判定する。無線受信されたデータの送信元アドレスおよびシーケンス番号が、記憶部205に記憶された送信元アドレスおよびシーケンス番号とそれぞれ同一である場合(すなわち、無線受信されたデータが既に受信済みである場合)(ステップS32:Yes)、ステップS33へ移行する。一方、無線受信されたデータの送信元アドレスおよびシーケンス番号が、記憶部205に記憶された送信元アドレスおよびシーケンス番号と少なくともいずれかが異なる場合(すなわち、無線受信されたデータが受信済みでない場合)(ステップS32:No)、ステップS34へ移行する。
<Step S32>
Determining unit 203 of gateway 20 checks the source address and sequence number (see FIG. 7) of the header portion of the data wirelessly received by receiving unit 201, and confirms the source address and sequence number stored in storage unit 205. By determining whether or not they are the same, it is determined whether or not the wirelessly received data has already been received. If the source address and sequence number of the wirelessly received data are the same as the source address and sequence number stored in storage unit 205 (that is, if the wirelessly received data has already been received) ( Step S32: Yes), the process proceeds to step S33. On the other hand, if at least one of the source address and sequence number of the wirelessly received data differs from the source address and sequence number stored in storage unit 205 (that is, if the wirelessly received data has not been received) (Step S32: No), the process proceeds to step S34.

<ステップS33>
ゲートウェイ20のデータ処理部204は、受信部201により無線受信されたデータが既に受信済みである場合、当該データを破棄する。そして、重複確認処理を終了する。
<Step S33>
If the data wirelessly received by the receiving unit 201 has already been received, the data processing unit 204 of the gateway 20 discards the data. Then, the duplication confirmation process ends.

<ステップS34>
データ処理部204は、受信部201により無線受信されたデータが受信済みでない場合、以後、受信部201により無線受信されたデータが受信済みであるか否かを判定するために、記憶部205に、当該データの送信元アドレスおよびシーケンス番号を記憶させる。そして、ステップS35へ移行する。
<Step S34>
If the data wirelessly received by the receiving unit 201 has not been received yet, the data processing unit 204 stores the , stores the source address and sequence number of the data. Then, the process proceeds to step S35.

<ステップS35>
データ処理部204は、受信部201により無線受信されたデータを受理する。具体的には、データ処理部204は、当該データを宛先アドレスに送信する必要があると判断し、当該データに対してプロトコル変換等の処理を行い、処理後のデータを、通信システム1内の無線通信ネットワーク外のネットワーク(インターネット等)に送信する。そして、重複確認処理を終了する。
<Step S35>
The data processing unit 204 receives data wirelessly received by the receiving unit 201 . Specifically, the data processing unit 204 determines that the data needs to be transmitted to the destination address, performs processing such as protocol conversion on the data, and transfers the processed data to the communication system 1. Send to a network outside the wireless communication network (such as the Internet). Then, the duplication confirmation process ends.

以上のステップS31~S35の処理によって、ゲートウェイ20の重複確認処理が実行される。以上のようなゲートウェイ20の重複確認処理によって、同一の送信元アドレスおよびシーケンス番号を有する同一のデータが、ゲートウェイ20の外部へ送出されることを防ぐことができる。 Duplication confirmation processing of the gateway 20 is executed by the processing of steps S31 to S35. Due to the duplication confirmation processing of the gateway 20 as described above, it is possible to prevent the same data having the same source address and sequence number from being sent to the outside of the gateway 20 .

なお、ステップS32において、受信部201により無線受信されたデータが既に受信済みであるか否かを判定するために、当該データのヘッダ部の送信元アドレスおよびシーケンス番号の同一性を確認しているが、これに限定されるものではない。例えば、通信端末10において生成された送信すべきデータは、1つの宛先アドレスだけではなく、複数の宛先アドレスに送信すべき場合もあり得る。この場合、判定部203は、送信元アドレスおよびシーケンス番号だけでなく、宛先アドレス(識別情報の一例)についての同一性も確認することによって、複数の宛先アドレスで示される通信システム1外の各宛先アドレスで示される装置に、適切にデータを送信することが可能となる。 In step S32, in order to determine whether or not the data wirelessly received by the receiving unit 201 has already been received, the identity of the source address and sequence number in the header of the data is confirmed. However, it is not limited to this. For example, data to be transmitted generated in the communication terminal 10 may be transmitted not only to one destination address but also to a plurality of destination addresses. In this case, the determination unit 203 confirms not only the source address and the sequence number, but also the identity of the destination address (an example of identification information). Data can be sent appropriately to the device indicated by the address.

以上のように、本実施形態に係る通信システム1では、電力残量が低い動作状態(例えば、節電状態)の通信端末10は、消費電力を抑えた動作条件(例えば、データレートを高くする)(第2の動作条件)によって無線送信して、無線送信後は、消費電力を抑えるため所定時間、データの送受信を行わないスリープ状態に移行させるものとしている。また、電量残量が高い動作状態(例えば、中継状態)の通信端末10は、電力残量が低い動作状態の通信端末10からのデータを無線受信した場合、通信品質の低下を抑制した動作条件(例えば、データレートを低くする)(第1の動作条件)によって無線受信したデータをゲートウェイ20に対して中継(再送信)するものとしている。そして、通信端末10は、自身の電力残量に応じた動作状態に切り替えるものとしている。これによって、通信品質の低下を抑制しつつ、通信端末10の動作可能時間を延ばすことが可能となる。 As described above, in the communication system 1 according to the present embodiment, the communication terminal 10 in an operating state with a low remaining amount of power (for example, a power saving state) operates under an operating condition with reduced power consumption (for example, by increasing the data rate). (Second operating condition), wireless transmission is performed, and after wireless transmission, a transition is made to a sleep state in which data transmission/reception is not performed for a predetermined period of time in order to reduce power consumption. Further, when the communication terminal 10 in an operating state (for example, a relay state) with a high remaining amount of power wirelessly receives data from the communication terminal 10 in an operating state with a low remaining amount of power, the operating conditions that suppress deterioration in communication quality are set. It is assumed that data received wirelessly is relayed (retransmitted) to the gateway 20 under the (first operating condition) (for example, the data rate is lowered). Then, the communication terminal 10 switches to an operating state according to its own remaining power level. This makes it possible to extend the operable time of the communication terminal 10 while suppressing deterioration in communication quality.

また、本実施形態に係る通信端末10は、動作状態が中継状態である場合に、他の通信端末10からのデータを受信部101により受信されたとき、当該データの送信元である他の通信端末10のアドレス(送信元アドレス)、および当該データの受信電波強度を取得する。そして、通信端末10は、取得した送信元アドレスおよび受信電波強度に基づいて、自身の動作状態が節電状態となった場合に、データを送信するときの送信条件を設定するものとしている。具体的には、通信端末10は、例えば、最低受信感度が受信電波強度よりも小さくなるような拡散率でデータを送信するように送信条件を設定する。これによって、通信端末10間に無線通信を妨害するような要因があっても、受信電波強度等を取得することによって、節電状態におけるデータの送信条件を設定変更することができ、ゲートウェイ20までデータを到達させることができる。 Further, when the communication terminal 10 according to the present embodiment receives data from another communication terminal 10 by the receiving unit 101 when the operation state is in the relay state, the communication terminal 10 receives data from another communication terminal that is the transmission source of the data. The address (source address) of the terminal 10 and the received radio wave intensity of the data are acquired. Then, the communication terminal 10 sets transmission conditions for transmitting data when the operating state of the communication terminal 10 is in the power saving state, based on the acquired source address and received radio wave intensity. Specifically, the communication terminal 10 sets the transmission condition such that the data is transmitted with a spreading factor that makes the minimum reception sensitivity smaller than the received radio wave intensity. As a result, even if there is a factor that interferes with wireless communication between the communication terminals 10, it is possible to change the setting of the data transmission conditions in the power saving state by acquiring the received radio wave intensity and the like, and the data is transmitted to the gateway 20. can be reached.

また、本実施形態に係る通信端末10は、動作状態が通常状態または節電状態の場合、データの無線送信後、所定時間だけスリープ状態に移行するようにしている。このスリープ状態では、他の通信端末10とのデータの送受信およびデータの中継動作を行わないので、送信処理以外の消費電力を小さくすることができる。 In addition, the communication terminal 10 according to the present embodiment, when the operating state is the normal state or the power saving state, shifts to the sleep state for a predetermined period of time after wirelessly transmitting data. In this sleep state, data transmission/reception with other communication terminals 10 and data relay operation are not performed, so power consumption other than the transmission process can be reduced.

また、本実施形態に係る通信端末10は、動作状態が中継状態または通常状態である場合、到達性の高い通常のデータレート(節電状態におけるデータレートよりも低いデータレート)でデータを無線送信するものとしている。これによって、通信品質の低下を抑制することができる。 Further, when the operation state is the relay state or the normal state, the communication terminal 10 according to the present embodiment wirelessly transmits data at a normal data rate with high reachability (a data rate lower than the data rate in the power saving state). I am assuming. As a result, deterioration of communication quality can be suppressed.

また、本実施形態に係る通信端末10は、動作状態が節電状態である場合、上述のように、データの無線送信の際、データレートを高くして送信するため、送信にかかる時間を短縮でき、短縮された分だけスリープ状態となっている時間を長くするものとしている。これによって、送信処理以外の消費電力をより少なくすることができる。 In addition, when the operation state is the power saving state, the communication terminal 10 according to the present embodiment transmits data at a high data rate when wirelessly transmitting data as described above, so that the time required for transmission can be shortened. , the time in the sleep state is lengthened by the shortened amount. This makes it possible to further reduce power consumption for processes other than the transmission process.

また、本実施形態に係る通信端末10は、動作状態が中継状態である場合、他の通信端末10から無線受信されたデータの制御ビットを、当該データが中継された旨を示す情報(中継済みを示す情報)に変更する。そして、通信端末10は、動作状態が中継状態である場合、他の通信端末10から無線受信したデータの制御ビットが、中継済みを示す情報である場合、当該データを中継しないものとしている。これによって、同じデータが中継状態の通信端末10によって繰り返し中継されることを防ぐことができる。 Further, when the operation state of the communication terminal 10 according to the present embodiment is the relay state, the control bit of data wirelessly received from another communication terminal 10 is set to information indicating that the data has been relayed (relayed information). When the operation state of the communication terminal 10 is in the relay state, and the control bit of the data wirelessly received from another communication terminal 10 is information indicating that the data has been relayed, the communication terminal 10 does not relay the data. This can prevent the same data from being repeatedly relayed by the communication terminal 10 in the relay state.

また、本実施形態に係るゲートウェイ20は、既に受信済みのデータを通信端末10から無線受信した場合、当該データをプロトコル変換して外部のネットワークに送信することはせず、当該データを破棄するものとしている。これによって、同一のデータがゲートウェイ20の外部へ送出されることを防ぐことができる。 Further, when the gateway 20 according to the present embodiment wirelessly receives data that has already been received from the communication terminal 10, the gateway 20 does not convert the protocol of the data and transmits the data to an external network, but discards the data. and This can prevent the same data from being sent outside the gateway 20 .

なお、通信端末10の動作状態として、中継状態、通常状態および節電状態の3つの動作状態の切り替えについて説明したが、動作状態の種類は3種類に限定されるものではない。例えば、同じ通常状態でも、さらに複数の状態に区分けし、電力残量がより高い状態の場合は、より低いデータレートで無線送信するものとし、図6に示すスリープ区間302の長さをより短く設定するものとしてもよい。また、同じ中継状態でも、さらに複数の状態に区分けし、電力残量がより低い状態の場合は、節電状態の他の通信端末10からデータを無線受信する度に中継処理を行うのではなく、複数回のうち1回だけ中継処理を行う等の動作としてもよい。 Although switching among the three operating states of the relay state, the normal state, and the power saving state has been described as the operating state of the communication terminal 10, the types of operating states are not limited to three. For example, even in the same normal state, it is further divided into a plurality of states, and when the remaining power level is higher, wireless transmission is performed at a lower data rate, and the length of the sleep section 302 shown in FIG. 6 is shortened. It may be set. In addition, even in the same relay state, it is further divided into a plurality of states, and when the remaining power level is lower, relay processing is not performed each time data is wirelessly received from another communication terminal 10 in the power saving state. An operation such as performing relay processing only once out of a plurality of times may be performed.

また、上述の実施形態において、通信端末10およびゲートウェイ20の各機能部の少なくともいずれかがプログラムの実行によって実現される場合、そのプログラムは、ROM等に予め組み込まれて提供される。また、上述の実施形態に係る通信端末10およびゲートウェイ20で実行されるプログラムは、インストール可能な形式または実行可能な形式のファイルでCD-ROM(Compact Disc Read Only Memory)、フレキシブルディスク(FD)、CD-R(Compact Disk-Recordable)、またはDVD(Digital Versatile Disc)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。また、上述の実施形態の通信端末10およびゲートウェイ20で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、上述の実施形態の通信端末10およびゲートウェイ20で実行されるプログラムを、インターネット等のネットワーク経由で提供または配布するように構成してもよい。また、上述の実施形態の通信端末10およびゲートウェイ20で実行されるプログラムは、上述した各機能部のうち少なくともいずれかを含むモジュール構成となっており、実際のハードウェアとしてはMPU601、CPU801が上述の記憶装置(例えば、フラッシュROM603、ROM803)からプログラムを読み出して実行することにより、上述の各機能部が主記憶装置(例えば、RAM602、RAM802)上にロードされて生成されるようになっている。 Further, in the above-described embodiments, when at least one of the functional units of the communication terminal 10 and the gateway 20 is implemented by executing a program, the program is preinstalled in a ROM or the like and provided. In addition, the programs executed by the communication terminal 10 and the gateway 20 according to the above-described embodiments are stored in installable format or executable format files on a CD-ROM (Compact Disc Read Only Memory), a flexible disk (FD), It may be configured to record and provide on a computer-readable recording medium such as CD-R (Compact Disk-Recordable) or DVD (Digital Versatile Disc). Alternatively, the programs executed by the communication terminal 10 and the gateway 20 of the above embodiments may be stored on a computer connected to a network such as the Internet, and may be provided by being downloaded via the network. . Also, the programs executed by the communication terminal 10 and the gateway 20 of the above embodiments may be configured to be provided or distributed via a network such as the Internet. Further, the programs executed by the communication terminal 10 and the gateway 20 of the above-described embodiment have a module configuration including at least one of the above-described functional units. By reading and executing the program from the storage device (eg, flash ROM 603, ROM 803), each functional unit described above is loaded and generated on the main storage device (eg, RAM 602, RAM 802). .

1 通信システム
10、10a~10c 通信端末
20 ゲートウェイ
101 受信部
102 送信部
103 電力管理部
104 判定部
105 動作状態管理部
106 データ変更部
107 受信待機管理部
108 スリープ管理部
109 タイマ部
110 強度取得部
111 送信条件設定部
112 記憶部
201 受信部
202 送信部
203 判定部
204 データ処理部
205 記憶部
301 送信区間
302 スリープ区間
303 送信区間
304 スリープ区間
305 送信区間
306 受信待機区間
307 中継区間
401、402 通信可能範囲
411、412 通信可能範囲
500 電力管理ブロック
501 充電池
502 太陽電池
503 電力制御IC
504 内部バス
600 通信制御ブロック
601 MPU
602 RAM
603 フラッシュROM
604 通信モジュール
605 アンテナ
606 メインクロック
607 サブクロック
608 タイマ
609 内部バス
700 電力線
801 CPU
802 RAM
803 ROM
804 無線通信モジュール
805 アンテナ
806 ネットワークI/F
807 バス
1 communication system 10, 10a to 10c communication terminal 20 gateway 101 reception unit 102 transmission unit 103 power management unit 104 determination unit 105 operation state management unit 106 data change unit 107 reception standby management unit 108 sleep management unit 109 timer unit 110 strength acquisition unit 111 transmission condition setting unit 112 storage unit 201 reception unit 202 transmission unit 203 determination unit 204 data processing unit 205 storage unit 301 transmission period 302 sleep period 303 transmission period 304 sleep period 305 transmission period 306 reception standby period 307 relay period 401, 402 communication Possible range 411, 412 Communication possible range 500 Power management block 501 Rechargeable battery 502 Solar cell 503 Power control IC
504 internal bus 600 communication control block 601 MPU
602 RAMs
603 Flash ROM
604 communication module 605 antenna 606 main clock 607 sub clock 608 timer 609 internal bus 700 power line 801 CPU
802 RAM
803 ROMs
804 wireless communication module 805 antenna 806 network I/F
807 bus

特開2016-032160号公報Japanese Unexamined Patent Application Publication No. 2016-032160

Claims (10)

通信装置であって、
前記通信装置の動作に利用される電力を供給する電力供給部から供給される前記電力の残量を取得する取得部と、
前記通信装置のデータを無線送信する第1の送信部と、
前記取得部により取得された前記残量が第1の閾値より大きい場合、第1の動作条件により前記第1の送信部からデータが無線送信され、かつ、前記第1の送信部による無線送信中以外では他の通信装置からのデータを無線受信して中継するための受信待機状態となる第1の動作状態に切り替え、前記残量が前記第1の閾値より小さい第2の閾値より小さい場合、前記第1の動作条件よりも消費電力が小さい第2の動作条件により前記第1の送信部からデータが無線送信され、無線送信される該データに対して中継を要求する第1の情報を含める第2の動作状態に切り替える第1の切替部と、
前記第1の切替部により前記第1の動作状態に切り替えられている場合、他の通信装置から無線受信したデータの受信電波強度を取得する強度取得部と、
前記第1の切替部により前記第2の動作状態に切り替えられた場合における前記第2の動作条件を、最低受信感度が、前記強度取得部により取得された前記受信電波強度のうち少なくともいずれかよりも小さくなるような拡散率によってデータを無線送信するように設定する設定部と、
を備え、
前記第1の送信部は、前記通信装置が前記第1の動作状態のときに、前記受信待機状態中に前記他の通信装置から前記第1の情報を含むデータを無線受信した場合、該データを前記第1の動作条件によって中継して送信する通信装置。
A communication device,
an acquisition unit that acquires the remaining amount of power supplied from a power supply unit that supplies power used for operation of the communication device;
a first transmission unit that wirelessly transmits data of the communication device;
When the remaining amount acquired by the acquisition unit is greater than a first threshold, data is wirelessly transmitted from the first transmission unit under a first operating condition, and wireless transmission by the first transmission unit is in progress. If the remaining amount is smaller than the first threshold and is smaller than the second threshold, Data is wirelessly transmitted from the first transmitting unit under a second operating condition that consumes less power than the first operating condition, and first information requesting relay is included in the wirelessly transmitted data. a first switching unit that switches to a second operating state;
an intensity acquisition unit that acquires a reception radio wave intensity of data wirelessly received from another communication device when the first operation state is switched to by the first switching unit;
the second operating condition when the first switching unit switches to the second operating state, wherein the minimum reception sensitivity is higher than at least one of the received radio field strengths obtained by the strength obtaining unit; a setting unit configured to wirelessly transmit data with a spreading factor that reduces the
with
When the communication device is in the first operating state and wirelessly receives data including the first information from the other communication device during the reception standby state, the first transmission unit transmits the data. according to the first operating condition.
前記第1の送信部は、前記通信装置が前記第2の動作状態である場合、前記第2の動作条件として、前記第1の動作条件のデータレートよりも高いデータレートでデータを送信する請求項1に記載の通信装置。 wherein, when the communication device is in the second operating state, the first transmitting unit transmits data at a data rate higher than the data rate under the first operating condition as the second operating condition. Item 1. The communication device according to item 1. 前記通信装置が前記第1の動作状態以外の状態である場合、前記第1の送信部による無線送信中以外では、データの送受信を行わないスリープ状態に切り替える第2の切替部を、さらに備えた請求項1~のいずれか一項に記載の通信装置。 a second switching unit that switches to a sleep state in which data transmission/reception is not performed except during wireless transmission by the first transmission unit when the communication device is in a state other than the first operation state; The communication device according to any one of claims 1-2 . 前記第1の切替部は、前記残量が前記第2の閾値より大きく前記第1の閾値より小さい場合、前記第1の動作条件により前記第1の送信部からデータが無線送信され、かつ、前記第1の送信部による無線送信中以外では前記第2の切替部により前記スリープ状態に切り替えられる第3の動作状態に切り替える請求項に記載の通信装置。 The first switching unit wirelessly transmits data from the first transmission unit under the first operating condition when the remaining amount is greater than the second threshold and less than the first threshold, and 4. The communication apparatus according to claim 3 , wherein the second switching unit switches to a third operating state in which the second switching unit switches to the sleep state except during wireless transmission by the first transmitting unit. 前記通信装置が前記第2の動作状態である場合、
前記第1の送信部は、前記第2の動作条件として、前記第1の動作条件のデータレートよりも高いデータレートでデータを送信し、
前記第2の切替部は、前記スリープ状態とする期間を、前記第3の動作状態における前記スリープ状態の期間よりも長くする請求項に記載の通信装置。
when the communication device is in the second operating state,
The first transmission unit, as the second operating condition, transmits data at a data rate higher than the data rate under the first operating condition,
5. The communication device according to claim 4 , wherein the second switching unit makes the sleep state period longer than the sleep state period in the third operation state.
前記第1の送信部は、前記通信装置が前記第1の動作状態のときに、前記受信待機状態中に前記他の通信装置から前記第1の情報を含むデータを無線受信した場合、該第1の情報を、中継済みを示す第2の情報に置換して該データを中継する請求項1~のいずれか一項に記載の通信装置。 When the communication device is in the first operating state and wirelessly receives data including the first information from the other communication device during the reception standby state, the first transmission unit receives the first information. 6. The communication device according to any one of claims 1 to 5 , wherein the first information is replaced with second information indicating that the relay has been completed, and the data is relayed. 請求項1~のいずれか一項に記載の通信装置と、
前記通信装置からデータを無線受信して、該データに含まれる宛先アドレスが示す装置で受信されるように、該データを送信する中継装置と、
を含む通信システム。
A communication device according to any one of claims 1 to 6 ;
a relay device that wirelessly receives data from the communication device and transmits the data so that the data is received by a device indicated by a destination address included in the data;
communication system including.
前記中継装置は、
前記通信装置からデータを受信する受信部と、
前記受信部によりデータが受信された場合、該データを一意に識別する識別情報に基づいて、該データと同一のデータが既に受信されたか否かを判定する判定部と、
前記判定部によって、前記受信部により受信されたデータと同一のデータが既に受信されていると判定された場合、該受信部により受信されたデータを破棄する処理部と、
前記判定部によって、前記受信部により受信されたデータと同一のデータが受信されていないと判定された場合、該受信部により受信されたデータを、該データに含まれる宛先アドレスが示す装置で受信されるように送信する第2の送信部と、
を備えた請求項に記載の通信システム。
The relay device
a receiving unit that receives data from the communication device;
a determining unit that, when data is received by the receiving unit, determines whether or not data identical to the data has already been received, based on identification information that uniquely identifies the data;
a processing unit that discards the data received by the receiving unit when it is determined by the determining unit that the same data as the data received by the receiving unit has already been received;
When the determination unit determines that the same data as the data received by the reception unit is not received, the data received by the reception unit is received by the device indicated by the destination address included in the data. a second transmitter for transmitting to be
8. A communication system according to claim 7 , comprising:
通信装置の通信方法であって、
前記通信装置の動作に利用される電力を供給する電力供給部から供給される前記電力の残量を取得する取得ステップと、
取得した前記残量が第1の閾値より大きい場合、第1の動作条件により前記通信装置のデータを無線送信し、かつ、データの無線送信中以外では他の通信装置からのデータを無線受信して中継するための受信待機状態となる第1の動作状態に切り替え、前記残量が前記第1の閾値より小さい第2の閾値より小さい場合、前記第1の動作条件よりも消費電力が小さい第2の動作条件により前記通信装置のデータを無線送信し、無線送信する該データに対して中継を要求する第1の情報を含める第2の動作状態に切り替える切替ステップと、
前記第切替ステップにより前記第1の動作状態に切り替えられている場合、他の通信装置から無線受信したデータの受信電波強度を取得する強度取得ステップと、
前記切替ステップにより前記第2の動作状態に切り替えられた場合における前記第2の動作条件を、最低受信感度が、前記強度取得ステップにより取得された前記受信電波強度のうち少なくともいずれかよりも小さくなるような拡散率によってデータを無線送信するように設定する設定ステップと、
前記通信装置が前記第1の動作状態のときに、前記受信待機状態中に前記他の通信装置から前記第1の情報を含むデータを無線受信した場合、該データを前記第1の動作条件によって中継して送信する送信ステップと、
を有する通信方法。
A communication method for a communication device,
an acquisition step of acquiring the remaining amount of power supplied from a power supply unit that supplies power used for the operation of the communication device;
When the acquired remaining amount is greater than a first threshold, the data of the communication device is wirelessly transmitted under a first operating condition, and data from another communication device is wirelessly received except during data wireless transmission. When the remaining amount is smaller than a second threshold smaller than the first threshold, the power consumption is lower than the first operating condition. a switching step of wirelessly transmitting data of the communication device according to the operating condition of 2, and switching to a second operating state including first information requesting a relay for the wirelessly transmitted data;
an intensity acquisition step of acquiring a received radio wave intensity of data wirelessly received from another communication device when the switching step has switched to the first operating state;
The second operating condition in the case where the switching step switches to the second operating state is such that the minimum reception sensitivity is lower than at least one of the received radio field strengths obtained in the strength obtaining step. a setting step of setting to wirelessly transmit data with a spreading factor such as
When the communication device is in the first operating state and wirelessly receives data including the first information from the other communication device during the reception standby state, the data is received under the first operating condition. a sending step of relaying and sending;
communication method.
コンピュータに、
通信装置の動作に利用される電力を供給する電力供給部から供給される前記電力の残量を取得する取得ステップと、
取得した前記残量が第1の閾値より大きい場合、第1の動作条件により前記通信装置のデータを無線送信し、かつ、データの無線送信中以外では他の通信装置からのデータを無
線受信して中継するための受信待機状態となる第1の動作状態に切り替え、前記残量が前記第1の閾値より小さい第2の閾値より小さい場合、前記第1の動作条件よりも消費電力が小さい第2の動作条件により前記通信装置のデータを無線送信し、無線送信する該データに対して中継を要求する第1の情報を含める第2の動作状態に切り替える切替ステップと、
前記切替ステップにより前記第1の動作状態に切り替えられている場合、他の通信装置から無線受信したデータの受信電波強度を取得する強度取得ステップと、
前記切替ステップにより前記第2の動作状態に切り替えられた場合における前記第2の動作条件を、最低受信感度が、前記強度取得ステップにより取得された前記受信電波強度のうち少なくともいずれかよりも小さくなるような拡散率によってデータを無線送信するように設定する設定ステップと、
前記通信装置が前記第1の動作状態のときに、前記受信待機状態中に前記他の通信装置から前記第1の情報を含むデータを無線受信した場合、該データを前記第1の動作条件によって中継して送信する送信ステップと、
を実行させるためのプログラム。
to the computer,
an acquisition step of acquiring the remaining amount of power supplied from a power supply unit that supplies power used for the operation of the communication device;
When the acquired remaining amount is greater than a first threshold, the data of the communication device is wirelessly transmitted under a first operating condition, and data from another communication device is wirelessly received except during data wireless transmission. When the remaining amount is smaller than a second threshold smaller than the first threshold, the power consumption is lower than the first operating condition. a switching step of wirelessly transmitting data of the communication device according to the operating condition of 2, and switching to a second operating state including first information requesting a relay for the wirelessly transmitted data;
an intensity acquisition step of acquiring a received radio wave intensity of data wirelessly received from another communication device when the switching step has switched to the first operating state;
The second operating condition in the case where the switching step switches to the second operating state is such that the minimum reception sensitivity is lower than at least one of the received radio field strengths obtained in the strength obtaining step. a setting step of setting to wirelessly transmit data with a spreading factor such as
When the communication device is in the first operating state and wirelessly receives data including the first information from the other communication device during the reception standby state, the data is received under the first operating condition. a sending step of relaying and sending;
program to run the
JP2018131548A 2017-08-23 2018-07-11 Communication device, communication system, communication method and program Active JP7210918B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017160523 2017-08-23
JP2017160523 2017-08-23

Publications (2)

Publication Number Publication Date
JP2019041375A JP2019041375A (en) 2019-03-14
JP7210918B2 true JP7210918B2 (en) 2023-01-24

Family

ID=65726703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018131548A Active JP7210918B2 (en) 2017-08-23 2018-07-11 Communication device, communication system, communication method and program

Country Status (1)

Country Link
JP (1) JP7210918B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800841B (en) * 2019-04-08 2023-07-07 Oppo广东移动通信有限公司 Relay function control method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007096988A (en) 2005-09-29 2007-04-12 Kyocera Corp Communication terminal, mobile communication system and communication method
JP2011049776A (en) 2009-08-26 2011-03-10 Sanyo Electric Co Ltd Radio device
JP2013251818A (en) 2012-06-01 2013-12-12 Ntt Docomo Inc Relay device, relay system, relay method and program
JP2015204598A (en) 2014-04-16 2015-11-16 シャープ株式会社 Communication system, terminal, and management device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007096988A (en) 2005-09-29 2007-04-12 Kyocera Corp Communication terminal, mobile communication system and communication method
JP2011049776A (en) 2009-08-26 2011-03-10 Sanyo Electric Co Ltd Radio device
JP2013251818A (en) 2012-06-01 2013-12-12 Ntt Docomo Inc Relay device, relay system, relay method and program
JP2015204598A (en) 2014-04-16 2015-11-16 シャープ株式会社 Communication system, terminal, and management device

Also Published As

Publication number Publication date
JP2019041375A (en) 2019-03-14

Similar Documents

Publication Publication Date Title
JP6606189B2 (en) Access resource selection assisted by reserved resource pool for small data transmission
JP4892492B2 (en) Wireless transmission apparatus and wireless transmission method
US9526066B2 (en) Methods, access point and wireless device for optimizing the modulation and coding scheme (MCS) used for exchanging probe request and probe responses between an access point and a wireless device
RU2649311C1 (en) Method of auxiliary information transmitting on user terminal in radio communication network
US20110003545A1 (en) Relay Node Connection Management
RU2496263C2 (en) Method, apparatus and system for sending data packet
US11490400B2 (en) End node, relay node, and methods performed therein for handling transmission of information
CN105940640A (en) Determination of end-to-end transport quality
US9282476B2 (en) Communication control system, communication control device, and communication control method
JP6743826B2 (en) Communication terminal, base station, monitoring method, and program
JP5926452B2 (en) Method of operating a network element of a wireless communication network and network element
JP2015188207A (en) Radio communication system, radio communication device, and data relay method
JP2020025364A (en) UE, mobility management node, and communication method
US8565672B2 (en) Communication
JP5061192B2 (en) Wireless communication apparatus and transmission method
EP3987883A1 (en) Adaptation of active-time pdcch monitoring using short discontinuous reception (drx)
US9930604B2 (en) Path finding in a mesh network
JP7210918B2 (en) Communication device, communication system, communication method and program
CN113994719A (en) Communication system, communication method, and communication device
CN112544107A (en) CGI reporting procedure for NR cells without SIB1
EP3932112B1 (en) Mode selection for mesh network communication
US11963103B2 (en) Methods and apparatuses for paging
CN106686645B (en) Method and system for improving throughput of multi-hop transmission link
JP6743497B2 (en) Communication device, communication method, program, and communication system
TWI798031B (en) Power saving method and user equipment for monitoring data channel

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210520

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20220204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220614

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220721

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221226

R151 Written notification of patent or utility model registration

Ref document number: 7210918

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151