JP2023040842A - Communication system, communication device, and communication method - Google Patents

Communication system, communication device, and communication method Download PDF

Info

Publication number
JP2023040842A
JP2023040842A JP2021148021A JP2021148021A JP2023040842A JP 2023040842 A JP2023040842 A JP 2023040842A JP 2021148021 A JP2021148021 A JP 2021148021A JP 2021148021 A JP2021148021 A JP 2021148021A JP 2023040842 A JP2023040842 A JP 2023040842A
Authority
JP
Japan
Prior art keywords
communication
data
communication device
amount
correction value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021148021A
Other languages
Japanese (ja)
Inventor
大樹 山田
Daiki Yamada
一登 白根
Kazuto Shirane
一 木原
Hajime Kihara
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.)
Hitachi Industrial Equipment Systems Co Ltd
Original Assignee
Hitachi Industrial Equipment Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Industrial Equipment Systems Co Ltd filed Critical Hitachi Industrial Equipment Systems Co Ltd
Priority to JP2021148021A priority Critical patent/JP2023040842A/en
Priority to PCT/JP2022/030331 priority patent/WO2023037814A1/en
Publication of JP2023040842A publication Critical patent/JP2023040842A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

To optimize the amount of data communication for an entire communication terminal group when a comprehensive line contract is concluded, in a communication system.SOLUTION: A communication device management server calculates a transmission cycle correction value for each group based on an amount of used data and distributes it to a communication device. The communication device corrects and updates a data collection cycle for each group based on the transmission cycle correction value, and collects data from subordinate apparatuses based on the corrected update data collection cycle.SELECTED DRAWING: Figure 1

Description

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

近年、無線ルータなどの通信装置がエッジデバイスとして、データの一次処理や、プロトコル変換など多様な処理を行うケースが増加している。さらに、通信機能を含む、これらのアプリケーション(機能)の更新・追加を実施するFOTA(Firmware Over The Air)の技術が確立されつつある。 In recent years, there have been an increasing number of cases where communication devices such as wireless routers perform primary processing of data, various processing such as protocol conversion, etc. as edge devices. Furthermore, FOTA (Firmware Over The Air) technology is being established for updating and adding these applications (functions) including communication functions.

エッジデバイスは配下に存在する機器のデータを収集し、サーバへ送信する役割を主として果たす。IoTシステムの多くの例では、通信網にLTEなどのモバイル回線を活用する。モバイル回線は契約ごとに一か月におけるデータ通信量の上限が設定されるのが一般的である。このため、エッジデバイスはデータの一次処理や送信周期の変更、データごとの送信優先度付けなどにより、必要な情報を抜き出して送信データの削減を実現することも多い。 The edge device mainly plays the role of collecting data from devices under its control and transmitting it to the server. Many examples of IoT systems utilize mobile lines such as LTE for communication networks. For mobile lines, it is common for each contract to set an upper limit on the amount of data communication in one month. For this reason, edge devices often reduce the amount of data to be transmitted by extracting necessary information by performing primary processing of data, changing the transmission cycle, and assigning transmission priority to each data.

例えば、特許文献1では、通信にかかる費用の条件とデータ種別ごとの優先度の条件とを含む通信条件情報と、通信にかかる料金体系を表す料金情報とに基づいて、通信データのデータ送信ルールを決定する。これにより、通信費用が予算内になるよう通信しつつ、優先度の高い重要なデータは直ちに通知できる通信制御システムを提供する。 For example, in Patent Document 1, data transmission rules for communication data are based on communication condition information including communication cost conditions and priority conditions for each data type, and charge information representing a charge system for communication. to decide. This provides a communication control system capable of immediately notifying high-priority important data while communicating so as to keep the communication cost within the budget.

特開2015-069403号公報JP 2015-069403 A

一般に通信装置が活用可能なデータ量は限られている。しかしながら、大量の通信装置が回線に繋がる場合、回線契約の上限は全通信装置の通信量の合計値で設定されることが多い。 In general, the amount of data that can be used by communication devices is limited. However, when a large number of communication devices are connected to the line, the upper limit of the line contract is often set as the total value of the communication traffic of all the communication devices.

特許文献1の場合、通信装置一台当たりのデータ通信量の最適化は行われるが、包括的に回線契約が交わされた場合、エッジデバイス群全体に対してデータ通信量の最適化が行われない。このため、通信装置群全体で見れば十分に残データ量がある場合にも、通信装置個別の通信量を制限してしまう可能性がある。 In the case of Patent Document 1, the data communication volume is optimized for each communication device, but when a comprehensive line contract is made, the data communication volume is optimized for the entire edge device group. do not have. For this reason, even if there is a sufficient amount of remaining data for the group of communication devices as a whole, there is a possibility that the amount of communication for each communication device will be limited.

また、通信装置自体のアップデート(FOTA)など、予想不可能な通信が発生した場合に、通信量の計算にずれが生じ、上限料金を超過する可能性が存在する。 In addition, when unpredictable communication occurs, such as an update (FOTA) of the communication device itself, there is a possibility that the communication volume will be miscalculated and the maximum charge will be exceeded.

本発明の目的は、通信システムにおいて、包括的に回線契約が交わされた場合、通信端末群全体に対してデータ通信量の最適化を行うことにある。 SUMMARY OF THE INVENTION An object of the present invention is to optimize the amount of data communication for the entire communication terminal group when a comprehensive line contract is concluded in a communication system.

本発明の一態様の通信システムは、通信装置管理サーバと、前記通信装置管理サーバとネットワークを介して接続された複数の通信装置と、を有する通信システムであって、複数の前記通信装置は、それぞれ異なるグループに属し、配下機器にそれぞれ接続され、予め設定されたデータ収集周期に基づいて、前記配下機器からデータを収集して、一定周期毎に前記通信装置管理サーバに通信量として使用データ量を送信し、前記通信装置管理サーバは、前記使用データ量に基づいて、前記グループ毎に送信周期補正値を算出して前記通信装置に配布し、前記通信装置は、前記送信周期補正値に基づいて、前記グループ毎に前記データ収集周期を補正して更新し、補正された更新データ収集周期に基づいて、前記配下機器から前記データを収集することを特徴とする。 A communication system according to one aspect of the present invention is a communication system including a communication device management server and a plurality of communication devices connected to the communication device management server via a network, wherein the plurality of communication devices are: Each belongs to a different group, is connected to each of the subordinate devices, collects data from the subordinate devices based on a preset data collection cycle, and sends the communication device management server to the communication device management server at regular intervals as the amount of data used as the amount of communication. and the communication device management server calculates a transmission cycle correction value for each group based on the amount of data used and distributes it to the communication device, and the communication device calculates the transmission cycle correction value based on the transmission cycle correction value Then, the data collection cycle is corrected and updated for each group, and the data is collected from the subordinate devices based on the corrected update data collection cycle.

本発明の一態様によれば、通信システムにおいて、包括的に回線契約が交わされた場合、通信端末群全体に対してデータ通信量の最適化を行うことができる。 According to one aspect of the present invention, in a communication system, when a comprehensive line contract is concluded, it is possible to optimize the amount of data communication for the entire communication terminal group.

実施例1の通信システムの全体構成を示す図である。1 is a diagram showing the overall configuration of a communication system of Example 1; FIG. 実施例1の通信装置管理サーバのハードウェア構成を示す図である。3 is a diagram illustrating a hardware configuration of a communication device management server of Example 1; FIG. 実施例1の通信装置登録データを示す図である。FIG. 4 is a diagram showing communication device registration data according to the first embodiment; 実施例1のデータ収集設定を示す図である。FIG. 10 is a diagram showing data collection settings in Example 1; 実施例1のデータ収集設定登録データを示す図である。FIG. 10 is a diagram showing data collection setting registration data of Example 1; 実施例1のデータ量設定を示す図である。FIG. 10 is a diagram showing data amount setting in Example 1; 実施例1のWAN側データ量ログを示す図である。4 is a diagram showing a WAN-side data amount log of Example 1. FIG. 実施例1のデータ容量情報を示す図である。4 is a diagram showing data capacity information in Example 1. FIG. 実施例1の通信装置のハードウェア構成を示す図である。3 is a diagram illustrating the hardware configuration of the communication device of Example 1; FIG. 実施例1のシリアル通信設定を示す図である。FIG. 4 is a diagram showing serial communication settings according to the first embodiment; 実施例1のLAN通信設定を示す図である。FIG. 4 is a diagram showing LAN communication settings according to the first embodiment; 実施例1のWAN側データ量記録ファイルである。4 is a WAN-side data amount recording file of Example 1. FIG. 実施例1のメニュー画面のGUIを示す図である。FIG. 10 is a diagram showing a GUI of a menu screen in Example 1; 実施例1の通信装置登録画面のGUIを示す図である。FIG. 10 is a diagram showing a GUI of a communication device registration screen according to the first embodiment; FIG. 実施例1のデータ収集設定登録画面のGUIを示す図である。FIG. 10 is a diagram showing a GUI of a data collection setting registration screen according to the first embodiment; 実施例1のデータ量設定画面のGUIを示す図である。FIG. 10 is a diagram showing a GUI of a data amount setting screen in Example 1; 実施例1の通信装置におけるサーバ連携部の問い合わせ処理フローである。4 is an inquiry processing flow of the server cooperation unit in the communication device of the first embodiment; 実施例1の通信装置におけるサーバ連携部が通信装置管理サーバへ送信する問い合わせデータである。FIG. 10 is inquiry data transmitted to the communication device management server by the server cooperation unit in the communication device according to the first embodiment; FIG. 実施例1の通信装置におけるWAN側通信部のWAN側通信データ量測定の処理フローである。4 is a processing flow of WAN-side communication data amount measurement by a WAN-side communication unit in the communication apparatus of the first embodiment; 実施例1の通信装置におけるWAN側通信部のWAN側通信データ量応答の処理フローである。7 is a processing flow of a WAN-side communication data amount response of a WAN-side communication unit in the communication apparatus according to the first embodiment; 実施例1の通信装置管理サーバにおける通信装置管理部の問い合わせ待ち受けの処理フローである。7 is a processing flow of waiting for an inquiry by the communication device management unit in the communication device management server of the first embodiment; 実施例1の通信装置管理サーバにおける通信装置管理部が通信装置へ送信する問い合わせ応答データである。FIG. 10 is inquiry response data transmitted to the communication device by the communication device management unit in the communication device management server of the first embodiment; FIG. 実施例1の通信装置管理サーバにおける通信装置管理部の送信周期補正値算出の処理フローである。7 is a processing flow of transmission cycle correction value calculation of the communication device management unit in the communication device management server of the first embodiment; 実施例1の通信装置におけるローカル通信部の通信設定通知待ち受けの処理フローである。7 is a processing flow of waiting for a communication setting notification of the local communication unit in the communication device of the first embodiment; 実施例1の通信装置におけるローカル通信部のデータ収集の処理フローである。4 is a processing flow of data collection by the local communication unit in the communication device of the first embodiment; 実施例2のデータ収集設定を示す図である。FIG. 10 is a diagram showing data collection settings of Example 2; 実施例2の通信装置におけるローカル通信部のデータ収集の処理フローである。10 is a processing flow of data collection by a local communication unit in the communication device of Example 2; 実施例3の通信装置登録データを示す図である。FIG. 12 is a diagram showing communication device registration data of the third embodiment; 実施例3の通信装置管理サーバにおける通信装置管理部の問い合わせ待ち受けの処理フローである。10 is a processing flow of waiting for an inquiry by the communication device management unit in the communication device management server according to the third embodiment; 実施例4の通信装置登録データを示す図である。FIG. 13 is a diagram showing communication device registration data of Example 4; 実施例4の通信装置管理サーバにおける通信装置管理部の問い合わせ待ち受けの処理フローである。FIG. 11 is a process flow of waiting for an inquiry by the communication device management unit in the communication device management server of the fourth embodiment; FIG. 実施例5のデータ量設定を示す図である。FIG. 13 is a diagram showing data amount settings in Example 5; 実施例5のデータ量設定画面のGUIを示す図である。FIG. 21 is a diagram showing a GUI of a data amount setting screen of Example 5; 実施例5の通信装置管理サーバにおける通信装置管理部の問い合わせ待ち受けの処理フローである。FIG. 11 is a processing flow of waiting for an inquiry by a communication device management unit in a communication device management server according to a fifth embodiment; FIG.

以下、本実施の形態について図面を参照して説明する。ただし、本発明は以下に示す実施例の記載内容に限定して解釈されるものではない。本発明の思想ないし趣旨から逸脱しない範囲で、その具体的構成を変更し得ることは当業者であれば容易に理解される。 Hereinafter, this embodiment will be described with reference to the drawings. However, the present invention should not be construed as being limited to the contents of the examples described below. Those skilled in the art will easily understand that the specific configuration can be changed without departing from the idea or gist of the present invention.

以下に説明する発明の構成において、同一又は類似する構成又は機能には同一の符号を付し、重複する説明は省略する。 In the configurations of the invention described below, the same or similar configurations or functions are denoted by the same reference numerals, and overlapping descriptions are omitted.

図1は実施例1の通信システムの全体構成を示す図である。
通信システムは、通信装置管理サーバ100、ユーザ設備110、通信装置120、配下機器130およびモバイル通信ネットワーク140で構成される。
FIG. 1 is a diagram showing the overall configuration of a communication system according to the first embodiment.
The communication system comprises a communication device management server 100 , user equipment 110 , communication device 120 , subordinate device 130 and mobile communication network 140 .

通信装置管理サーバ100には、モバイル通信ネットワーク140を介して、複数の通信装置120が接続されている。複数の通信装置120は、それぞれ異なるグループに属し、配下機器130にそれぞれ接続されている。 A plurality of communication devices 120 are connected to the communication device management server 100 via a mobile communication network 140 . A plurality of communication devices 120 belong to different groups and are connected to subordinate devices 130 respectively.

通信装置管理サーバ100は、通信装置120を一括管理するために設置されるサーバである。ユーザ設備110は、通信装置120のユーザが配下機器130の情報を収集するために設置するサーバやネットワーク機器、および通信装置管理サーバへアクセスするためのPCなどである。 The communication device management server 100 is a server installed to collectively manage the communication devices 120 . The user equipment 110 is a server or network device installed by the user of the communication device 120 to collect information on the subordinate device 130, and a PC or the like for accessing the communication device management server.

通信装置は、通信系統1を介したユーザ設備110への配下機器130の情報送信や、通信系統2を介した管理用通信を実行する通信装置である。 The communication device is a communication device that performs information transmission of the subordinate device 130 to the user equipment 110 via the communication system 1 and communication for management via the communication system 2 .

配下機器130は、産業機器や情報機器である。例えばサーバや空気圧縮機やインバータなどが配下機器130に該当する。また、配下機器130として、温度や湿度などを出力するセンサ類を設置しても良い。 The subordinate equipment 130 is industrial equipment or information equipment. For example, servers, air compressors, inverters, and the like correspond to the subordinate devices 130 . Further, sensors for outputting temperature, humidity, and the like may be installed as subordinate devices 130 .

モバイル通信ネットワーク140は、LTE回線などを想定しており、通信事業者に月額料金を支払うことで利用可能な無線通信網およびバックボーン通信網である。 The mobile communication network 140 is assumed to be an LTE line or the like, and is a wireless communication network and a backbone communication network that can be used by paying a monthly charge to a communication carrier.

通信装置管理サーバ100は、設定DB101、集計DB102、GUI生成部103、通信装置管理部104および通信部105を有する。 The communication device management server 100 has a setting DB 101 , a tally DB 102 , a GUI generation section 103 , a communication device management section 104 and a communication section 105 .

設定DB101は、通信装置管理サーバ100および通信装置120に関わる設定値を保存しておくデータベースである。集計DB102は、通信装置120の通信量に関わる集計値や、集計に必要なデータを格納するデータベースである。 The setting DB 101 is a database that stores setting values related to the communication device management server 100 and the communication device 120 . The tally DB 102 is a database that stores tally values related to communication traffic of the communication device 120 and data required for tallying.

GUI生成部103は、HTTPを用いたアクセスに対する画面データ(HTML)の返信や、設定値の格納を実行する。通信部105は、ユーザ設備110や通信装置120とデータを送受信する。 The GUI generation unit 103 returns screen data (HTML) to access using HTTP and stores setting values. The communication unit 105 transmits and receives data to and from the user equipment 110 and the communication device 120 .

通信装置管理部104は、通信装置120から受信したデータの集計DB102への格納や設定DB101に格納された情報に基づいてデータ量の管理を行う。通信部105は、通信装置120とデータ通信を行う。 The communication device management unit 104 stores the data received from the communication device 120 in the aggregation DB 102 and manages the amount of data based on the information stored in the setting DB 101 . The communication unit 105 performs data communication with the communication device 120 .

通信装置は120、サーバ連携部121、WAN通信部120およびローカル通信部123を有する。サーバ連携部121は、通信系統2を活用して通信管理サーバ100の通信装置管理部104と通信することで、配下機器130から情報収集内容や収集周期に関わる設定値を更新する。 The communication device has 120 , a server cooperation unit 121 , a WAN communication unit 120 and a local communication unit 123 . The server coordinating unit 121 communicates with the communication device management unit 104 of the communication management server 100 using the communication system 2 to update the set values related to information collection contents and collection cycles from the subordinate device 130 .

WAN通信部122は、サーバ連携部121やローカル通信部123がモバイル通信ネットワーク140を介して行う通信の中継と、モバイル通信ネットワーク140への送受信データ量の測定を行う。配下機器130は、稼働情報131や設定情報132を持つ。 The WAN communication unit 122 relays communication performed by the server cooperation unit 121 and the local communication unit 123 via the mobile communication network 140 and measures the amount of data sent and received to the mobile communication network 140 . The subordinate device 130 has operating information 131 and setting information 132 .

稼働情報131は、例えば情報機器のメモリ使用率や、産業機器におけるモータの時間当たり回転数などの情報である。設定情報132は、情報機器で実行されるプログラムの設定ファイルや、産業機器のモータ回転数の設定値などの情報である。 The operating information 131 is, for example, information such as the memory usage rate of the information equipment and the number of revolutions per hour of the motor in the industrial equipment. The setting information 132 is information such as a setting file of a program executed by the information equipment and a setting value of the motor rotation speed of the industrial equipment.

通信装置120のローカル通信部123は、設定値に従って、配下機器130と通信し、稼働情報131や設定情報132を周期的に収集する。 The local communication unit 123 of the communication device 120 communicates with the subordinate device 130 according to the setting values, and periodically collects the operation information 131 and the setting information 132 .

図2は実施例1の通信装置管理サーバ100のハードウェア構成を示す図である。
通信装置管理サーバ100は、CPU200、主記憶装置201、補助記憶I/F202、入出力I/F203、ネットワークI/F204がバスにより結合された形態になっている。
FIG. 2 is a diagram showing the hardware configuration of the communication device management server 100 of the first embodiment.
The communication device management server 100 has a form in which a CPU 200, a main memory device 201, an auxiliary memory I/F 202, an input/output I/F 203, and a network I/F 204 are connected by a bus.

CPU200は、通信装置管理サーバ100の各部を制御し、主記憶装置201に必要なプログラムをロードして実行する。主記憶装置210は、通常、RAMなどの揮発メモリで構成されCPU200が実行するプログラム、参照するデータが記憶される。 The CPU 200 controls each part of the communication device management server 100, loads necessary programs into the main storage device 201, and executes them. The main memory device 210 is generally composed of a volatile memory such as a RAM, and stores programs executed by the CPU 200 and data to be referred to.

補助記憶I/F202は、HDDやSSDなどの補助記憶装置を接続するためのインターフェースである。入出力I/F202は、キーボードやマウスなどの入出力装置を接続するためのインターフェースである。ネットワークI/F204は、ネットワークと接続するためのインターフェースである。 The auxiliary storage I/F 202 is an interface for connecting auxiliary storage devices such as HDDs and SSDs. The input/output I/F 202 is an interface for connecting input/output devices such as a keyboard and a mouse. A network I/F 204 is an interface for connecting with a network.

補助記憶装置201は、大容量の記憶容量を有しており、本実施例を実行するためのプログラムが格納されている。通信装置管理サーバ100には、DBMS210、GUI生成プログラム211、装置管理プログラム212および通信プログラムがインストールされている。 The auxiliary storage device 201 has a large storage capacity, and stores programs for executing this embodiment. A DBMS 210 , a GUI generation program 211 , a device management program 212 and a communication program are installed in the communication device management server 100 .

DBMS210、GUI生成プログラム211、装置管理プログラム212および通信プログラムは、それぞれ設定DB101と集計DB102、GUI生成部103、通信装置管理部104の機能を実現するプログラムである。 The DBMS 210, the GUI generation program 211, the device management program 212, and the communication program are programs that implement the functions of the setting DB 101, total DB 102, GUI generation section 103, and communication device management section 104, respectively.

設定DB101は、複数の設定データを管理するデータベースである。設定DB101には、通信装置登録データ213、データ収集設定214、データ収集設定登録データ215、データ量設定216を格納する。 The setting DB 101 is a database that manages a plurality of setting data. The setting DB 101 stores communication device registration data 213 , data collection settings 214 , data collection setting registration data 215 , and data amount settings 216 .

通信装置登録データ213は、通信装置管理サーバ100で管理する通信装置120の情報を記載したデータである。データ収集設定214は、通信装置120が実行するデータ収集に関わる設定である。データ収集設定214は、通信装置120が配下機器130からデータを取得する際に参照するデータであり、取得するデータ毎に、データ取得先、データの詳細、通信方式、収集周期設定が記載される。設定DB101では、通信装置120に適用する複数のデータ収集設定を管理する。データ収集設定登録データ215は、通信装置120とデータ収集設定の対応を記録するデータである。 The communication device registration data 213 is data describing information on the communication device 120 managed by the communication device management server 100 . The data collection settings 214 are settings related to data collection executed by the communication device 120 . The data collection setting 214 is data that the communication device 120 refers to when it obtains data from the subordinate device 130. For each piece of data to be obtained, the data acquisition destination, data details, communication method, and collection cycle setting are described. . The setting DB 101 manages a plurality of data collection settings applied to the communication device 120 . The data collection setting registration data 215 is data for recording correspondence between the communication device 120 and data collection settings.

データ量設定214は、通信装置120のグループとデータ容量に関わる設定の対応を記録するデータである。集計DB102は、複数の集計データを管理するデータベースである。集計DB102には、WAN側データ量ログ217とデータ容量情報218を格納する。 The data amount setting 214 is data that records the correspondence between the group of the communication device 120 and the setting related to the data amount. The tally DB 102 is a database that manages a plurality of tally data. The total DB 102 stores a WAN-side data amount log 217 and data amount information 218 .

WAN側データ量ログ217は、各通信装置120の送受信データ量の増加量を連続的に記録するログデータである。データ容量情報218は、複数の通信装置で構成されるグループ毎の、データの使用状況を記録するデータである。 The WAN-side data volume log 217 is log data that continuously records an increase in the transmission/reception data volume of each communication device 120 . The data capacity information 218 is data that records the usage status of data for each group composed of a plurality of communication devices.

図3は実施例1の通信装置登録データ213を示す図である。
通信装置登録データ213は、通信装置120毎にモデル名301、デバイスID302、グループID303、ハードウェアID304、IMEI305の項目を持つ。以下に各項目の説明を記載する。
FIG. 3 is a diagram showing communication device registration data 213 of the first embodiment.
The communication device registration data 213 has items of model name 301 , device ID 302 , group ID 303 , hardware ID 304 and IMEI 305 for each communication device 120 . Each item is explained below.

モデル名301は、通信装置120のモデルを示す名称である。デバイスID303は、通信装置120毎に固有に割り振られるIDである。通信装置120の出荷時に決定され、通信装置120の内部ファイルに書き込まれ、通信装置120に貼り付ける銘板に記載される。 The model name 301 is a name indicating the model of the communication device 120 . A device ID 303 is an ID uniquely assigned to each communication device 120 . It is determined when the communication device 120 is shipped, written in an internal file of the communication device 120 , and written on a label attached to the communication device 120 .

グループID303は、複数の通信装置120により構成されるグループを区別するIDである。通常は出荷先などを基準にグループID303を区別する。 A group ID 303 is an ID that distinguishes a group composed of a plurality of communication devices 120 . Normally, the group ID 303 is distinguished based on the shipping destination or the like.

ハードウェアID304は、通信装置120のハードウェアを区別するIDである。ハードウェアID304は、部品変更など、ハードウェアに変更が生じた場合に変更される。 A hardware ID 304 is an ID that distinguishes hardware of the communication device 120 . The hardware ID 304 is changed when there is a change in hardware such as a part change.

IMEI305は、通信モジュール毎に割り振られる「国際移動体装置識別番号(International Mobile Equipment Identifier)」を示す。通信装置120に組み込まれた通信モジュールを識別するためのIDである。 IMEI 305 indicates an "International Mobile Equipment Identifier" assigned to each communication module. An ID for identifying a communication module incorporated in communication device 120 .

図4は実施例1のデータ収集設定214を示す図である。
データ収集設定214は、データ毎にデータ名401、接続先ID402、データ格納先403、データ長404、データ型405、通信方式406、周期407の項目を持つ。以下に各項目の説明を記載する。
FIG. 4 is a diagram showing data collection settings 214 of the first embodiment.
The data collection setting 214 has items of data name 401, connection destination ID 402, data storage destination 403, data length 404, data type 405, communication method 406, and period 407 for each data. Each item is explained below.

データ名401は、データ毎の名称を示す。接続先ID402は、配下機器130を一意に識別する識別子である。 The data name 401 indicates the name of each data. The connection destination ID 402 is an identifier that uniquely identifies the subordinate device 130 .

データ格納先403は、接続先でデータが格納されている箇所を特定する情報である。例えばModbus-TCP/RTUであればレジスタ番号を示す。 The data storage destination 403 is information specifying a location where data is stored at the connection destination. For example, for Modbus-TCP/RTU, it indicates a register number.

データ長404は、取得するデータのバイト数を示す。 A data length 404 indicates the number of bytes of data to be acquired.

データ型405は、取得するデータのデータ型を示す。例えばInt16B(ビッグエンディアン16bit整数型)やFloatL(リトルエンディアン浮動小数型)などが格納される。 A data type 405 indicates the data type of data to be acquired. For example, Int16B (big endian 16-bit integer type) and FloatL (little endian floating point type) are stored.

通信方式406は、通信装置120が配下機器130と通信する方式を示す。実施例1の場合、LANもしくはシリアルを想定する。周期407は、通信装置120がデータを取得する周期を秒単位で示す。周期407を0に設定すると、通信装置120の起動時と、取得値が変化した時点でデータを送信する。 A communication method 406 indicates a method by which the communication device 120 communicates with the subordinate device 130 . In the case of the first embodiment, LAN or serial is assumed. A cycle 407 indicates a cycle in seconds at which the communication device 120 acquires data. When the cycle 407 is set to 0, data is transmitted when the communication device 120 is activated and when the acquired value changes.

図5は実施例1のデータ収集設定登録データ215を示す図である。
データ収集設定登録データ215には、一行毎にデバイスID501とデータ収集設定ID502を格納する。以下に各項目の説明を記載する。
FIG. 5 is a diagram showing the data collection setting registration data 215 of the first embodiment.
The data collection setting registration data 215 stores a device ID 501 and a data collection setting ID 502 for each line. Each item is explained below.

デバイスID501は、通信装置登録データ213のデバイスID302と同一である。データ収集設定ID502は、データ収集設定毎に割当てられるIDである。データ収集設定ID502は、データ収集設定の登録・生成時の日付、「アンダーバー」、通番のフォーマットで記載されるIDであり、通番はデータ収集設定が登録・生成される毎にカウントアップされる。日付が変更されるとカウントは1に戻る。本実施例では通番を5桁で記載するが、桁数はシステム規模に応じて変更しても良い。 Device ID 501 is the same as device ID 302 of communication device registration data 213 . A data collection setting ID 502 is an ID assigned to each data collection setting. The data collection setting ID 502 is an ID described in the format of the date when the data collection setting is registered/generated, an "underscore", and a serial number, and the serial number is counted up each time the data collection setting is registered/generated. The count goes back to 1 when the date is changed. Although the serial number is described with five digits in this embodiment, the number of digits may be changed according to the scale of the system.

図6は実施例1のデータ量設定216を示す図である。
データ量設定216は、グループID601毎にデータ容量602と余裕マージン603を格納する。以下に各項目の説明を記載する。
FIG. 6 is a diagram showing the data amount setting 216 of the first embodiment.
The data amount setting 216 stores the data capacity 602 and margin margin 603 for each group ID 601 . Each item is explained below.

グループID601は、通信装置登録データ213のグループID302と同一である。データ容量602は、グループ毎に設定する通信装置一台当たりのデータ容量をメガバイト(MBytes)単位で示す。データ容量602は、主にモバイル通信の契約形態に応じて設定される値である。 Group ID 601 is the same as group ID 302 of communication device registration data 213 . The data capacity 602 indicates the data capacity per communication apparatus set for each group in units of megabytes (MBytes). The data capacity 602 is a value set mainly according to the mobile communication contract form.

余裕マージン603は、グループID601で指定されるグループにおいて、データ総量の内、どの程度のデータを余裕値として使用しない範囲とするかを決める設定値を示す。例えば、100台のグループにおいて、一台当たり20メガバイトのデータ容量が存在する場合には、最大データ量は2000メガバイトであり、余裕マージンを20とすれば、データ総量の20パーセントにあたる400メガバイトを余裕値とし、残りの1600メガバイトの範囲でデータ収集を実施する。 A margin margin 603 indicates a set value that determines how much data in the total amount of data in the group specified by the group ID 601 is not used as a margin value. For example, in a group of 100 units, if each unit has a data capacity of 20 megabytes, the maximum data amount is 2000 megabytes. data collection in the remaining 1600 megabytes.

図7は実施例1のWAN側データ量ログを示す図である。
WAN側データ量ログ217は、一行毎にデバイスID701、グループID702、タイムスタンプ703、送受信データ量704が格納される。以下に各項目の説明を記載する。
FIG. 7 is a diagram showing a WAN side data amount log of the first embodiment.
The WAN side data amount log 217 stores a device ID 701, a group ID 702, a time stamp 703, and a transmission/reception data amount 704 for each line. Each item is explained below.

デバイスID701は、通信装置登録データ213のデバイスIDと同一である。グループID702は、通信装置登録データ213のグループIDと同一である。タイムスタンプ703は、同一行のログデータ作成時の時刻を示す。 The device ID 701 is the same as the device ID of the communication device registration data 213 . Group ID 702 is the same as the group ID of communication device registration data 213 . A time stamp 703 indicates the time when the log data of the same line was created.

送受信データ量704は、同一行のデバイスID701と対応する通信装置120において、前回記録時からの送受信データ量の増加量を示す。送受信データ量704は、通信装置120から送信される累計の送受信データ量を元に通信装置管理部104によって算出される。 The transmission/reception data amount 704 indicates the amount of increase in the transmission/reception data amount from the previous recording in the communication device 120 corresponding to the device ID 701 in the same row. The transmission/reception data amount 704 is calculated by the communication device management unit 104 based on the cumulative transmission/reception data amount transmitted from the communication device 120 .

図8は実施例1のデータ容量情報218を示す図である。
データ容量情報218は、グループ毎にグループID801、データ総量802、当月通信残量803、送信周期補正値804を格納する。以下に各項目の説明を記載する。
FIG. 8 is a diagram showing the data capacity information 218 of the first embodiment.
The data capacity information 218 stores a group ID 801, total data amount 802, current month communication remaining amount 803, and transmission cycle correction value 804 for each group. Each item is explained below.

グループID801は、通信装置登録データ213のグループIDと同一である。データ総量802は、グループ毎の利用可能な最大データ量を示す。データ総量802は、グループ毎の台数と一台当たりのデータ容量から通信装置管理部104によって算出される。 Group ID 801 is the same as the group ID of communication device registration data 213 . A data total amount 802 indicates the maximum amount of data that can be used for each group. The data total amount 802 is calculated by the communication device management unit 104 from the number of devices in each group and the data capacity per device.

当月通信残量803は、データ総量802から余裕マージンと、当月中に使用した通信量を差し引いて得られる通信残量を示す。当月通信残量803は、通信装置管理部104によって算出される。送信周期補正値804は、当月通信残量803と通信装置毎の一日あたりの送受信量から通信装置管理部104によって算出される補正値を示す。 The communication remaining amount 803 for the current month indicates the communication remaining amount obtained by subtracting the communication amount used during the current month from the data total amount 802 . The current month communication balance 803 is calculated by the communication device management unit 104 . The transmission cycle correction value 804 indicates a correction value calculated by the communication device management unit 104 from the current month communication balance 803 and the daily transmission/reception volume of each communication device.

図9は実施例1の通信装置120のハードウェア構成を示す図である。
通信装置120は、CPU900、主記憶装置901、WAN通信I/F902、シリアル通信I/F905、LAN通信I/F906、補助記憶I/F904がバスにより結合された形態になっている。
FIG. 9 is a diagram showing the hardware configuration of the communication device 120 according to the first embodiment.
The communication device 120 has a form in which a CPU 900, a main storage device 901, a WAN communication I/F 902, a serial communication I/F 905, a LAN communication I/F 906, and an auxiliary storage I/F 904 are coupled by a bus.

CPU900は、通信装置120の各部を制御し、主記憶装置901に必要なプログラムをロードして実行する。主記憶装置901は、通常、RAMなどの揮発メモリで構成されCPU900が実行するプログラム、参照するデータが記憶される。 The CPU 900 controls each part of the communication device 120, loads necessary programs into the main storage device 901, and executes them. A main storage device 901 is generally composed of a volatile memory such as a RAM, and stores programs executed by the CPU 900 and data to be referred to.

WAN通信I/F902は、モバイル通信ネットワーク140と接続するためのインターフェースである。入出力I/F903は、キーボードやマウスなどの入出力装置を接続するためのインターフェースである。補助記憶I/F904は、EEPROM、HDD、SSDなどの補助記憶装置を接続するためのインターフェースである。 WAN communication I/F 902 is an interface for connecting with mobile communication network 140 . The input/output I/F 903 is an interface for connecting input/output devices such as a keyboard and a mouse. Auxiliary storage I/F 904 is an interface for connecting auxiliary storage devices such as EEPROM, HDD, and SSD.

シリアル通信I/F905は、配下機器130とModbus-RTUなどのシリアル通信を実施する場合に、配下機器130のシリアル通信I/Fと接続するインターフェースである。LAN通信I/F906は、配下機器130とModbus-TCPなどのLAN通信を実施する場合に、配下機器130のLAN通信I/Fと接続するインターフェースである。 The serial communication I/F 905 is an interface that connects with the serial communication I/F of the subordinate device 130 when performing serial communication with the subordinate device 130 such as Modbus-RTU. The LAN communication I/F 906 is an interface that connects with the LAN communication I/F of the subordinate device 130 when performing LAN communication such as Modbus-TCP with the subordinate device 130 .

補助記憶装置910は、大容量の記憶容量を有しており、設定・記録ファイル911や本実施例を実行するためのプログラムが格納されている。通信装置120には、サーバ連携プログラム912、WAN通信プログラム913、ローカル通信プログラム914がインストールされている。 The auxiliary storage device 910 has a large storage capacity, and stores a setting/record file 911 and a program for executing this embodiment. A server cooperation program 912 , a WAN communication program 913 , and a local communication program 914 are installed in the communication device 120 .

サーバ連携プログラム912、WAN通信プログラム913およびローカル通信プログラム914は、それぞれサーバ連携部121、WAN通信部122、ローカル通信部123の機能を実現するプログラムである。 A server cooperation program 912, a WAN communication program 913, and a local communication program 914 are programs that implement the functions of the server cooperation unit 121, the WAN communication unit 122, and the local communication unit 123, respectively.

設定・記録ファイル911は、シリアル通信設定915、LAN通信設定916、データ収集設定917、WAN側データ量記録ファイル918に分類される。シリアル通信設定915は、配下機器130とのシリアル通信に必要な設定項目とプロトコルの設定を記録するデータである。 The setting/recording file 911 is classified into serial communication setting 915 , LAN communication setting 916 , data collection setting 917 , and WAN side data amount recording file 918 . The serial communication setting 915 is data for recording setting items and protocol settings necessary for serial communication with the subordinate device 130 .

LAN通信設定916は、配下機器130とのLAN通信に必要な設定項目とプロトコルの設定を記録するデータである。データ収集設定917は、通信装置管理サーバ100の設定DB101に格納された複数のデータ収集設定の内の一つである。 The LAN communication setting 916 is data for recording setting items and protocol settings required for LAN communication with the subordinate device 130 . A data collection setting 917 is one of a plurality of data collection settings stored in the setting DB 101 of the communication device management server 100 .

WAN側データ量記録ファイル918は、モバイル通信ネットワーク140を介した通信量に関する情報を記録するファイルである。 The WAN-side data amount recording file 918 is a file that records information on the amount of communication via the mobile communication network 140 .

図10は実施例1のシリアル通信設定915を示す図である。
シリアル通信設定915は、通信対象毎に接続先ID1001、ボーレート1002、ビットサイズ1003、パリティ1004、ストップビット1005、プロトコル1006を格納する。
FIG. 10 is a diagram showing serial communication settings 915 of the first embodiment.
Serial communication setting 915 stores connection destination ID 1001, baud rate 1002, bit size 1003, parity 1004, stop bit 1005, and protocol 1006 for each communication target.

接続先ID1001は、データ収集設定の接続先IDと同一である。ボーレート1002は、シリアル通信の通信速度(ボーレート)を示す。ビットサイズ1003は、シリアル通信におけるスタートビットからストップビットまでのビット長を示す。パリティ1004は、シリアル通信における誤り検出符号ビットの適用方式を示す。格納する値として、なし、偶数、奇数を想定する。 The connection destination ID 1001 is the same as the connection destination ID of the data collection settings. The baud rate 1002 indicates the communication speed (baud rate) of serial communication. Bit size 1003 indicates the bit length from the start bit to the stop bit in serial communication. Parity 1004 indicates an application scheme of error detection code bits in serial communication. Assumes none, even, and odd values to be stored.

ストップビット1005は、シリアル通信におけるストップビットの長さを示す。プロトコル1006は、シリアル通信時のプロトコルを示す。例えばModbus-RTUを格納する。 A stop bit 1005 indicates the length of the stop bit in serial communication. A protocol 1006 indicates a protocol for serial communication. For example, Modbus-RTU is stored.

図11は実施例1のLAN通信設定916を示す図である。
シリアル通信設定916は、通信対象毎に接続先ID1101、IPアドレス1102、ポート番号1103、プロトコル1104を格納する。
FIG. 11 is a diagram showing LAN communication settings 916 of the first embodiment.
The serial communication setting 916 stores a connection destination ID 1101, an IP address 1102, a port number 1103, and a protocol 1104 for each communication target.

接続先ID1101は、データ収集設定の接続先IDと同一である。IPアドレス1102は、LAN通信の宛先となるIPアドレスを示す。ポート番号1103は、LAN通信の宛先TCPポート番号を示す。プロトコル1104は、LAN通信時のプロトコルを示す。例えばModbus-TCPを格納する。 The connection destination ID 1101 is the same as the connection destination ID of the data collection setting. The IP address 1102 indicates the IP address that is the destination of LAN communication. A port number 1103 indicates a destination TCP port number for LAN communication. A protocol 1104 indicates a protocol for LAN communication. For example, Modbus-TCP is stored.

図12は実施例1のWAN側データ量記録ファイル918である。
WAN側データ量記録ファイル918は、WAN側の送信と受信の項目1201に対して、それぞれ前回値1202と累積値1203を格納する。
FIG. 12 shows the WAN side data amount recording file 918 of the first embodiment.
The WAN-side data amount recording file 918 stores a previous value 1202 and an accumulated value 1203 for items 1201 of transmission and reception on the WAN side, respectively.

前回値1202は、WAN通信部122がWAN側通信データ量を測定した際に、処理の最後に記録される取得値である。最新のWAN側通信データ量測定時にWAN側インターフェースから取得した通信量が格納される。 The previous value 1202 is an acquired value recorded at the end of processing when the WAN communication unit 122 measures the WAN side communication data amount. The amount of communication acquired from the WAN side interface when measuring the latest amount of communication data on the WAN side is stored.

累積値1203は、WAN側データ量記録ファイル918が最後にクリアされた時点からの累積送受信データ量である。通信装置120の電源が切られた場合に、WAN側インターフェースから取得する通信量がリセットされることを考慮し、WAN側通信データ量測定時に前回値との差分を累積加算する。 The cumulative value 1203 is the cumulative transmission/reception data amount since the WAN side data amount recording file 918 was last cleared. Considering that the amount of communication acquired from the WAN side interface is reset when the power of the communication device 120 is turned off, the difference from the previous value is cumulatively added when measuring the amount of communication data on the WAN side.

図13は実施例1のメニュー画面1300のGUIを示す図である。
メニュー画面1300では、通信装置登録1301、データ収集設定1302、データ量1303のメニューアイコンが表示される。それぞれのアイコンを選択することで、詳細な設定画面へと遷移する。
FIG. 13 is a diagram showing the GUI of the menu screen 1300 of the first embodiment.
On the menu screen 1300, menu icons of communication device registration 1301, data collection setting 1302, and data amount 1303 are displayed. By selecting each icon, you can transition to a detailed setting screen.

図14は実施例1の通信装置登録画面1400のGUIを示す図である。
ファイル選択ボタン1401を選択することで、ファイル選択画面が開かれ、操作しているPCのファイルを選択できる。ファイル選択後、ファイル選択ボタン1401の左のテキストボックスには選択されたファイルのファイルパスが表示される。
FIG. 14 is a diagram showing the GUI of the communication device registration screen 1400 according to the first embodiment.
By selecting a file selection button 1401, a file selection screen is opened and a file of the PC being operated can be selected. After selecting the file, the file path of the selected file is displayed in the text box on the left of the file selection button 1401 .

アップロードボタン1402を選択することで、ファイル選択ボタン1401を選択した際の操作で選択されたファイルをアップロードする。アップロードするファイルは、通信装置登録データ213のフォーマットと形式が一致しない場合、ポップアップにて「フォーマットが違います」とメッセージが表示される。 By selecting the upload button 1402, the file selected by the operation when the file selection button 1401 was selected is uploaded. If the format of the file to be uploaded does not match the format of the communication device registration data 213, a message "The format is different" is displayed in a pop-up.

テンプレートダウンロードリンク1403を選択することで、通信装置登録データ213のテンプレートをダウンロードできる。検索窓1404に文字列を入力することで、通信装置登録データ213の中から任意の通信端末120を検索できる。検索は全項目に対する部分一致で実行され、検索窓1404に入力された文字列と通信装置登録データ213の項目の内、一部でも一致した項目があれば、通信装置登録データ213の該当行が画面に表示される。なお、検索窓1404に入力が無い場合、通信装置登録データ213の全項目が画面に表示される。 A template of the communication device registration data 213 can be downloaded by selecting the template download link 1403 . Any communication terminal 120 can be searched from the communication device registration data 213 by entering a character string in the search window 1404 . The search is executed by partial matching for all items. displayed on the screen. Note that when there is no input in the search window 1404, all items of the communication device registration data 213 are displayed on the screen.

チェックボックス1405を選択することで、通信装置登録データ表示にチェックを付ける。一行目のチェックボックスは検索結果として表示された全ての行にチェックを付ける。 By selecting a check box 1405, the communication device registration data display is checked. The check box on the first line checks all the lines displayed as search results.

通信装置登録用データ表示には通信装置登録データ213の内容が表示される。一画面中に最大で30件まで表示する。ページスクロールリンク1407は、通信装置登録データ213に30件以上のデータが登録されている場合に、次のもしくは前の30件を表示するリンクである。 The contents of the communication device registration data 213 are displayed in the communication device registration data display. Up to 30 items are displayed on one screen. A page scroll link 1407 is a link for displaying the next or previous 30 data when 30 or more data are registered in the communication device registration data 213 .

選択端末削除ボタン1408を選択することで、チェックボックス1405にチェックを付けた行のデータを削除する。削除結果は設定DB101に格納された通信装置登録データ213に反映される。メニューへのリンク1409を選択することで、メニュー画面へと遷移する。 By selecting the selected terminal deletion button 1408, the data of the line with the check box 1405 checked is deleted. The deletion result is reflected in the communication device registration data 213 stored in the setting DB 101 . By selecting the link 1409 to the menu, the screen transitions to the menu screen.

図15は実施例1のデータ収集設定登録画面1500のGUIを示す図である。
検索窓1501に文字列を入力することで、通信装置登録データ213の中から任意の通信端末120を検索できる。検索は全項目に対する部分一致で実行され、検索窓1501に入力された文字列と通信装置登録データ213の項目の内、一部でも一致した項目があれば、通信装置登録データ213の該当行が画面に表示される。なお、検索窓1501に入力が無い場合、通信装置登録データ213の全項目が画面に表示される。
FIG. 15 is a diagram showing the GUI of the data collection setting registration screen 1500 of the first embodiment.
By entering a character string in the search window 1501, any communication terminal 120 can be searched from the communication device registration data 213. FIG. The search is executed by partial matching for all items. displayed on the screen. Note that when there is no input in the search window 1501, all items of the communication device registration data 213 are displayed on the screen.

チェックボックス1502を選択することで、通信装置登録データ表示にチェックを付ける。一行目のチェックボックス1502は検索結果として表示された全ての行にチェックを付ける。 By selecting a check box 1502, the communication device registration data display is checked. Check boxes 1502 on the first line check all lines displayed as search results.

通信装置登録データ表示には通信装置登録データ213の内容とデータ収集設定ダウンロードボタン1504が表示される。一画面中に最大で30件まで表示する。 The contents of the communication device registration data 213 and a data collection setting download button 1504 are displayed in the communication device registration data display. Up to 30 items are displayed on one screen.

データ収集設定ダウンロードボタン1504を選択することで、同一行の通信装置120に設定されたデータ収集設定をダウンロードできる。ページスクロールリンク1505は、通信装置登録データ213に30件以上のデータが登録されている場合に、次のもしくは前の30件を表示するリンクである。 By selecting a data collection setting download button 1504, the data collection settings set in the communication device 120 on the same line can be downloaded. A page scroll link 1505 is a link for displaying the next or previous 30 data when 30 or more data are registered in the communication device registration data 213 .

ファイル選択ボタン1506を選択することで、ファイル選択画面が開かれ、操作しているPCのファイルを選択できる。ファイル選択後、ファイル選択ボタン1506の左のテキストボックスには選択されたファイルのファイルパスが表示される。 By selecting a file selection button 1506, a file selection screen is opened and a file of the PC being operated can be selected. After selecting the file, the file path of the selected file is displayed in the text box to the left of the file selection button 1506 .

テンプレートダウンロードリンク1507を選択することで、データ収集設定のテンプレートをダウンロードできる。データ収集設定登録ボタン1508を選択することで、チェックボックス1502にチェックを付けた行の通信装置120に対して、ファイル選択ボタン1506で選択したデータ収集設定を対応付ける。 By selecting the template download link 1507, a template for data collection settings can be downloaded. By selecting the data collection setting registration button 1508, the data collection setting selected by the file selection button 1506 is associated with the communication device 120 of the line with the check box 1502 checked.

データ収集設定登録ボタン1508が選択されると、ファイル選択ボタン1506で選択したファイルにデータ収集設定IDが割り当てられ、設定DB101へアップロードされ、データ収集設定登録データのチェックボックス1502にチェックを付けた行の通信装置120のデバイスIDに対応するデータ収集設定IDが更新される。選択されたファイルがデータ収集設定のフォーマットと形式が一致しない場合、ポップアップにて「フォーマットが違います」とメッセージが表示される。 When the data collection setting registration button 1508 is selected, the data collection setting ID is assigned to the file selected by the file selection button 1506, uploaded to the setting DB 101, and the row with the data collection setting registration data check box 1502 checked. , the data collection setting ID corresponding to the device ID of the communication device 120 is updated. If the format of the selected file does not match the format of the data collection settings, a pop-up message will appear stating that the format is incorrect.

通信装置登録用データ表示に1秒以上カーソルを合わせ続けることで、データ収集設定内容表示ポップが表示される。データ収集設定内容表示ポップには、カーソルが存在する行の通信装置120に適用されているデータ収集設定が表示される。
メニューへのリンク1510を選択することで、メニュー画面へと遷移する。
By keeping the cursor on the communication device registration data display for one second or longer, a data collection setting content display popup is displayed. The data collection setting content display popup displays the data collection settings applied to the communication device 120 on the line where the cursor is located.
By selecting the link 1510 to the menu, the screen transitions to the menu screen.

図16は実施例1のデータ量設定画面1600のGUIを示す図である。
検索窓1601に文字列を入力することで、グループID表示から任意のグループを検索できる。検索は部分一致で実行され、検索窓1601に入力された文字列とグループIDで、一部でも一致した項目があれば、グループID1603が画面に表示される。なお、検索窓1601に入力が無い場合、全グループIDが画面に表示される。
FIG. 16 is a diagram showing the GUI of the data amount setting screen 1600 of the first embodiment.
By entering a character string in the search window 1601, any group can be searched from the group ID display. The search is executed by partial matching, and if there is an item that even partially matches the character string and the group ID entered in the search window 1601, the group ID 1603 is displayed on the screen. Note that when there is no input in the search window 1601, all group IDs are displayed on the screen.

チェックボックス1602を選択することで、グループID表示にチェックを付ける。一行目のチェックボックス1602は、検索結果として表示された全ての行にチェックを付ける。グループID表示には通信装置登録データ213のグループIDの列から、重複を省いた項目を表示する。一画面中に最大で30件まで表示する。 By selecting a check box 1602, the group ID display is checked. Check boxes 1602 on the first line mark all the lines displayed as search results. In the group ID display, items from the column of the group ID of the communication device registration data 213 are displayed without duplication. Up to 30 items are displayed on one screen.

ページスクロールリンク1604は、グループID表示に30件以上のデータが表示されている場合に、次のもしくは前の30件を表示するリンクである。 A page scroll link 1604 is a link for displaying the next or previous 30 items when 30 items or more of data are displayed in the group ID display.

データ容量入力ボックス1605には、数値で通信装置1台当たりの月間データ容量を入力する。余裕マージン入力ボックス1606には、数値で余裕マージンを入力する。 In the data volume input box 1605, the monthly data volume per communication device is entered numerically. In the margin margin input box 1606, the numerical margin is entered.

設定反映ボタン1607を選択することで、データ量設定のグループID、データ容量、余裕マージンの組み合わせを更新する。データ容量入力ボックス1605、余裕マージン入力ボックス1606に数値以外のデータを入力した場合、ポップアップにて「入力値エラー」とメッセージが表示される。 By selecting the setting reflection button 1607, the combination of the group ID, the data capacity, and the margin margin of the data amount setting is updated. If data other than numerical values are entered in the data capacity input box 1605 and margin margin input box 1606, a pop-up message "input value error" is displayed.

グループID表示に1秒以上カーソルを合わせ続けることで、設定表示ポップ1608が表示される。設定表示ポップ1608には、カーソルが存在する行のグループIDに適用されているデータ容量、余裕マージンが表示される。 By keeping the cursor on the group ID display for one second or longer, a setting display popup 1608 is displayed. A setting display popup 1608 displays the data capacity and margin margin applied to the group ID of the line where the cursor is present.

図17は実施例1の通信装置120におけるサーバ連携部121のサーバ問い合わせ処理フローである。
以下、フローチャートの項目に従い、サーバ連携部の動作を説明する。
FIG. 17 is a server inquiry processing flow of the server cooperation unit 121 in the communication device 120 of the first embodiment.
The operation of the server cooperation unit will be described below according to the items in the flowchart.

S1700において、通信装置120の起動時および前回サーバ問い合わせ処理実行から24時間以上経過した場合に以降の処理を開始する。なお、本発明は周期を24時間に固定するものではなく、周期には任意の時間を設定できるものとする。 In S1700, when the communication device 120 is started and when 24 hours or more have passed since the previous execution of the server inquiry processing, the subsequent processing is started. It should be noted that the present invention does not fix the period to 24 hours, but allows the period to be set to any time.

S1701において、WAN通信部122へデータ量取得要求を送信し、WAN側データ量を取得する。S1702において、通信装置120に保存されている問い合わせデータを参照し、WAN送信データ量、WAN受信データ量をS1701とS1702で取得した値に更新する。S1703とS1702で更新した問い合わせデータを、HTTPSのPOSTメソッドを使用して通信装置管理サーバ100へ送信する。 In S1701, a data amount acquisition request is transmitted to the WAN communication unit 122, and the WAN side data amount is acquired. In S1702, the inquiry data stored in the communication device 120 is referenced, and the WAN transmission data amount and WAN reception data amount are updated to the values obtained in S1701 and S1702. The inquiry data updated in S1703 and S1702 is transmitted to the communication device management server 100 using the POST method of HTTPS.

S1704において、HTTPSはTCPを活用しているため、ACKの受信を確認することで、通信装置管理サーバ100への到達を確認できる。S1703で送信した問い合わせデータが通信装置管理サーバ100に到達した場合には、S1705に処理を進める。通信装置管理サーバ100への到達を確認できない場合には、S1710に処理を進める。 In S1704, since HTTPS uses TCP, arrival at the communication device management server 100 can be confirmed by confirming reception of ACK. If the inquiry data transmitted in S1703 reaches the communication device management server 100, the process proceeds to S1705. If arrival at the communication device management server 100 cannot be confirmed, the process proceeds to S1710.

S1705とS1703で送信したリクエストの応答を受信した場合には処理をS1706に進める。受信していない場合には、一定時間待機し、再度S1705の処理を実行する。 If responses to the requests sent in S1705 and S1703 are received, the process advances to S1706. If it has not been received, it waits for a certain period of time and executes the processing of S1705 again.

S1706とS1705で受信した通信装置管理サーバ100からの問い合わせ応答データにデータ収集設定が含まれるならS1707に処理を進める。含まれなければS1708に処理を進める。 If the data collection setting is included in the inquiry response data from the communication device management server 100 received in S1706 and S1705, the process advances to S1707. If not included, the process proceeds to S1708.

S1707とS1705で受信したデータ収集設定をローカル通信部123へ通知する。また、問い合わせデータの値をS1705で受信したデータ収集設定IDに更新する。 The local communication unit 123 is notified of the data collection settings received in S1707 and S1705. Also, the value of the inquiry data is updated to the data collection setting ID received in S1705.

S1708とS1705で受信した通信装置管理サーバ100からの問い合わせ応答データに送信周期補正値が含まれるならS1709に処理を進める。含まれなければS1710に処理を進める。S1709とS1705で受信した送信周期補正値をローカル通信部123へ通知する。
(S1710)サーバ問い合わせ処理を終了する。
If the inquiry response data from the communication device management server 100 received in S1708 and S1705 includes the transmission cycle correction value, the process advances to S1709. If not included, the process proceeds to S1710. The local communication unit 123 is notified of the transmission cycle correction values received in S1709 and S1705.
(S1710) End the server inquiry process.

図18は実施例1の通信装置120におけるサーバ連携部121が通信装置管理サーバ100へ送信する問い合わせデータである。
問い合わせデータはサーバ連携部212が参照可能なJSONファイルであり、通信装置120に記録されている。問い合わせデータにはデバイスID1801、グループID1802、データ収集設定ID1803、WAN送信データ量1804、WAN受信データ量1805が格納される。
FIG. 18 shows query data transmitted to the communication device management server 100 by the server cooperation unit 121 in the communication device 120 of the first embodiment.
The inquiry data is a JSON file that can be referenced by the server cooperation unit 212 and is recorded in the communication device 120 . A device ID 1801, a group ID 1802, a data collection setting ID 1803, a WAN transmission data amount 1804, and a WAN reception data amount 1805 are stored in the inquiry data.

デバイスID1801とグループID1802は、通信装置120の出荷時に値が書き込まれる。データ収集設定ID1803は、通信装置管理サーバ100との初回通信時までは空欄である。初回通信時、S1707で値が書き込まれる。WAN送信データ量1804とWAN受信データ量1805は初回のサーバ問い合わせ処理が実行されるまでは空欄である。サーバ問い合わせ処理が実行されると、S1702で値が書き込まれる。 Values are written in the device ID 1801 and group ID 1802 when the communication apparatus 120 is shipped. The data collection setting ID 1803 is blank until the initial communication with the communication device management server 100 . At the time of initial communication, a value is written in S1707. The WAN transmission data amount 1804 and WAN reception data amount 1805 are blank until the first server inquiry process is executed. When the server inquiry process is executed, the value is written in S1702.

図19は実施例1の通信装置120におけるWAN通信部122のWAN側通信データ量測定の処理フローである。
以下、フローチャートの項目に従い、WAN側通信部の動作を説明する。
FIG. 19 is a processing flow of WAN side communication data amount measurement of the WAN communication unit 122 in the communication apparatus 120 of the first embodiment.
The operation of the WAN side communication unit will be described below according to the items in the flowchart.

S1900において、通信装置120の起動時もしくは前回のWAN側通信データ量測定から30分以上経過した場合に以降の処理を開始する。なお、本発明は周期を30分に固定するものではなく、周期には任意の時間を設定できるものとする。 In S1900, when the communication device 120 is activated or 30 minutes or more have passed since the previous measurement of the WAN side communication data amount, the subsequent processing is started. It should be noted that the present invention does not fix the period to 30 minutes, but allows the period to be set to an arbitrary time.

S1901において、WAN側インターフェースから送受信データ量を今回値として取得する。データの取得には、例えばLinux(登録商標)コマンドのifconfigを用いる。S1902において、WAN側データ量記録ファイルを読み出し、送信・受信それぞれの前回値と累計値を取得する。 In S1901, the transmission/reception data amount is acquired from the WAN side interface as the current value. For example, ifconfig, which is a Linux (registered trademark) command, is used to acquire the data. In S1902, the WAN side data amount recording file is read, and the previous value and cumulative value for each of transmission and reception are acquired.

S1903とS1901で取得した今回値とS1902で取得した前回値とを比較し、今回値が前回値より大きい場合にはS1904に処理を進める。小さい場合にはS1905に処理を進める。S1904)とS1902で取得した累積値からS1902で取得した前回値を減算して更新する。 The current value acquired in S1903 and S1901 is compared with the previous value acquired in S1902, and if the current value is greater than the previous value, the process proceeds to S1904. If smaller, the process proceeds to S1905. S1904) and update by subtracting the previous value acquired in S1902 from the cumulative value acquired in S1902.

S1905とS1902で取得した累積値にS1901で取得した今回値を加算して更新する。S1906とS1901で取得した今回値とS1905で更新した累計値を、新たな前回値、累計値としてWAN側データ量記録ファイル918を更新する。S1907において、WAN側通信データ量測定を終了する。 The current value obtained in S1901 is added to the cumulative value obtained in S1905 and S1902 to update the accumulated value. The current value obtained in S1906 and S1901 and the cumulative value updated in S1905 are used as the new previous value and cumulative value to update the WAN side data amount recording file 918 . In S1907, the WAN side communication data amount measurement ends.

図20は実施例1の通信装置120におけるWAN通信部122のWAN側通信データ量応答の処理フローである。
以下、フローチャートの項目に従い、WAN通信部122の動作を説明する。
FIG. 20 is a processing flow of a WAN side communication data amount response of the WAN communication unit 122 in the communication device 120 of the first embodiment.
The operation of the WAN communication unit 122 will be described below according to the items of the flowchart.

S2000において、通信装置120の起動時に以降の処理を開始する。S2001において、エラーなどが発生し、処理の終了が命令されていないかを確認する。終了が命令されていればS2006に処理を進める。命令されていなければS2002に処理を進める。 In S2000, the subsequent processing is started when the communication device 120 is activated. In S2001, it is checked whether an error or the like has occurred and an instruction to end processing has not been issued. If the end has been instructed, the process proceeds to S2006. If not, the process advances to S2002.

S2002において、サーバ連携部121からデータ量取得要求を受信しているか確認する。受信している場合にはS2003に処理を進める。受信していない場合にはS2001に処理を戻す。 In S 2002 , it is checked whether a data amount acquisition request has been received from the server cooperation unit 121 . If received, the process proceeds to S2003. If not received, the process returns to S2001.

S2003において、WAN側データ量記録ファイル918を読み出し、送信・受信データ量の前回値・累計値を取得する。S2004とS2003で取得した送信・受信データ量の前回値・累計値を返信する。 In S2003, the WAN side data volume recording file 918 is read, and the previous value and accumulated value of the transmission/reception data volume are acquired. The previous value and accumulated value of the amount of transmitted/received data acquired in S2004 and S2003 are returned.

S2005において、送信・受信データ量の累計値に0を代入し、WAN側データ量記録ファイルを更新する。S2006において、WAN側通信データ量応答の処理を終了する。 In S2005, 0 is substituted for the total value of the transmitted/received data amount, and the WAN side data amount recording file is updated. In S2006, the processing of the WAN side communication data amount response is terminated.

図21は実施例1の通信装置管理サーバ100における通信装置管理部104の問い合わせ待ち受けの処理フローである。
以下、フローチャートの項目に従い、装置管理部の動作を説明する。
FIG. 21 is a processing flow of waiting for an inquiry by the communication device management unit 104 in the communication device management server 100 of the first embodiment.
The operation of the device management unit will be described below according to the items in the flow chart.

S2100において、通信装置管理サーバ100の起動時に以降の処理を開始する。
S2101において、エラーなどが発生し、処理の終了が命令されていないかを確認する。終了が命令されていればS2111に処理を進める。命令されていなければS2102に処理を進める。
S2102において、通信部105を介して通信装置120からリクエストを受信しているか確認する。受信している場合にはS2103に処理を進める。受信していない場合にはS2101に処理を戻す。S2103とS2102で取得した問い合わせデータから、リクエストを送信した通信装置120のデバイスID、グループID、WAN送信データ量、WAN受信データ量を取得する。
In S2100, the subsequent processing is started when the communication device management server 100 is activated.
In S2101, it is checked whether an error or the like has occurred and an instruction to terminate processing has not been issued. If the termination has been instructed, the process proceeds to S2111. If not, the process advances to S2102.
In S<b>2102 , it is checked whether a request has been received from the communication device 120 via the communication unit 105 . If so, the process advances to S2103. If not received, the process returns to S2101. From the inquiry data acquired in S2103 and S2102, the device ID, group ID, WAN transmission data amount, and WAN reception data amount of the communication apparatus 120 that transmitted the request are acquired.

処理時点での時刻情報を取得し、タイムスタンプとする。WAN送信データ量とWAN受信データ量を加算して、送受信データ量を算出する。デバイスID、グループID、タイムスタンプ、送受信データ量を集計DB102のWAN側データ量ログ217に追記する。 Get the time information at the time of processing and use it as a time stamp. The WAN transmission data amount and the WAN reception data amount are added to calculate the transmission/reception data amount. The device ID, group ID, time stamp, and transmission/reception data amount are added to the WAN side data amount log 217 of the aggregation DB 102 .

S2104において、設定DB101からデータ収集設定登録データ215を取得する。S2105とS2102で取得した問い合わせデータから、データ収集設定IDを取得する。S2104で取得したデータ収集設定IDが一致するか確認する。一致する場合、S2108に処理を進める。一致しない場合、S2106に処理を進める。 In S2104, the data collection setting registration data 215 is obtained from the setting DB 101. FIG. A data collection setting ID is obtained from the inquiry data obtained in S2105 and S2102. It is checked whether the data collection setting ID acquired in S2104 matches. If they match, the process proceeds to S2108. If they do not match, the process proceeds to S2106.

S2106において、設定DB1010からS2104で取得したデータ収集設定IDのデータ収集設定を検索し、取得する。S2107とS2104で取得したデータ収集設定IDとS2106で取得したデータ収集設定を、HTTPSのレスポンスボディにJSON形式で格納する。 In S2106, the data collection setting of the data collection setting ID acquired in S2104 is searched from the setting DB 1010 and acquired. The data collection setting ID obtained in S2107 and S2104 and the data collection setting obtained in S2106 are stored in the JSON format in the response body of HTTPS.

S2108において、集計DB102からS2103で取得したグループIDに対応するデータ容量情報を取得する。S2109とS2108で取得したデータ容量情報から送信周期補正値を取得し、HTTPSのレスポンスボディに格納する。S2110とS2109で更新したHTTPSのレスポンスボディをリクエストの送信元である通信装置120に、通信部105を介して送信する。S2111において、問い合わせ待ち受けの処理を終了する。 In S2108, data capacity information corresponding to the group ID acquired in S2103 is acquired from the total DB 102. FIG. A transmission cycle correction value is acquired from the data volume information acquired in S2109 and S2108, and stored in the HTTPS response body. The HTTPS response body updated in S2110 and S2109 is transmitted via the communication unit 105 to the communication device 120 that is the source of the request. At S2111, the process of waiting for an inquiry is terminated.

図22は実施例1の通信装置管理サーバ100における通信装置管理部104がサーバ連携部121へ送信する問い合わせ応答データ2200である。問い合わせ応答データ2200は、データ収集設定キー2201、送信周期補正値キー2204で構成される。 FIG. 22 shows inquiry response data 2200 that the communication device management unit 104 in the communication device management server 100 according to the first embodiment transmits to the server cooperation unit 121 . The inquiry response data 2200 consists of a data collection setting key 2201 and a transmission cycle correction value key 2204 .

データ収集設定キー2201には、データ収集設定IDキー2202とデータキー2203が含まれる。データ収集設定IDキー2202の値はS2107で格納されるデータ収集設定IDである。データキー2203の値はS2107で格納されるデータ収集設定である。送信周期補正値2204はS2109で格納される送信周期補正値である。 The data collection setting key 2201 includes a data collection setting ID key 2202 and a data key 2203 . The value of the data collection setting ID key 2202 is the data collection setting ID stored in S2107. The value of data key 2203 is the data collection setting stored in S2107. A transmission cycle correction value 2204 is a transmission cycle correction value stored in S2109.

図23は実施例1の通信装置管理サーバ100における通信装置管理部104の送信周期補正値算出の処理フローである。
以下、フローチャートの項目に従い、装置管理部の動作を説明する。
FIG. 23 is a processing flow of transmission cycle correction value calculation of the communication device management unit 104 in the communication device management server 100 of the first embodiment.
The operation of the device management unit will be described below according to the items in the flow chart.

S2300において、通信装置120の起動時もしくは前回の送信周期補正値算出から24時間以上経過した場合に以降の処理を開始する。なお、本発明は周期を24時間に固定するものではなく、周期には任意の時間を設定できるものとする。 In S2300, when the communication apparatus 120 is activated or when 24 hours or more have passed since the previous calculation of the transmission cycle correction value, the subsequent processing is started. It should be noted that the present invention does not fix the period to 24 hours, but allows the period to be set to any time.

S2301において、集計DB102からデータ容量情報を取得する。S2302において、処理時点での時刻情報を取得し、日付の値が1の場合、S2303において設定DB101からデータ量設定を取得する。 In S2301, data volume information is acquired from the total DB 102. FIG. In S2302, the time information at the time of processing is acquired, and if the date value is 1, the data amount setting is acquired from the setting DB 101 in S2303.

S2304において、集計DB102のデータ容量情報において全ての行の当月通信残量を更新する。当月通信残量の更新値はS2303で取得したデータ量設定の余裕マージンから使用可能なデータ総量の割合を算出した後、算出値をS2301で取得したデータ量設定のデータ総量に掛け合わせることで算出する。 In S2304, the current month communication remaining amount of all rows in the data capacity information of the total DB 102 is updated. The updated value of the communication remaining amount for the current month is calculated by calculating the ratio of the total usable data amount from the margin margin of the data amount setting acquired in S2303, and then multiplying the calculated value by the total data amount of the data amount setting acquired in S2301. do.

S2305とS2301で取得したデータ容量情報を一行読み出す。S2306からS2310までの処理は、読み出した一行の情報を対象に実施する。 One line of the data capacity information acquired in S2305 and S2301 is read. The processing from S2306 to S2310 is performed on one line of read information.

S2306において、集計DB102からS2305で読み出した行のグループIDが含まれ、前回の送信周期補正値算出以降に追加されたWAN側データ量ログ217を取得する。S2307とS2306で取得したWAN側データ量ログ217の送受信データ量の列の値を全て加算して、一日あたりの送受信データ増加量を算出する。S2305で読み出した行の当月通信残量から一日あたりの送受信データ増加量を減算して、新たな当月通信残量とする。 In S2306, the WAN side data amount log 217 that includes the group ID of the row read out in S2305 from the tally DB 102 and that has been added since the previous calculation of the transmission cycle correction value is acquired. All the values in the column of the amount of transmitted/received data in the WAN-side data amount log 217 acquired in S2307 and S2306 are added to calculate the increased amount of transmitted/received data per day. By subtracting the increase in transmission/reception data per day from the communication remaining amount of the current month of the row read in S2305, a new communication remaining amount of the current month is obtained.

S2308とS2302で取得した時刻情報から当月の残日数を算出する。その後、当月の残日数とS2307で算出した一日あたりの送受信データ増加量を掛け合わせ、当月予想通信量を算出する。S2305で読み出した行の当月通信残量を当月予想通信量で割り、さらにS2305で読み出した行の周期補正値を掛けることで送信周期補正値を算出する。算出した送信周期補正値を新たな送信周期補正値とする。 The number of remaining days in the current month is calculated from the time information acquired in S2308 and S2302. After that, the number of remaining days in the current month is multiplied by the increase in transmission/reception data per day calculated in S2307 to calculate the expected traffic volume for the current month. The transmission cycle correction value is calculated by dividing the communication remaining amount of the row read in S2305 by the expected communication volume of the month, and multiplying it by the cycle correction value of the row read out in S2305. The calculated transmission cycle correction value is used as a new transmission cycle correction value.

S2309とS2305で読み出した一行分のデータ容量情報に対し、S2305で読み出したグループID、データ総量、S2307で算出した新たな当月通信残量、S2308で算出した新たな送信周期補正値を一行分のデータとして、集計DBのデータ容量情報を更新する。 The group ID read out in S2305, the total amount of data read out in S2305, the new communication remaining amount for the current month calculated in S2307, and the new transmission cycle correction value calculated in S2308 are added to one line for the data amount information read out in S2309 and S2305. As the data, the data capacity information of the total DB is updated.

S2310とS2305で読み出したデータ容量情報の行が末尾の情報の場合、S2311に処理を進める。末尾の情報でない場合、S2305に処理を戻す。S2311において、送信周期補正値算出の処理を終了する。 If the row of data capacity information read out in S2310 and S2305 is information at the end, the process proceeds to S2311. If it is not the last information, the process returns to S2305. In S2311, the processing for calculating the transmission cycle correction value is terminated.

図24は実施例1の通信装置120におけるローカル通信部123の通信設定通知待ち受けの処理フローである。
以下、フローチャートの項目に従い、ローカル通信部の動作を説明する。
FIG. 24 is a processing flow of waiting for communication setting notification of the local communication unit 123 in the communication device 120 of the first embodiment.
The operation of the local communication unit will be described below according to the items in the flowchart.

S2400において、通信装置120の起動時に以降の処理を開始する。S2401において、エラーなどが発生し、処理の終了が命令されていないかを確認する。終了が命令されていればS2408に処理を進める。命令されていなければS2402に処理を進める。 In S2400, the subsequent processing is started when the communication device 120 is activated. In S2401, it is checked whether an error or the like has occurred and an instruction to terminate processing has not been issued. If the end has been instructed, the process proceeds to S2408. If not, the process advances to S2402.

S2402において、サーバ連携部121より通知を受信しているかを確認する。受信していればS2403に処理を進める。受信していなければS2401に処理を戻す。 In S2402, it is checked whether a notification has been received from the server cooperation unit 121. FIG. If received, the process proceeds to S2403. If not received, the process returns to S2401.

S2403とS2402で受信したサーバ連携部121からの通知にデータ収集設定を含むかを確認する。受信していればS2404に処理を進める。受信していなければS2405に処理を進める。 It is checked whether the notification from the server cooperation unit 121 received in S2403 and S2402 includes the data collection setting. If received, the process advances to S2404. If not received, the process proceeds to S2405.

S2404とS2403で受信したデータ収集設定を新たなデータ収集設定としてデータを更新する。S2405とS2402で受信したサーバ連携部121からの通知に送信周期補正値を含むかを確認する。受信していればS2406に処理を進める。受信していなければS2407に処理を進める。S2406とS2405で受信した送信周期補正値を新たな送信周期補正値としてデータを更新する。 The data is updated using the data collection settings received in S2404 and S2403 as new data collection settings. It is checked whether the notification from the server cooperation unit 121 received in S2405 and S2402 includes the transmission cycle correction value. If received, the process proceeds to S2406. If not received, the process proceeds to S2407. The data is updated using the transmission cycle correction value received in S2406 and S2405 as a new transmission cycle correction value.

S2407において、データ収集処理を実行しているスレッドに対し、再設定命令を送信する。S2408において、通信設定通知待ち受け処理を終了する。 In S2407, a reset command is sent to the thread executing the data collection process. At S2408, the communication setting notification waiting process is terminated.

図25は実施例1の通信装置120におけるローカル通信部123のデータ収集の処理フローである。
以下、フローチャートの項目に従い、ローカル通信部の動作を説明する。
FIG. 25 is a data collection processing flow of the local communication unit 123 in the communication device 120 of the first embodiment.
The operation of the local communication unit will be described below according to the items in the flowchart.

S2500において、通信装置120の起動時に以降の処理を開始する。S2501において、エラーなどが発生し、処理の終了が命令されていないかを確認する。終了が命令されていればS2508に処理を進める。命令されていなければS2502に処理を進める。 In S2500, the subsequent processing is started when the communication device 120 is activated. In S2501, it is checked whether an error or the like has occurred and an instruction to terminate processing has not been issued. If the termination has been instructed, the process proceeds to S2508. If not, the process advances to S2502.

S2502において、通信設定通知待ち受けを実行中のスレッドより再設定命令を受信しているかを確認する。受信していればS2503に処理を進める。受信していなければS2501に処理を戻す。 In S2502, it is checked whether a reset command has been received from the thread that is waiting for the communication setting notification. If received, the process proceeds to S2503. If not received, the process returns to S2501.

S2503において、データ収集処理によってセットされた全ての周期処理を停止する。周期処理は設定ファイルに従って実行されるデータ収集処理であり、周期到来毎に設定ファイルにより定義される接続先のデータ格納先からデータを収集し、ユーザ設備へ送信する。 At S2503, all periodic processing set by the data collection processing is stopped. Periodic processing is data collection processing that is executed according to a setting file, and collects data from the data storage destination of the connection destination defined by the setting file each time the period arrives, and transmits the collected data to the user equipment.

S2504において、現在の設定内容を破棄し、データ収集設定、LAN通信設定、シリアル通信設定を読み出す。S2505とS2504で読み出された設定ファイル群に対し、設定ファイルに不備がないかを確認する。設定ファイルの不備とは、例えば、データ収集設定が存在しない、データ収集設定記載の接続先IDに対応するLAN通信設定やシリアル通信設定が存在しないことを指す。不備がなくファイルが正常な場合にはS2506に処理を進める。不備が見つかった場合にはS2501に処理を戻す。 In S2504, the current settings are discarded, and the data collection settings, LAN communication settings, and serial communication settings are read. The configuration file group read out in S2505 and S2504 is checked to see if there are any deficiencies in the configuration files. Insufficiency of the setting file means, for example, that the data collection setting does not exist, or that the LAN communication setting or serial communication setting corresponding to the connection destination ID described in the data collection setting does not exist. If there is no defect and the file is normal, the process proceeds to S2506. If a defect is found, the process returns to S2501.

S2506において、送信周期補正値を読み出す。S2507とS2504で読み出された設定ファイル群に従って、複数の周期処理をセットする。周期処理をセットするにあたり、データ収集設定から読み出した周期に送信周期補正値を掛け(少数以下は切り捨てる)、周期処理の実行周期とする。周期処理はこれ以降、別スレッドにて継続的に実行される。S2508において、データ収集処理を終了する。 In S2506, the transmission cycle correction value is read. A plurality of periodic processes are set according to the setting file group read in S2507 and S2504. When setting the periodic processing, the period read from the data collection setting is multiplied by the transmission period correction value (fractional numbers are discarded) to determine the execution period of the periodic processing. After that, the periodic processing is continuously executed in another thread. At S2508, the data collection process ends.

実施例1によると、24時間に一度、グループID毎に送信周期補正値が更新される。送信周期補正値は24時間に一度、通信装置120が通信装置管理サーバ100に問い合わせ処理を行う際に配布される。配布された送信周期補正値は通信装置120のローカル通信部123に通知される。 According to the first embodiment, the transmission cycle correction value is updated for each group ID once every 24 hours. The transmission cycle correction value is distributed once every 24 hours when the communication device 120 makes an inquiry to the communication device management server 100 . The distributed transmission cycle correction value is notified to the local communication unit 123 of the communication device 120 .

ローカル通信部123は、データ収集設定を参照して周期的に配下機器130からデータ収集とユーザ設備へのデータ送信を行うが、送信周期補正値の値を参照してデータ収集周期を補正する。これにより、複数の通信装置120で構成されるグループに対して、データ量の実使用状況を鑑みた使用データ量制御が可能となる。 The local communication unit 123 periodically collects data from the subordinate device 130 and transmits data to the user equipment by referring to the data collection setting, and corrects the data collection cycle by referring to the transmission cycle correction value. As a result, it becomes possible to control the amount of data used in consideration of the actual usage status of the amount of data for a group composed of a plurality of communication devices 120 .

実施例1では通信装置120において全てのデータ収集周期を一律に送信周期補正値で補正した。しかしながら、例えば配下機器130のワーニングなど機器の異常に直結することからデータの収集周期を固定したいデータが存在する場合がある。実施例1の方式では、これらのデータも含めてまとめてデータ収集周期が調整されてしまい、機器の異常発見が遅れ、ユーザの損失に繋がる可能性がある。 In the first embodiment, the communication device 120 uniformly corrects all data collection cycles with the transmission cycle correction value. However, there may be data for which the data collection cycle should be fixed because it is directly linked to an abnormality in the device such as a warning of the subordinate device 130 . In the method of the first embodiment, the data collection period is adjusted collectively including these data, which may lead to a delay in discovering an abnormality in the device, leading to loss for the user.

このため実施例2では、データ収集設定において、周期可変フラグを導入する。ローカル通信部123のデータ収集処理においても周期可変フラグを考慮した処理フローへと変更する。以下、実施例2の実施例1からの差分について図を用いて説明する。 Therefore, in the second embodiment, a cycle variable flag is introduced in the data collection settings. Also in the data collection processing of the local communication unit 123, the processing flow is changed to one in consideration of the cycle variable flag. Hereinafter, differences of the second embodiment from the first embodiment will be described with reference to the drawings.

図26は実施例2のデータ収集設定を示す図である。実施例1からの差分として周期可変フラグ2600が追加されている。
周期可変フラグ2600は、その行のデータ収集周期が送信周期補正値の影響を受けるかを判断するフラグである。送信周期補正値の値に合わせて周期を変更する場合には0が、周期を変更しない場合には1がセットされる。
FIG. 26 is a diagram showing data collection settings according to the second embodiment. A cycle variable flag 2600 is added as a difference from the first embodiment.
The cycle variable flag 2600 is a flag for determining whether the data collection cycle of the row is affected by the transmission cycle correction value. 0 is set when the period is to be changed in accordance with the value of the transmission period correction value, and 1 is set when the period is not to be changed.

図27は実施例2の通信装置120におけるローカル通信部123のデータ収集の処理フローである。実施例2では実施例1からの差分として、S2507の処理がS2700とS2701に分かれる。
以下、実施例1からの差分について、ローカル通信部の動作を説明する。
FIG. 27 is a processing flow of data collection of the local communication unit 123 in the communication device 120 of the second embodiment. In the second embodiment, as a difference from the first embodiment, the processing of S2507 is divided into S2700 and S2701.
The operation of the local communication unit will be described below with respect to differences from the first embodiment.

S2700において、データ収集設定の周期可変フラグが0である行の収集データに関して、S2507と同様に周期に送信周期補正値を掛けた上で、周期処理をセットする。
S2701において、データ収集設定の周期可変フラグが1である行の収集データに関して、周期に送信補正値を掛けずに、周期処理をセットする。
In S2700, the cycle is multiplied by the transmission cycle correction value in the same manner as in S2507, and then cycle processing is set for the collected data in the rows in which the cycle variable flag in the data collection setting is 0.
In S2701, periodic processing is set without multiplying the period by the transmission correction value for the collected data in the row in which the period variable flag of the data collection setting is 1.

実施例2によると、周期可変フラグ2600の導入によりデータ毎に送信周期補正値を考慮するか否かを設定可能となる。送信周期補正値によるデータ量削減効果は薄くなるものの、継続的にデータ量を調整する機構と余裕マージンの効果により最大のデータ容量に達する事態が発生する確率は極めて稀であると言える。 According to the second embodiment, the introduction of the cycle variable flag 2600 makes it possible to set whether or not to consider the transmission cycle correction value for each data. Although the effect of reducing the amount of data due to the transmission cycle correction value becomes weaker, it can be said that the probability of reaching the maximum amount of data due to the effect of the mechanism for continuously adjusting the amount of data and the margin margin is extremely rare.

これにより、重要なデータに対しては収集周期を保ったまま、複数の通信装置120で構成されるグループに対して、データ量の実使用状況を鑑みた使用データ量制御が可能となる。 As a result, it is possible to control the amount of data used in consideration of the actual usage status of the amount of data for a group composed of a plurality of communication devices 120 while maintaining the collection cycle for important data.

実施例1、実施例2では複数の通信装置120で構成されるグループにおいてデータ収集周期を一律に送信周期補正値で補正した。しかしながら、通信装置120の配下機器130にはセンサ類のようなデータ取得の優先度が低いものから、大型の産業機器のように定常的な機器監視による最適化が必要な機器まで多種多様な機器が存在する。 In Example 1 and Example 2, the data collection cycle in a group composed of a plurality of communication devices 120 is uniformly corrected with the transmission cycle correction value. However, the subordinate devices 130 of the communication device 120 include a wide variety of devices, from devices with low data acquisition priority such as sensors to devices that require optimization through constant device monitoring such as large industrial devices. exists.

実施例1の方式では通信装置毎にデータ収集周期が変更できず、配下機器を考慮した設定が困難である。また、実施例2の方式では通信装置毎にデータ収集設定を生成する必要があり、手間が大きい。 In the method of the first embodiment, the data collection cycle cannot be changed for each communication device, and it is difficult to make settings considering subordinate devices. Moreover, in the method of the second embodiment, it is necessary to generate data collection settings for each communication device, which is time-consuming.

このため実施例3では通信装置120に対しても周期可変フラグを適用し、通信装置毎に送信周期補正値の影響を調整できる機構を導入する。以下、実施例3と実施例2までの差分について図を用いて説明する。 Therefore, in the third embodiment, a mechanism is introduced in which the cycle variable flag is applied to the communication device 120 as well, and the influence of the transmission cycle correction value can be adjusted for each communication device. Differences between the third embodiment and the second embodiment will be described below with reference to the drawings.

図28は実施例3の通信装置登録データを示す図である。実施例2までの差分として、周期可変フラグ2800が追加される。
周期可変フラグ2800は、その行の端末が送信周期補正値の影響を受けるかを判断するフラグである。送信周期補正値の値に合わせて周期を変更する場合には0が、周期を変更しない場合には1がセットされる。
FIG. 28 is a diagram showing communication device registration data according to the third embodiment. As a difference up to the second embodiment, a cycle variable flag 2800 is added.
The cycle variable flag 2800 is a flag for determining whether the terminal on that row is affected by the transmission cycle correction value. 0 is set when the period is to be changed in accordance with the value of the transmission period correction value, and 1 is set when the period is not to be changed.

図29は実施例3の通信装置管理サーバ100における通信装置管理部104の問い合わせ待ち受けの処理フローである。実施例2までの差分として、S2104の処理が、S2900に置き換わる。また、S2901の処理を追加する。
以下、実施例2までの差分について、通信装置管理部の動作を説明する。
FIG. 29 is a process flow of waiting for an inquiry by the communication device management unit 104 in the communication device management server 100 of the third embodiment. As a difference up to the second embodiment, the processing of S2104 is replaced with S2900. Moreover, the processing of S2901 is added.
The operation of the communication device management unit will be described below with respect to differences up to the second embodiment.

S2900において、設定DB101からS2104で取得したデータ収集設定登録データに加えて通信装置登録データを取得する。S2901とS2900で取得した通信装置登録データを参照し、リクエスト送信元の通信装置120の周期可変フラグが1であるかを確認する。1である場合、S2109に処理を進める。0である場合、S2110に処理を進める。 In S2900, communication device registration data is acquired from the setting DB 101 in addition to the data collection setting registration data acquired in S2104. By referring to the communication device registration data acquired in S2901 and S2900, it is confirmed whether the cycle variable flag of the communication device 120 that is the source of the request is 1 or not. If it is 1, the process proceeds to S2109. If it is 0, the process proceeds to S2110.

実施例3によると、通信装置毎の周期可変フラグの導入により、通信装置毎に送信周期補正値を考慮するか否か設定可能となる。実施例2と同様、送信周期補正値によるデータ量削減効果は薄くなるものの、継続的にデータ量を調整する機構と余裕マージンの効果により最大のデータ容量に達する事態が発生する確率は極めて稀であると言える。 According to the third embodiment, by introducing the cycle variable flag for each communication device, it becomes possible to set whether or not to consider the transmission cycle correction value for each communication device. As in the second embodiment, although the data amount reduction effect due to the transmission cycle correction value is reduced, the probability of reaching the maximum data amount due to the effect of the mechanism for continuously adjusting the data amount and the margin margin is extremely rare. I can say there is.

これにより、重要な配下機器130と接続された通信装置120に対しては収集周期を保ったまま、複数の通信装置120で構成されるグループに対して、データ量の実使用状況を鑑みた使用データ量制御が可能となる。 As a result, while maintaining the collection cycle for the communication device 120 connected to the important subordinate device 130, the group composed of a plurality of communication devices 120 can be used in consideration of the actual usage of the amount of data. Data amount control becomes possible.

実施例3までは複数の通信装置120で構成されるグループにおいてデータ収集周期を通信装置120やデータ毎に柔軟に変更する方式について記載した。しかしながら、グループ内において通信装置120の配下機器130の種類が多様な場合、周期固定と送信周期補正値の二種類の区別では周期の調整が十分でない可能性がある。 Up to the third embodiment, the method of flexibly changing the data collection period for each communication device 120 or data in a group composed of a plurality of communication devices 120 has been described. However, if the types of subordinate devices 130 of the communication device 120 are diverse in the group, there is a possibility that the period adjustment may not be sufficient by distinguishing between the fixed period and the transmission period correction value.

例えば、優先度が低く参考程度にしか取得しないセンサ、生産現場で使用される産業機器、工場全域の電力供給系統に配置される産業機器の三種類の種別がある場合を想定する。 For example, it is assumed that there are three types of sensors: low-priority sensors that are acquired only for reference, industrial equipment that is used at production sites, and industrial equipment that is arranged in the power supply system of the entire factory.

優先度が低く参考程度にしか取得しないセンサは少量かつ低周期で良く、生産現場で使用される産業機器は多量かつ最低限の周期を下回らない制御が必要で、工場全域の電力供給系統に配置される産業機器は少量かつ周期を低下させてはならないとする。 Sensors that have low priority and only acquire data for reference can be used in small quantities and in low cycles, and industrial equipment used in production sites requires control that is large in volume and does not fall below the minimum cycle, and is installed in the power supply system of the entire factory. The industrial equipment used shall be in small quantities and the cycle shall not be reduced.

この場合、単純にセンサのみを周期可変としてもデータ量の低減効果は薄く、生産現場で使用される産業機器をセンサと同様の周期で収集する事も不自然である。このような場合を考慮し、実施例4では通信装置120に対して配下機器130に応じた優先度を設定できるようにする。以下、実施例4と実施例3までの差分について図を用いて説明する。 In this case, the effect of reducing the amount of data is small even if only the sensor is made cycle-variable, and it is unnatural to collect the industrial equipment used in the production site in the same cycle as the sensor. Considering such a case, in the fourth embodiment, the communication device 120 is configured to be able to set the priority according to the subordinate device 130 . Differences between the fourth embodiment and the third embodiment will be described below with reference to the drawings.

図30は実施例4の通信装置登録データを示す図である。実施例3までの差分として、優先度3000が追加される。
優先度3000は、通信装置120に接続される配下機器130に応じて設定される優先度である。優先度は数値で与えられ、実施例4では100を最大、0を最小値とする。数値が大きい程高い優先度を持ち、低い程低い優先度を持つ。なお、本発明は優先度の数値範囲に依らず同等の効果が得られる。
FIG. 30 is a diagram showing communication device registration data of the fourth embodiment. A priority of 3000 is added as a difference up to the third embodiment.
A priority 3000 is a priority set according to the subordinate device 130 connected to the communication device 120 . The priority is given by a numerical value, and in the fourth embodiment, 100 is the maximum and 0 is the minimum. A higher number has a higher priority, and a lower number has a lower priority. In addition, the present invention can obtain the same effect regardless of the numerical range of the priority.

図31は実施例4の通信装置管理サーバ100における通信装置管理部104の問い合わせ待ち受けの処理フローである。実施例3までの差分として、S3100の処理が追加される。実施例3のS2901については処理を含む場合も含まない場合も同様に処理が可能なため、実施例4では記載を割愛する。
以下、実施例3までの差分について、通信装置管理部の動作を説明する。
FIG. 31 is a process flow of waiting for an inquiry by the communication device management unit 104 in the communication device management server 100 of the fourth embodiment. As a difference up to the third embodiment, the processing of S3100 is added. Regarding S2901 of the third embodiment, the description is omitted in the fourth embodiment because the processing can be performed in the same way regardless of whether the processing is included or not.
The operation of the communication device management unit will be described below with respect to differences up to the third embodiment.

S3100において、S2900で取得した通信装置登録データを参照し、リクエストの送信元である通信装置120が属するグループにおける優先度の平均値を算出する。その後、リクエストの送信元である通信装置120の優先度を算出した平均値で割り、優先度補正値を算出する。例えば、平均が50であり、通信装置120の優先度が75の場合、優先度補正値は1.5となる。S2108で取得したデータ容量情報から送信周期補正値を取得し、優先度補正値を掛けた値を新たな送信周期補正値として更新する。 In S3100, the communication device registration data acquired in S2900 is referred to, and the average value of the priority in the group to which the communication device 120 that is the source of the request belongs is calculated. After that, a priority correction value is calculated by dividing the priority of the communication device 120, which is the transmission source of the request, by the calculated average value. For example, if the average is 50 and the priority of the communication device 120 is 75, the priority correction value is 1.5. A transmission cycle correction value is acquired from the data volume information acquired in S2108, and a value obtained by multiplying the priority correction value is updated as a new transmission cycle correction value.

実施例4によると、通信装置120に対して配下機器130に応じた優先度を設定することで、送信周期補正に対して優先度に応じた補正を追加で実行する。これにより、接続された配下機器130の重要度に応じて通信装置120のデータ収集周期を調整することが可能となる。 According to the fourth embodiment, by setting a priority corresponding to the subordinate device 130 to the communication apparatus 120, correction corresponding to the priority is additionally executed with respect to the transmission cycle correction. This makes it possible to adjust the data collection cycle of the communication device 120 according to the importance of the connected subordinate device 130 .

実施例4までは複数の通信装置120で構成されるグループにおいて主として重要な機器に接続された通信装置120を優先する形でデータ収集周期を通信装置120やデータ毎に柔軟に変更する方式について記載した。しかしながら、人的ミスで誤ったデータ収集設定が与えられる場合や、収集の中で想定した以上にデータ量を浪費する通信装置120が出現する場合が存在する。この時、これらの通信装置が高い優先度で優先されれば、データ量を不要に消費する可能性が存在する。 Up to the fourth embodiment, a method of flexibly changing the data collection cycle for each communication device 120 and each data in a form of giving priority to the communication device 120 connected to an important device in a group composed of a plurality of communication devices 120 has been described. bottom. However, there are cases where incorrect data collection settings are given due to human error, or communication devices 120 appear that waste more data than expected during collection. At this time, if these communication devices are prioritized with high priority, there is a possibility that the amount of data will be consumed unnecessarily.

実施例5ではグループ毎に消費データ量による補正を実施する設定項目を導入する。消費データ量による補正では同じグループ内で消費データ量が多い通信装置に対し、送信データ量を削減するように送信周期補正値を追加で補正する。以下、実施例5と実施例4までの差分について図を用いて説明する。 The fifth embodiment introduces a setting item for performing correction based on the amount of data consumed for each group. In the correction based on the consumption data amount, the transmission cycle correction value is additionally corrected so as to reduce the transmission data amount for the communication device with the large consumption data amount in the same group. Differences between the fifth embodiment and the fourth embodiment will be described below with reference to the drawings.

図32は実施例5のデータ量設定を示す図である。実施例3までの差分として、消費データ量補正フラグ3200が追加される。
消費データ量補正フラグ3200は、同じグループIDを持つグループ内で、消費データ量に応じたデータ収集周期の補正を行うか否かを決定するフラグである。
FIG. 32 is a diagram showing data amount setting in the fifth embodiment. As a difference up to the third embodiment, a consumption data amount correction flag 3200 is added.
The consumption data amount correction flag 3200 is a flag for determining whether or not to correct the data collection period according to the consumption data amount within the group having the same group ID.

図33は実施例5のデータ量設定画面のGUIを示す図である。実施例3までの差分として、消費データ量補正チェックボックス3300が追加される。
消費データ量補正チェックボックス3300が選択された状態で設定反映ボタンが押下されると、チェックボックスにチェックが付けられたグループIDのグループに対して、消費データ量補正フラグが1の状態でデータ量設定が更新される。
FIG. 33 is a diagram showing the GUI of the data amount setting screen of the fifth embodiment. As a difference up to the third embodiment, a consumption data amount correction check box 3300 is added.
When the setting reflection button is pressed with the data consumption correction check box 3300 selected, the data amount is changed with the consumption data amount correction flag set to 1 for the group of the group ID whose check box is checked. Settings are updated.

図34は実施例5の通信装置管理サーバ100における通信装置管理部104の問い合わせ待ち受けの処理フローである。 FIG. 34 is a process flow of waiting for an inquiry by the communication device management unit 104 in the communication device management server 100 of the fifth embodiment.

実施例4までの差分として、S2104の処理が、S3400に置き換わる。また、S2108の処理が、S3401に置き換わる。また、S3402とS3403の処理が追加される。実施例3のS2901、実施例4のS3100については処理を含む場合も含まない場合も同様に処理が可能なため、実施例4では記載を割愛する。以下、実施例4までの差分について、通信装置管理部の動作を説明する。 As a difference up to the fourth embodiment, the processing of S2104 is replaced with S3400. Also, the processing of S2108 is replaced with S3401. In addition, processing of S3402 and S3403 is added. S2901 of the third embodiment and S3100 of the fourth embodiment can be similarly processed regardless of whether the processing is included or not. The operation of the communication device management unit will be described below with respect to differences up to the fourth embodiment.

S3400において、設定DB101からS2104で取得したデータ収集設定登録データに加えてデータ量設定を取得する。S3401において、集計DB102からS2108で取得したデータ容量情報に加えてWAN側データ量ログを取得する。WAN側データ量ログはリクエストの送信元である通信装置が所属するグループの全通信装置の最新のログを取得する。 In S3400, in addition to the data collection setting registration data acquired in S2104, the data amount setting is acquired from the setting DB 101. FIG. In S3401, in addition to the data volume information acquired in S2108, the WAN side data volume log is acquired from the aggregation DB 102. FIG. The WAN side data amount log acquires the latest logs of all communication devices in the group to which the communication device that is the source of the request belongs.

S3402とS3400で取得したデータ量設定を参照し、リクエストの送信元である通信装置120が所属するグループの消費データ量補正フラグを確認する。消費データ量補正フラグが1である場合、S3402に処理を進める。消費データ量補正フラグが0である場合、S2109に処理を進める。 The data amount setting acquired in S3402 and S3400 is referred to, and the consumption data amount correction flag of the group to which the communication device 120 that is the source of the request belongs is confirmed. If the consumption data amount correction flag is 1, the process proceeds to S3402. If the consumption data amount correction flag is 0, the process proceeds to S2109.

S3403とS3401で取得したリクエストの送信元である通信装置120が所属するグループの全通信装置120の最新のログにおける送受信データ量の平均値を取得する。その後、リクエストの送信元である通信装置120の送受信データ量を算出した平均値で割り、消費データ量補正値を算出する。S2108で取得したデータ容量情報から送信周期補正値を取得し、消費データ量補正値を掛けた値を新たな送信周期補正値として更新する。 The average value of the amount of transmitted/received data in the latest logs of all the communication devices 120 in the group to which the communication device 120 which is the source of the request acquired in S3403 and S3401 belongs is acquired. After that, the data consumption correction value is calculated by dividing the transmission/reception data amount of the communication device 120, which is the transmission source of the request, by the calculated average value. A transmission cycle correction value is acquired from the data volume information acquired in S2108, and a value obtained by multiplying the consumption data amount correction value is updated as a new transmission cycle correction value.

実施例5によると、グループ毎に消費データ量による補正を実行するか否かを消費データ量補正フラグで決定する。消費データ量補正フラグが有効であれば、同じグループ内で消費データ量が多い通信装置に対し、送信データ量を削減するように送信周期補正値を追加で補正する。 According to the fifth embodiment, the consumption data amount correction flag determines whether or not to perform correction based on the consumption data amount for each group. If the consumption data amount correction flag is valid, the transmission cycle correction value is additionally corrected so as to reduce the transmission data amount for the communication device with a large amount of data consumption within the same group.

これにより、人的ミスで誤ったデータ収集設定が与えられる場合や、収集の中で想定した以上にデータ量を浪費する通信装置120が出現する場合において通信装置120が正常と見なされる設定の中で、大量のデータを送信する事態を防止することが可能となる。 As a result, if an incorrect data collection setting is given due to human error, or if a communication device 120 wastes a larger amount of data than expected during collection, the communication device 120 is considered to be normal. Therefore, it is possible to prevent a situation in which a large amount of data is transmitted.

上記実施例では、通信装置120を管理する通信装置管理サーバ100を設置し、通信装置管理サーバ100に管理する通信装置120を登録する。通信装置120は通信量を記録し、一定周期毎に通信装置管理サーバ100へ通信量を送信する。通信装置管理サーバ100は受信した通信量を記録し、管理する通信装置120の台数に応じて、月のデータ通信残量を算出する。通信装置管理サーバ100は、データ通信残量、月末までの日数、通信装置の台数を元にデータの送信周期の補正値を算出して通信装置へ送信する。 In the above embodiment, the communication device management server 100 that manages the communication device 120 is installed, and the communication device 120 to be managed is registered in the communication device management server 100 . The communication device 120 records the amount of communication and transmits the amount of communication to the communication device management server 100 at regular intervals. The communication device management server 100 records the amount of communication received, and calculates the monthly data communication remaining amount according to the number of communication devices 120 to be managed. The communication device management server 100 calculates a data transmission cycle correction value based on the remaining amount of data communication, the number of days until the end of the month, and the number of communication devices, and transmits the correction value to the communication device.

上記実施例によれば、包括的に回線契約を交わしたIoTシステムにおいて、端末ごとのデータ量最適化ではなく、端末群に対するデータ量の最適化が可能となる。 According to the above embodiment, in an IoT system with a comprehensive line contract, it is possible to optimize the amount of data for a group of terminals instead of optimizing the amount of data for each terminal.

100 通信装置管理サーバ
110 ユーザ設備
120 通信装置
130 配下機器
140 通信ネットワーク
101 設定DB
102 集計DB
103 GUI生成部
104 通信装置管理部
105 通信部
121 サーバ連携部
122 WAN通信部
123 ローカル通信部
100 communication device management server 110 user equipment 120 communication device 130 subordinate device 140 communication network 101 setting DB
102 Aggregation DB
103 GUI generation unit 104 Communication device management unit 105 Communication unit 121 Server cooperation unit 122 WAN communication unit 123 Local communication unit

Claims (15)

通信装置管理サーバと、前記通信装置管理サーバとネットワークを介して接続された複数の通信装置と、を有する通信システムであって、
複数の前記通信装置は、
それぞれ異なるグループに属し、
配下機器にそれぞれ接続され、
予め設定されたデータ収集周期に基づいて、前記配下機器からデータを収集して、一定周期毎に前記通信装置管理サーバに通信量として使用データ量を送信し、
前記通信装置管理サーバは、
前記使用データ量に基づいて、前記グループ毎に送信周期補正値を算出して前記通信装置に配布し、
前記通信装置は、
前記送信周期補正値に基づいて、前記グループ毎に前記データ収集周期を補正して更新し、
補正された更新データ収集周期に基づいて、前記配下機器から前記データを収集することを特徴とする通信システム。
A communication system comprising a communication device management server and a plurality of communication devices connected to the communication device management server via a network,
the plurality of communication devices,
belong to different groups,
connected to each subordinate device,
collecting data from the subordinate devices based on a preset data collection cycle, and transmitting the amount of data used as the amount of communication to the communication device management server at regular intervals;
The communication device management server,
calculating a transmission cycle correction value for each group based on the amount of data used and distributing it to the communication device;
The communication device
correcting and updating the data collection cycle for each group based on the transmission cycle correction value;
A communication system that collects the data from the subordinate device based on the corrected update data collection period.
前記通信装置は、
前記データ毎に前記送信周期補正値を考慮するか否かを設定し、
前記送信周期補正値を考慮しないと設定された場合には、前記データ収集周期に基づいて、前記配下機器から前記データを収集し、
前記送信周期補正値を考慮すると設定された場合には、
前記更新データ収集周期に基づいて、前記配下機器から前記データを収集することを特徴とする請求項1に記載の通信システム。
The communication device
setting whether or not to consider the transmission cycle correction value for each of the data;
when the transmission cycle correction value is set not to be considered, collecting the data from the subordinate device based on the data collection cycle;
When set in consideration of the transmission cycle correction value,
2. The communication system according to claim 1, wherein the data is collected from the subordinate device based on the update data collection cycle.
前記通信装置は、
前記データ収集周期が前記送信周期補正値の影響を受けるか否かを判断する周期可変フラグを導入し、
前記周期可変フラグを参照して、前記データ毎に前記送信周期補正値を考慮するか否かを設定することを特徴とする請求項2に記載の通信システム。
The communication device
introducing a cycle variable flag for determining whether the data collection cycle is affected by the transmission cycle correction value;
3. The communication system according to claim 2, wherein whether or not to consider the transmission cycle correction value is set for each data with reference to the cycle variable flag.
前記通信装置管理サーバは、
前記グループに属する前記通信装置毎に前記送信周期補正値を考慮するか否かを設定し、
前記送信周期補正値を考慮しないと設定された前記通信装置は、
前記データ収集周期に基づいて、前記配下機器から前記データの収集を行い、
前記送信周期補正値を考慮すると設定された前記通信装置は、
前記更新データ収集周期に基づいて、前記配下機器から前記データの収集を行うことを特徴とする請求項1に記載の通信システム。
The communication device management server,
setting whether or not to consider the transmission cycle correction value for each of the communication devices belonging to the group;
The communication device set not to consider the transmission cycle correction value,
Collecting the data from the subordinate device based on the data collection cycle;
The communication device set considering the transmission cycle correction value,
2. The communication system according to claim 1, wherein the data is collected from the subordinate device based on the update data collection cycle.
前記通信装置管理サーバは、
前記通信端末が前記送信周期補正値の影響を受けるかを判断する周期可変フラグを導入し、
前記周期可変フラグを参照して、前記通信装置毎に前記送信周期補正値を考慮するか否かを設定することを特徴とする請求項4に記載の通信システム。
The communication device management server,
introducing a cycle variable flag for determining whether the communication terminal is affected by the transmission cycle correction value;
5. The communication system according to claim 4, wherein whether or not to consider the transmission cycle correction value is set for each communication device by referring to the cycle variable flag.
前記通信装置管理サーバは、
前記通信装置に対して前記配下機器に応じた優先度を設定し、
設定された前記優先度に基づいて、前記送信周期補正値を再補正して更新し、
前記通信装置は、
再補正された前記更新データ収集周期に基づいて、前記配下機器から前記データを収集することを特徴とする請求項1に記載の通信システム。
The communication device management server,
setting a priority according to the subordinate device for the communication device;
re-correcting and updating the transmission cycle correction value based on the set priority;
The communication device
2. The communication system according to claim 1, wherein the data is collected from the subordinate device based on the re-corrected update data collection period.
前記通信装置管理サーバは、
前記通信装置の消費データ量として前記使用データ量を算出し、
算出された前記消費データ量を用いて、前記送信周期補正値を再補正して更新し、
前記通信装置は、
再補正された前記更新データ収集周期に基づいて、前記配下機器から前記データを収集することを特徴とする請求項1に記載の通信システム。
The communication device management server,
calculating the amount of data used as the amount of data consumed by the communication device;
recorrecting and updating the transmission cycle correction value using the calculated consumption data amount;
The communication device
2. The communication system according to claim 1, wherein the data is collected from the subordinate device based on the re-corrected update data collection period.
前記通信装置管理サーバは、
前記消費データ量に応じた前記データ収集周期の補正を行うか否かを決定する消費データ量補正フラグを参照して、前記送信周期補正値を再補正することを特徴とする請求項7に記載の通信システム。
The communication device management server,
8. The transmission cycle correction value is re-corrected with reference to a consumption data amount correction flag for determining whether or not to correct the data collection period according to the consumption data amount. communication system.
前記通信装置管理サーバは、
通信部と通信装置管理部を有し、
前記通信部は、
前記通信装置と前記通信装置管理部の間でやり取りされるデータを相互に転送し、
前記通信装置管理部は、
前記グループ毎に、前記通信装置一台あたりのデータ容量とユーザが決定するマージンに基づいて、月毎の使用可能な実データ量を算出し、
前記実データ量と前記通信装置から受信したデータ量情報を参照して通信残量を算出し、
前記通信装置は、
WAN通信部、サーバ連携部及びローカル通信部を有し、
前記WAN通信部は、
WAN通信を行うと共に前記使用データ量としてWAN通信量を記録し、
前記サーバ連携部は、
定期的に前記通信装置管理サーバへ前記WAN通信部から取得した前記WAN通信量を送信し、
前記ローカル通信部は、
定期的に前記配下機器から前記データを収集して前記WAN通信部を経由して外部へと送信することを特徴とする請求項1に記載の通信システム。
The communication device management server,
having a communication unit and a communication device management unit,
The communication unit
mutually transferring data exchanged between the communication device and the communication device management unit;
The communication device management unit
calculating, for each group, the amount of actual data that can be used each month based on the data amount per communication device and a margin determined by the user;
calculating a communication remaining amount by referring to the actual data amount and the data amount information received from the communication device;
The communication device
having a WAN communication unit, a server cooperation unit and a local communication unit,
The WAN communication unit
performing WAN communication and recording the amount of WAN communication as the amount of data used;
The server cooperation unit
periodically transmitting the WAN communication volume acquired from the WAN communication unit to the communication device management server;
The local communication unit
2. The communication system according to claim 1, wherein the data is periodically collected from the subordinate device and transmitted to the outside via the WAN communication unit.
前記通信装置管理サーバの前記通信装置管理部は、
前記通信残量、月末までの日数及び前記グループに所属する前記通信装置の台数に基づいて、前記送信周期補正値を算出して前記通信部を介して前記通信装置へ送信し、
前記通信装置の前記ローカル通信部は、
前記送信周期補正値に基づいて、前記グループ毎に前記データ収集周期を補正して更新することを特徴とする請求項9の通信システム。
The communication device management unit of the communication device management server,
calculating the transmission cycle correction value based on the remaining communication amount, the number of days until the end of the month, and the number of the communication devices belonging to the group, and transmitting the correction value to the communication device via the communication unit;
The local communication unit of the communication device,
10. The communication system according to claim 9, wherein the data collection cycle is corrected and updated for each group based on the transmission cycle correction value.
前記通信装置管理サーバの前記通信装置管理部は、
前記ローカル通信部で収集する前記データ収集周期の補正の有無を前記通信装置毎に管理し、
前記データ収集周期の補正を行わない前記通信装置からの問い合わせに対して、前記データ収集周期の補正値を返答しないことを特徴とする請求項9に記載の通信システム。
The communication device management unit of the communication device management server,
managing whether or not to correct the data collection period collected by the local communication unit for each communication device;
10. The communication system according to claim 9, wherein the correction value of the data collection cycle is not answered in response to an inquiry from the communication device that does not correct the data collection cycle.
前記配下機器は、
産業機器、情報機器又はセンサで構成されることを特徴とする請求項1に記載の通信システム。
The subordinate device is
2. The communication system according to claim 1, comprising an industrial device, an information device, or a sensor.
通信装置管理サーバとネットワークを介して接続された通信装置であって、
前記通信装置は、
それぞれ異なる複数の前記通信装置で構成されるグループに属し、
予め設定されたデータ収集周期に基づいて、配下機器からデータの収集を行い、
前記通信装置管理サーバで算出された送信周期補正値に基づいて、前記グループ毎に前記データ収集周期を補正して更新し、
補正された更新データ収集周期に基づいて、前記配下機器から前記データの収集を行うことを特徴とする通信装置。
A communication device connected to a communication device management server via a network,
The communication device
belong to a group composed of a plurality of different communication devices,
Based on the preset data collection cycle, data is collected from subordinate devices,
correcting and updating the data collection cycle for each of the groups based on the transmission cycle correction value calculated by the communication device management server;
A communication device that collects the data from the subordinate device based on the corrected update data collection cycle.
前記配下機器は、
産業機器、情報機器又はセンサで構成されることを特徴とする請求項13に記載の通信装置。
The subordinate device is
14. The communication device according to claim 13, comprising an industrial device, an information device, or a sensor.
通信装置管理サーバと複数の通信装置とを有する通信システムの通信方法であって、
複数の前記通信装置を、それぞれ異なるグループに属させ、
複数の前記通信装置を、配下機器にそれぞれ接続し、
前記通信装置において、
予め設定されたデータ収集周期に基づいて、前記配下機器からデータを収集して、一定周期毎に前記通信装置管理サーバに通信量として使用データ量を送信し、
前記通信装置管理サーバにおいて、
前記使用データ量に基づいて、前記グループ毎に送信周期補正値を算出して前記通信装置に配布し、
前記通信装置において、
前記送信周期補正値に基づいて、前記グループ毎に前記データ収集周期を補正して更新し、
補正された更新データ収集周期に基づいて、前記配下機器から前記データを収集することを特徴とする通信方法。
A communication method for a communication system having a communication device management server and a plurality of communication devices,
making the plurality of communication devices belong to different groups,
connecting each of the plurality of communication devices to a subordinate device;
In the communication device,
collecting data from the subordinate devices based on a preset data collection cycle, and transmitting the amount of data used as the amount of communication to the communication device management server at regular intervals;
In the communication device management server,
calculating a transmission cycle correction value for each group based on the amount of data used and distributing it to the communication device;
In the communication device,
correcting and updating the data collection cycle for each group based on the transmission cycle correction value;
A communication method, comprising collecting the data from the subordinate device based on the corrected update data collection cycle.
JP2021148021A 2021-09-10 2021-09-10 Communication system, communication device, and communication method Pending JP2023040842A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021148021A JP2023040842A (en) 2021-09-10 2021-09-10 Communication system, communication device, and communication method
PCT/JP2022/030331 WO2023037814A1 (en) 2021-09-10 2022-08-08 Communication system, communication device, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021148021A JP2023040842A (en) 2021-09-10 2021-09-10 Communication system, communication device, and communication method

Publications (1)

Publication Number Publication Date
JP2023040842A true JP2023040842A (en) 2023-03-23

Family

ID=85507547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021148021A Pending JP2023040842A (en) 2021-09-10 2021-09-10 Communication system, communication device, and communication method

Country Status (2)

Country Link
JP (1) JP2023040842A (en)
WO (1) WO2023037814A1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0777566A (en) * 1993-09-07 1995-03-20 Sumitomo Electric Ind Ltd Road side beacon
JP2010171592A (en) * 2009-01-21 2010-08-05 Seiko Instruments Inc Information processor, radio terminal, information processing program, and radio terminal program
JP6494069B2 (en) * 2014-09-01 2019-04-03 Kddi株式会社 Communication capacity management device, communication capacity transfer method, and computer program

Also Published As

Publication number Publication date
WO2023037814A1 (en) 2023-03-16

Similar Documents

Publication Publication Date Title
US7262709B2 (en) System and method for efficient configuration in a fixed network automated meter reading system
US10324942B2 (en) Segment data visibility and management in a distributed database of time stamped records
US9273983B2 (en) System and method of high volume import, validation and estimation of meter data
CN102955977A (en) Energy efficiency service method and energy efficiency service platform adopting same on basis of cloud technology
US20140284390A1 (en) Networked monitor for heating ventilation and air conditioning systems
CN109840262B (en) Data statistical method and related device
US11236916B2 (en) Systems and methods for managing building signature intelligent electronic devices
CN103490937A (en) Method and device for filtering monitoring data
US20230092714A1 (en) Systems, computer-readable media and computer-implemented methods for automated, dynamic capacity planning using http response header fields
CN102668454B (en) For providing method and the operations support systems of the performance management in mobile communication system
WO2016036386A1 (en) Dynamically generating an aggregation routine
CN103020169A (en) Effectiveness and uniqueness processing method for electric data
WO2023037814A1 (en) Communication system, communication device, and communication method
US9019122B2 (en) Information retrieval for boundary reading processing
CN114595129A (en) Configurable multi-dimensional data monitoring method and device and storage medium
CN102480369A (en) Network management system and method for collecting performance
CN109597642A (en) A kind of code statistical method, device, server, equipment and readable medium
CN113780625B (en) User electricity charge prediction method, system, terminal and storage medium
CN110633270B (en) Multi-strategy electric meter daily freezing value automatic substitution method and device based on priority
CN114417200A (en) Network data acquisition method and device and electronic equipment
JP2014204376A (en) Management system and scheduling method therefor
CN116257554A (en) Demand statistical analysis method, device, equipment and medium based on virtual summary table
CN113112158A (en) Method and device for processing equipment use data, storage medium and electronic device
CN114218298A (en) Measuring point data statistical method, device, equipment and storage medium
CN107885550B (en) Method and device for downloading batch original tables for multiple times

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231023