Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7686504B2 - Communication Systems - Google Patents
[go: Go Back, main page]

JP7686504B2 - Communication Systems - Google Patents

Communication Systems Download PDF

Info

Publication number
JP7686504B2
JP7686504B2 JP2021142269A JP2021142269A JP7686504B2 JP 7686504 B2 JP7686504 B2 JP 7686504B2 JP 2021142269 A JP2021142269 A JP 2021142269A JP 2021142269 A JP2021142269 A JP 2021142269A JP 7686504 B2 JP7686504 B2 JP 7686504B2
Authority
JP
Japan
Prior art keywords
communication
unit
communication unit
communication environment
server device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021142269A
Other languages
Japanese (ja)
Other versions
JP2023035427A (en
Inventor
大成 富久
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Osaka Gas Co Ltd
Original Assignee
Osaka Gas 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 Osaka Gas Co Ltd filed Critical Osaka Gas Co Ltd
Priority to JP2021142269A priority Critical patent/JP7686504B2/en
Publication of JP2023035427A publication Critical patent/JP2023035427A/en
Application granted granted Critical
Publication of JP7686504B2 publication Critical patent/JP7686504B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Description

本発明は、サーバ装置と、当該サーバ装置とネットワークを介して通信可能な設備機器とを備え、前記設備機器が、前記サーバ装置から前記設備機器のソフトウェアを更新する更新用ソフトウェアを含む大容量ファイルを受信するように構成された通信システムに関する。 The present invention relates to a communication system that includes a server device and equipment capable of communicating with the server device via a network, the equipment being configured to receive large files from the server device, including update software for updating the software of the equipment.

従来、屋内等の設置エリアにおいて、サーバ又は施設制御装置(以下、両者をまとめてサーバ装置と呼ぶ)と、当該サーバ装置とネットワーク回線により通信可能に構成された各種設備機器(以下、設備機器と呼ぶ)とを備えた監視システムにおいて、サーバ装置が、各種設備機器から送信されたデータ量に対して受信できたデータ量を示す取得成功率を算出する成功率算出部を備える監視システムが知られている(特許文献1を参照)。
当該監視システムでは、成功率算出部が算出した取得成功率を、サーバ装置のディスプレイにより表示するよう構成されている。
Conventionally, in a monitoring system that is installed in an installation area such as indoors and that includes a server or facility control device (hereinafter, both are collectively referred to as the server device) and various equipment (hereinafter, referred to as the equipment) that is configured to be able to communicate with the server device via a network line, the server device is known to include a success rate calculation unit that calculates an acquisition success rate that indicates the amount of data that was received relative to the amount of data transmitted from the various equipment (see Patent Document 1).
The monitoring system is configured to display the acquisition success rate calculated by the success rate calculation unit on a display of the server device.

特開2014-186629号公報JP 2014-186629 A

さて、通常、上述の設備機器は、定期的にサーバ装置へ、比較的大容量の更新用ソフトウェアを含む大容量ファイルを要求するように構成され、当該要求時に設備機器が最新の更新用ソフトウェアを保持している場合には大容量ファイルのダウンロード通信を実行せず、要求時に設備機器が最新の更新用ソフトウェアを保持していない場合には大容量ファイルのダウンロード通信を実行する。
しかしながら、更新用ソフトウェアを含む大容量ファイルのダウンロード通信の成否は、特に通信環境の影響を受けやすく、比較的通信環境が悪い状態のときに、ダウンロード通信を実行して、通信開始から受信完了までのセッションタイムアウト時間内にダウンロードが完了しなかった場合、再度、大容量ファイルのダウンロードを最初から実行する必要がある。更に、このように大容量ファイルの再ダウンロードは、通信環境の悪化を招きかねない。
また、近年の多様な家庭用IoT(Internet of Things)技術の普及により、複数の設備機器の夫々がスマートフォン等の携帯端末と近距離無線通信手段等により通信する環境においては、設備機器同士の間の電波が互いに干渉し、通信が不安定になりやすいという課題もあった。
Typically, the above-mentioned equipment is configured to periodically request large-capacity files, including relatively large-capacity update software, from the server device, and if the equipment has the latest update software at the time of the request, it does not execute download communication of the large-capacity file, and if the equipment does not have the latest update software at the time of the request, it executes download communication of the large-capacity file.
However, the success or failure of download communication of large files including update software is particularly susceptible to the influence of the communication environment, and when download communication is performed in a relatively poor communication environment, if the download is not completed within the session timeout period from the start of communication to the completion of reception, it is necessary to download the large file again from the beginning. Furthermore, re-downloading the large file in this way may cause the communication environment to deteriorate.
Furthermore, with the recent spread of various home IoT (Internet of Things) technologies, in an environment in which a plurality of equipment devices communicate with mobile terminals such as smartphones via short-range wireless communication means, there has been a problem in that radio waves between the equipment devices tend to interfere with each other, making communication unstable.

本発明は、上述の課題に鑑みてなされたものであり、その目的は、サーバから更新用ソフトウェアを含む比較的容量の大きい大容量データを安定して受信できると共に、通信環境の悪化を抑制できる通信システムを提供することにある。 The present invention was made in consideration of the above-mentioned problems, and its purpose is to provide a communication system that can stably receive relatively large amounts of data, including update software, from a server and prevent the communication environment from deteriorating.

上記目的を達成するための通信システムは、
サーバ装置と、当該サーバ装置とネットワークを介して通信可能な設備機器とを備え、
前記設備機器が、前記サーバ装置から前記設備機器のソフトウェアを更新する更新用ソフトウェアを含む大容量ファイルを受信するように構成された通信システムであって、その特徴構成は、
前記設備機器に設けられ、前記サーバ装置に設けられる第1通信部との間で通信可能な第2通信部と、
前記サーバ装置に設けられ、前記大容量ファイルを記憶するサーバ側ファイル記憶部と、
前記設備機器に設けられ、前記第1通信部と前記第2通信部との間の通信環境を計測する通信環境計測部と、
前記設備機器に設けられ、前記通信環境計測部にて計測される前記通信環境を示す通信環境情報に基づいて、前記通信環境の良否を判定する通信環境判定部と、
前記設備機器に設けられ、前記通信環境判定部が前記通信環境が良好であると判定した場合に、前記サーバ装置に前記大容量ファイルの取得を前記第2通信部を介して要求する要求部と、を備え
前記通信環境計測部は、前記第2通信部が前記第1通信部から前記大容量ファイルを先に受信した時点から新たに前記大容量ファイルを受信する時点までの時間間隔である第1時間間隔よりも短い第2時間間隔毎に、前記第2通信部が前記第1通信部へ通信リクエストを送信した回数と、前記通信リクエストの受信成功を意味する成功ステータスコードを前記第2通信部が前記第1通信部から受信した回数とを、前記通信環境情報として計測し、
前記通信環境判定部は、前記第2時間間隔よりも長い第3時間間隔において、前記第2通信部が前記第1通信部へ前記通信リクエストを送信した回数に対する、前記第2通信部が前記第1通信部から前記成功ステータスコードを受信した回数の比率として算出した前記通信環境情報としての成功応答比率に基づいて、前記通信環境の良否を判定する点にある。
A communication system for achieving the above object comprises:
A server device and equipment capable of communicating with the server device via a network,
A communication system in which the facility equipment is configured to receive a large-capacity file including update software for updating software of the facility equipment from the server device, the system being characterized by the following configuration:
A second communication unit provided in the facility device and capable of communicating with a first communication unit provided in the server device;
a server-side file storage unit provided in the server device for storing the large-capacity file;
a communication environment measuring unit provided in the facility device and configured to measure a communication environment between the first communication unit and the second communication unit;
a communication environment determination unit that is provided in the facility device and determines whether the communication environment is good or bad based on communication environment information indicating the communication environment measured by the communication environment measurement unit;
a request unit that is provided in the facility device and that requests the server device to acquire the large capacity file via the second communication unit when the communication environment determination unit determines that the communication environment is good ;
the communication environment measuring unit measures, as the communication environment information, the number of times that the second communication unit transmits a communication request to the first communication unit and the number of times that the second communication unit receives a success status code, which means that the communication request has been successfully received, from the first communication unit, at each second time interval that is shorter than a first time interval that is a time interval from a time when the second communication unit first receives the large capacity file from the first communication unit to a time when the second communication unit newly receives the large capacity file;
The communication environment determination unit determines whether the communication environment is good or bad based on a success response ratio as the communication environment information calculated as the ratio of the number of times the second communication unit received the success status code from the first communication unit to the number of times the second communication unit sent the communication request to the first communication unit during a third time interval that is longer than the second time interval .

上記特徴構成によれば、設備機器側に、サーバ装置と設備機器との間の通信環境を計測する通信環境計測部と、当該通信環境計測部にて計測される通信環境を示す通信環境情報に基づいて、通信環境の良否を判定する通信環境判定部と、通信環境判定部が通信環境が良好であると判定した場合に、サーバ装置に大容量ファイルの取得を要求する要求部とを備えるから、設備機器側で計測される通信環境を示す通信環境情報に基づいて、設備機器側の通信環境判定部が通信環境の良否を判定し、通信環境が良好である場合に、設備機器側の要求部が大容量ファイルの取得をサーバ装置へ要求することができる。
これにより、更新用ソフトウェアを含む大容量ファイルの受信(ダウンロード通信)を安定して行うことができると共に、当該大容量ファイルの失敗によるダウンロードの回数を低減して通信環境の悪化を抑制できる通信システムを実現できる。
According to the above characteristic configuration, the equipment side is equipped with a communication environment measurement unit that measures the communication environment between the server device and the equipment device, a communication environment determination unit that determines whether the communication environment is good or bad based on communication environment information indicating the communication environment measured by the communication environment measurement unit, and a request unit that requests the server device to obtain a large-capacity file when the communication environment determination unit determines that the communication environment is good. Therefore, the communication environment determination unit on the equipment side can determine whether the communication environment is good or bad based on the communication environment information indicating the communication environment measured on the equipment side, and when the communication environment is good, the request unit on the equipment side can request the server device to obtain a large-capacity file.
This makes it possible to realize a communications system that can stably receive large files (download communications) including update software, while reducing the number of failed downloads of the large files, thereby preventing deterioration of the communications environment.

また、上記特徴構成によれば、設備機器は、更新用ソフトウェアを含む大容量ファイルの送受信とは別に、通信リクエストの送信、及び当該通信リクエストの受信成功を意味する成功ステータスコードの受信を実行し、更に、設備機器に設けられる通信環境計測部は、通信リクエストの送信回数に対する、当該通信リクエストの受信成功を意味する成功ステータスコードの受信回数の比率としての成功応答比率を通信環境情報として導出し、当該成功応答比率に基づいて通信環境の良否を判定するから、成功応答比率の導出に際し、大容量ファイルを送受信する必要がなく、それによる通信環境の悪化を抑制できる。 Furthermore, according to the above characteristic configuration, the facility equipment, in addition to sending and receiving large files including the update software, sends communication requests and receives success status codes meaning that the communication requests were successfully received, and further, the communication environment measurement unit provided in the facility equipment derives a success response ratio, which is the ratio of the number of times that success status codes meaning that the communication requests were successfully received to the number of times that communication requests were sent, as communication environment information, and judges the quality of the communication environment based on the success response ratio. Therefore, there is no need to send and receive large files when deriving the success response ratio, and the resulting deterioration of the communication environment can be suppressed.

通信システムの更なる特徴構成は、
前記サーバ装置に設けられ、前記通信環境判定部が前記通信環境が良好と判定した場合に、前記通信環境判定部にて算出された前記成功応答比率が低いほど、前記第1通信部から前記第2通信部へ前記大容量ファイルを送信する際の通信開始から前記大容量ファイルの受信完了までの許容時間であるセッションタイムアウト時間を長く設定するセッションタイムアウト設定部を備える点にある。
A further characteristic configuration of the communication system is
The server device is provided with a session timeout setting unit that, when the communication environment determination unit determines that the communication environment is good, sets a session timeout time, which is the allowable time from the start of communication when transmitting the large-capacity file from the first communication unit to the second communication unit, to a longer time, the lower the successful response ratio calculated by the communication environment determination unit.The session timeout setting unit sets a session timeout time, which is the allowable time from the start of communication to the completion of reception of the large-capacity file, to a longer time when the communication environment determination unit determines that the communication environment is good.

上記特徴構成によれば、通信環境判定部が通信環境が良好と判定した場合に、セッションタイムアウト設定部が、通信環境判定部にて算出された成功応答比率が低いほど、第1通信部から第2通信部へ大容量ファイルを送信する際の送信開始から送信終了までの許容時間であるセッションタイムアウト時間を長く設定するから、セッションタイムアウト時間が不必要に長くなることを抑制しつつ、大容量ファイルの送受信の成功確率の向上を図ることができる。 According to the above characteristic configuration, when the communication environment determination unit determines that the communication environment is good, the session timeout setting unit sets the session timeout time, which is the permissible time from the start of transmission to the end of transmission when transmitting a large-capacity file from the first communication unit to the second communication unit, to a longer value the lower the successful response ratio calculated by the communication environment determination unit. This makes it possible to improve the success rate of transmitting and receiving large-capacity files while preventing the session timeout time from becoming unnecessarily long.

通信システムの更なる特徴構成は、
前記サーバ装置に設けられ、前記要求部から前記サーバ装置へ前記第2通信部を介して前記大容量ファイルの取得の要求があった場合、前記第1通信部から前記第2通信部へ前記大容量ファイルを送信する際の通信開始から前記大容量ファイルの受信完了までの許容時間であるセッションタイムアウト時間を、通常タイムアウト時間の2倍以上4倍以下に設定するセッションタイムアウト設定部を備える点にある。
A further characteristic configuration of the communication system is
The server device is provided with a session timeout setting unit that, when a request for obtaining the large-capacity file is made from the request unit to the server device via the second communication unit, sets a session timeout time, which is the allowable time from the start of communication when transmitting the large-capacity file from the first communication unit to the second communication unit to the completion of reception of the large-capacity file, to a value between two and four times the normal timeout time.

上記特徴構成によれば、比較的大容量の更新用ソフトウェアを含む大容量ファイルの取得時には、大容量ファイルよりも容量の小さい通常容量のファイルの送受信する場合に比べて、セッションタイムアウト時間を増加することで、送受信の失敗が起きやすい大容量ファイルの送受信の成功率を向上させて、送受信の失敗による通信環境の悪化を抑制することができる。 According to the above characteristic configuration, when acquiring a large-capacity file including a relatively large-capacity update software, the session timeout time is increased compared to when transmitting and receiving a normal-capacity file that is smaller in size than the large-capacity file, thereby improving the success rate of transmitting and receiving large-capacity files that are prone to transmission and reception failures and suppressing deterioration of the communication environment due to transmission and reception failures.

通信システムの更なる特徴構成は、
前記設備機器で利用される前記大容量ファイルは、所定のサイズに分割して前記第1通信部から前記第2通信部へ送信される点にある。
A further characteristic configuration of the communication system is
The large-capacity file used in the facility device is divided into files of a predetermined size and then transmitted from the first communication unit to the second communication unit.

このような構成とすれば、住宅設備機器で利用される更新用ソフトウェアについてはサーバから細かく分割して配信されるので、設備機器にて必要に応じて割り込み処理を許容でき、設備機器側での各種処理が滞ることを抑制できる。 With this configuration, update software used by home appliances is divided into small pieces and distributed from the server, allowing the appliances to handle interrupts as necessary and preventing delays in various processes on the appliance side.

実施形態に係る通信システムの概略構成図である。1 is a schematic configuration diagram of a communication system according to an embodiment. 通信環境情報及び通信環境の判定結果である。4 shows communication environment information and a result of determining the communication environment. 別実施形態に係る通信システムの概略構成図である。FIG. 11 is a schematic configuration diagram of a communication system according to another embodiment.

本発明の実施形態に係る通信システム100は、サーバ装置から更新用ソフトウェアを含む比較的容量の大きい大容量データを安定して受信できると共に、通信環境の悪化を抑制できるものに関する。
以下、図1、2を用いて実施形態に係る通信システム100について説明する。
The communication system 100 according to the embodiment of the present invention is capable of stably receiving a relatively large amount of data including software updates from a server device, and is also capable of suppressing deterioration of the communication environment.
A communication system 100 according to an embodiment will be described below with reference to FIGS.

実施形態に係る通信システム100は、図1に示すように、1台のサーバ装置sと、当該サーバ装置sと通信可能な設備機器dとを備えて構成されている。当該実施形態においては、1台のサーバ装置sに対し、複数の設備機器(d及びd’、d’’)が設けられている。
ここで、設備機器dは、一般家庭等に設置される燃料電池、給湯器、コンロ、ファンヒータ、エアコン、蓄電池等の住宅設備のリモコンが相当する。尚、当該設機機器dは、住宅設備自身であっても構わない。
当該設備機器dは、例えば、ルーターやロードバランサ等の中継機器(図示せず)を経由し、インターネット回線等のネットワークNを介してサーバ装置sに接続されており、サーバ装置sから、当該設備機器dのソフトウェアを更新する更新用ソフトウェアをダウンロードしてアップデート可能に構成されている。
1, a communication system 100 according to an embodiment includes one server device s and facility equipment d capable of communicating with the server device s. In the embodiment, a plurality of facility equipment (d, d', d'') is provided for the one server device s.
Here, the facility device d corresponds to a remote control of a home equipment such as a fuel cell, a water heater, a stove, a fan heater, an air conditioner, a storage battery, etc., which are installed in an ordinary home, etc. The facility device d may be the home equipment itself.
The equipment d is connected to a server device s via a network N, such as an Internet line, via a relay device (not shown), such as a router or a load balancer, and is configured to be updatable by downloading update software that updates the software of the equipment d from the server device s.

設備機器dは、通信環境計測部dc3、通信環境情報記憶部dc2、通信環境判定部dc1、要求部dc4、機器側ファイル記憶部dc5を制御装置dcに備えると共に、第2通信部dnを備えて構成されている。サーバ装置sは、サーバ側ファイル記憶部sc1、セッションタイムアウト設定部sc2を制御装置scに備えると共に、第1通信部snを備えて構成されている。これらの各機能部は、ソフトウェアの更新に係る処理を実行するために、CPUを中核部材としてハードウェア又はソフトウェア或いはその両方が協働する形で構築されているが、各機能部が異なるパーツに分かれて構成されていてもよく、1つのパーツが複数の機能部の機能を兼ねていてもよい。 The equipment device d is configured to include a communication environment measurement unit dc3, a communication environment information storage unit dc2, a communication environment determination unit dc1, a request unit dc4, and a device side file storage unit dc5 in the control device dc, as well as a second communication unit dn. The server device s is configured to include a server side file storage unit sc1 and a session timeout setting unit sc2 in the control device sc, as well as a first communication unit sn. Each of these functional units is constructed with a CPU as the core component and with hardware or software or both working together to execute processes related to software updates, but each functional unit may be configured as separate parts, or one part may have the functions of multiple functional units.

サーバ側ファイル記憶部sc1は、設備機器dで利用される更新用ソフトウェアを含む各種ソフトウェアを大容量ファイル(例えば、数MBの容量)の形で記憶する。当該更新用ソフトウェアとしては、通信モジュールの動作シーケンスに関する通信モジュール用ソフトウェア、通信モジュールを含む設備機器d全体の動作を制御する設備機器制御用ソフトウェア等が挙げられる。また、設備機器dとサーバ装置sとが暗号通信を行うために必要なクライアント証明書ファイルやサーバ証明書ファイル等も含まれる。 The server-side file storage unit sc1 stores various software, including update software used by the equipment d, in the form of large-capacity files (e.g., several MB in capacity). Examples of the update software include communication module software related to the operation sequence of the communication module, and equipment control software that controls the operation of the entire equipment d including the communication module. It also includes client certificate files and server certificate files necessary for encrypted communication between the equipment d and the server device s.

第1通信部snは、第2通信部dnと通信を行う。第1通信部snは、上述したインターネット回線等のネットワークNを通じて第2通信部dnと接続される。これにより、第1通信部snは第2通信部dnと通信可能に構成される。
第1通信部snは、設備機器dの要求部dc4から要求があり、且つサーバ側ファイル記憶部sc1に新たな更新用ソフトウェアを含む大容量ファイルが記憶されている場合に、当該大容量ファイルを第2通信部dnへ送信する。
The first communication unit sn communicates with the second communication unit dn. The first communication unit sn is connected to the second communication unit dn through a network N such as the above-mentioned Internet line. This allows the first communication unit sn to communicate with the second communication unit dn.
When a request is received from the request unit dc4 of the equipment device d and a large-capacity file including new update software is stored in the server-side file memory unit sc1, the first communication unit sn transmits the large-capacity file to the second communication unit dn.

さて、近年の多様な家庭用IoT(Internet of Things)技術の普及により、例えば設備機器(d及びd’、d’’)の夫々がスマートフォン等の携帯端末とBluetoothLE(登録商標)等の近距離無線通信手段(図示せず)により通信するようになり、設備機器(図中、d、d'、d''同士)間で電波が互いに干渉し、通信が不安定になり易いという課題があった。
そこで、当該実施形態に係る通信システム100では、以下の構成を備えている。
Now, with the recent spread of various home IoT (Internet of Things) technologies, for example, each of the equipment (d and d', d'') communicates with a mobile terminal such as a smartphone via a short-range wireless communication means (not shown) such as Bluetooth LE (registered trademark), which has posed a problem that radio waves tend to interfere with each other between the equipment (d, d', d'' in the figure), making communication unstable.
Therefore, the communication system 100 according to this embodiment has the following configuration.

設備機器dに設けられる通信環境計測部dc3は、第1通信部snと第2通信部dnの間の通信環境を計測するものであり、第2通信部dnが第1通信部snから大容量ファイルを先に受信した時点から新たに大容量ファイルを受信するまでの時間間隔である第1時間間隔(例えば、数日以上の時間間隔)よりも短い第2時間間隔(5分の時間間隔)毎に、第2通信部dnが第1通信部snへ通信リクエストを送信した回数と、通信リクエストの受信成功を意味する成功ステータスコードを受信した回数とを、通信環境情報として計測する。 The communication environment measurement unit dc3 provided in the equipment d measures the communication environment between the first communication unit sn and the second communication unit dn, and measures, as communication environment information, the number of times that the second communication unit dn sends a communication request to the first communication unit sn and the number of times that it receives a success status code, which means that the communication request has been successfully received, for each second time interval (a 5-minute interval) that is shorter than the first time interval (e.g., a time interval of several days or more) that is the time interval from when the second communication unit dn first receives a large-capacity file from the first communication unit sn to when it receives a new large-capacity file.

通信環境判定部dc1は、通信環境計測部dc3にて計測された通信環境情報に基づいて、通信環境の良否を判定する。
説明を追加すると、当該通信環境判定部dc1は、第2時間間隔よりも長い第3時間間隔(例えば、24時間の時間間隔)において、第2通信部dnが第1通信部snへ通信リクエストを送信した回数に対する、第2通信部dnが第1通信部snから成功ステータスコードを受信した回数の比率として算出した成功応答比率に基づいて、通信環境の良否を判定する。通信環境判定部dc1は、例えば、成功応答比率が0.7(70%)以上(より好ましくは0.8(80%)以上:後述する判定閾値の一例)である場合に、通信環境が良好であると判定するよう構成される。
The communication environment determining section dc1 determines whether the communication environment is good or bad based on the communication environment information measured by the communication environment measuring section dc3.
To further explain, the communication environment determination unit dc1 determines whether the communication environment is good or bad based on a success response ratio calculated as the ratio of the number of times the second communication unit dn receives a success status code from the first communication unit sn to the number of times the second communication unit dn transmits a communication request to the first communication unit sn during a third time interval (e.g., a 24-hour time interval) that is longer than the second time interval. The communication environment determination unit dc1 is configured to determine that the communication environment is good, for example, when the success response ratio is 0.7 (70%) or more (more preferably 0.8 (80%) or more: an example of a determination threshold described later).

設備機器dでは、上述の如く通信環境計測部dc3にて計測された通信リクエストを送信した回数、成功ステータスコードを受信した回数及びそれらから算出した成功応答比率を、通信環境情報記憶部dc2に第3時間間隔毎に記憶する。 In the equipment d, the number of times communication requests were sent, the number of times a success status code was received, and the success response ratio calculated from these, which are measured by the communication environment measuring unit dc3 as described above, are stored in the communication environment information storage unit dc2 at every third time interval.

通信環境判定部dc1が通信環境が良好であると判定すると、要求部dc4が、第2通信部dnからネットワークNを介して第1通信部snへ更新ソフトウェアを含む大容量ファイルを要求する。
要求部dc4からの要求を受けると、第1通信部snは、サーバ側ファイル記憶部sc1に記憶される大容量ファイルを、ネットワークNを介して第2通信部dnへ送信する。
受信した大容量ファイルは機器側ファイル記憶部dc5に記憶されると共に、制御装置dcに更新用ソフトウェアがインストールされる。
When the communication environment determination section dc1 determines that the communication environment is good, the request section dc4 requests a large capacity file including update software from the second communication section dn via the network N to the first communication section sn.
Upon receiving a request from the request unit dc4, the first communication unit sn transmits the large-capacity file stored in the server-side file storage unit sc1 via the network N to the second communication unit dn.
The received large capacity file is stored in the device side file storage unit dc5, and the update software is installed in the control device dc.

さて、上述した大容量ファイルは、所定のサイズの複数のパケットに分割されヘッダと共に送信されるのであるが、当該ヘッダには、パケットの送信順に番号が付されると共に、最終パケットには自身が最終パケットであることを示す情報が記録されている。
サーバ装置sには、通信開始から大容量ファイルの受信完了まで、即ち、第2通信部dnから第1通信部snへ大容量ファイルを要求する際の通信開始から最終パケットを第2通信部dnが受信し第1通信部snが第2通信部dnから受信成功の成功ステータスコードを受信するまでに許容する時間であるセッションタイムアウト時間を設定するセッションタイムアウト設定部sc2を備えられている。
セッションタイムアウト設定部sc2は、大容量ファイルの送信成功率を向上させるべく、要求部dc4からサーバ装置sへ大容量ファイルの取得の要求があった場合、第1通信部snから第2通信部dnへ大容量ファイルを送信する際の送信開始から送信終了までの許容時間であるセッションタイムアウト時間を、大容量ファイルよりも容量の小さい通常容量ファイル(例えば、数十KB以下の容量のファイル)での通常タイムアウト時間の2倍以上4倍以下に設定する。
Now, the large-capacity file described above is divided into multiple packets of a specified size and transmitted with a header. The header includes a number indicating the order in which the packets were transmitted, and the final packet contains information indicating that it is the final packet.
The server device s is provided with a session timeout setting unit sc2 which sets a session timeout time, which is the time allowed from the start of communication to the completion of reception of a large-capacity file, i.e., from the start of communication when a large-capacity file is requested from the second communication unit dn to the first communication unit sn, until the second communication unit dn receives the final packet and the first communication unit sn receives a success status code indicating successful reception from the second communication unit dn.
In order to improve the success rate of transmitting large-capacity files, when a request for obtaining a large-capacity file is made from the request unit dc4 to the server device s, the session timeout setting unit sc2 sets the session timeout time, which is the allowable time from the start of transmission to the end of transmission when transmitting a large-capacity file from the first communication unit sn to the second communication unit dn, to between two and four times the normal timeout time for normal-capacity files (for example, files with a capacity of several tens of KB or less) that are smaller in capacity than large-capacity files.

〔実験結果〕
次に、当該実施形態に係る通信システム100について実験を行った結果を図2に基づいて説明する。
当該実験では、大容量ファイルを先に受信した時点から新たに大容量ファイルを受信するまでの時間間隔である第1時間間隔を24時間(1日)とし、通信状況を確認する時間間隔である第2時間間隔を5分とし、成功応答比率を算出する時間間隔である第3時間間隔を24時間とした。実験環境としては、設備機器dと無線ルータとの距離を変更したり、設備機器dと無線ルータとの間に遮蔽物を設置する等して24時間毎の通信環境を変化させた。尚、大容量ファイルの容量は、0.5MBとした。
[Experimental Results]
Next, the results of an experiment conducted on the communication system 100 according to this embodiment will be described with reference to FIG.
In this experiment, the first time interval, which is the time interval from the time when a large-capacity file was previously received until the time when a new large-capacity file was received, was set to 24 hours (one day), the second time interval, which is the time interval for checking the communication status, was set to 5 minutes, and the third time interval, which is the time interval for calculating the success response ratio, was set to 24 hours. As the experimental environment, the communication environment was changed every 24 hours by changing the distance between the equipment d and the wireless router, installing a shield between the equipment d and the wireless router, etc. The capacity of the large-capacity file was set to 0.5 MB.

図2に示す実験結果では、成功応答比率が0.8(80%)以上である場合、又は成功応答比率が0.7(70%)以上で且つセッションタイムアウト時間が1200秒である場合、大容量ファイルの受信が成功していることがわかる。
当該実験から、成功応答比率の判定閾値を所定閾値以上に設定したり、セッションタイムアウト時間を適切に設定することで、大容量ファイルの受信成功率を向上させることができることがわかる。
The experimental results shown in Figure 2 show that large files are successfully received when the successful response ratio is 0.8 (80%) or higher, or when the successful response ratio is 0.7 (70%) or higher and the session timeout time is 1200 seconds.
The experiment shows that the success rate of receiving large files can be improved by setting the judgment threshold for the successful response ratio to a predetermined threshold or higher and by appropriately setting the session timeout period.

〔別実施形態〕
(1)上記実施形態では、通信環境判定部dc1は、第3時間間隔として24時間(1日)を設定し、直近の第3時間間隔における成功応答確率に基づいて、通信環境を判定する構成例を示した。
ここで、通信環境判定部dc1は、例えば、第3時間間隔として1日より短い時間間隔(例えば、1時間)を設定し、1日のうちで当該第3時間間隔毎の成功応答確率を算出し、例えば、直近の1週間のうちで、1日の成功応答確率が高い時間帯を導き出して、当該時間帯に通信環境が良好であると判定する構成としても構わない。
この場合、要求部dc4は、一日のうちで当該通信環境が良好な時間帯に大容量ファイルを要求することになる。
[Another embodiment]
(1) In the above embodiment, the communication environment determination unit dc1 sets 24 hours (one day) as the third time interval and determines the communication environment based on the successful response probability in the most recent third time interval.
Here, the communication environment determination unit dc1 may be configured to, for example, set a time interval shorter than one day (for example, one hour) as the third time interval, calculate the successful response probability for each third time interval within a day, derive a time period during the most recent week during which the daily successful response probability is high, and determine that the communication environment is good during that time period.
In this case, the request unit dc4 requests a large-capacity file during a time period during the day when the communication environment is good.

(2)セッションタイムアウト設定部sc2は、上記実施形態で説明した設定に加え、通信環境判定部dc1が通信環境が良好と判定した場合に、通信環境判定部dc1にて算出された成功応答比率が低いほど、第1通信部snから第2通信部dnへ大容量ファイルを送信する際の通信開始から通信強制終了までの許容時間であるセッションタイムアウト時間を長く設定するよう構成されていても構わない。
セッションタイムアウト時間が不必要に長期化することを抑制しつつ、大容量ファイルの送受信の成功率を向上できると共に大容量ファイルの送受信の失敗による通信環境の悪化を抑制できる。
(2) In addition to the settings described in the above embodiment, the session timeout setting unit sc2 may be configured to set a longer session timeout time, which is the allowable time from the start of communication to the forced termination of communication when transmitting a large-capacity file from the first communication unit sn to the second communication unit dn, when the communication environment determination unit dc1 determines that the communication environment is good, the lower the successful response ratio calculated by the communication environment determination unit dc1.
It is possible to improve the success rate of sending and receiving large files while preventing the session timeout period from becoming unnecessarily long, and also to prevent the deterioration of the communication environment due to failures in sending and receiving large files.

(3)上記実施形態では、通信リクエストの送信回数、成功ステータスコードの受信回数及び成功応答比率を記憶する通信環境情報記憶部dc2は、設備機器d側に設ける構成例を示した。
当該通信環境情報記憶部dc2は、図3に示すように、サーバ装置s側に通信環境情報記憶部sc3として設ける構成としても構わない。
当該構成の場合、通信環境判定部dc1は、通信環境を判定する場合、通信環境情報としての通信リクエストの送信回数、成功ステータスコードの受信回数及び成功応答比率を、サーバ装置s側の通信環境情報記憶部sc3から受信することになる。
(3) In the above embodiment, the communication environment information storage unit dc2 that stores the number of times a communication request is transmitted, the number of times a successful status code is received, and the successful response ratio is provided on the facility device d side.
The communication environment information storage unit dc2 may be provided as a communication environment information storage unit sc3 on the server device s side as shown in FIG.
In this configuration, when the communication environment determination unit dc1 determines the communication environment, it receives the number of communication requests sent, the number of times successful status codes were received, and the successful response ratio as communication environment information from the communication environment information memory unit sc3 on the server device s side.

(4)通信環境判定部dc1は、成功応答比率ではなく成功応答数にて通信環境の良否を判定しても構わない。 (4) The communication environment determination unit dc1 may determine the quality of the communication environment based on the number of successful responses rather than the successful response ratio.

尚、上記実施形態(別実施形態を含む、以下同じ)で開示される構成は、矛盾が生じない限り、他の実施形態で開示される構成と組み合わせて適用することが可能であり、また、本明細書において開示された実施形態は例示であって、本発明の実施形態はこれに限定されず、本発明の目的を逸脱しない範囲内で適宜改変することが可能である。 The configurations disclosed in the above embodiment (including other embodiments, the same applies below) can be applied in combination with configurations disclosed in other embodiments, provided no contradictions arise. Furthermore, the embodiments disclosed in this specification are merely examples, and the present invention is not limited to these embodiments. Appropriate modifications can be made without departing from the scope of the present invention.

本発明の通信システムは、サーバから更新用ソフトウェアを含む比較的容量の大きい大容量データを安定して受信できると共に、通信環境の悪化を抑制できる通信システムとして、有効に利用可能である。 The communication system of the present invention can be effectively used as a communication system that can stably receive relatively large volumes of data, including update software, from a server and prevent the communication environment from deteriorating.

100 :通信システム
N :ネットワーク
d :設備機器
dc1 :通信環境判定部
dc2 :通信環境情報記憶部
dc3 :通信環境計測部
dc4 :要求部
dn :第2通信部
s :サーバ装置
sc1 :サーバ側ファイル記憶部
sc2 :セッションタイムアウト設定部
sc3 :通信環境情報記憶部
sn :第1通信部
100: Communication system N: Network d: Facility device dc1: Communication environment determination unit dc2: Communication environment information storage unit dc3: Communication environment measurement unit dc4: Request unit dn: Second communication unit s: Server device sc1: Server side file storage unit sc2: Session timeout setting unit sc3: Communication environment information storage unit sn: First communication unit

Claims (4)

サーバ装置と、当該サーバ装置とネットワークを介して通信可能な設備機器とを備え、
前記設備機器が、前記サーバ装置から前記設備機器のソフトウェアを更新する更新用ソフトウェアを含む大容量ファイルを受信するように構成された通信システムであって、
前記設備機器に設けられ、前記サーバ装置に設けられる第1通信部との間で通信可能な第2通信部と、
前記サーバ装置に設けられ、前記大容量ファイルを記憶するサーバ側ファイル記憶部と、
前記設備機器に設けられ、前記第1通信部と前記第2通信部との間の通信環境を計測する通信環境計測部と、
前記設備機器に設けられ、前記通信環境計測部にて計測される前記通信環境を示す通信環境情報に基づいて、前記通信環境の良否を判定する通信環境判定部と、
前記設備機器に設けられ、前記通信環境判定部が前記通信環境が良好であると判定した場合に、前記サーバ装置に前記大容量ファイルの取得を前記第2通信部を介して要求する要求部と、を備え
前記通信環境計測部は、前記第2通信部が前記第1通信部から前記大容量ファイルを先に受信した時点から新たに前記大容量ファイルを受信する時点までの時間間隔である第1時間間隔よりも短い第2時間間隔毎に、前記第2通信部が前記第1通信部へ通信リクエストを送信した回数と、前記通信リクエストの受信成功を意味する成功ステータスコードを前記第2通信部が前記第1通信部から受信した回数とを、前記通信環境情報として計測し、
前記通信環境判定部は、前記第2時間間隔よりも長い第3時間間隔において、前記第2通信部が前記第1通信部へ前記通信リクエストを送信した回数に対する、前記第2通信部が前記第1通信部から前記成功ステータスコードを受信した回数の比率として算出した前記通信環境情報としての成功応答比率に基づいて、前記通信環境の良否を判定する通信システム。
A server device and equipment capable of communicating with the server device via a network,
A communication system configured such that the facility equipment receives a large-capacity file including update software for updating software of the facility equipment from the server device,
A second communication unit provided in the facility device and capable of communicating with a first communication unit provided in the server device;
a server-side file storage unit provided in the server device for storing the large-capacity file;
a communication environment measuring unit provided in the facility device and configured to measure a communication environment between the first communication unit and the second communication unit;
a communication environment determination unit that is provided in the facility device and determines whether the communication environment is good or bad based on communication environment information indicating the communication environment measured by the communication environment measurement unit;
a request unit that is provided in the facility device and that requests the server device to acquire the large capacity file via the second communication unit when the communication environment determination unit determines that the communication environment is good ;
the communication environment measuring unit measures, as the communication environment information, the number of times that the second communication unit transmits a communication request to the first communication unit and the number of times that the second communication unit receives a success status code, which means that the communication request has been successfully received, from the first communication unit, at each second time interval that is shorter than a first time interval that is a time interval from a time when the second communication unit first receives the large capacity file from the first communication unit to a time when the second communication unit newly receives the large capacity file;
The communication environment determination unit determines whether the communication environment is good or bad based on a success response ratio as the communication environment information calculated as the ratio of the number of times the second communication unit receives the success status code from the first communication unit to the number of times the second communication unit sends the communication request to the first communication unit during a third time interval that is longer than the second time interval .
前記サーバ装置に設けられ、前記通信環境判定部が前記通信環境が良好と判定した場合に、前記通信環境判定部にて算出された前記成功応答比率が低いほど、前記第1通信部から前記第2通信部へ前記大容量ファイルを送信する際の通信開始から前記大容量ファイルの受信完了までの許容時間であるセッションタイムアウト時間を長く設定するセッションタイムアウト設定部を備える請求項に記載の通信システム。 The communication system of claim 1, further comprising a session timeout setting unit provided in the server device, which, when the communication environment determination unit determines that the communication environment is good, sets a session timeout time, which is the allowable time from the start of communication when transmitting the large-capacity file from the first communication unit to the second communication unit, to a longer time, the lower the successful response ratio calculated by the communication environment determination unit. 前記サーバ装置に設けられ、前記要求部から前記サーバ装置へ前記第2通信部を介して前記大容量ファイルの取得の要求があった場合、前記第1通信部から前記第2通信部へ前記大容量ファイルを送信する際の通信開始から前記大容量ファイルの受信完了までの許容時間であるセッションタイムアウト時間を、通常タイムアウト時間の2倍以上4倍以下に設定するセッションタイムアウト設定部を備える請求項1又は2に記載の通信システム。 The communication system according to claim 1 or 2, further comprising a session timeout setting unit provided in the server device, which, when a request for obtaining the large-capacity file is made from the request unit to the server device via the second communication unit, sets a session timeout time, which is the allowable time from the start of communication when transmitting the large-capacity file from the first communication unit to the second communication unit to the completion of reception of the large-capacity file, to a value between two and four times the normal timeout time. 前記設備機器で利用される前記大容量ファイルは、所定のサイズに分割して前記第1通信部から前記第2通信部へ送信される請求項1~の何れか一項に記載の通信システム。 The communication system according to any one of claims 1 to 3 , wherein the large-capacity file used in the facility device is divided into files of a predetermined size and transmitted from the first communication unit to the second communication unit.
JP2021142269A 2021-09-01 2021-09-01 Communication Systems Active JP7686504B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021142269A JP7686504B2 (en) 2021-09-01 2021-09-01 Communication Systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021142269A JP7686504B2 (en) 2021-09-01 2021-09-01 Communication Systems

Publications (2)

Publication Number Publication Date
JP2023035427A JP2023035427A (en) 2023-03-13
JP7686504B2 true JP7686504B2 (en) 2025-06-02

Family

ID=85504223

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021142269A Active JP7686504B2 (en) 2021-09-01 2021-09-01 Communication Systems

Country Status (1)

Country Link
JP (1) JP7686504B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000261496A (en) 1999-03-04 2000-09-22 Toshiba Corp Wireless communication device
JP2013141063A (en) 2011-12-28 2013-07-18 Panasonic Corp Communication device and communication system
JP2017228103A (en) 2016-06-23 2017-12-28 住友電気工業株式会社 Control device, program distribution method, and computer program
JP2020112335A (en) 2019-01-16 2020-07-27 株式会社富士通ゼネラル Air conditioning system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000261496A (en) 1999-03-04 2000-09-22 Toshiba Corp Wireless communication device
JP2013141063A (en) 2011-12-28 2013-07-18 Panasonic Corp Communication device and communication system
JP2017228103A (en) 2016-06-23 2017-12-28 住友電気工業株式会社 Control device, program distribution method, and computer program
JP2020112335A (en) 2019-01-16 2020-07-27 株式会社富士通ゼネラル Air conditioning system

Also Published As

Publication number Publication date
JP2023035427A (en) 2023-03-13

Similar Documents

Publication Publication Date Title
EP3799397B1 (en) Method for upgrading energy storage system remotely, energy management system, and battery management system
CN112152759B (en) Data transmission method, data transmission system, equipment and storage medium
CN105515915B (en) Node detecting method and device, path selecting method and device and network system
TWI332330B (en) Quality of service differentiation in wireless networks
CN105095022B (en) Data backup method and device
WO2020107905A1 (en) Monitoring and managing methods for device, and terminal device
US11026072B2 (en) System and method for automotive Wi-Fi access and connection
US20090248865A1 (en) Load distribution method, load distribution device, and system including load distribution device
CN109743772B (en) Network access method and LoRaWAN terminal
US20100020705A1 (en) Supervisory control method and supervisory control device
US20140105058A1 (en) Method and System for Measuring Wireless Link Quality
CN109547524B (en) User behavior storage method, device, device and storage medium based on Internet of Things
JPWO2011018850A1 (en) Data transfer device, data transfer method, and data transfer system
CN115150162B (en) Root certificate updating method and device
CN117041981A (en) A wireless sensor network anomaly detection method based on trust value evaluation
CN112566104B (en) Roaming coordination method based on Mesh network, wireless access point and storage medium
CN112925538B (en) Equipment updating method, system and device
JP7686504B2 (en) Communication Systems
CN114466321B (en) Message sending method and device, electronic equipment and storage medium
WO2015047407A1 (en) System and method for validating broadband service recommendation
CN112954714B (en) MESH network control method and device
KR20120117504A (en) Communication system and method for updating software thereof
CN120104161A (en) A method for batch upgrading firmware of intelligent terminals
KR20220053386A (en) Data communication method and apparatus for efficient file transmission
KR102066977B1 (en) IoT SYSTEM USING NB-IoT NETWORK AND ITS TIME SYNCHRONIZATION METHOD

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240513

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250312

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20250423

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250521

R150 Certificate of patent or registration of utility model

Ref document number: 7686504

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150