[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP2022107294A - Communication equipment, communication equipment control methods, communication equipment control programs, and communication systems - Google Patents

Communication equipment, communication equipment control methods, communication equipment control programs, and communication systems Download PDF

Info

Publication number
JP2022107294A
JP2022107294A JP2021002156A JP2021002156A JP2022107294A JP 2022107294 A JP2022107294 A JP 2022107294A JP 2021002156 A JP2021002156 A JP 2021002156A JP 2021002156 A JP2021002156 A JP 2021002156A JP 2022107294 A JP2022107294 A JP 2022107294A
Authority
JP
Japan
Prior art keywords
server
communication
registration request
communication device
registration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2021002156A
Other languages
Japanese (ja)
Other versions
JP6944075B1 (en
Inventor
俊輔 志村
Shunsuke Shimura
司 齋藤
Tsukasa Saito
優斗 熊谷
Yuto Kumagai
輝哉 今川
Teruya Imagawa
宏明 根岸
Hiroaki Negishi
修 阿部
Osamu Abe
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.)
SoftBank Corp
Original Assignee
SoftBank Corp
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 SoftBank Corp filed Critical SoftBank Corp
Priority to JP2021002156A priority Critical patent/JP6944075B1/en
Application granted granted Critical
Publication of JP6944075B1 publication Critical patent/JP6944075B1/en
Publication of JP2022107294A publication Critical patent/JP2022107294A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

【課題】遠隔データ収集システムを実現する通信システムにおいて、IoT(Internet of Things)/M2M(Machine to Machine)デバイスと、それら各デバイスを管理するサーバとの間の、より効率のよい運用を可能とすること【解決手段】通信装置は、サーバに自装置を登録させるための登録要求を、サーバへ送信し、登録要求の送信後、サーバに自装置が登録された旨を示す登録完了情報をサーバから受信するまで、登録要求の送信を繰り返す第1再送制御を実行し、登録要求の送信を開始してから所定の第1期間経過後、登録完了情報が受信されない場合に、自装置の再起動を実行する制御部を備える。【選択図】図1Kind Code: A1 A communication system that realizes a remote data collection system enables more efficient operation between IoT (Internet of Things)/M2M (Machine to Machine) devices and a server that manages each device. [Solution] A communication device transmits a registration request to the server to cause the server to register itself, and after transmitting the registration request, transmits registration completion information indicating that the device has been registered to the server. until the registration request is received, and when the registration completion information is not received after the elapse of a predetermined first period from the start of transmission of the registration request, the self-device is restarted. A control unit for executing [Selection drawing] Fig. 1

Description

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

従来、各家庭の電気、水道、ガス等の使用量を表すメーター値等のデータを、無線ネットワークを用いて収集・中継し、遠隔の検針センタ等のデータ収集センタに伝送する遠隔データ収集システムが存在する(例えば、特許文献1)。 Conventionally, a remote data collection system that collects and relays data such as meter values indicating the amount of electricity, water, gas, etc. used in each household using a wireless network and transmits it to a data collection center such as a remote meter reading center. It exists (eg, Patent Document 1).

特開2002-218080号公報Japanese Unexamined Patent Publication No. 2002-218080

メーター等のデータを収集するIoT(Internet of Things)/M2M(Machine to Machine)デバイスの増加に伴い、遠隔データ収集システムを実現する通信システムにおいて、IoT/M2Mデバイスと、それら各デバイスを管理するサーバとの間の、より効率のよい運用が求められていた。 With the increase in IoT (Internet of Things) / M2M (Machine to Machine) devices that collect data such as meters, IoT / M2M devices and servers that manage each of these devices are used in communication systems that realize remote data collection systems. There was a need for more efficient operation with.

本発明の一実施形態に係る通信装置は、サーバに自装置を登録させるためのの登録要求を、サーバへ送信し、登録要求の送信後、サーバに自装置が登録された旨を示す登録完了情報をサーバから受信するまで、登録要求の送信を繰り返す第1再送制御を実行し、登録要求の送信を開始してから所定の第1期間経過後、登録完了情報が受信されない場合に、自装置の再起動を実行する制御部を備える。 The communication device according to the embodiment of the present invention sends a registration request for registering its own device to the server, and after sending the registration request, registration completion indicating that the own device has been registered in the server. The own device executes the first retransmission control that repeats the transmission of the registration request until the information is received from the server, and if the registration completion information is not received after a predetermined first period has elapsed since the transmission of the registration request was started. It is equipped with a control unit that executes the restart of.

本発明の一実施形態に係る通信装置において、登録要求は、第1のプロトコルに従う第1登録要求、及び第1のプロトコルとは異なる第2のプロトコルに従う第2登録要求を含み、制御部は、第1登録要求に応じた登録完了情報をサーバから受信しない場合、第1登録要求の、サーバへの1回の送信に対して、第2登録要求を所定の間隔で所定回数送信する第2再送制御を、登録完了情報を受信するまで繰り返し実行し、第2再送制御を開始してから所定の第1期間経過後、登録完了情報が受信されない場合に、自装置を再起動してもよい。 In the communication device according to the embodiment of the present invention, the registration request includes a first registration request according to the first protocol and a second registration request according to a second protocol different from the first protocol. When the registration completion information corresponding to the first registration request is not received from the server, the second registration request is transmitted a predetermined number of times at a predetermined interval for one transmission of the first registration request to the server. The control may be repeatedly executed until the registration completion information is received, and the own device may be restarted when the registration completion information is not received after a lapse of a predetermined first period from the start of the second retransmission control.

本発明の一実施形態に係る通信装置において、サーバは、通信装置を含む複数の通信装置とネットワークを介して接続され、複数の通信装置を管理するものであって、制御部は、ネットワークへの接続が切断された後、ネットワークへ再接続した場合に、サーバへ、自装置の登録要求を送信し、自装置の登録要求は、ネットワークへの再接続後、自装置に固有の識別情報に基づいて設定される送信時間でサーバへ送信されてもよい。 In the communication device according to the embodiment of the present invention, the server is connected to a plurality of communication devices including the communication device via a network and manages the plurality of communication devices, and the control unit connects to the network. When the connection is disconnected and then reconnected to the network, the registration request of the own device is sent to the server, and the registration request of the own device is based on the identification information unique to the own device after the reconnection to the network. It may be transmitted to the server at the transmission time set in the above.

本発明の一実施形態に係る通信装置において、制御部は、所定の時間幅において、自装置に固有の識別情報に応じて設定される送信時間で、自装置の登録要求をサーバへ送信してもよい。 In the communication device according to the embodiment of the present invention, the control unit transmits a registration request of the own device to the server in a predetermined time width and a transmission time set according to the identification information unique to the own device. May be good.

本発明の一実施形態に係る通信装置において、制御部は、所定の時間幅において、複数の通信装置の数と応じて設定される送信時間で、自装置の登録要求をサーバへ送信してもよい。 In the communication device according to the embodiment of the present invention, even if the control unit transmits a registration request of its own device to the server in a predetermined time width and a transmission time set according to the number of a plurality of communication devices. good.

本発明の一実施形態に係る通信装置において、制御部は、サーバとの通信が確立されている間に、所定の時間幅を更新する情報をサーバから受信するとともに、受信した情報に基づいて送信時間を更新し、ネットワークへの接続が切断された後、ネットワークへ再接続した場合に、更新された送信時間の経過後に、自装置の登録要求をサーバへ送信してもよい。 In the communication device according to the embodiment of the present invention, the control unit receives information for updating a predetermined time width from the server while communication with the server is established, and transmits the information based on the received information. When the time is updated, the connection to the network is disconnected, and then the connection is reconnected to the network, the registration request of the own device may be sent to the server after the updated transmission time has elapsed.

本発明の一実施形態に係る通信装置は、自装置を駆動する電池の電池残量に関する情報を取得する取得部をさらに備え、制御部は、自装置の電池残量に応じて、自装置を再起動するまでの所定の第1所定期間を変動させてもよい。 The communication device according to the embodiment of the present invention further includes an acquisition unit for acquiring information on the remaining battery level of the battery driving the own device, and the control unit sets the own device according to the remaining battery level of the own device. The predetermined first predetermined period until the restart may be varied.

本発明の一実施形態に係る通信装置は、他の通信装置を含む通信装置群を構成し、通信装置群において無線通信親機及び無線通信子機としての動作を切替可能であって、制御部は、通信装置が無線通信親機として動作する場合に、自装置の登録要求と、自装置の下位に接続された無線通信子機の登録要求とを、サーバへ送信してもよい。 The communication device according to the embodiment of the present invention constitutes a communication device group including other communication devices, and can switch the operation as a wireless communication master unit and a wireless communication slave unit in the communication device group, and is a control unit. May send a registration request for its own device and a registration request for a wireless communication slave unit connected to a lower level of its own device to a server when the communication device operates as a wireless communication master unit.

本発明の一実施形態に係る通信装置において、制御部は、無線通信親機としての動作時に、自装置の登録要求及び無線通信子機の登録要求を送信してから所定の第2期間経過後、登録完了情報が受信されない場合、自装置を無線通信子機としての動作に切り替え、通信装置群における新たな無線通信親機に、サーバへの自装置の登録要求を送信してもよい。 In the communication device according to the embodiment of the present invention, when the control unit operates as the wireless communication master unit, after a predetermined second period elapses after transmitting the registration request of the own device and the registration request of the wireless communication slave unit. If the registration completion information is not received, the own device may be switched to the operation as a wireless communication slave unit, and a registration request of the own device to the server may be transmitted to a new wireless communication master unit in the communication device group.

本発明の一実施形態に係る通信装置の制御方法は、サーバとの通信を確立するための自装置の登録要求を、サーバへ送信し、登録要求の送信後、サーバとの通信が確立された旨を示す登録完了情報をサーバから受信するまで、登録要求の送信を繰り返す第1再送制御を実行するステップと、登録要求の送信を開始してから所定の第1期間経過後、登録完了情報が受信されない場合、自装置を再起動するステップとを含む。 In the control method of the communication device according to the embodiment of the present invention, the registration request of the own device for establishing the communication with the server is transmitted to the server, and after the registration request is transmitted, the communication with the server is established. The registration completion information is displayed after the step of executing the first retransmission control that repeats the transmission of the registration request until the registration completion information indicating the fact is received from the server and the predetermined first period after the start of the transmission of the registration request. If not received, it includes a step of restarting the own device.

本発明の一実施形態に係る通信装置の制御プログラムは、通信装置に、サーバとの通信を確立するための自装置の登録要求を、サーバへ送信し、登録要求の送信後、サーバとの通信が確立された旨を示す登録完了情報をサーバから受信するまで、登録要求の送信を繰り返す第1再送制御を実行する機能と、登録要求の送信を開始してから所定の第1期間経過後、登録完了情報が受信されない場合、自装置を再起動する機能とを実現させる。 The control program of the communication device according to the embodiment of the present invention transmits to the communication device a registration request of its own device for establishing communication with the server, and after the registration request is transmitted, communicates with the server. A function to execute the first retransmission control that repeats the transmission of the registration request until the registration completion information indicating that the registration request has been established is received from the server, and after a predetermined first period has elapsed from the start of the transmission of the registration request. If the registration completion information is not received, the function to restart the own device is realized.

本発明の一実施形態に係る通信システムは、通信装置と、サーバとを少なくとも含み、通信装置は、サーバに自装置を登録させるための登録要求を、サーバへ送信し、登録要求の送信後、サーバに自装置が登録された旨を示す登録完了情報をサーバから受信するまで、登録要求の送信を繰り返す第1再送制御を実行し、登録要求の送信を開始してから所定の第1期間経過後、登録完了情報が受信されない場合に、自装置の再起動を実行する制御部を備え、サーバは、通信装置から登録要求を受信したことに応じて、通信装置に関する情報を登録し、通信装置を登録した旨を示す登録完了情報を通信装置へ送信するサーバ制御部を備える。 The communication system according to the embodiment of the present invention includes at least a communication device and a server, and the communication device transmits a registration request for registering its own device to the server, and after the transmission of the registration request, the communication device transmits the registration request. The first retransmission control that repeats the transmission of the registration request is executed until the registration completion information indicating that the own device is registered in the server is received from the server, and a predetermined first period elapses after the transmission of the registration request is started. After that, if the registration completion information is not received, the server is equipped with a control unit that restarts the own device, and the server registers the information about the communication device in response to receiving the registration request from the communication device, and the communication device. It is provided with a server control unit that transmits registration completion information indicating that the registration is completed to the communication device.

本発明の一実施形態に係る通信システムにおいて、サーバは、通信装置を含む複数の通信装置とネットワークを介して接続され、複数の通信装置を管理するものであって、制御部は、ネットワークへの接続が切断された後、ネットワークへ再接続した場合に、サーバへ、自装置の登録要求を送信し、自装置の登録要求は、ネットワークへの再接続後、自装置に固有の識別情報に基づいて設定される送信時間でサーバへ送信されてよい。 In the communication system according to the embodiment of the present invention, the server is connected to a plurality of communication devices including the communication device via a network and manages the plurality of communication devices, and the control unit connects to the network. When the connection is disconnected and then reconnected to the network, the registration request of the own device is sent to the server, and the registration request of the own device is based on the identification information unique to the own device after the reconnection to the network. It may be transmitted to the server at the transmission time set in.

図1は、本発明の一実施形態に係る通信システム、通信装置、サーバ(情報処理装置)を概略的に示す機能ブロック図である。FIG. 1 is a functional block diagram schematically showing a communication system, a communication device, and a server (information processing device) according to an embodiment of the present invention. 図2は、本発明の一実施形態に係る、通信装置とサーバ間のシーケンスの一例を示す図である。FIG. 2 is a diagram showing an example of a sequence between a communication device and a server according to an embodiment of the present invention. 図3は、本発明の一実施形態に係る、通信装置とサーバ間のシーケンスの一例を示す図である。FIG. 3 is a diagram showing an example of a sequence between a communication device and a server according to an embodiment of the present invention. 図4は、本発明の一実施形態に係る、通信装置とサーバ間のシーケンスの一例を示す図である。FIG. 4 is a diagram showing an example of a sequence between a communication device and a server according to an embodiment of the present invention. 図5は、本発明の一実施形態に係る通信装置、サーバを含む、FAN(Field Area Network)の構成を概略的に示す機能ブロック図である。FIG. 5 is a functional block diagram schematically showing a configuration of a FAN (Field Area Network) including a communication device and a server according to an embodiment of the present invention. 図6は、本発明の一実施形態に係る、通信装置とサーバ間のシーケンスの一例を示す図である。FIG. 6 is a diagram showing an example of a sequence between a communication device and a server according to an embodiment of the present invention.

以降、諸図面を参照しながら、本発明の一実施形態を詳細に説明する。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

<システム構成>
図1は、本発明の一実施形態に係る通信システムの構成例を示す図である。通信システム500は、IoT/M2Mを実現するシステムであってよい。IoT(Internet of Things)は、様々なモノ(物)がインターネットに接続されて、データの収集、遠隔操作などが可能となる仕組みを指してよい。また、M2M(Machine to Machine:機器間通信)は、インターネットを介した接続だけでなく、機器同士が直接接続されて、相互にデータをやり取りする仕組みを指してよい。通信システム500は、所定のプロトコルによってM2Mにおけるデータ通信を実現してよい。例えば、通信システム500は、Open Mobile Alliance(OMA)によって策定されたプロトコルであるLightweight M2M(LwM2M)に準拠するシステムであってよい。LwM2Mは、IoT/M2M機器(IoT/M2Mデバイス)の遠隔監視や保守といった管理用のプロトコルであって、LPWA(Low Power Wide Area)を実現するプロトコルの1つである。LPWAは、従来広く使用されている通信技術(例えば、Wi-Fi、LTE(Long Term Evolution)等)と比較して、低消費電力かつ低コストという特徴を持つ。また、LPWAは、従来の通信技術(例えば、無線LAN)と比較して、広範囲の通信が可能であるという特徴を持つ。LwM2Mは、LPWAの特徴を備え、多数のIoT/M2M機器から送信されるデータによるネットワークの輻輳を防ぎ、また、IoT/M2M機器の電力消費を抑えるための低電力消費を実現するプロトコルである。なお、通信システム500が準拠するプロトコルは、低電力消費を実現し得るプロトコルであればよく、上記の例に限定されない。例えば、通信システム500は、MQTT(Message Queue Telemetry Transport)、LoRaWAN(登録商標)、SigFox(登録商標)等のプロトコルに準拠するシステムであってもよい。
<System configuration>
FIG. 1 is a diagram showing a configuration example of a communication system according to an embodiment of the present invention. The communication system 500 may be a system that realizes IoT / M2M. The IoT (Internet of Things) may refer to a mechanism in which various things are connected to the Internet to enable data collection, remote control, and the like. Further, M2M (Machine to Machine) may refer not only to a connection via the Internet but also a mechanism in which devices are directly connected to each other and exchange data with each other. Communication system 500 may realize data communication in M2M by a predetermined protocol. For example, the communication system 500 may be a system compliant with Lightweight M2M (LwM2M), which is a protocol developed by the Open Mobile Alliance (OMA). LwM2M is a management protocol for remote monitoring and maintenance of IoT / M2M devices (IoT / M2M devices), and is one of the protocols for realizing LPWA (Low Power Wide Area). LPWAs are characterized by low power consumption and low cost as compared with communication technologies widely used in the past (for example, Wi-Fi, LTE (Long Term Evolution), etc.). Further, LPWA has a feature that a wide range of communication is possible as compared with a conventional communication technique (for example, wireless LAN). LwM2M is a protocol that has the characteristics of LPWA, prevents network congestion due to data transmitted from a large number of IoT / M2M devices, and realizes low power consumption for suppressing power consumption of IoT / M2M devices. The protocol to which the communication system 500 conforms may be any protocol that can realize low power consumption, and is not limited to the above example. For example, the communication system 500 may be a system compliant with protocols such as MQTT (Message Queue Telemetry Transport), LoRaWAN (registered trademark), and SigFox (registered trademark).

通信システム500は、通信装置100(100A,100B,100C,100D)と、サーバ(情報処理装置)200と、ネットワーク300とを含む。通信装置100は、図示しないメーターの内部に、例えば通信ボードとして組み込まれていてもよい。あるいは、通信装置100は、メーターの図示しない外側の入出力I/F(インタフェース)に接続されて、別個の通信装置としてメーター外部に備えられてもよい。なお、図1の例では、通信装置100を4つ示してあるが、通信装置100の数はこれに限定されない。通信装置100は、設置されたメーターの数だけ無数に存在してよい。なお、これ以降、特に区別する必要が無い場合、通信装置100の符号における英字は省略して説明する。 The communication system 500 includes a communication device 100 (100A, 100B, 100C, 100D), a server (information processing device) 200, and a network 300. The communication device 100 may be incorporated inside a meter (not shown), for example, as a communication board. Alternatively, the communication device 100 may be connected to an outer input / output I / F (interface) (not shown) of the meter and provided outside the meter as a separate communication device. In the example of FIG. 1, four communication devices 100 are shown, but the number of communication devices 100 is not limited to this. The communication device 100 may exist innumerably as many as the number of installed meters. Hereinafter, when it is not necessary to distinguish between them, the alphabetic characters in the code of the communication device 100 will be omitted.

一実施形態に係る通信システム500において、サーバ200は、ネットワーク300を介して各家庭、企業、施設等に設置された、IoT/M2M機器であるメーターに設置された通信装置100からメーターに関する情報を収集することができる。また、サーバ200は、ネットワーク300を介して通信装置100を遠隔制御してもよい。メーターは、例えば、水道、ガス(都市ガス、LPガス)、石油、電気等の使用量を測定してよい。すなわち、サーバ200は、例えば、通信装置100から各家庭、企業、施設等における水道、ガス(都市ガス、LPガス)、石油、電気等の使用に関する情報を収集してよい。以下の実施形態では、水道を例として説明する。なお、本発明は、IoT/M2M機器をメーターに限定するものではない。また、メーターが測定する対象は、上記の例に限定されない。すなわち、サーバ200は、メーターの測定対象に応じて任意の情報を収集してよい。 In the communication system 500 according to one embodiment, the server 200 transmits information about the meter from the communication device 100 installed in the meter which is an IoT / M2M device installed in each home, company, facility, etc. via the network 300. Can be collected. Further, the server 200 may remotely control the communication device 100 via the network 300. The meter may measure, for example, the amount of water, gas (city gas, LP gas), oil, electricity, and the like used. That is, the server 200 may collect information on the use of water, gas (city gas, LP gas), oil, electricity, etc. in each home, company, facility, etc. from the communication device 100, for example. In the following embodiment, water services will be described as an example. The present invention does not limit the IoT / M2M device to a meter. Further, the object measured by the meter is not limited to the above example. That is, the server 200 may collect arbitrary information according to the measurement target of the meter.

<通信装置>
通信装置100は、制御部110、通信部120、及び記憶部150を備えてよい。制御部110は、各実施形態に示す機能、方法を実行するために、典型的には中央処理装置(CPU)であってよい。なお、制御部110は、集積回路(IC(Integrated Circuit)チップ、LSI(Large Scale Integration))等に形成された論理回路(ハードウェア)や専用回路によって各実施形態に開示される各処理を実現してもよい。また、これらの回路は、1又は複数の集積回路により実現されてよく、各実施形態に示す複数の処理を1つの集積回路により実現されることとしてもよい。本発明の一実施形態において、制御部110は、通信装置100をLwM2Mのプロトコルに準拠させるための処理・動作を実現してよい。また、制御部110は、図示しないメーターからの各種情報を取得する機能を有してよい。また、制御部110は、自装置の再起動を実行してよい。
<Communication device>
The communication device 100 may include a control unit 110, a communication unit 120, and a storage unit 150. The control unit 110 may typically be a central processing unit (CPU) in order to execute the functions and methods shown in each embodiment. The control unit 110 realizes each process disclosed in each embodiment by a logic circuit (hardware) or a dedicated circuit formed in an integrated circuit (IC (Integrated Circuit) chip, LSI (Large Scale Integration)) or the like. You may. Further, these circuits may be realized by one or a plurality of integrated circuits, and a plurality of processes shown in each embodiment may be realized by one integrated circuit. In one embodiment of the present invention, the control unit 110 may realize processing and operation for making the communication device 100 conform to the LwM2M protocol. Further, the control unit 110 may have a function of acquiring various information from a meter (not shown). Further, the control unit 110 may restart the own device.

通信部120は、無線通信においてデータの送受信機能を実現するハードウェアや通信用ソフトウェア、及びこれらの組み合わせとして実装されてよい。通信部120は、ネットワーク300を介して、サーバ200との間で各種データの送受信を行い、サーバ200から受信した各種データを、制御部110へ伝達してよい。なお、通信部120は、図示しない第1通信部を含み、サーバ200との間で、第1の通信方式を用いた通信を行ってよい。第1の通信方式は、例えば、カテゴリーM(Category M)、カテゴリーM1(Category M1)、NB-IoT(Narrow Band IoT)等のIoT向けの無線通信方式であり、LTE(Long Term Evolution)を拡張した通信方式であってよい。なお、第1の通信方式としては、eMTC(enhanced Machine-Type Communications)、LoRaWAN(登録商標)、IEEE802.11ah、Wi-SUN(Wireless Smart Utility Network)等、LPWAによる任意の規格が採用されてよい。また第1の通信方式としては、これらの任意の規格の組み合わせが採用されてもよい。また、第1の通信方式は、例えば、電波法における免許を必要とする通信方式(公衆無線)であってもよい。なお、通信部120は、所定のプロトコルに従って、サーバ200との間でデータの送受信を行ってよい。所定のプロトコルは、例えば、LwM2Mのプロトコル、MQTT(Message Queue Telemetry Transport)のプロトコル、及びCoAP(Constrained Application Protocol)のプロトコル等であってよい。なお、上述のように、第1のプロトコルと第1の通信方式とは、異なるものを指すことに留意されたい。また、詳細は後述するが、通信部120は、図示しない第2通信部を含み、他の通信装置100との間で、第2の通信方式を用いた通信を行ってよい。所定のプロトコルは、請求の範囲における第1のプロトコルの一例であってよい。 The communication unit 120 may be implemented as hardware that realizes a data transmission / reception function in wireless communication, communication software, and a combination thereof. The communication unit 120 may transmit and receive various data to and from the server 200 via the network 300, and transmit various data received from the server 200 to the control unit 110. The communication unit 120 includes a first communication unit (not shown), and may perform communication with the server 200 using the first communication method. The first communication method is, for example, a wireless communication method for IoT such as category M (Category M), category M1 (Category M1), NB-IoT (Narrow Band IoT), and LTE (Long Term Evolution) is extended. Communication method may be used. As the first communication method, any standard by LPWA such as eMTC (enhanced Machine-Type Communications), LoRaWAN (registered trademark), IEEE802.11ah, Wi-SUN (Wireless Smart Utility Network) may be adopted. .. Further, as the first communication method, a combination of these arbitrary standards may be adopted. Further, the first communication method may be, for example, a communication method (public radio) that requires a license under the Radio Law. The communication unit 120 may send and receive data to and from the server 200 according to a predetermined protocol. The predetermined protocol may be, for example, a LwM2M protocol, an MQTT (Message Queue Telemetry Transport) protocol, a CoAP (Constrained Application Protocol) protocol, or the like. It should be noted that, as described above, the first protocol and the first communication method refer to different ones. Further, as will be described in detail later, the communication unit 120 may include a second communication unit (not shown) and perform communication with another communication device 100 using the second communication method. The predetermined protocol may be an example of the first protocol in the claims.

記憶部150は、通信装置100が動作するうえで必要とする各種プログラムや各種データを記憶する。記憶部150は、例えば、半導体メモリ(磁気メモリ、フラッシュメモリ等)を含んでよい。また、記憶部150は、制御部110に対する作業領域を提供するメモリ(RAM(Random Access Memory)、ROM(Read Only Memory)等)を含んでよい。また、本発明の一実施形態において、記憶部150は、LwM2Mに準拠するための各種情報、ネットワーク300に接続するための各種ネットワークパラメータ(例えば、IPアドレス等)、通信装置100に固有の識別情報(デバイスID等)を記憶してもよい。なお、IPアドレスを用いない通信規格であるNIDD(Non-IP Data Delivery)が用いられる場合、IPアドレスは記憶部150に記憶されなくてもよい。 The storage unit 150 stores various programs and various data required for the communication device 100 to operate. The storage unit 150 may include, for example, a semiconductor memory (magnetic memory, flash memory, etc.). Further, the storage unit 150 may include a memory (RAM (Random Access Memory), ROM (Read Only Memory), etc.) that provides a work area for the control unit 110. Further, in one embodiment of the present invention, the storage unit 150 contains various information for conforming to LwM2M, various network parameters for connecting to the network 300 (for example, IP address, etc.), and identification information unique to the communication device 100. (Device ID, etc.) may be stored. When NIDD (Non-IP Data Delivery), which is a communication standard that does not use an IP address, is used, the IP address does not have to be stored in the storage unit 150.

<サーバ>
サーバ200は、各メーターの保守管理を遠隔から実行する機能を有してよい。すなわち、サーバ200は、各通信装置100から送信された各メーターの情報を処理し、メーターの管理者へ必要なデータを受け渡すIoT-PF(プラットフォーム)としての機能を有してよい。従って、メーターの管理者の図示しない集中監視センタが、サーバ200に接続されてよい。サーバ200が、各メーターから取得する情報としては、メーターの測定対象の測定値(検針値ともいう)に関する情報であってよい。具体的には、例えば、サーバ200は、測定対象の所定期間(例えば、1日、1週間、1カ月等)における使用量、残量、及び蓄電量等を示すデータをメーターから取得してよい。また、サーバ200は、各メーターの情報として、測定対象の異常を表すデータを取得してもよい。測定対象の異常を表すデータとは、例えば、水漏れ、ガス漏れ、漏電等が生じている可能性を示すデータであってよい。また、サーバ200は、メーターから取得した情報に基づいて測定対象の異常を検知してもよい。例えば、サーバ200は、メーターの測定値に関する情報に基づいて水漏れ、ガス漏れ、漏電等を検知してもよい。なお、図1において、サーバ200は単体で示してあるが、これに限られるものではない。サーバ200は、各実施形態において記載する機能を実現できる情報処理装置であればどのような装置であってもよく、例えば、サーバ装置、コンピュータ(限定でなく例として、デスクトップ、ラップトップ、タブレット等)、コミュニケーションプラットホーム等を含んでもよい。
<Server>
The server 200 may have a function of remotely executing maintenance management of each meter. That is, the server 200 may have a function as an IoT-PF (platform) that processes the information of each meter transmitted from each communication device 100 and passes the necessary data to the administrator of the meter. Therefore, a centralized monitoring center (not shown) of the meter administrator may be connected to the server 200. The information acquired by the server 200 from each meter may be information on a measured value (also referred to as a meter reading value) to be measured by the meter. Specifically, for example, the server 200 may acquire data indicating the usage amount, the remaining amount, the storage amount, and the like in a predetermined period (for example, one day, one week, one month, etc.) of the measurement target from the meter. .. Further, the server 200 may acquire data indicating an abnormality of the measurement target as the information of each meter. The data indicating the abnormality of the measurement target may be, for example, data indicating the possibility of water leakage, gas leakage, electric leakage, or the like. Further, the server 200 may detect an abnormality of the measurement target based on the information acquired from the meter. For example, the server 200 may detect a water leak, a gas leak, an electric leakage, or the like based on the information about the measured value of the meter. Although the server 200 is shown as a single unit in FIG. 1, the server 200 is not limited to this. The server 200 may be any device as long as it can realize the functions described in each embodiment, and may be, for example, a server device, a computer (not limited to, for example, a desktop, a laptop, a tablet, etc.). ), Communication platform, etc. may be included.

サーバ200は、制御部210、通信部220、及び記憶部250を備える。記憶部250は、典型的には、HDD(Hard Disc Drive)、SSD(Solid State Drive)、フラッシュメモリ等各種の記録媒体により実現され、サーバ200が動作するうえで必要とする各種プログラム及びデータを記憶する機能を有してよい。また、記憶部250には、サーバ200との通信を行うための、通信装置100及びメーターに関する情報が記憶されてよい。例えば、記憶部250には、各通信装置100を一意に識別可能な識別子である装置ID、通信装置100の位置情報、メーターを一意に識別可能な識別子であるメーターID、メーターの管理者に係る管理者ID、通信装置100との第1の通信方式に必要なネットワークID等が記憶されてよい。第1の通信方式に必要なネットワークIDは例えばIPアドレスや電話番号などであってよいが、IPアドレスを用いない通信規格であるNIDD(Non-IP Data Delivery)が用いられる場合、IPアドレスは記憶部250に記憶されなくてもよい。また、詳細は後述するが、複数の通信装置100が通信装置群を構成する場合、記憶部250には、当該通信装置群に関する情報が記憶されてもよい。 The server 200 includes a control unit 210, a communication unit 220, and a storage unit 250. The storage unit 250 is typically realized by various recording media such as an HDD (Hard Disc Drive), an SSD (Solid State Drive), and a flash memory, and stores various programs and data required for the server 200 to operate. It may have a function of memorizing. Further, the storage unit 250 may store information about the communication device 100 and the meter for communicating with the server 200. For example, the storage unit 250 relates to a device ID that is an identifier that can uniquely identify each communication device 100, position information of the communication device 100, a meter ID that is an identifier that can uniquely identify the meter, and a meter manager. The administrator ID, the network ID required for the first communication method with the communication device 100, and the like may be stored. The network ID required for the first communication method may be, for example, an IP address or a telephone number, but when NIDD (Non-IP Data Delivery), which is a communication standard that does not use an IP address, is used, the IP address is stored. It does not have to be stored in the part 250. Further, as will be described in detail later, when a plurality of communication devices 100 form a communication device group, the storage unit 250 may store information about the communication device group.

制御部210は、典型的には中央処理装置(CPU)であってよい。制御部210は、記憶部250に記憶されるプログラムを読み出し、読み出したプログラムに含まれるコード又は命令を実行することによって、各実施形態に示す機能、方法を実行してよい。制御部210は、集積回路(IC(Integrated Circuit)チップ、LSI(Large Scale Integration))等に形成された論理回路(ハードウェア)や専用回路によって各実施形態に開示される各処理を実現してもよい。また、これらの回路は、1又は複数の集積回路により実現されてよく、各実施形態に示す複数の処理を1つの集積回路により実現されることとしてもよい。 The control unit 210 may typically be a central processing unit (CPU). The control unit 210 may execute the functions and methods shown in each embodiment by reading the program stored in the storage unit 250 and executing the code or instruction included in the read program. The control unit 210 realizes each process disclosed in each embodiment by a logic circuit (hardware) or a dedicated circuit formed in an integrated circuit (IC (Integrated Circuit) chip, LSI (Large Scale Integration)) or the like. May be good. Further, these circuits may be realized by one or a plurality of integrated circuits, and a plurality of processes shown in each embodiment may be realized by one integrated circuit.

通信部220は、ネットワークアダプタ等のハードウェアや通信用ソフトウェア、及びこれらの組み合わせとして実装されてよい。通信部220は、ネットワーク300を介して、上述した第1通信方式によって各通信装置100と各種データの送受信を行ってよい。 The communication unit 220 may be implemented as hardware such as a network adapter, communication software, or a combination thereof. The communication unit 220 may transmit and receive various data to and from each communication device 100 by the first communication method described above via the network 300.

<第1実施形態>
図2は、本発明の第1実施形態による、通信装置100とサーバ200との間のシーケンスの一例である。なお、図2は一例であって、本発明はこれに限定されない。また、図2において通信装置100は1つのみ示してあるが、他の通信装置100についても同様の処理が行われてよい。なお、LwM2Mのプロトコルについては、例えば、http://www.openmobilealliance.org/release/LightweightM2M/V1_0_2-20180209-A/におけるOMA-TS-LightweightM2M-V1_0_2-20180209-A.pdfを参照されたい。
<First Embodiment>
FIG. 2 is an example of a sequence between the communication device 100 and the server 200 according to the first embodiment of the present invention. Note that FIG. 2 is an example, and the present invention is not limited thereto. Further, although only one communication device 100 is shown in FIG. 2, the same processing may be performed for the other communication devices 100. For the LwM2M protocol, refer to, for example, OMA-TS-LightweightM2M-V1_0_2-20180209-A.pdf at http://www.openmobilealliance.org/release/LightweightM2M/V1_0_2-20180209-A/.

通信装置100の通信部120は、制御部110の制御を受けて、サーバ200に登録要求(Registration)を送信する(ステップS11)。登録要求は、サーバ200との通信を確立するために送信されるものであって、通信装置100の識別名(Endpoint Client Name)、登録の有効期限(Lifetime)等を含んでよい。通信装置100から登録要求を受信したサーバ200は、当該通信装置100を通信対象として登録することができる。すなわち、サーバ200は、登録要求を受信した通信装置100との通信を確立することができる。なお、登録の有効期限とは、通信装置100がサーバ200と通信できるように、サーバ200に通信装置100の情報を記憶しておく期限を指してよい。有効期限は、任意の期間で設定されてよい。例えば、有効期限は、メーターの管理者が任意に設定可能な値であってよく、例えば、15日、30日、1年等であってよい。 The communication unit 120 of the communication device 100 receives the control of the control unit 110 and transmits a registration request (Registration) to the server 200 (step S11). The registration request is transmitted to establish communication with the server 200, and may include an identification name (Endpoint Client Name) of the communication device 100, an expiration date (Lifetime) of registration, and the like. The server 200 that has received the registration request from the communication device 100 can register the communication device 100 as a communication target. That is, the server 200 can establish communication with the communication device 100 that has received the registration request. The expiration date of registration may refer to the expiration date for storing the information of the communication device 100 in the server 200 so that the communication device 100 can communicate with the server 200. The expiration date may be set to any period. For example, the expiration date may be a value that can be arbitrarily set by the meter administrator, and may be, for example, 15 days, 30 days, 1 year, or the like.

ここで、通信環境の悪化といった何らかの原因により、通信装置100から送信された登録要求が、サーバ200へ到達しないことがある。この場合、通信装置100は、サーバ200に自装置が登録された旨を示す登録完了情報をサーバ200から受信しないため、通信部120からサーバ200へ登録要求を再送してよい(ステップS12)。再送した登録要求がサーバ200へ到達しない場合に、通信装置100は、さらに、登録要求を再送してよい(ステップS13)。なお、通信装置100から送信された更新情報が、サーバ200へ到達しない場合とは、更新情報が物理的にサーバ200に到達しない場合に限定されない。例えば、更新情報がサーバ200へ到達しない場合として、サーバ200により更新情報が受信されない場合、サーバ200が受信を拒否した場合、サーバ200が更新情報を認識できなかった場合等を含んでもよい。 Here, the registration request transmitted from the communication device 100 may not reach the server 200 for some reason such as deterioration of the communication environment. In this case, since the communication device 100 does not receive the registration completion information indicating that the own device has been registered in the server 200 from the server 200, the communication unit 120 may retransmit the registration request to the server 200 (step S12). If the retransmitted registration request does not reach the server 200, the communication device 100 may further retransmit the registration request (step S13). The case where the update information transmitted from the communication device 100 does not reach the server 200 is not limited to the case where the update information does not physically reach the server 200. For example, it may include a case where the update information does not reach the server 200, a case where the update information is not received by the server 200, a case where the server 200 refuses to receive the update information, a case where the server 200 cannot recognize the update information, and the like.

図2のように、通信部120は、登録要求の送信後、サーバ200に自装置が登録された旨を示す登録完了情報をサーバ200から受信するまで、登録要求の送信を繰り返す第1再送制御を実行してよい(ステップS11~S16)。なお、第1再送制御は、最初の登録要求を送信してから1時間後の再送、2回目の登録要求を送信してから3時間後の再送、3回目の登録要求を送信してから6時間後の再送、4回目の登録要求を送信してから12時間後の再送、5回目の登録要求を送信してから24時間後の再送が実行される処理であってよい。なお、再送の間隔は、これに限定されない。また、第1再送制御の間にサーバ200から登録完了情報を受信した場合、通信装置100は、第1再送制御を中止してよい。なお、登録完了情報とは、自装置がサーバ200に登録されたことを通信装置100が認識可能な情報であればよく、上記の例に限定されない。 As shown in FIG. 2, after the registration request is transmitted, the communication unit 120 repeats the transmission of the registration request until the server 200 receives the registration completion information indicating that the own device has been registered in the server 200. May be executed (steps S11 to S16). The first retransmission control is retransmitted one hour after the first registration request is transmitted, retransmitted three hours after the second registration request is transmitted, and six after the third registration request is transmitted. Retransmission after an hour may be a process in which retransmission 12 hours after the transmission of the fourth registration request is executed, and retransmission 24 hours after the transmission of the fifth registration request is executed. The retransmission interval is not limited to this. Further, when the registration completion information is received from the server 200 during the first retransmission control, the communication device 100 may cancel the first retransmission control. The registration completion information is not limited to the above example as long as it is information that the communication device 100 can recognize that the own device has been registered in the server 200.

制御部110は、登録完了情報をサーバ200から受信したか否かを判定してよい(ステップS17)。登録要求の送信を開始してから第1期間経過後(ここでは、上述した1,3,6,12,24時間の合計である46時間後)であっても登録完了情報が受信されない場合(ステップS17でNO)、制御部110は、通信装置100の再起動(Reboot)を実行してよい(ステップS18)。通信部120は、再起動後に、自装置の登録要求を、サーバ200へ送信してよい(ステップS19)。なお、登録完了情報をサーバ200から受信している場合は(ステップS17でYES)、サーバ200に通信装置100が登録され、サーバ200と通信装置100との間の通信が確立された場合、通信装置100は、メーターから取得した各種データをサーバ200へ送信したり、サーバ200から送信される、管理者(集中監視センター)からのデータや指示を受信したりしてよい。 The control unit 110 may determine whether or not the registration completion information has been received from the server 200 (step S17). If the registration completion information is not received even after the first period has elapsed since the transmission of the registration request was started (here, 46 hours, which is the total of 1, 3, 6, 12, and 24 hours described above) (here). NO) in step S17, the control unit 110 may execute a reboot of the communication device 100 (step S18). After restarting, the communication unit 120 may send a registration request for its own device to the server 200 (step S19). If the registration completion information is received from the server 200 (YES in step S17), the communication device 100 is registered in the server 200, and communication is established between the server 200 and the communication device 100. The device 100 may transmit various data acquired from the meter to the server 200, or may receive data and instructions from the administrator (centralized monitoring center) transmitted from the server 200.

このように、本発明の第1実施形態によれば、自装置の登録要求がサーバ200へ到達せず、結果的にサーバ200との間の通信が確立できない場合、通信装置100は、サーバ200への登録要求の再送を繰り返してよい。そして、登録要求の再送を繰り返してもサーバ200との間の通信が確立しない場合に、通信装置100は、自装置を再起動してよい。これによれば、通信装置100が再起動することによって、通信装置100からの登録要求がサーバ200へ到達しない何らかの原因が解消され得る。すなわち、一実施形態に係る通信システム500によれば、通信装置100を再起動させ、再起動後に登録要求をサーバ200へ送信させることにより、通信装置100とサーバ200との通信が確立する可能性を高めることができる。 As described above, according to the first embodiment of the present invention, when the registration request of the own device does not reach the server 200 and as a result communication with the server 200 cannot be established, the communication device 100 uses the server 200. The resend of the registration request to the server may be repeated. Then, when communication with the server 200 is not established even if the registration request is retransmitted repeatedly, the communication device 100 may restart its own device. According to this, by restarting the communication device 100, some cause that the registration request from the communication device 100 does not reach the server 200 can be eliminated. That is, according to the communication system 500 according to the embodiment, there is a possibility that communication between the communication device 100 and the server 200 can be established by restarting the communication device 100 and transmitting a registration request to the server 200 after the restart. Can be enhanced.

<第2実施形態>
第1実施形態では、通信装置100から送信された登録要求がサーバ200で受信されない場合に、登録要求の再送が繰り返される場合について説明した。第2実施形態では、サーバ200との間の通信をより確実に確立するための処理について説明する。
<Second Embodiment>
In the first embodiment, a case where the registration request transmitted from the communication device 100 is not received by the server 200 and the registration request is retransmitted repeatedly has been described. In the second embodiment, a process for more reliably establishing communication with the server 200 will be described.

図3は、本発明の第2実施形態による、通信装置100とサーバ200との間のシーケンスの一例である。図2において、ステップS11~S19は、第1実施形態と同様であってよい。本発明の第2実施形態では、通信装置100から送信された更新情報が、サーバ200へ到達せず(ステップS11)、通信装置100がサーバ200からのAckを受信しない場合に、通信装置100は、他のプロトコル(第2のプロトコル)による更新情報の再送処理を行ってよい(ステップS111)。他のプロトコルとは、LwM2Mの下位のプロトコルであるCoAP(Constrained Application Protocol)であってよく、CoAPによる更新情報の再送処理は、最初の更新情報を送信してから4秒後の再送、2回目の更新情報を送信してから8秒後の再送、3回目の更新情報を送信してから16秒後の再送、4回目の更新情報を送信してから32秒後の再送が実行される処理であってよい。なお、ここでは、後述する第2の通信方式と第2のプロトコルとは異なるものを指すことに留意されたい。本発明の第2実施形態では、第1のプロトコルに従った登録要求の送信(ステップS12,S13,S14,S15,S16)のそれぞれについて、第2のプロトコルに従った登録要求の送信(ステップS121,S131,S141,S151,S161)がそれぞれ実行されてよい。 FIG. 3 is an example of a sequence between the communication device 100 and the server 200 according to the second embodiment of the present invention. In FIG. 2, steps S11 to S19 may be the same as in the first embodiment. In the second embodiment of the present invention, when the update information transmitted from the communication device 100 does not reach the server 200 (step S11) and the communication device 100 does not receive the Ac from the server 200, the communication device 100 , The update information may be retransmitted by another protocol (second protocol) (step S111). The other protocol may be CoAP (Constrained Application Protocol), which is a lower level protocol of LwM2M, and the update information retransmission process by CoAP is the second retransmission 4 seconds after the first update information is transmitted. Retransmission 8 seconds after sending the update information, resending 16 seconds after sending the third update information, and resending 32 seconds after sending the fourth update information May be. It should be noted here that the second communication method and the second protocol, which will be described later, are different from each other. In the second embodiment of the present invention, for each transmission of the registration request according to the first protocol (steps S12, S13, S14, S15, S16), the transmission of the registration request according to the second protocol (step S121). , S131, S141, S151, S161), respectively.

すなわち、本発明の第2実施形態によれば、通信部120は、LwM2M(第1のプロトコル)に従う第1登録要求に応じた完了情報をサーバ200から受信しない場合、第1登録要求のサーバ200への1回の送信に対して、CoAP(第2のプロトコル)に従う第2登録要求を所定の間隔で所定回数送信する第2再送制御を行ってよい。上述の例では、所定の間隔を、4秒後、8秒後、16秒後、32秒後、所定回数を5回としたが、本発明はこれに限定されない。また、通信部120は、サーバ200から登録完了情報を受信した場合、第2再送制御及び第1再送制御を中止してよい。なお、通信装置100の制御部110は、第2再送制御を開始してから、上述した第1期間経過しても、サーバ200から登録完了情報を受信しない場合、自装置を再起動してよい(ステップS18)。再起動後に、通信装置100は、登録要求をサーバ200へ送信してよい(ステップS19)。 That is, according to the second embodiment of the present invention, when the communication unit 120 does not receive the completion information corresponding to the first registration request according to LwM2M (first protocol) from the server 200, the server 200 of the first registration request. A second retransmission control may be performed in which a second registration request according to CoAP (second protocol) is transmitted a predetermined number of times at a predetermined interval with respect to one transmission to. In the above example, the predetermined interval is set to 4 seconds, 8 seconds, 16 seconds, 32 seconds, and the predetermined number of times is 5, but the present invention is not limited thereto. Further, when the communication unit 120 receives the registration completion information from the server 200, the second retransmission control and the first retransmission control may be stopped. If the control unit 110 of the communication device 100 does not receive the registration completion information from the server 200 even after the first period described above has elapsed since the second retransmission control was started, the control unit 110 may restart its own device. (Step S18). After restarting, the communication device 100 may send a registration request to the server 200 (step S19).

このように、本発明の第2実施形態によれば、他のプロトコルによる登録要求の再送が行われることによって、第1実施形態よりもさらに、サーバ200との間の通信が確立する可能性を高めることができる。また、第1実施形態と同様に、再起動することによって、登録要求がサーバ200へ到達しない何らかの原因が解消され得るため、再起動後に登録要求をサーバ200へ送信することにより、サーバ200との通信を確立する可能性を高めることができる。 As described above, according to the second embodiment of the present invention, there is a possibility that communication with the server 200 can be established further than in the first embodiment by retransmitting the registration request by another protocol. Can be enhanced. Further, as in the first embodiment, by restarting, some cause of the registration request not reaching the server 200 can be resolved. Therefore, by transmitting the registration request to the server 200 after the restart, the registration request with the server 200 can be resolved. The possibility of establishing communication can be increased.

<第3実施形態>
図1に示すように、サーバ200は、複数の通信装置100A~100Dとネットワーク300を介して接続され、当該複数の通信装置100A~100Dを管理するものである。ここで、通信システム500において、通信装置100(IoT/M2M機器)は無数に存在し、サーバ200には、大量の通信装置100が接続される。ここで、例えば、サーバ200の不具合や、図示しない基地局の不具合・障害等によって、大量の通信装置100のネットワーク300への接続が切断(デタッチ(Detach))する場合がある。この場合、デタッチされた大量の通信装置100のそれぞれが、ネットワーク300へ接続(アタッチ(Attach))することになる。また、各通信装置100は、ネットワーク300へのアタッチ後、切断されたサーバ200との通信を再確立するために、サーバ200へ登録要求を送信することになる。ここで、一般的に大量の通信装置がサーバへ一斉に登録要求を送信すると、一時的にサーバの処理能力を超えてしまい、サーバが各通信装置の登録処理を完了することが困難な事態が生じ得る。
<Third Embodiment>
As shown in FIG. 1, the server 200 is connected to a plurality of communication devices 100A to 100D via a network 300, and manages the plurality of communication devices 100A to 100D. Here, in the communication system 500, there are innumerable communication devices 100 (IoT / M2M devices), and a large number of communication devices 100 are connected to the server 200. Here, for example, the connection of a large number of communication devices 100 to the network 300 may be disconnected (Detach) due to a malfunction of the server 200, a malfunction or failure of a base station (not shown), or the like. In this case, each of the large number of detached communication devices 100 will be connected (Attach) to the network 300. Further, after attaching to the network 300, each communication device 100 transmits a registration request to the server 200 in order to reestablish communication with the disconnected server 200. Here, in general, when a large number of communication devices send registration requests to the server all at once, the processing capacity of the server is temporarily exceeded, and it is difficult for the server to complete the registration process of each communication device. Can occur.

本発明の第3実施形態によれば、大量の通信装置100がサーバ200へ登録要求を送信する必要がある場合に、サーバ200への負担を低減し、効率よく通信を確立することができる。 According to the third embodiment of the present invention, when a large number of communication devices 100 need to transmit a registration request to the server 200, the load on the server 200 can be reduced and communication can be efficiently established.

図4を用いて説明する。図4は、本発明の第3実施形態による、通信装置100A,100Bとサーバ200との間のシーケンスの一例である。通信装置100A,100Bは、それぞれ、サーバ200への登録処理(ステップS21~S23、S24~S26)を行う。具体的には、通信装置100の通信部(第1通信部)120は、サーバ200に登録要求(Registration)を送信してよい(ステップS21,S24)。登録要求の詳細は上述した通りであってよい。サーバ200は、通信装置100の登録が完了すると、登録が完了した旨を通信装置100へ送信してよい(ステップS22,S25)。通信装置100とサーバ200との通信が確立すると(ステップS23,S26)、通信装置100は、メーターから取得した各種データをサーバ200へ送信したり、サーバ200から送信される、管理者(集中監視センター)からのデータや指示を受信したりする。なお、通信装置100A,100Bの登録処理は別個に行われるものであってよい。また、その順序は任意の順序であってよい。 This will be described with reference to FIG. FIG. 4 is an example of a sequence between the communication devices 100A and 100B and the server 200 according to the third embodiment of the present invention. The communication devices 100A and 100B perform registration processing (steps S21 to S23, S24 to S26) in the server 200, respectively. Specifically, the communication unit (first communication unit) 120 of the communication device 100 may transmit a registration request (Registration) to the server 200 (steps S21 and S24). The details of the registration request may be as described above. When the registration of the communication device 100 is completed, the server 200 may transmit to the communication device 100 that the registration is completed (steps S22 and S25). When communication between the communication device 100 and the server 200 is established (steps S23 and S26), the communication device 100 transmits various data acquired from the meter to the server 200 or is transmitted from the server 200, the administrator (centralized monitoring). Receive data and instructions from the center). The registration processing of the communication devices 100A and 100B may be performed separately. Moreover, the order may be any order.

ここで、何らかの不具合により、通信装置100A,100Bとサーバ200との間のネットワーク300を介した接続が切断され、通信装置100A,100Bは、それぞれネットワーク300への再接続が完了したとする(ステップS27)。その後、通信装置100A,100Bの通信部120は、それぞれ、サーバ200へ自装置の登録要求を送信してよい。 Here, it is assumed that the connection between the communication devices 100A and 100B and the server 200 via the network 300 is disconnected due to some trouble, and the communication devices 100A and 100B are reconnected to the network 300, respectively (step). S27). After that, the communication units 120 of the communication devices 100A and 100B may each transmit a registration request for their own device to the server 200.

この場合、本発明の第3実施形態によれば、複数の通信装置100がサーバ200への登録要求の送信が必要な場合に、各通信装置100がサーバ200へ登録要求を送信する時間を分散させてよい。具体的には、例えば、通信装置100は、ネットワーク300への再接続後、自装置の登録要求を、所定のタイミングでサーバ200へ送信してよい。所定のタイミング(以下、送信時間ともいう)は、自装置に固有の識別情報に基づいて設定されてよい。自装置に固有の識別情報とは、通信装置100それぞれに割り振られる情報であって、通信装置100を一意に識別可能な情報であってよい。例えば、識別情報は、文字、数字、記号等により任意に構成されるデバイスID等であってよい。図4の例では、通信装置100Bは、ネットワークへの再接続後、0~60秒間の時間幅のうち、10秒後に、サーバ200へ登録要求を送信する(ステップS28)。すなわち、図4の例では、通信装置100Bの識別情報については、通信装置100Bがネットワークへの再接続後、0~60秒間の時間幅のうち、10秒後に、サーバ200へ登録要求を送信するように設定されている。これに対し、図4の例では、通信装置100Aは、ネットワークへの再接続後、0~60秒間の時間幅のうち、50秒後に、サーバ200への登録要求を送信している(ステップS29)。すなわち、図4の例では、通信装置100Aの識別情報については、通信装置100Aがネットワークへの再接続後、0~60秒間の時間幅のうち、50秒後に、サーバ200へ登録要求を送信するように設定されている。このようにして、通信装置100がサーバ200へ登録要求を送信する時間を分散させてよい。なお、図4では2つの通信装置100A,100Bについて説明したが、サーバ200へ登録される大量の通信装置100について、それぞれ、固有の識別情報に基づいて、登録要求の送信時間が分散して設定されてよい。また、0~60秒間の時間幅については後述する。 In this case, according to the third embodiment of the present invention, when a plurality of communication devices 100 need to transmit a registration request to the server 200, the time for each communication device 100 to transmit the registration request to the server 200 is distributed. You may let me. Specifically, for example, the communication device 100 may transmit a registration request for its own device to the server 200 at a predetermined timing after reconnecting to the network 300. The predetermined timing (hereinafter, also referred to as transmission time) may be set based on the identification information unique to the own device. The identification information unique to the own device may be information assigned to each communication device 100, and may be information that can uniquely identify the communication device 100. For example, the identification information may be a device ID or the like arbitrarily composed of characters, numbers, symbols, and the like. In the example of FIG. 4, the communication device 100B transmits a registration request to the server 200 10 seconds after the time width of 0 to 60 seconds after reconnecting to the network (step S28). That is, in the example of FIG. 4, regarding the identification information of the communication device 100B, the registration request is transmitted to the server 200 10 seconds after the communication device 100B reconnects to the network, out of the time width of 0 to 60 seconds. Is set to. On the other hand, in the example of FIG. 4, the communication device 100A transmits the registration request to the server 200 50 seconds after the time width of 0 to 60 seconds after the reconnection to the network (step S29). ). That is, in the example of FIG. 4, regarding the identification information of the communication device 100A, the communication device 100A transmits a registration request to the server 200 50 seconds after the time width of 0 to 60 seconds after the communication device 100A is reconnected to the network. Is set to. In this way, the time for the communication device 100 to transmit the registration request to the server 200 may be distributed. Although the two communication devices 100A and 100B have been described in FIG. 4, the transmission time of the registration request is distributed and set for each of the large number of communication devices 100 registered in the server 200 based on the unique identification information. May be done. The time width of 0 to 60 seconds will be described later.

ここで、送信時間の分散設定は、以下のように行われてよい。まず、サーバ200への接続が切断された状態が長引くと、通信装置100からサーバ200に対して送信すべきデータを適切なタイミングでサーバ200へ送信することができない場合が生じ得るため好ましくない。例えば、漏電や漏水等が発生しているにもかかわらず、それを感知し得ないといった事態が生じ得る。しかしながら、サーバ200へ接続すべき通信装置100の数は無数にあるため、サーバ200の処理能力を鑑みて通信装置100を分散させる必要がある。本発明の第3実施形態によれば、各通信装置100がアタッチ後にサーバ200への登録を完了すべき所定の時間幅は、上述の点を鑑みて適宜設定されてよい。なお、所定の時間幅は、例えば60秒間であってよいが、これに限定されない。 Here, the distribution setting of the transmission time may be performed as follows. First, if the state in which the connection to the server 200 is disconnected is prolonged, the data to be transmitted from the communication device 100 to the server 200 may not be transmitted to the server 200 at an appropriate timing, which is not preferable. For example, even though an electric leakage or a water leakage has occurred, a situation may occur in which it cannot be detected. However, since the number of communication devices 100 to be connected to the server 200 is innumerable, it is necessary to distribute the communication devices 100 in consideration of the processing capacity of the server 200. According to the third embodiment of the present invention, the predetermined time width in which each communication device 100 should complete the registration to the server 200 after attachment may be appropriately set in view of the above points. The predetermined time width may be, for example, 60 seconds, but is not limited to this.

所定の時間幅が設定されると、通信装置100の固有の識別情報と所定の時間幅とに応じて、送信時間が設定されてよい。例えば、識別情報を数値化して所定の時間幅で除算し、余りの数値を、送信時間として設定してよい。なお、識別情報の数値化は、既存の手法で行われてよい。あるいは、所定の時間幅が設定されると、サーバ200へ接続すべき通信装置100の数と、所定の時間幅と、固有の識別情報とに応じて、送信時間が設定されてよい。例えば、サーバ200へ接続すべき通信装置100の数で所定の時間幅を除算して求めた時間間隔で、固有の識別情報で規定される順番に従って、送信時間が設定されてよい。なお、送信時間に関する情報は、通信装置100の記憶部150に予め記憶されてよい。 When the predetermined time width is set, the transmission time may be set according to the unique identification information of the communication device 100 and the predetermined time width. For example, the identification information may be quantified and divided by a predetermined time width, and the remaining numerical value may be set as the transmission time. The identification information may be quantified by an existing method. Alternatively, when a predetermined time width is set, the transmission time may be set according to the number of communication devices 100 to be connected to the server 200, the predetermined time width, and the unique identification information. For example, the transmission time may be set in the order specified by the unique identification information at a time interval obtained by dividing a predetermined time width by the number of communication devices 100 to be connected to the server 200. Information regarding the transmission time may be stored in advance in the storage unit 150 of the communication device 100.

なお、所定の時間幅は、サーバ200の処理能力や、サーバ200が管理する通信装置100の数の変動に応じて、変更されてもよい。例えば、サーバ200の処理能力が向上した場合には、所定の時間幅を短くし、短時間で通信装置100の登録を完了してよい。また、サーバ200が管理する通信装置100の数が増加した場合には、所定の時間幅を長くし、単位時間当たりで登録する通信装置100の数を増加させないようにしてよい。なお、所定の時間幅の変更(更新)に関する情報は、サーバ200と通信装置100との間の通信が確立されている間に、サーバ200から各通信装置100へ送信されてよい。通信装置100は、サーバ200から受信した、所定の時間幅の変更に関する情報に応じて、自装置の送信時間を更新してよい。 The predetermined time width may be changed according to the processing capacity of the server 200 and the fluctuation of the number of communication devices 100 managed by the server 200. For example, when the processing capacity of the server 200 is improved, the predetermined time width may be shortened and the registration of the communication device 100 may be completed in a short time. Further, when the number of communication devices 100 managed by the server 200 increases, the predetermined time width may be lengthened so as not to increase the number of communication devices 100 registered per unit time. Information regarding the change (update) of the predetermined time width may be transmitted from the server 200 to each communication device 100 while the communication between the server 200 and the communication device 100 is established. The communication device 100 may update the transmission time of its own device according to the information regarding the change of the predetermined time width received from the server 200.

<第4実施形態>
本発明の第4実施形態によれば、通信装置100は、第1の通信方式でサーバ200と接続するとともに、第2の通信方式で他の通信装置100と接続し、無線通信親機及び無線通信子機としての動作を切替可能なものであってよい。さらに、通信装置100は、他の通信装置100を含む通信装置群を構成してよい。例えば、通信装置100は、無線通信親機及び無線通信子機を含む通信装置群を構成してよい。すなわち、通信装置100は、フィールド内の複数の通信装置100によってマルチホップ方式のネットワークを組み、ネットワーク内のメーターのデータを収集するFAN(Field Area Network)と、FANによって収集されたデータを遠隔のサーバ200に送信するWAN(Wide Area Network)とを実現してよい。さらに、一の通信装置100で、通信装置100間の通信(子機としての機能)と広域ネットワーク通信(親機としての機能)とが可能であってよい。なお、通信装置群を構成する無線通信親機及び無線通信子機の数は特に限定されないが、例えば、通信装置群は、1の無線通信親機及び少なくとも1の無線通信子機により構成されてよい。
<Fourth Embodiment>
According to the fourth embodiment of the present invention, the communication device 100 is connected to the server 200 by the first communication method and is connected to another communication device 100 by the second communication method, and is connected to the wireless communication master unit and wireless. The operation as a communication slave unit may be switchable. Further, the communication device 100 may constitute a communication device group including another communication device 100. For example, the communication device 100 may constitute a communication device group including a wireless communication master unit and a wireless communication slave unit. That is, the communication device 100 forms a multi-hop network with a plurality of communication devices 100 in the field, and collects the data of the meters in the network (FAN) and the data collected by the FAN remotely. A WAN (Wide Area Network) to be transmitted to the server 200 may be realized. Further, one communication device 100 may be capable of communication between communication devices 100 (function as a slave unit) and wide area network communication (function as a master unit). The number of wireless communication master units and wireless communication slave units constituting the communication device group is not particularly limited, but for example, the communication device group is composed of one wireless communication master unit and at least one wireless communication slave unit. good.

図5は、本発明の第4実施形態による通信システムの概略図である。図5において、通信装置100A~100Dは、通信装置100Aを親機、通信装置100B~100Dを子機とするFAN(通信装置群)10Aを構成している。また、通信装置100E~100Iは、通信装置100Eを親機、通信装置100F~100Iを子機とするFAN10Bを構成している。FAN10AとFAN10Bとは、エリアが異なることによる区別であってもよいし、メーターの管理者が異なることによる区別であってもよい。後者の場合、エリアが重複していてもよい。なおこれ以降、特に区別する必要が無い場合、通信装置100やFAN10の符号における英字は省略して説明する。また、図は例示であって、FAN10を構成する通信装置100や、FAN10の数は、これに限定されない。FAN10において、各メーターの情報は、子機として動作する複数の通信装置100間のマルチホップ通信を用いて伝送することができ、子機として動作する下位の通信装置100間を伝送した情報は、親機(ゲートウェイ)として動作する上位の通信装置100へ収集され、WANを介してサーバ200へ送信されてよい。 FIG. 5 is a schematic diagram of a communication system according to a fourth embodiment of the present invention. In FIG. 5, the communication devices 100A to 100D constitute a FAN (communication device group) 10A in which the communication device 100A is a master unit and the communication devices 100B to 100D are slave units. Further, the communication devices 100E to 100I constitute a FAN 10B having the communication device 100E as a master unit and the communication devices 100F to 100I as a slave unit. FAN10A and FAN10B may be distinguished by different areas or by different meter managers. In the latter case, the areas may overlap. Hereinafter, when it is not necessary to distinguish between them, the alphabetic characters in the codes of the communication device 100 and the FAN 10 will be omitted. Further, the figure is an example, and the number of communication devices 100 and FAN10 constituting FAN10 is not limited to this. In FAN10, the information of each meter can be transmitted by using multi-hop communication between a plurality of communication devices 100 operating as a slave unit, and the information transmitted between the lower communication devices 100 operating as a slave unit can be transmitted. It may be collected by a higher-level communication device 100 operating as a master unit (gateway) and transmitted to a server 200 via a WAN.

なお、通信装置100の制御部110は、親機又は子機としての動作を切り替える図示しない切替部を備え、親機としても子機としても動作し得てよい。親機である通信装置100(100A,100E)は、サーバ200との間で、第1の通信方式を用いてネットワーク300を介して直接に通信を行うことができる。子機である通信装置100(100B~100D,100F~100I)は、第2の通信方式を用いて他の子機及び親機との通信(データの伝送)を行ってよい。ここで、第2の通信方式としては、例えば、920MHz帯を使用して通信する特定小電力無線方式であってよい。920MHz帯を使用して通信する特定小電力無線方式は、例えば、Wi-SUNの通信規格に基づく通信方式や、Zigbee(登録商標)等のIEEE802.15.4上で動作する無線通信規格の通信方式であってよい。なお、第2の通信方式は、920MHz帯に限られず、どのような通信帯域で通信するものであってもよい。第2の通信方式は例えば、電波法における免許を必要としない通信方式であってよい。第1の通信方式と第2の通信方式とは例えば、通信に用いる電波の周波数帯が互いに異なってよい。 The control unit 110 of the communication device 100 includes a switching unit (not shown) for switching the operation as the master unit or the slave unit, and may operate as both the master unit and the slave unit. The communication device 100 (100A, 100E), which is a master unit, can directly communicate with the server 200 via the network 300 by using the first communication method. The communication device 100 (100B to 100D, 100F to 100I), which is a slave unit, may perform communication (data transmission) with another slave unit and the master unit by using the second communication method. Here, as the second communication method, for example, a specific low power wireless method for communicating using the 920 MHz band may be used. The specific low-power wireless system that communicates using the 920 MHz band includes, for example, a communication system based on the Wi-SUN communication standard and communication of a wireless communication standard that operates on IEEE802.5.4 such as Zigbee (registered trademark). It may be a method. The second communication method is not limited to the 920 MHz band, and may communicate in any communication band. The second communication method may be, for example, a communication method that does not require a license under the Radio Law. For example, the frequency bands of the radio waves used for communication may be different from each other between the first communication method and the second communication method.

図6は、本発明の第4実施形態による、FANを構成する通信装置100とサーバ200との間のシーケンスの一例である。なお、図6では、通信装置100A,100Bの2つのみ示してあるが、FANを構成する他の通信装置についても同様であってよい。また、図6は一例であって、本発明はこれに限定されない。 FIG. 6 is an example of a sequence between the communication device 100 and the server 200 constituting the FAN according to the fourth embodiment of the present invention. Although only two communication devices 100A and 100B are shown in FIG. 6, the same may apply to other communication devices constituting the FAN. Further, FIG. 6 is an example, and the present invention is not limited thereto.

図6の例では、通信装置100Bが子機として動作し(ステップS31)、通信装置100Aが親機として動作するものとする(ステップS32)。なお、図6には示していないが、通信装置100A,100Bは、親機として動作するかまたは子機として動作するかを決定する動作モード決定処理を、事前に行ってよい。動作モード決定処理は、FANを構成するための既存の手法によって行われてよい。例えば、サーバ200によって、動作モードを指定する情報が各通信装置100へ送信されてもよい。または、FANを構成する各通信装置100間で、自装置に関する情報(テーブル)を交換し、各通信装置100の状態に応じて、親機が選択されてもよい。自装置に関する情報とは、例えば、自装置から他の通信装置100へ最短で到達する際に経由する通信装置100の数(ホップ数)、サーバ200との間の通信環境に関する情報等であってよい。また、通信装置100が接続されるメーターや通信装置100には、外部電源が接続されず、内蔵の電池によって駆動される。したがって、自装置を駆動する電池の電池残量に関する情報を、自装置に関する情報に含めてもよい。 In the example of FIG. 6, it is assumed that the communication device 100B operates as a slave unit (step S31) and the communication device 100A operates as a master unit (step S32). Although not shown in FIG. 6, the communication devices 100A and 100B may perform an operation mode determination process for determining whether to operate as a master unit or a slave unit in advance. The operation mode determination process may be performed by an existing method for constructing a FAN. For example, the server 200 may transmit information specifying the operation mode to each communication device 100. Alternatively, information (table) about the own device may be exchanged between the communication devices 100 constituting the FAN, and the master unit may be selected according to the state of each communication device 100. The information about the own device is, for example, the number of communication devices 100 (the number of hops) that the own device passes through when reaching the other communication device 100 in the shortest time, information about the communication environment with the server 200, and the like. good. Further, an external power source is not connected to the meter or the communication device 100 to which the communication device 100 is connected, and the communication device 100 is driven by a built-in battery. Therefore, the information about the remaining battery level of the battery that drives the own device may be included in the information about the own device.

子機として動作する通信装置100Bは、自装置のサーバ200への登録要求を、親機として動作する通信装置100Aに送信してよい(ステップS33)。親機として動作する通信装置100Aは、通信装置100Bの登録要求をサーバ200へ送信する、上述した第1再送制御/第2再送制御を実行してよい(ステップS34)。なお、親機として動作する通信装置100Aは、通信装置100Bの登録要求とともに、自装置の登録要求を、サーバ200へ送信してもよい。または、親機として動作する通信装置100Aは、通信装置100Bの登録要求のみを、サーバ200へ送信してもよい。なお、親機として動作する通信装置100Aには、通信装置100B以外の通信装置100(例えば、通信装置100C,100D)が子機として接続されている。通信装置100Aは、子機として接続された各通信装置100の登録要求を受信し、まとめてサーバ200へ送信してもよいし、登録要求を受信する都度、サーバ200へ送信してもよい。 The communication device 100B operating as a slave unit may transmit a registration request to the server 200 of its own device to the communication device 100A operating as a master unit (step S33). The communication device 100A operating as the master unit may execute the above-described first retransmission control / second retransmission control for transmitting the registration request of the communication device 100B to the server 200 (step S34). The communication device 100A operating as a master unit may transmit a registration request for its own device to the server 200 together with a registration request for the communication device 100B. Alternatively, the communication device 100A operating as the master unit may transmit only the registration request of the communication device 100B to the server 200. A communication device 100 (for example, communication devices 100C and 100D) other than the communication device 100B is connected to the communication device 100A that operates as a master unit as a slave unit. The communication device 100A may receive the registration request of each communication device 100 connected as a slave unit and collectively transmit the registration request to the server 200, or may transmit the registration request to the server 200 each time.

このように、子機の登録要求が親機からサーバ200に送信されるため、多数の通信装置100が登録要求を直接サーバ200に送信する場合に比べて、通信装置100とサーバ200との間のネットワーク資源を逼迫させることがない。また、通信装置100の設置場所によっては、メーターボックスやビル群等、サーバ200との第1の通信方式による通信困難である場合がある。本発明の一実施形態によれば、設置場所によってサーバ200との通信が困難であった子機に関しても、登録要求を送信することができる。 In this way, since the registration request of the slave unit is transmitted from the master unit to the server 200, between the communication device 100 and the server 200 as compared with the case where a large number of communication devices 100 directly transmit the registration request to the server 200. Does not overwhelm the network resources of. Further, depending on the installation location of the communication device 100, it may be difficult to communicate with the server 200 by the first communication method such as a meter box or a group of buildings. According to one embodiment of the present invention, a registration request can be transmitted even for a slave unit whose communication with the server 200 is difficult depending on the installation location.

なお、FANを構成して登録要求を送信し、第1再送制御または第2再送制御を行っても、前述のように、サーバ200への登録が完了しない場合がある。例えば、図6のステップS35において、所定の第2期間が経過してもサーバ200への登録が完了しない場合(ステップS35でNO)、通信装置100Aは、自装置の動作モードを子機に切り替えてよい。なお、所定の第2期間は、例えば1時間であってもよいが、これに限定されない。具体的には、FANを構成する他の通信装置100Bとの間で動作モードの決定処理を実行し(ステップS36)、子機として動作していた通信装置100Bが親機となり(ステップS37)、親機として動作していた通信装置100Aが子機となってよい(ステップS38)。なお、動作モードの決定処理には、親機として動作していた通信装置100Aが子機となること、子機として動作していた通信装置100Bが親機となって、新たに子機となった通信装置100Aを通信装置100Bの下位に接続することを示す情報を、サーバ200へ送信することが含まれてよい。また、子機として動作していた通信装置100C,100Dは、親機が変更されたことに応じて、新たな親機100Bへ接続するよう、親機100Bへの接続ルート(ホップ数)を変更してよい。 Even if the FAN is configured to transmit the registration request and the first retransmission control or the second retransmission control is performed, the registration to the server 200 may not be completed as described above. For example, in step S35 of FIG. 6, when registration to the server 200 is not completed even after the lapse of a predetermined second period (NO in step S35), the communication device 100A switches the operation mode of its own device to the slave unit. You can. The predetermined second period may be, for example, one hour, but is not limited to this. Specifically, an operation mode determination process is executed with another communication device 100B constituting the FAN (step S36), and the communication device 100B operating as a slave unit becomes a master unit (step S37). The communication device 100A operating as the master unit may become the slave unit (step S38). In the operation mode determination process, the communication device 100A operating as the master unit becomes the slave unit, and the communication device 100B operating as the slave unit becomes the master unit and becomes a new slave unit. Information indicating that the communication device 100A is connected to the lower level of the communication device 100B may be transmitted to the server 200. Further, the communication devices 100C and 100D operating as slave units change the connection route (number of hops) to the master unit 100B so as to connect to the new master unit 100B in response to the change of the master unit. You can do it.

子機となった通信装置100Aは、自装置の登録要求を、第2の通信方式を用いて、親機となった通信装置100Bへ送信してよい(ステップS39)。通信装置100Bは、通信装置100Aの登録要求を、サーバ200へ送信してもよい(ステップS40)。なお、ステップS46でサーバ200へ送信される登録要求には、通信装置100Bの登録要求が含まれてもよい。 The communication device 100A, which has become a slave unit, may transmit a registration request for its own device to the communication device 100B, which has become a master unit, using the second communication method (step S39). The communication device 100B may transmit the registration request of the communication device 100A to the server 200 (step S40). The registration request transmitted to the server 200 in step S46 may include the registration request of the communication device 100B.

このように、本発明の一実施形態によれば、親機が子機の登録情報を送信し、親機による登録が完了しない場合に、FANにおける子機を新たな親機に切り替えて、新たな親機によって登録情報がサーバ200へ送信されてよい。これにより、通信装置100のサーバ200への登録が完了する可能性を高めることができる。 As described above, according to one embodiment of the present invention, when the master unit transmits the registration information of the slave unit and the registration by the master unit is not completed, the slave unit in the FAN is switched to a new master unit, and a new master unit is used. The registration information may be transmitted to the server 200 by the master unit. This makes it possible to increase the possibility that the registration of the communication device 100 with the server 200 is completed.

なお、ステップS34,S40の第1再送制御/第2再送制御によっても、サーバ200への通信装置100の登録が完了しない場合、親機としての動作時に、自装置の再起動が行われてもよい。 If the registration of the communication device 100 in the server 200 is not completed by the first retransmission control / second retransmission control in steps S34 and S40, even if the own device is restarted during the operation as the master unit. good.

本発明を諸図面や実施例に基づき説明してきたが、当業者であれば本開示に基づき種々の変形や修正を行うことが容易であることに注意されたい。従って、これらの変形や修正は本発明の範囲に含まれることに留意されたい。例えば、各構成部、各ステップ等に含まれる機能等は論理的に矛盾しないように再配置可能であり、複数の構成部やステップ等を1つに組み合わせたり、或いは分割したり、必要に応じて適宜省略又は変更することが可能である。また、上記実施の形態に示す構成を適宜組み合わせることとしてもよい。例えば、通信装置100が備えるとして説明した各機能部は、サーバ200によって実現されてもよい。逆に、サーバ200が備えるとして説明した各機能部を、通信装置100が備えてもよい。 Although the present invention has been described with reference to the drawings and examples, it should be noted that those skilled in the art can easily make various modifications and modifications based on the present disclosure. Therefore, it should be noted that these modifications and modifications are included in the scope of the present invention. For example, the functions included in each component, each step, etc. can be rearranged so as not to be logically inconsistent, and a plurality of components, steps, etc. can be combined or divided into one, as needed. Can be omitted or changed as appropriate. In addition, the configurations shown in the above embodiments may be combined as appropriate. For example, each functional unit described as being included in the communication device 100 may be realized by the server 200. On the contrary, the communication device 100 may include each functional unit described as being provided by the server 200.

例えば、上述では、通信装置100が接続されるIoT/M2M機器として、水道メーターを例に説明した。しかしながら、通信装置100は、メーターに限らず、各種センサによる情報をサーバ200へ送信するものであってよい。センサとしては、温度センサ、加速度センサ、湿度センサ等であってよい。すなわち、通信装置100は、ネットワーク300に接続して各種データをサーバ200へ送信することを目的とする全ての機器に接続できてよい。 For example, in the above description, as an IoT / M2M device to which the communication device 100 is connected, a water meter has been described as an example. However, the communication device 100 is not limited to the meter, and may transmit information from various sensors to the server 200. The sensor may be a temperature sensor, an acceleration sensor, a humidity sensor, or the like. That is, the communication device 100 may be able to connect to all devices whose purpose is to connect to the network 300 and transmit various data to the server 200.

また、通信装置100の制御部110は、自装置を駆動する電池の電池残量に関する情報を取得する図示しない取得部をさらに備え、制御部110は、自装置の電池残量に応じて、自装置を再起動するまでの第1所定期間を変動させてよい。自装置を再起動するには、電力を消費するため、外部電源を持たず電池で駆動する通信装置100にとって、再起動を繰り返すことは好ましくない。従って、電池残量が残り少ない場合は、再起動を行わずに、登録要求のサーバ200への再送を繰り返す処理が行われてもよい。これにより、電池の消費を防ぎ、通信装置100の寿命を長引かせることができる。 Further, the control unit 110 of the communication device 100 further includes an acquisition unit (not shown) for acquiring information on the remaining battery level of the battery driving the own device, and the control unit 110 owns the battery according to the remaining battery level of the own device. The first predetermined period until the device is restarted may be varied. Since power is consumed to restart the own device, it is not preferable for the communication device 100 which does not have an external power source and is driven by a battery to repeat the restart. Therefore, when the remaining battery level is low, the process of repeating the retransmission of the registration request to the server 200 may be performed without restarting. As a result, battery consumption can be prevented and the life of the communication device 100 can be extended.

また、第1再送制御や第2再送制御において、登録要求を繰り返す回数や、繰り返すまでの時間幅は、電池残量に応じて変更されてもよい。 Further, in the first retransmission control and the second retransmission control, the number of times the registration request is repeated and the time width until the registration request is repeated may be changed according to the remaining battery level.

また、アタッチ後のサーバ200への登録要求が、複数の通信装置100の間で分散される態様と、FANとを組み合わせてもよい。すなわち、図5において子機として動作していた通信装置100Bがデタッチされ、アタッチする際に、親機として動作していた通信装置100Aに自装置の登録要求を送信し、通信装置100Aが、他の親機として動作していた通信装置100との間で、登録要求の送信時間を分散して設定されてよい。 Further, the FAN may be combined with the mode in which the registration request to the server 200 after the attachment is distributed among the plurality of communication devices 100. That is, when the communication device 100B operating as the slave unit in FIG. 5 is detached and attached, the registration request of the own device is transmitted to the communication device 100A operating as the master unit, and the communication device 100A is the other. The transmission time of the registration request may be distributed and set between the communication device 100 and the communication device 100 that was operating as the master unit of the above.

また、上述では、通信装置100が親機と子機とを切替可能である態様について説明した。しかしながら、親機と子機の両方のモードで動作することは必須ではなく、親機としてのみ動作可能であってもよい。 Further, in the above description, the mode in which the communication device 100 can switch between the master unit and the slave unit has been described. However, it is not essential to operate in both the master unit and the slave unit modes, and it may be possible to operate only as the master unit.

なお、上述では、LwM2Mプロトコルに準拠する通信システムについて説明した。しかしながら、本発明はこれに限定されず、サーバ200と通信装置100との間で登録状態の不一致が生じ得る通信方式やプロトコルを用いた場合に適用可能であってよい。 In the above description, the communication system conforming to the LwM2M protocol has been described. However, the present invention is not limited to this, and may be applicable when a communication method or protocol that may cause a mismatch in registration status between the server 200 and the communication device 100 is used.

本開示の各実施形態のプログラムは、通信装置や情報処理装置に読み取り可能な記憶媒体に記憶された状態で提供されてもよい。記憶媒体は、「一時的でない有形の媒体」に、プログラムを記憶可能であってよい。プログラムは、例えば、ソフトウェアプログラムや情報処理装置プログラムを含んでよい。 The program of each embodiment of the present disclosure may be provided in a state of being stored in a storage medium readable by a communication device or an information processing device. The storage medium may be capable of storing the program in a "non-temporary tangible medium". The program may include, for example, a software program or an information processing device program.

記憶媒体は適切な場合、1つ又は複数の半導体ベースの、又は他の集積回路(IC)(例えば、フィールド・プログラマブル・ゲート・アレイ(FPGA)、特定用途向けIC(ASIC)等)、ハード・ディスク・ドライブ(HDD)、ハイブリッド・ハード・ドライブ(HHD)、光ディスク、光ディスクドライブ(ODD)、光磁気ディスク、光磁気ドライブ、フロッピィ・ディスケット、フロッピィ・ディスク・ドライブ(FDD)、磁気テープ、固体ドライブ(SSD)、RAMドライブ、セキュア・デジタル・カードもしくはドライブ、任意の他の適切な記憶媒体、又はこれらの2つ以上の適切な組合せを含むことができる。記憶媒体は、適切な場合、揮発性、不揮発性、又は揮発性と不揮発性の組合せであってよい。 Storage media, where appropriate, are one or more semiconductor-based or other integrated circuits (ICs) (eg, field programmable gate arrays (FPGAs), application-specific ICs (ASICs), etc.), hard disks. Disk drive (HDD), hybrid hard drive (HHD), optical disk, optical disk drive (ODD), magneto-optical disk, magneto-optical drive, floppy diskette, floppy disk drive (FDD), magnetic tape, solid drive It can include (SSD), RAM drives, secure digital cards or drives, any other suitable storage medium, or any suitable combination of two or more of these. The storage medium may be volatile, non-volatile, or a combination of volatile and non-volatile, where appropriate.

また、本開示のプログラムは、当該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して、サーバ200に提供されてもよい。 Further, the program of the present disclosure may be provided to the server 200 via an arbitrary transmission medium (communication network, broadcast wave, etc.) capable of transmitting the program.

また、本開示の各実施形態は、プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 Each embodiment of the present disclosure may also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.

なお、本開示のプログラムは、例えば、JavaScript(登録商標)、Python等のスクリプト言語、C言語、Go言語、Swift,Koltin、Java(登録商標)等の任意のプログラミング言語を用いて実装されてよい。 The program of the present disclosure may be implemented using, for example, a script language such as JavaScript (registered trademark) or Python, or any programming language such as C language, Go language, Swift, Koltin, or Java (registered trademark). ..

100 通信端末
110 制御部
120 通信部
150 記憶部
200 サーバ(情報処理装置)
210 制御部
220 通信部
250 記憶部
300 ネットワーク
500 通信システム
100 Communication terminal 110 Control unit 120 Communication unit 150 Storage unit 200 Server (information processing device)
210 Control unit 220 Communication unit 250 Storage unit 300 Network 500 Communication system

Claims (13)

サーバに自装置を登録させるための登録要求を、前記サーバへ送信し、前記登録要求の送信後、前記サーバに自装置が登録された旨を示す登録完了情報を前記サーバから受信するまで、前記登録要求の送信を繰り返す第1再送制御を実行し、前記登録要求の送信を開始してから所定の第1期間経過後、前記登録完了情報が受信されない場合に、自装置の再起動を実行する制御部、
を備える、通信装置。
The registration request for registering the own device to the server is transmitted to the server, and after the registration request is transmitted, the registration completion information indicating that the own device has been registered in the server is received from the server. The first retransmission control that repeats the transmission of the registration request is executed, and the own device is restarted when the registration completion information is not received after a predetermined first period has elapsed since the transmission of the registration request was started. Control unit,
A communication device.
前記登録要求は、第1のプロトコルに従う第1登録要求、及び前記第1のプロトコルとは異なる第2のプロトコルに従う第2登録要求を含み、
前記制御部は、
前記第1登録要求に応じた前記登録完了情報を前記サーバから受信しない場合、前記第1登録要求の、前記サーバへの1回の送信に対して、前記第2登録要求を所定の間隔で所定回数送信する第2再送制御を、前記登録完了情報を受信するまで繰り返し実行し、前記第2再送制御を開始してから前記所定の第1期間経過後、前記登録完了情報が受信されない場合に、自装置を再起動する、
請求項1に記載の通信装置。
The registration request includes a first registration request according to the first protocol and a second registration request according to a second protocol different from the first protocol.
The control unit
When the registration completion information corresponding to the first registration request is not received from the server, the second registration request is predetermined at a predetermined interval for one transmission of the first registration request to the server. When the second retransmission control for transmitting the number of times is repeatedly executed until the registration completion information is received, and the registration completion information is not received after the predetermined first period has elapsed from the start of the second retransmission control, the registration completion information is not received. Restart your device,
The communication device according to claim 1.
前記サーバは、前記通信装置を含む複数の通信装置とネットワークを介して接続され、前記複数の通信装置を管理するものであって、
前記制御部は、
前記ネットワークへの接続が切断された後、前記ネットワークへ再接続した場合に、前記サーバへ、前記自装置の登録要求を送信し、
前記自装置の登録要求は、前記ネットワークへの再接続後、自装置に固有の識別情報に基づいて設定される送信時間で前記サーバへ送信される、
、請求項1または2に記載の通信装置。
The server is connected to a plurality of communication devices including the communication device via a network, and manages the plurality of communication devices.
The control unit
When the connection to the network is disconnected and then reconnected to the network, a registration request for the own device is transmitted to the server.
After reconnecting to the network, the registration request for the own device is transmitted to the server at a transmission time set based on the identification information unique to the own device.
, The communication device according to claim 1 or 2.
前記制御部は、所定の時間幅において、前記自装置に固有の識別情報に応じて設定される送信時間で、前記自装置の登録要求を前記サーバへ送信する、
請求項3に記載の通信装置。
The control unit transmits a registration request for the own device to the server in a predetermined time width and at a transmission time set according to the identification information unique to the own device.
The communication device according to claim 3.
前記制御部は、所定の時間幅において、前記複数の通信装置の数に応じて設定される送信時間で、前記自装置の登録要求を前記サーバへ送信する、
請求項3または4に記載の通信装置。
The control unit transmits a registration request for its own device to the server in a predetermined time width and at a transmission time set according to the number of the plurality of communication devices.
The communication device according to claim 3 or 4.
前記制御部は、
前記サーバとの通信が確立されている間に、前記所定の時間幅を更新する情報を前記サーバから受信するとともに、受信した情報に基づいて前記送信時間を更新し、
前記ネットワークへの接続が切断された後、前記ネットワークへ再接続した場合に、前記更新された送信時間の経過後に、自装置の登録要求を前記サーバへ送信する、
請求項3~5のいずれか一項に記載の通信装置。
The control unit
While the communication with the server is established, the information for updating the predetermined time width is received from the server, and the transmission time is updated based on the received information.
When the connection to the network is disconnected and then reconnected to the network, the registration request of the own device is transmitted to the server after the updated transmission time has elapsed.
The communication device according to any one of claims 3 to 5.
自装置を駆動する電池の電池残量に関する情報を取得する取得部をさらに備え、
前記制御部は、自装置の電池残量に応じて、前記自装置を再起動するまでの前記所定の第1期間を変動させる、
請求項1に記載の通信装置。
It also has an acquisition unit that acquires information about the remaining battery level of the battery that drives its own device.
The control unit changes the predetermined first period until the own device is restarted according to the remaining battery level of the own device.
The communication device according to claim 1.
前記通信装置は、他の通信装置を含む通信装置群を構成し、前記通信装置群において無線通信親機及び無線通信子機としての動作を切替可能であって、
前記制御部は、
前記通信装置が前記無線通信親機として動作する場合に、前記自装置の登録要求と、自装置の下位に接続された無線通信子機の登録要求とを、前記サーバへ送信する、
請求項1~7のいずれか一項に記載の通信装置。
The communication device constitutes a communication device group including other communication devices, and the operation as a wireless communication master unit and a wireless communication slave unit can be switched in the communication device group.
The control unit
When the communication device operates as the wireless communication master unit, the registration request of the own device and the registration request of the wireless communication slave unit connected to the lower level of the own device are transmitted to the server.
The communication device according to any one of claims 1 to 7.
前記制御部は、
前記無線通信親機としての動作時に、前記自装置の登録要求及び前記無線通信子機の登録要求を送信してから所定の第2期間経過後、前記登録完了情報が受信されない場合、自装置を前記無線通信子機としての動作に切り替え、
前記通信装置群における新たな無線通信親機に、前記サーバへの自装置の登録要求を送信する、
請求項8に記載の通信装置。
The control unit
If the registration completion information is not received after a predetermined second period has elapsed since the registration request of the own device and the registration request of the wireless communication slave unit are transmitted during the operation as the wireless communication master unit, the own device is used. Switch to the operation as the wireless communication slave unit,
A request for registering its own device to the server is transmitted to a new wireless communication master unit in the communication device group.
The communication device according to claim 8.
通信装置の制御方法であって、
サーバに自装置を登録させるための登録要求を、前記サーバへ送信し、前記登録要求の送信後、前記サーバに自装置が登録された旨を示す登録完了情報を前記サーバから受信するまで、前記登録要求の送信を繰り返し、前記登録要求の送信を開始してから所定の第1期間経過後、前記登録完了情報が受信されない場合に、自装置の再起動を実行するステップ、
を含む、通信装置の制御方法。
It is a control method for communication devices.
The registration request for registering the own device to the server is transmitted to the server, and after the registration request is transmitted, the registration completion information indicating that the own device has been registered in the server is received from the server. A step of repeating the transmission of the registration request and restarting the own device when the registration completion information is not received after a predetermined first period has elapsed since the transmission of the registration request was started.
A method of controlling a communication device, including.
通信装置の制御プログラムであって、
前記通信装置に、
サーバに自装置を登録させるための登録要求を、前記サーバへ送信し、前記登録要求の送信後、前記サーバに自装置が登録された旨を示す登録完了情報を前記サーバから受信するまで、前記登録要求の送信を繰り返す第1再送制御を実行し、前記登録要求の送信を開始してから所定の第1期間経過後、前記登録完了情報が受信されない場合に、自装置の再起動を実行する機能と、
を実現させる、通信装置の制御プログラム。
A control program for communication equipment
To the communication device
The registration request for registering the own device to the server is transmitted to the server, and after the registration request is transmitted, the registration completion information indicating that the own device has been registered in the server is received from the server. The first retransmission control that repeats the transmission of the registration request is executed, and the own device is restarted when the registration completion information is not received after a predetermined first period has elapsed since the transmission of the registration request was started. Function and
A control program for communication devices that realizes.
通信装置と、サーバとを少なくとも含む通信システムであって、
前記通信装置は、
前記サーバに自装置を登録させるための登録要求を、前記サーバへ送信し、前記登録要求の送信後、前記サーバに自装置が登録された旨を示す登録完了情報を前記サーバから受信するまで、前記登録要求の送信を繰り返す第1再送制御を実行し、前記登録要求の送信を開始してから所定の第1期間経過後、前記登録完了情報が受信されない場合に、自装置の再起動を実行する制御部、
を備え、
前記サーバは、
前記通信装置から前記登録要求を受信したことに応じて、前記通信装置に関する情報を登録し、前記通信装置を登録した旨を示す登録完了情報を前記通信装置へ送信するサーバ制御部を備える、
通信システム。
A communication system that includes at least a communication device and a server.
The communication device is
A registration request for registering the own device in the server is transmitted to the server, and after the registration request is transmitted, until registration completion information indicating that the own device is registered in the server is received from the server. The first retransmission control that repeats the transmission of the registration request is executed, and the own device is restarted when the registration completion information is not received after a predetermined first period has elapsed since the transmission of the registration request was started. Control unit,
With
The server
The server control unit includes a server control unit that registers information about the communication device in response to receiving the registration request from the communication device and transmits registration completion information indicating that the communication device has been registered to the communication device.
Communications system.
前記サーバは、前記通信装置を含む複数の通信装置とネットワークを介して接続され、前記複数の通信装置を管理するものであって、
前記制御部は、
前記ネットワークへの接続が切断された後、前記ネットワークへ再接続した場合に、前記サーバへ、前記自装置の登録要求を送信し、
前記自装置の登録要求は、前記ネットワークへの再接続後、自装置に固有の識別情報に基づいて設定される送信時間で前記サーバへ送信される、
請求項12に記載の通信システム。
The server is connected to a plurality of communication devices including the communication device via a network, and manages the plurality of communication devices.
The control unit
When the connection to the network is disconnected and then reconnected to the network, a registration request for the own device is transmitted to the server.
After reconnecting to the network, the registration request for the own device is transmitted to the server at a transmission time set based on the identification information unique to the own device.
The communication system according to claim 12.
JP2021002156A 2021-01-08 2021-01-08 Communication devices, communication device control methods, communication device control programs, and communication systems Active JP6944075B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021002156A JP6944075B1 (en) 2021-01-08 2021-01-08 Communication devices, communication device control methods, communication device control programs, and communication systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021002156A JP6944075B1 (en) 2021-01-08 2021-01-08 Communication devices, communication device control methods, communication device control programs, and communication systems

Publications (2)

Publication Number Publication Date
JP6944075B1 JP6944075B1 (en) 2021-10-06
JP2022107294A true JP2022107294A (en) 2022-07-21

Family

ID=77915103

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021002156A Active JP6944075B1 (en) 2021-01-08 2021-01-08 Communication devices, communication device control methods, communication device control programs, and communication systems

Country Status (1)

Country Link
JP (1) JP6944075B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023112229A1 (en) * 2021-12-15 2023-06-22 株式会社テイエルブイ Wireless communication system

Also Published As

Publication number Publication date
JP6944075B1 (en) 2021-10-06

Similar Documents

Publication Publication Date Title
US20230208919A1 (en) Wireless network of environmental sensor units
US8138934B2 (en) System and method for false alert filtering of event messages within a network
US20090135836A1 (en) Collector device and system utilizing standardized utility metering protocol
CN111886845B (en) Method and apparatus for performing over-the-air (OTA) upgrades in a network of communication interconnect devices
US8504639B2 (en) Wireless communication device and method, and system comprising such a method
CN101802752A (en) Management method and system of low power consuming devices
US8982754B2 (en) I/O driven node commissioning in a sleeping mesh network
CA2705094A1 (en) System and method for false alert filtering of event messages within a network
JP4757749B2 (en) Communication system, communication method, and terminal station
JP7017605B2 (en) Information processing device, information processing device control method, information processing device control program, wireless communication device, wireless communication device control method, and wireless communication device control program
JP6841368B2 (en) Wireless sensor system, wireless terminal device, communication control method and communication control program
JP6944075B1 (en) Communication devices, communication device control methods, communication device control programs, and communication systems
JP6944074B1 (en) Communication devices, communication device control methods, communication device control programs, and communication systems
JP2017017543A (en) Communication device, control method therefor, and program
JP2019193382A (en) Battery remaining amount estimation system, battery remaining amount estimation method, and battery remaining amount estimation program
JP2019220772A (en) Communication system, control method of communication system, radio communication master unit, control method of radio communication master unit, information processing unit, control method of information processing unit, radio communication apparatus, control method of radio communication apparatus, and control program of communication system
JP6921347B1 (en) Communication devices, communication device control methods, communication device control programs, and communication systems
US20220224995A1 (en) Method for reading fluid meters
JP5372303B1 (en) Wireless terminal device, wireless mesh network, and communication method
CN111343700A (en) Wireless sensor network communication method
CN117121465A (en) Digital twin instantiation and registration
CN115486039A (en) Node control unit and network service equipment
JP5642596B2 (en) Wireless communication system
TWI780779B (en) Comunication terminal, communication system, power saving control method and recording medium
JP7210863B2 (en) remote control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210108

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20210108

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20210209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210420

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210617

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210909

R150 Certificate of patent or registration of utility model

Ref document number: 6944075

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250