JPWO2019229917A1 - Management device, air conditioner, information update system, information update method, and information update program - Google Patents

Management device, air conditioner, information update system, information update method, and information update program Download PDF

Info

Publication number
JPWO2019229917A1
JPWO2019229917A1 JP2020522491A JP2020522491A JPWO2019229917A1 JP WO2019229917 A1 JPWO2019229917 A1 JP WO2019229917A1 JP 2020522491 A JP2020522491 A JP 2020522491A JP 2020522491 A JP2020522491 A JP 2020522491A JP WO2019229917 A1 JPWO2019229917 A1 JP WO2019229917A1
Authority
JP
Japan
Prior art keywords
information
management device
received
devices
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2020522491A
Other languages
Japanese (ja)
Other versions
JP6949213B2 (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPWO2019229917A1 publication Critical patent/JPWO2019229917A1/en
Application granted granted Critical
Publication of JP6949213B2 publication Critical patent/JP6949213B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

管理装置(100)は、予め決められた通信速度よりも通信速度が遅いネットワーク(10)を介して機器(200,201)と通信する。管理装置(100)は、機器(200,201)と通信する通信部(130)と、通信部(130)を介して、機器(200,201)に第1の情報を一斉送信し、通信部(130)を介して、複数の機器(200,201)のうち、第1の情報を受信していない機器から、第1の情報を受信していない機器が受信していない第1の情報の少なくとも一部の送信の要求を示す否定応答を受信するデータ処理部(120)と、を有する。The management device (100) communicates with the device (200,201) via a network (10) whose communication speed is slower than a predetermined communication speed. The management device (100) simultaneously transmits the first information to the device (200,201) via the communication unit (130) that communicates with the device (200,201) and the communication unit (130), and the communication unit. Of the plurality of devices (200,201), the first information that is not received by the device that has not received the first information from the device that has not received the first information via (130). It has a data processing unit (120) that receives a negative response indicating at least a part of the transmission request.

Description

本発明は、管理装置、機器、情報更新システム、情報更新方法、及び情報更新プログラムに関する。 The present invention relates to a management device, an apparatus, an information update system, an information update method, and an information update program.

様々な機器がインターネットに接続できるようになってきている。そのため、インターネットに接続している機器は、インターネットを介して、当該機器に格納しているファームウェアを容易に更新できる。一方で、独自仕様のネットワークに接続している機器は、インターネットに接続していないことが多い。ここで、インターネットに接続していない機器に格納されているファームウェアなどの制御情報を更新させる技術が提案されている。例えば、室外ユニットは、空気調和システム内の全室内ユニットに新しい制御情報を送信して、全室内ユニットに格納されている制御情報を新しい制御情報に更新させる(特許文献1を参照)。 Various devices are becoming able to connect to the Internet. Therefore, a device connected to the Internet can easily update the firmware stored in the device via the Internet. On the other hand, devices connected to a proprietary network are often not connected to the Internet. Here, a technique for updating control information such as firmware stored in a device not connected to the Internet has been proposed. For example, the outdoor unit transmits new control information to all the indoor units in the air conditioning system to update the control information stored in the all indoor units with the new control information (see Patent Document 1).

特開2000−46405号公報JP-A-2000-46405

「NACK−Oriented Reliable Multicast(NORM) Transport Protocol」、2009年"NACK-Oriented Reliable Multicast (NORM) Transport Protocol", 2009

上記技術は、室外ユニットが全室内ユニットに制御情報を送信している。しかし、上記技術は、室内ユニットが制御情報を取得したか否かなどの情報を室外ユニットに送信していないため、途中で制御情報が消失しているか否かを室外ユニットが判断できない。 In the above technique, the outdoor unit transmits control information to all the indoor units. However, in the above technique, since information such as whether or not the indoor unit has acquired the control information is not transmitted to the outdoor unit, the outdoor unit cannot determine whether or not the control information is lost in the middle.

本発明の目的は、消失した情報を検出することである。 An object of the present invention is to detect lost information.

本発明の一態様に係る管理装置が提供される。管理装置は、予め決められた通信速度よりも通信速度が遅いネットワークを介して複数の機器と通信する。管理装置は、前記複数の機器と通信する通信部と、前記通信部を介して、前記複数の機器に第1の情報を一斉送信し、前記通信部を介して、前記複数の機器のうち、前記第1の情報を受信していない機器から、前記第1の情報を受信していない前記機器が受信していない前記第1の情報の少なくとも一部の送信の要求を示す否定応答を受信するデータ処理部と、を有する。 A management device according to one aspect of the present invention is provided. The management device communicates with a plurality of devices via a network whose communication speed is slower than a predetermined communication speed. The management device simultaneously transmits the first information to the plurality of devices via the communication unit that communicates with the plurality of devices and the communication unit, and among the plurality of devices, the management device transmits the first information to the plurality of devices all at once. From the device that has not received the first information, a negative response indicating a request for transmission of at least a part of the first information that the device that has not received the first information has not received is received. It has a data processing unit.

本発明によれば、消失した情報を検出することができる。 According to the present invention, lost information can be detected.

情報更新システムを示す図である。It is a figure which shows the information update system. 管理装置が有するハードウェアの構成を示す図である。It is a figure which shows the configuration of the hardware which a management device has. 管理装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of a management device. 機器の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of a device. 確認処理を示すフローチャートである。It is a flowchart which shows the confirmation process. 送信レートの送信処理を示すフローチャートである。It is a flowchart which shows the transmission process of a transmission rate.

以下、図面を参照しながら実施の形態を説明する。以下の実施の形態は、例にすぎず、本発明の範囲内で種々の変更が可能である。 Hereinafter, embodiments will be described with reference to the drawings. The following embodiments are merely examples, and various modifications can be made within the scope of the present invention.

実施の形態.
図1は、情報更新システムを示す図である。情報更新システムは、管理装置100と機器200,201とを含む。また、情報更新システムは、管理装置100と、機器200,201のいずれかを含んでもよい。
管理装置100と機器200,201とは、ネットワーク10を介して接続する。管理装置100は、インターネット20に接続できる。
Embodiment.
FIG. 1 is a diagram showing an information update system. The information update system includes a management device 100 and devices 200, 201. Further, the information update system may include the management device 100 and any of the devices 200 and 201.
The management device 100 and the devices 200 and 201 are connected via the network 10. The management device 100 can be connected to the Internet 20.

ネットワーク10は、予め決められた通信速度よりも通信速度が遅い。例えば、予め決められた通信速度は、100Mbpsである。また、ネットワーク10は、インターネット20よりも通信速度が遅い。
ネットワーク10は、独自仕様のネットワークである。例えば、ネットワーク10は、オフィスビルなどに構築されている独自仕様のネットワークである。また、例えば、管理装置100がインターネット20に接続していない場合、ネットワーク10は、クローズドネットワークと表現してもよい。
The communication speed of the network 10 is slower than the predetermined communication speed. For example, the predetermined communication speed is 100 Mbps. Further, the network 10 has a slower communication speed than the Internet 20.
The network 10 is a proprietary network. For example, the network 10 is a unique network constructed in an office building or the like. Further, for example, when the management device 100 is not connected to the Internet 20, the network 10 may be expressed as a closed network.

また、ネットワーク10では、1回に送信可能なデータ量が少なく、通信速度が遅い。しかし、ネットワーク10は、データの消失率がかなり低いという特徴がある。一方、インターネット20では、1回に送信可能なデータ量が多く、通信速度が速い。しかし、インターネット20は、データの消失率がある程度高いという特徴がある。このように、ネットワーク10とインターネット20は、特徴が異なる。 Further, in the network 10, the amount of data that can be transmitted at one time is small, and the communication speed is slow. However, the network 10 is characterized in that the data loss rate is considerably low. On the other hand, on the Internet 20, the amount of data that can be transmitted at one time is large and the communication speed is high. However, the Internet 20 is characterized in that the data loss rate is high to some extent. As described above, the network 10 and the Internet 20 have different characteristics.

管理装置100は、管理者が使用する装置である。例えば、管理装置100は、PC(Personal Computer)である。また、管理装置100は、機器200,201が格納しているファームウェアを新しいファームウェアに更新させることができる。
機器200,201は、電気機器とも言う。機器200,201は、例えば、空調機である。図1は、機器が2台の場合を例示している。しかし、機器の数は、2台に限らない。管理装置100と、機器200又は機器201とは、情報更新方法を実行する。
The management device 100 is a device used by the administrator. For example, the management device 100 is a PC (Personal Computer). Further, the management device 100 can update the firmware stored in the devices 200 and 201 with new firmware.
The devices 200 and 201 are also referred to as electrical devices. The devices 200 and 201 are, for example, air conditioners. FIG. 1 illustrates a case where there are two devices. However, the number of devices is not limited to two. The management device 100 and the device 200 or the device 201 execute the information update method.

次に、管理装置100の主なハードウェアの構成について説明する。
図2は、管理装置が有するハードウェアの構成を示す図である。管理装置100は、プロセッサ101、揮発性記憶装置102、及び不揮発性記憶装置103を有する。
Next, the configuration of the main hardware of the management device 100 will be described.
FIG. 2 is a diagram showing a hardware configuration of the management device. The management device 100 includes a processor 101, a volatile storage device 102, and a non-volatile storage device 103.

プロセッサ101は、管理装置100全体を制御する。例えば、プロセッサ101は、CPU(Central Processing Unit)、又はFPGA(Field Programmable Gate Array)などである。プロセッサ101は、マルチプロセッサでもよい。管理装置100は、処理回路によって実現されてもよく、又は、ソフトウェア、ファームウェア若しくはそれらの組み合わせによって実現されてもよい。なお、処理回路は、単一回路又は複合回路でもよい。 The processor 101 controls the entire management device 100. For example, the processor 101 is a CPU (Central Processing Unit), an FPGA (Field Programmable Gate Array), or the like. The processor 101 may be a multiprocessor. The management device 100 may be realized by a processing circuit, or may be realized by software, firmware, or a combination thereof. The processing circuit may be a single circuit or a composite circuit.

揮発性記憶装置102は、管理装置100の主記憶装置である。例えば、揮発性記憶装置102は、RAM(Random Access Memory)である。不揮発性記憶装置103は、管理装置100の補助記憶装置である。例えば、不揮発性記憶装置103は、SSD(Solid State Drive)である。 The volatile storage device 102 is the main storage device of the management device 100. For example, the volatile storage device 102 is a RAM (Random Access Memory). The non-volatile storage device 103 is an auxiliary storage device of the management device 100. For example, the non-volatile storage device 103 is an SSD (Solid State Drive).

機器200,201は、管理装置100と同様に、プロセッサ、揮発性記憶装置、及び不揮発性記憶装置を有する。 The devices 200 and 201 have a processor, a volatile storage device, and a non-volatile storage device, similarly to the management device 100.

図3は、管理装置の構成を示す機能ブロック図である。管理装置100は、記憶部110、データ処理部120、及び通信部130を有する。なお、通信部130は、第1の通信部とも言う。
記憶部110は、揮発性記憶装置102又は不揮発性記憶装置103に確保した記憶領域として実現してもよい。
FIG. 3 is a functional block diagram showing the configuration of the management device. The management device 100 has a storage unit 110, a data processing unit 120, and a communication unit 130. The communication unit 130 is also referred to as a first communication unit.
The storage unit 110 may be realized as a storage area reserved in the volatile storage device 102 or the non-volatile storage device 103.

データ処理部120及び通信部130の一部又は全部は、プロセッサ101によって実現してもよい。データ処理部120及び通信部130の一部又は全部は、プロセッサ101が実行するプログラムのモジュールとして実現してもよい。例えば、当該プログラムは、情報更新プログラムとも言う。
記憶部110は、機器200,201が格納しているファームウェアよりも新しいファームウェアを記憶する。ファームウェアは、制御情報とも言う。制御情報は、機器を制御するための情報である。また、ファームウェアは、第1の情報とも言う。
A part or all of the data processing unit 120 and the communication unit 130 may be realized by the processor 101. A part or all of the data processing unit 120 and the communication unit 130 may be realized as a module of a program executed by the processor 101. For example, the program is also called an information update program.
The storage unit 110 stores firmware newer than the firmware stored in the devices 200 and 201. Firmware is also called control information. The control information is information for controlling the device. The firmware is also referred to as the first information.

データ処理部120は、通信部130を介して、機器200,201に第1の情報を一斉送信する。例えば、データ処理部120は、マルチキャスト又はブロードキャストを用いて、機器200,201に第1の情報を一斉送信する。データ処理部120は、通信部130を介して、機器200,201のうち、第1の情報を受信していない機器から、第1の情報を受信していない機器が受信していない第1の情報の少なくとも一部の送信の要求を示す否定応答を受信する。否定応答は、NACKとも言う。 The data processing unit 120 broadcasts the first information to the devices 200 and 201 via the communication unit 130. For example, the data processing unit 120 broadcasts the first information to the devices 200 and 201 by using multicast or broadcast. The data processing unit 120 is the first device 200, 201 that has not received the first information from the device that has not received the first information, via the communication unit 130. Receive a negative response indicating a request to send at least some of the information. A negative response is also called NACK.

データ処理部120の機能を詳細に説明する。データ処理部120は、記憶部110に格納されているファームウェアを分割して、複数のデータブロックを生成する。また、複数のデータブロックのそれぞれには、シーケンス番号が付加されている。データ処理部120は、複数のデータブロックのそれぞれを機器200,201に一斉送信する。すなわち、データ処理部120は、データブロック毎に、データブロックを機器200,201に一斉送信する。例えば、データ処理部120は、シーケンス番号“1”のデータブロックを機器200,201に一斉送信する。 The function of the data processing unit 120 will be described in detail. The data processing unit 120 divides the firmware stored in the storage unit 110 to generate a plurality of data blocks. A sequence number is added to each of the plurality of data blocks. The data processing unit 120 simultaneously transmits each of the plurality of data blocks to the devices 200 and 201. That is, the data processing unit 120 simultaneously transmits the data blocks to the devices 200 and 201 for each data block. For example, the data processing unit 120 simultaneously transmits the data block of the sequence number “1” to the devices 200 and 201.

また、データ処理部120は、圧縮したデータブロックを機器200,201に一斉送信してもよい。これにより、データ処理部120は、転送時間を短縮することができる。
ここで、インターネットのプロトコルでは、シーケンス番号が4バイトであることが多い。しかし、ネットワーク10では、1回に送信可能なデータ量が少ないため、シーケンス番号に何バイトを割り当てるかが問題になる。例えば、シーケンス番号に割り当てるバイト数が大きい場合は、データブロックのデータ長が短くなる。そこで、データ処理部120は、1バイト、2バイト、又は3バイトを、シーケンス番号に割り当てる。
Further, the data processing unit 120 may simultaneously transmit the compressed data block to the devices 200 and 201. As a result, the data processing unit 120 can shorten the transfer time.
Here, in the Internet protocol, the sequence number is often 4 bytes. However, in the network 10, since the amount of data that can be transmitted at one time is small, the problem is how many bytes are allocated to the sequence number. For example, if the number of bytes allocated to the sequence number is large, the data length of the data block becomes short. Therefore, the data processing unit 120 allocates 1 byte, 2 bytes, or 3 bytes to the sequence number.

例えば、1バイトをシーケンス番号に割り当てる場合、シーケンス番号は、0から、1バイトの最大値である255までになる。そして、255の次は、0に戻る。すなわち、データ処理部120は、シーケンス番号をラップアラウンドする。なお、データ処理部120は、1バイトをシーケンス番号に割り当てることで、4バイトをシーケンス番号に割り当てる場合よりも、1回当たり、データを3バイト多く送信することができる。このように、多くのデータを送信できることは、1回に送信可能なデータ量が少ない場合、利点となる。 For example, when 1 byte is assigned to the sequence number, the sequence number ranges from 0 to 255, which is the maximum value of 1 byte. Then, after 255, it returns to 0. That is, the data processing unit 120 wraps around the sequence number. By allocating 1 byte to the sequence number, the data processing unit 120 can transmit 3 bytes more data each time than when 4 bytes are allocated to the sequence number. As described above, being able to transmit a large amount of data is advantageous when the amount of data that can be transmitted at one time is small.

また、例えば、3バイトをシーケンス番号に割り当てる場合、シーケンス番号は、0から、3バイトの最大値である16777215までになる。データ処理部120は、シーケンス番号の最大値が大きいため、シーケンス番号をラップアラウンドしなくてもよい。データ処理部120は、ラップアラウンドしない場合、シーケンス番号“0”を、データブロックの送信開始の意味を持たせることができる。 Further, for example, when 3 bytes are assigned to the sequence number, the sequence number is from 0 to 16777215, which is the maximum value of 3 bytes. Since the maximum value of the sequence number is large, the data processing unit 120 does not have to wrap around the sequence number. When the data processing unit 120 does not wrap around, the sequence number “0” can have the meaning of starting the transmission of the data block.

データ処理部120は、NACKを受信する場合がある。例えば、データ処理部120は、複数のデータブロックの中で受信していないデータブロックを検出した機器から、受信していないデータブロックの送信の要求(すなわち、再送要求)を示すNACKを受信する。
また、データ処理部120は、複数のNACKを受信する場合がある。NACKには、ネットワーク10に接続されている機器が受信できなかったデータブロックのシーケンス番号が含まれている。
The data processing unit 120 may receive NACK. For example, the data processing unit 120 receives a NACK indicating a request for transmission (that is, a retransmission request) of a data block that has not been received from a device that has detected a data block that has not been received among the plurality of data blocks.
In addition, the data processing unit 120 may receive a plurality of NACKs. The NACK contains the sequence number of the data block that the device connected to the network 10 could not receive.

データ処理部120は、NACKが示すシーケンス番号のデータブロックのみを再送してもよい。また、データ処理部120は、複数のNACKを受信した場合、複数のNACKが示すシーケンス番号のうち、一番小さい番号から昇順にデータブロックを再送してもよい。例えば、データ処理部120は、一番小さい番号が“10”の場合、シーケンス番号“10”,“11”,・・・とデータブロックを一斉送信する。 The data processing unit 120 may retransmit only the data block having the sequence number indicated by NACK. Further, when the data processing unit 120 receives a plurality of NACKs, the data processing unit 120 may retransmit the data blocks in ascending order from the smallest number among the sequence numbers indicated by the plurality of NACKs. For example, when the smallest number is "10", the data processing unit 120 simultaneously transmits the sequence numbers "10", "11", ..., And the data block.

また、データ処理部120は、送信データ量を調整する。送信データ量は、管理装置100が複数のデータブロックのうちの1つのデータブロックを含むデータ(すなわち、パケット)を機器200,201に一斉送信する際のデータ量である。すなわち、データ処理部120は、データブロックを送信する際、データ量を調整する。どのように、調整するかについては、後で説明する。 Further, the data processing unit 120 adjusts the amount of transmitted data. The transmission data amount is the amount of data when the management device 100 simultaneously transmits data (that is, a packet) including one data block among the plurality of data blocks to the devices 200 and 201. That is, the data processing unit 120 adjusts the amount of data when transmitting the data block. How to adjust will be explained later.

通信部130は、ネットワーク10を介して、機器200,201と通信する。また、通信部130は、インターネット20に接続できる。 The communication unit 130 communicates with the devices 200 and 201 via the network 10. Further, the communication unit 130 can be connected to the Internet 20.

次に、機器について説明する。機器200と機器201が有する機能ブロックは、同じである。そこで、図4では、機器200について説明する。そして、機器201については、説明を省略する。
また、以下の説明では、機器200を用いて主に説明する。
Next, the device will be described. The functional blocks of the device 200 and the device 201 are the same. Therefore, in FIG. 4, the device 200 will be described. The description of the device 201 will be omitted.
Further, in the following description, the device 200 will be mainly described.

図4は、機器の構成を示す機能ブロック図である。機器200は、記憶部210、制御部220、及び通信部230を有する。制御部220は、確認部221、送信レート算出部222、及び更新部223を有する。なお、通信部230は、第2の通信部とも言う。
記憶部210は、機器200が有する揮発性記憶装置又は不揮発性記憶装置に確保した記憶領域として実現してもよい。
FIG. 4 is a functional block diagram showing the configuration of the device. The device 200 has a storage unit 210, a control unit 220, and a communication unit 230. The control unit 220 includes a confirmation unit 221, a transmission rate calculation unit 222, and an update unit 223. The communication unit 230 is also referred to as a second communication unit.
The storage unit 210 may be realized as a storage area reserved in the volatile storage device or the non-volatile storage device of the device 200.

制御部220、確認部221、送信レート算出部222、更新部223、及び通信部230の一部又は全部は、機器200が有するプロセッサによって実現してもよい。制御部220、確認部221、送信レート算出部222、更新部223、及び通信部230の一部又は全部は、機器200が有するプロセッサが実行するプログラムのモジュールとして実現してもよい。 A part or all of the control unit 220, the confirmation unit 221 and the transmission rate calculation unit 222, the update unit 223, and the communication unit 230 may be realized by the processor included in the device 200. A part or all of the control unit 220, the confirmation unit 221 and the transmission rate calculation unit 222, the update unit 223, and the communication unit 230 may be realized as modules of a program executed by the processor of the device 200.

記憶部210は、ファームウェアを記憶する。
確認部221は、管理装置100が一斉送信した第1の情報を受信したか否かを確認する。確認部221は、第1の情報の少なくとも一部を受信していない場合、通信部230を介して、第1の情報の少なくとも一部の送信の要求を示すNACKを管理装置100に送信する。
The storage unit 210 stores the firmware.
The confirmation unit 221 confirms whether or not the management device 100 has received the first information transmitted all at once. When the confirmation unit 221 has not received at least a part of the first information, the confirmation unit 221 transmits NACK indicating a request for transmission of at least a part of the first information to the management device 100 via the communication unit 230.

確認部221の機能を詳細に説明する。
確認部221は、以下の説明でデータブロックを廃棄する場合を除き、受信したデータブロックを記憶部210に格納する。なお、確認部221は、順番通りにデータブロックを受信しない場合もある。例えば、確認部221は、シーケンス番号“3”のデータブロックの次に、シーケンス番号“2”のデータブロックを受信する。
また、確認部221は、データブロックを受信する度に、受信していないデータブロックがあるか否かを確認する。確認部221は、受信していないデータブロックがある場合、通信部230を介して、NACKを管理装置100に送信する。また、確認部221は、当該NACKを機器201に送信する。
The function of the confirmation unit 221 will be described in detail.
The confirmation unit 221 stores the received data block in the storage unit 210, except when the data block is discarded in the following description. The confirmation unit 221 may not receive the data blocks in order. For example, the confirmation unit 221 receives the data block of the sequence number “2” next to the data block of the sequence number “3”.
Further, the confirmation unit 221 confirms whether or not there is a data block that has not been received each time the data block is received. If there is a data block that has not been received, the confirmation unit 221 transmits NACK to the management device 100 via the communication unit 230. Further, the confirmation unit 221 transmits the NACK to the device 201.

ここで、機器200,201は、ACKを送信しない。例えば、機器200,201がデータブロックを受信する度にACKを送信した場合、ネットワーク10は、輻輳する。また、ネットワーク10では、頻繁に情報の送受信が発生することもないので、データブロックが途中で消失する可能性が低い。そのため、機器200,201は、NACKのみを送信すれば足りる。機器200,201は、NACKのみを送信することで、ネットワーク10における通信負荷を軽減できる。 Here, the devices 200 and 201 do not transmit the ACK. For example, if the devices 200 and 201 transmit an ACK each time they receive a data block, the network 10 is congested. Further, in the network 10, since information is not frequently transmitted and received, it is unlikely that the data block will be lost in the middle. Therefore, the devices 200 and 201 need only transmit NACK. The devices 200 and 201 can reduce the communication load on the network 10 by transmitting only NACK.

ここで、受信していないデータブロックがあるか否かの確認方法について説明する。
確認部221は、以下の説明でデータブロックを廃棄する場合を除き、受信したデータブロックを記憶部210に格納する。確認部221は、データブロックを記憶部210に格納する度に、格納したデータブロックのシーケンス番号を記憶部210に格納する。詳細には、記憶部210に格納するシーケンス番号は、受信が成功している最後のシーケンス番号である。すなわち、最後のシーケンス番号は、記憶部210に格納した時刻が最も遅いデータブロックのシーケンス番号である。
Here, a method for confirming whether or not there is a data block that has not been received will be described.
The confirmation unit 221 stores the received data block in the storage unit 210, except when the data block is discarded in the following description. Each time the confirmation unit 221 stores the data block in the storage unit 210, the confirmation unit 221 stores the sequence number of the stored data block in the storage unit 210. Specifically, the sequence number stored in the storage unit 210 is the last sequence number that has been successfully received. That is, the last sequence number is the sequence number of the data block with the latest time stored in the storage unit 210.

確認部221は、データブロックを受信した場合、当該データブロックのシーケンス番号から記憶部210に格納されているシーケンス番号を符号なし整数として引く。確認部221は、算出した結果と、シーケンス番号の最大値(例えば、1バイトをシーケンス番号に割り当てている場合は、255)との論理積を算出する。算出した結果を前回との差と呼ぶ。確認部221は、前回との差が1より大きく、シーケンス番号の最大値を2で割った値以下の場合、受信していないデータブロックがあると判断する。確認部221は、記憶部210に格納されているシーケンス番号に1を加えたデータブロックが受信していないデータブロックと判断する。確認部221は、当該データブロックの再送要求であるNACKを管理装置100と機器201に送信する。NACKには、受信していないデータブロックのシーケンス番号を示す情報が含まれる。 When the confirmation unit 221 receives the data block, the confirmation unit 221 subtracts the sequence number stored in the storage unit 210 from the sequence number of the data block as an unsigned integer. The confirmation unit 221 calculates the logical product of the calculated result and the maximum value of the sequence number (for example, 255 when 1 byte is assigned to the sequence number). The calculated result is called the difference from the previous time. The confirmation unit 221 determines that there is a data block that has not been received when the difference from the previous time is larger than 1 and is equal to or less than the value obtained by dividing the maximum value of the sequence number by 2. The confirmation unit 221 determines that the data block in which 1 is added to the sequence number stored in the storage unit 210 is not received. The confirmation unit 221 transmits NACK, which is a request for retransmission of the data block, to the management device 100 and the device 201. The NACK contains information indicating the sequence number of the data block that has not been received.

また、確認部221は、前回との差が、シーケンス番号の最大値を2で割った値よりも大きい場合、受信したデータブロックを、記憶部210に格納されているシーケンス番号よりも前のデータブロックとみなす。確認部221は、受信したデータブロックを廃棄する。そして、確認部221は、受信していないデータブロックがないと判断する。確認部221は、NACKを送信しない。 Further, when the difference from the previous time is larger than the value obtained by dividing the maximum value of the sequence number by 2, the confirmation unit 221 stores the received data block as data before the sequence number stored in the storage unit 210. Consider it a block. The confirmation unit 221 discards the received data block. Then, the confirmation unit 221 determines that there is no data block that has not been received. The confirmation unit 221 does not transmit NACK.

例えば、3バイトをシーケンス番号に割り当てており、記憶部210に格納されているシーケンス番号が“1”、確認部221が受信したデータブロックのシーケンス番号が“FFFFFF”(16進数で表記した場合)の場合を説明する。確認部221は、“FFFFFF”から“1”を符号なし整数として引く。確認部221は、算出した結果“FFFFFE”とシーケンス番号の最大値“FFFFFF”との論理積を算出する。算出した結果(すなわち、前回との差)は、“FFFFFE”である。確認部221は、前回との差“FFFFFE”が、シーケンス番号の最大値を2で割った値“7FFFFF”よりも大きいため、受信したデータブロックを、記憶部210に格納されているシーケンス番号“1”よりも前のデータブロックとみなす。そして、確認部221は、受信したデータブロックを廃棄する。 For example, 3 bytes are assigned to the sequence number, the sequence number stored in the storage unit 210 is "1", and the sequence number of the data block received by the confirmation unit 221 is "FFFFFF" (when expressed in hexadecimal). The case of is described. The confirmation unit 221 subtracts "1" from "FFFFFF" as an unsigned integer. The confirmation unit 221 calculates the logical product of the calculated result "FFFFFE" and the maximum value "FFFFFF" of the sequence number. The calculated result (that is, the difference from the previous time) is "FFFFFE". Since the difference "FFFFFE" from the previous time is larger than the value "7FFFFF" obtained by dividing the maximum value of the sequence number by 2, the confirmation unit 221 stores the received data block in the storage unit 210. It is regarded as a data block before 1 ”. Then, the confirmation unit 221 discards the received data block.

また、例えば、3バイトをシーケンス番号に割り当てており、記憶部210に格納されているシーケンス番号が“FFFFFF”、確認部221が受信したデータブロックのシーケンス番号が“2”の場合を説明する。確認部221は、“2”から“FFFFFF”を符号なし整数として引く。確認部221は、算出した結果“FF000003”とシーケンス番号の最大値“FFFFFF”との論理積を算出する。算出した結果(すなわち、前回との差)は、“3”である。確認部221は、前回との差“3”が1より大きく、シーケンス番号の最大値を2で割った値“7FFFFF”以下なので、受信していないデータブロックがあると判断する。確認部221は、シーケンス番号“FFFFFF”に1を加えたデータブロックが受信していないデータブロックと判断する。すなわち、確認部221は、シーケンス番号“0”のデータブロックを受信していないと判断する。確認部221は、シーケンス番号“0”のデータブロックの再送要求(すなわち、NACK)を管理装置100と機器201に送信する。 Further, for example, a case where 3 bytes are assigned to the sequence number, the sequence number stored in the storage unit 210 is “FFFFFF”, and the sequence number of the data block received by the confirmation unit 221 is “2” will be described. The confirmation unit 221 subtracts "FFFFFF" from "2" as an unsigned integer. The confirmation unit 221 calculates the logical product of the calculated result “FF000003” and the maximum value “FFFFFF” of the sequence number. The calculated result (that is, the difference from the previous time) is "3". The confirmation unit 221 determines that there is a data block that has not been received because the difference “3” from the previous time is larger than 1 and is equal to or less than the value “7FFFFF” obtained by dividing the maximum value of the sequence number by 2. The confirmation unit 221 determines that the data block obtained by adding 1 to the sequence number “FFFFFF” is a data block that has not been received. That is, the confirmation unit 221 determines that the data block having the sequence number “0” has not been received. The confirmation unit 221 transmits a retransmission request (that is, NACK) of the data block of the sequence number “0” to the management device 100 and the device 201.

確認部221は、受信していないデータブロックがある場合、通信部230を介して、管理装置100と機器201にNACKを送信する。すなわち、確認部221は、ネットワーク10に接続する全ての装置にNACKを一斉送信する。また、確認部221は、受信していないデータブロックがある場合、通信部230を介して、管理装置100にNACKを送信してもよい。
同様に、機器201も、受信していないデータブロックがある場合、管理装置100と機器200にNACKを一斉送信することがある。
When there is a data block that has not been received, the confirmation unit 221 transmits NACK to the management device 100 and the device 201 via the communication unit 230. That is, the confirmation unit 221 simultaneously transmits NACK to all the devices connected to the network 10. Further, the confirmation unit 221 may transmit NACK to the management device 100 via the communication unit 230 when there is a data block that has not been received.
Similarly, the device 201 may simultaneously transmit NACK to the management device 100 and the device 200 when there is a data block that has not been received.

また、確認部221は、予め決められた待機時間を経過した後、NACKを一斉送信する。なお、機器200と機器201との待機時間は、異なる。また、機器200と機器201とは、待機時間をランダムに変更してもよい。さらに、機器200と機器201とは、受信していないデータブロックのシーケンス番号が小さいほど待機時間を短くし、受信していないデータブロックのシーケンス番号が大きいほど待機時間を長くしてもよい。機器200と機器201は、待機時間が異なることで、同時にNACKを送信することを防ぐことができる。すなわち、機器200と機器201は、同時にNACKを送信しないことで、ネットワーク10が輻輳することを防ぐことができるので、ネットワーク10における通信負荷を軽減できる。 Further, the confirmation unit 221 simultaneously transmits NACK after a predetermined waiting time has elapsed. The standby time between the device 200 and the device 201 is different. Further, the standby time may be randomly changed between the device 200 and the device 201. Further, in the device 200 and the device 201, the smaller the sequence number of the unreceived data block, the shorter the waiting time, and the larger the sequence number of the unreceived data block, the longer the waiting time. Since the device 200 and the device 201 have different standby times, it is possible to prevent the NACK from being transmitted at the same time. That is, since the device 200 and the device 201 do not transmit NACK at the same time, it is possible to prevent the network 10 from being congested, so that the communication load on the network 10 can be reduced.

また、確認部221は、待機時間内に機器201が送信したNACKを受信する場合がある。確認部221は、待機時間が経過した後、以下のNACKを送信するか否かを判定する。確認部221は、機器201が送信したNACKが示すシーケンス番号が、確認部221が送信予定のNACKが示すシーケンス番号よりも小さい場合、送信予定のNACKを送信しない。さらに、確認部221は、機器201が送信したNACKが示すシーケンス番号が、確認部221が送信予定のNACKが示すシーケンス番号と同じ場合、送信予定のNACKを送信しない。すなわち、確認部221は、機器201が送信したNACKが示すシーケンス番号が、確認部221が送信予定のNACKが示すシーケンス番号よりも大きい場合、送信予定のNACKを送信する。このように、機器200は、NACKを送信しない場合を設けることで、ネットワーク10における通信負荷を軽減できる。 Further, the confirmation unit 221 may receive the NACK transmitted by the device 201 within the standby time. After the waiting time has elapsed, the confirmation unit 221 determines whether or not to transmit the following NACK. If the sequence number indicated by the NACK transmitted by the device 201 is smaller than the sequence number indicated by the NACK scheduled to be transmitted by the confirmation unit 221, the confirmation unit 221 does not transmit the NACK scheduled to be transmitted. Further, when the sequence number indicated by the NACK transmitted by the device 201 is the same as the sequence number indicated by the NACK scheduled to be transmitted by the confirmation unit 221, the confirmation unit 221 does not transmit the NACK scheduled to be transmitted. That is, when the sequence number indicated by the NACK transmitted by the device 201 is larger than the sequence number indicated by the NACK scheduled to be transmitted by the confirmation unit 221, the confirmation unit 221 transmits the NACK to be transmitted. In this way, the device 200 can reduce the communication load on the network 10 by providing a case where the NACK is not transmitted.

次に、送信レート算出部222について説明する。
まず、管理装置100は、NACKを受信しなければ、機器200,201の状態を気にせず、データブロックを送信し続ける。そして、機器200,201は、データブロックを受信し続けるため、負荷が高くなる。そのため、機器200,201は、負荷が高くなることで、データブロックを受信できない場合が発生する。また、機器200,201の負荷が高くなることは、機器200,201の通常の動作に悪影響を及ぼす。そこで、情報更新システムでは、管理装置100の送信データ量(以下、送信レート)を調整する。送信レートは、予め決められた時間当たりに管理装置100が送信するデータのデータ量であると表現してもよい。例えば、予め決められた時間は、1秒である。なお、例えば、送信レートを調整する技術は、フロー制御とも言う。
Next, the transmission rate calculation unit 222 will be described.
First, if the management device 100 does not receive the NACK, it continues to transmit the data block without worrying about the states of the devices 200 and 201. Then, since the devices 200 and 201 continue to receive the data block, the load becomes high. Therefore, the devices 200 and 201 may not be able to receive the data block due to the high load. Further, the increased load on the devices 200 and 201 adversely affects the normal operation of the devices 200 and 201. Therefore, in the information update system, the amount of transmission data (hereinafter, transmission rate) of the management device 100 is adjusted. The transmission rate may be expressed as the amount of data transmitted by the management device 100 per predetermined time. For example, the predetermined time is 1 second. For example, the technique of adjusting the transmission rate is also called flow control.

例えば、非特許文献1には、送信レートについて説明がある。
機器200,201のそれぞれには、予め上限の送信レートが設定されている。管理装置100は、機器200,201のそれぞれに設定されている送信レートのうち、最小値の送信レートでデータブロックを送信する。当該送信レートは、後述するように、変化する。
For example, Non-Patent Document 1 describes a transmission rate.
An upper limit transmission rate is set in advance for each of the devices 200 and 201. The management device 100 transmits the data block at the minimum transmission rate among the transmission rates set in the devices 200 and 201, respectively. The transmission rate varies, as will be described later.

送信レート算出部222は、管理装置100から送信レートの算出送信要求(以下、算出送信要求)を受信することで、送信レートを算出する。ここで、算出送信要求について説明する。算出送信要求は、管理装置100が機器200,201に定期的に送信するものである。管理装置100は、算出送信要求を機器200,201に一斉送信してもよい。また、管理装置100は、機器を指定して算出送信要求を送信してもよい。なお、算出送信要求には、管理装置100が送信済みのデータブロックの数を示す情報が含まれる。また、算出送信要求には、現在の送信レートが含まれてもよい。 The transmission rate calculation unit 222 calculates the transmission rate by receiving the calculation transmission request for the transmission rate (hereinafter referred to as the calculation transmission request) from the management device 100. Here, the calculation transmission request will be described. The calculation transmission request is periodically transmitted by the management device 100 to the devices 200 and 201. The management device 100 may simultaneously transmit the calculation transmission request to the devices 200 and 201. Further, the management device 100 may specify a device and transmit a calculation transmission request. The calculated transmission request includes information indicating the number of data blocks transmitted by the management device 100. In addition, the calculated transmission request may include the current transmission rate.

送信レートの算出について、説明する。送信レート算出部222は、機器200の現在の状態に基づいて、管理装置100に要求する送信レートを算出する。例えば、送信レート算出部222は、現在の送信レート、現在の受信レートの実測値、又は現在のデータブロックの消失率を用いて、送信レートを算出する。なお、現在のデータブロックの消失率は、管理装置100が送信済みのデータブロックの数と記憶部210に格納しているデータブロックの数とから算出できる。このように、送信レート算出部222は、機器200がデータブロックを受信できる現在の状態に基づいて、送信レートを算出する。 The calculation of the transmission rate will be described. The transmission rate calculation unit 222 calculates the transmission rate required for the management device 100 based on the current state of the device 200. For example, the transmission rate calculation unit 222 calculates the transmission rate using the current transmission rate, the measured value of the current reception rate, or the disappearance rate of the current data block. The current data block loss rate can be calculated from the number of data blocks transmitted by the management device 100 and the number of data blocks stored in the storage unit 210. In this way, the transmission rate calculation unit 222 calculates the transmission rate based on the current state in which the device 200 can receive the data block.

送信レート算出部222は、現在のデータブロックの消失率と機器200の負荷状態とに基づいて、送信レートを算出してもよい。なお、例えば、負荷状態とは、機器200が有するプロセッサの使用率、マイコンの使用率、又はデータブロックを格納するバッファの使用率である。例えば、送信レートが同一で、機器200の負荷が高いときと低いときとを比べたとき、消失率が異なる場合がある。送信レート算出部222は、消失率が高い場合、送信レートを下げる。 The transmission rate calculation unit 222 may calculate the transmission rate based on the current data block loss rate and the load state of the device 200. For example, the load state is the usage rate of the processor, the usage rate of the microcomputer, or the usage rate of the buffer for storing the data block of the device 200. For example, when the transmission rate is the same and the load of the device 200 is high and low, the disappearance rate may be different. When the disappearance rate is high, the transmission rate calculation unit 222 lowers the transmission rate.

また、送信レート算出部222は、現在のデータブロックの消失率とネットワーク10の使用率とに基づいて、新たに送信レートを算出してもよい。
送信レート算出部222は、算出した送信レートを管理装置100と機器201に送信する。すなわち、送信レート算出部222は、ネットワーク10に接続する全ての装置に送信レートを一斉送信する。また、送信レート算出部222は、算出した送信レートを管理装置100に送信してもよい。
同様に、機器201も、算出した送信レートを管理装置100と機器200に送信する。
Further, the transmission rate calculation unit 222 may newly calculate the transmission rate based on the current data block loss rate and the network 10 usage rate.
The transmission rate calculation unit 222 transmits the calculated transmission rate to the management device 100 and the device 201. That is, the transmission rate calculation unit 222 simultaneously transmits the transmission rate to all the devices connected to the network 10. Further, the transmission rate calculation unit 222 may transmit the calculated transmission rate to the management device 100.
Similarly, the device 201 also transmits the calculated transmission rate to the management device 100 and the device 200.

また、送信レート算出部222は、待機時間が経過した後、送信レートを一斉送信する。なお、機器200と機器201との待機時間は、異なる。また、機器200と機器201とは、待機時間をランダムに変更してもよい。さらに、機器200と機器201とは、送信レートが大きいほど待機時間を長くし、送信レートが小さいほど待機時間を短くしてもよい。また、機器200と機器201とは、送信レートが第1の閾値よりも大きい場合、待機時間を第2の閾値よりも長くしてもよい。機器200と機器201とは、送信レートが第1の閾値以下の場合、待機時間を第2の閾値以下にしてもよい。機器200と機器201は、待機時間が異なることで、同時に送信レートを送信することを防ぐことができる。すなわち、機器200と機器201は、同時に送信レートを送信しないことで、ネットワーク10が輻輳することを防ぐことができるので、ネットワーク10における通信負荷を軽減できる。 Further, the transmission rate calculation unit 222 transmits the transmission rate all at once after the waiting time has elapsed. The standby time between the device 200 and the device 201 is different. Further, the standby time may be randomly changed between the device 200 and the device 201. Further, in the device 200 and the device 201, the higher the transmission rate, the longer the standby time, and the smaller the transmission rate, the shorter the standby time. Further, when the transmission rate of the device 200 and the device 201 is larger than the first threshold value, the standby time may be longer than the second threshold value. When the transmission rate of the device 200 and the device 201 is equal to or less than the first threshold value, the standby time may be set to be equal to or less than the second threshold value. Since the device 200 and the device 201 have different standby times, it is possible to prevent the device 200 and the device 201 from transmitting transmission rates at the same time. That is, since the device 200 and the device 201 do not transmit the transmission rate at the same time, it is possible to prevent the network 10 from being congested, so that the communication load on the network 10 can be reduced.

また、送信レート算出部222は、待機時間内に、機器201が送信した送信レートを受信する場合がある。送信レート算出部222は、待機時間が経過した後、機器201が送信した送信レートが、送信レート算出部222が送信予定の送信レートよりも小さい場合、送信予定の送信レートを送信しない。さらに、送信レート算出部222は、待機時間が経過した後、機器201が送信した送信レートが、送信レート算出部222が送信予定の送信レートと同じ場合、送信予定の送信レートを送信しない。すなわち、送信レート算出部222は、待機時間が経過した後、機器201が送信した送信レートが、送信レート算出部222が送信予定の送信レートよりも大きい場合、送信予定の送信レートを送信する。このように、機器200は、送信レートを送信しない場合を設けることで、ネットワーク10における通信負荷を軽減できる。 Further, the transmission rate calculation unit 222 may receive the transmission rate transmitted by the device 201 within the standby time. After the waiting time has elapsed, the transmission rate calculation unit 222 does not transmit the transmission rate scheduled to be transmitted when the transmission rate transmitted by the device 201 is smaller than the transmission rate scheduled to be transmitted by the transmission rate calculation unit 222. Further, the transmission rate calculation unit 222 does not transmit the transmission rate scheduled to be transmitted when the transmission rate transmitted by the device 201 is the same as the transmission rate scheduled to be transmitted by the transmission rate calculation unit 222 after the waiting time has elapsed. That is, when the transmission rate transmitted by the device 201 is larger than the transmission rate scheduled to be transmitted by the transmission rate calculation unit 222 after the waiting time has elapsed, the transmission rate calculation unit 222 transmits the transmission rate scheduled to be transmitted. In this way, the device 200 can reduce the communication load on the network 10 by providing a case where the transmission rate is not transmitted.

管理装置100は、算出送信要求を送信することで、送信レートを受信することができる。そして、管理装置100は、受信した送信レートのうち、最も小さい送信レートを、次の送信レートに採用する。 The management device 100 can receive the transmission rate by transmitting the calculation transmission request. Then, the management device 100 adopts the smallest transmission rate among the received transmission rates as the next transmission rate.

ここで、管理装置100のデータ処理部120は、送信レートを調整してもよい。例えば、データ処理部120は、ネットワーク10を監視し、ネットワーク10の使用率が閾値を超えないように送信レートを調整してもよい。具体的には、データ処理部120は、機器200,201の正常動作に必要な通信量と、算出送信要求に対する応答で受信した送信レートとの和が、ネットワーク10の最大帯域より十分下回るように、送信レートを調整する。そして、データ処理部120は、調整した送信レートを、次の送信レートに採用する。これにより、データ処理部120は、データブロック(すなわち、ファームウェア)の送信処理が機器200,201の通常動作に与える影響を減少できる。 Here, the data processing unit 120 of the management device 100 may adjust the transmission rate. For example, the data processing unit 120 may monitor the network 10 and adjust the transmission rate so that the usage rate of the network 10 does not exceed the threshold value. Specifically, the data processing unit 120 makes sure that the sum of the amount of communication required for normal operation of the devices 200 and 201 and the transmission rate received in response to the calculated transmission request is sufficiently lower than the maximum band of the network 10. , Adjust the transmission rate. Then, the data processing unit 120 adopts the adjusted transmission rate as the next transmission rate. As a result, the data processing unit 120 can reduce the influence of the transmission processing of the data block (that is, the firmware) on the normal operation of the devices 200 and 201.

更新部223は、全てのデータブロックを受信した場合(すなわち、新しいファームウェアを受信できた場合)、記憶部210に格納されているファームウェアを新しいファームウェアに更新する。また、更新部223は、管理装置100から送信完了通知を受信する。更新部223は、送信完了通知に対する応答を管理装置100に送信する。これにより、管理装置100は、機器200が新しいファームウェアを格納したことを検出できる。なお、管理装置100は、送信完了通知を機器200,201に一斉送信してもよい。また、管理装置100は、機器を指定して送信完了通知を送信してもよい。 When the update unit 223 receives all the data blocks (that is, when the new firmware can be received), the update unit 223 updates the firmware stored in the storage unit 210 with the new firmware. In addition, the update unit 223 receives a transmission completion notification from the management device 100. The update unit 223 transmits a response to the transmission completion notification to the management device 100. As a result, the management device 100 can detect that the device 200 has stored the new firmware. The management device 100 may simultaneously transmit the transmission completion notification to the devices 200 and 201. Further, the management device 100 may specify a device and transmit a transmission completion notification.

また、更新部223は、データブロックが圧縮されている場合、正常に展開できるか否かを確認する。さらに、更新部223は、全てのデータブロックを受信した場合、全てのデータブロックを用いてハッシュ値を算出してもよい。そして、更新部223は、管理装置100から送信完了通知を受信する。送信完了通知には、ハッシュ値が含まれている。更新部223は、算出したハッシュ値と送信完了通知に含まれているハッシュ値とが一致するか否かを判定する。更新部223は、判定結果を管理装置100に送信する。更新部223は、算出したハッシュ値と送信完了通知に含まれているハッシュ値とが一致していないときだけ、判定結果を管理装置100に送信してもよい。当該判定結果は、NACKとして送信される。また、管理装置100は、複数回、送信完了通知を一斉送信し、NACKを受信しないことを確認する。これにより、管理装置100は、機器200,201が新しいファームウェアを格納したことを検出できる。 Further, the update unit 223 confirms whether or not the data block can be expanded normally when the data block is compressed. Further, when the update unit 223 receives all the data blocks, the update unit 223 may calculate the hash value using all the data blocks. Then, the update unit 223 receives the transmission completion notification from the management device 100. The transmission completion notification includes a hash value. The update unit 223 determines whether or not the calculated hash value and the hash value included in the transmission completion notification match. The update unit 223 transmits the determination result to the management device 100. The update unit 223 may transmit the determination result to the management device 100 only when the calculated hash value and the hash value included in the transmission completion notification do not match. The determination result is transmitted as NACK. Further, the management device 100 simultaneously transmits the transmission completion notification a plurality of times, and confirms that the NACK is not received. As a result, the management device 100 can detect that the devices 200 and 201 have stored the new firmware.

管理装置100は、機器200,201が新しいファームウェアを格納したことを検出した場合、再起動指示を機器200,201に一斉送信する。また、管理装置100は、機器を指定して再起動指示を送信してもよい。 When the management device 100 detects that the devices 200 and 201 have stored new firmware, the management device 100 broadcasts a restart instruction to the devices 200 and 201. Further, the management device 100 may specify a device and send a restart instruction.

また、管理装置100は、機器200,201が新しいファームウェアを格納したことを検出した場合、機器200,201の再起動を管理者に促してもよい。例えば、管理装置100は、管理装置100のディスプレイに、機器200,201の再起動を示す情報を表示し、機器200,201の再起動を管理者に促す。
通信部230は、ネットワーク10を介して、管理装置100と機器201と通信する。
Further, when the management device 100 detects that the devices 200 and 201 have stored new firmware, the management device 100 may prompt the administrator to restart the devices 200 and 201. For example, the management device 100 displays information indicating the restart of the devices 200 and 201 on the display of the management device 100, and prompts the administrator to restart the devices 200 and 201.
The communication unit 230 communicates with the management device 100 and the device 201 via the network 10.

次に、機器が実行する処理について、フローチャートを用いて説明する。
図5は、確認処理を示すフローチャートである。図5の処理は、図1及び4を参照する。確認部221は、データブロックを受信する度に、図5の処理を実行する。
(ステップS11)確認部221は、データブロックを管理装置100から受信する。当該データブロックは、第1のデータブロックと表現してもよい。
(ステップS12)確認部221は、受信していないデータブロックがあるか否かを確認する。確認方法は、上述した通りである。
Next, the process executed by the device will be described using a flowchart.
FIG. 5 is a flowchart showing a confirmation process. For the processing of FIG. 5, refer to FIGS. 1 and 4. The confirmation unit 221 executes the process of FIG. 5 each time it receives a data block.
(Step S11) The confirmation unit 221 receives the data block from the management device 100. The data block may be expressed as a first data block.
(Step S12) The confirmation unit 221 confirms whether or not there is a data block that has not been received. The confirmation method is as described above.

(ステップS13)確認部221は、受信していないデータブロックがあるか否かを判定する。ステップS13の条件を満たす場合(ステップS13でYes)、確認部221は、処理をステップS14に進める。ステップS13の条件を満たさない場合(ステップS13でNo)、確認部221は、受信したデータブロックを記憶部210に格納する。また、確認部221は、受信したデータブロックのシーケンス番号を記憶部210に格納する。当該シーケンス番号が最後のシーケンス番号である。なお、確認部221は、データブロックを記憶部210に格納する度に、最後のシーケンス番号を変更する。
そして、確認部221は、処理を終了する。
(Step S13) The confirmation unit 221 determines whether or not there is a data block that has not been received. When the condition of step S13 is satisfied (Yes in step S13), the confirmation unit 221 proceeds to the process in step S14. When the condition of step S13 is not satisfied (No in step S13), the confirmation unit 221 stores the received data block in the storage unit 210. Further, the confirmation unit 221 stores the sequence number of the received data block in the storage unit 210. The sequence number is the last sequence number. The confirmation unit 221 changes the last sequence number each time the data block is stored in the storage unit 210.
Then, the confirmation unit 221 ends the process.

(ステップS14)確認部221は、待機時間が経過するまで待機する。
(ステップS15)確認部221は、他の機器(例えば、機器201)が送信したNACKを受信したか否かを判定する。NACKを受信した場合(ステップS15でYes)、確認部221は、処理をステップS16に進める。NACKを受信していない場合(ステップS15でNo)、確認部221は、処理をステップS17に進める。
(Step S14) The confirmation unit 221 waits until the waiting time elapses.
(Step S15) The confirmation unit 221 determines whether or not the NACK transmitted by another device (for example, the device 201) has been received. When the NACK is received (Yes in step S15), the confirmation unit 221 proceeds to the process in step S16. When NACK is not received (No in step S15), the confirmation unit 221 proceeds to the process in step S17.

(ステップS16)確認部221は、他の機器が送信したNACKが示すデータブロックのシーケンス番号が、確認部221が送信予定のNACKが示すデータブロックのシーケンス番号よりも大きいか否かを判定する。なお、他の機器が送信したNACKが示すデータブロックは、第2のデータブロックと表現してもよい。
ステップS16の判定条件を満たす場合(ステップS16でYes)、確認部221は、処理をステップS17に進める。ステップS16の判定条件を満たさない場合(ステップS16でNo)、確認部221は、処理を終了する。
(Step S16) The confirmation unit 221 determines whether or not the sequence number of the data block indicated by the NACK transmitted by another device is larger than the sequence number of the data block indicated by the NACK to be transmitted by the confirmation unit 221. The data block indicated by NACK transmitted by another device may be expressed as a second data block.
When the determination condition of step S16 is satisfied (Yes in step S16), the confirmation unit 221 advances the process to step S17. If the determination condition of step S16 is not satisfied (No in step S16), the confirmation unit 221 ends the process.

(ステップS17)確認部221は、ネットワーク10に接続する全ての装置にNACKを一斉送信する。 (Step S17) The confirmation unit 221 simultaneously transmits NACK to all the devices connected to the network 10.

確認処理では、他の機器が送信したNACKが示すシーケンス番号が、確認部221が送信予定のNACKが示すシーケンス番号よりも大きい場合、NACKが送信される。しかし、確認部221は、他の機器が送信したNACKが示すシーケンス番号が、確認部221が送信予定のNACKが示すシーケンス番号よりも小さい場合、NACKを送信してもよい。この場合、データ処理部120は、複数のNACKが示すシーケンス番号のうち、一番大きい番号のデータブロックから降順にデータブロックを再送する。 In the confirmation process, when the sequence number indicated by the NACK transmitted by the other device is larger than the sequence number indicated by the NACK scheduled to be transmitted by the confirmation unit 221, the NACK is transmitted. However, the confirmation unit 221 may transmit the NACK when the sequence number indicated by the NACK transmitted by the other device is smaller than the sequence number indicated by the NACK scheduled to be transmitted by the confirmation unit 221. In this case, the data processing unit 120 retransmits the data blocks in descending order from the data block having the highest number among the sequence numbers indicated by the plurality of NACKs.

また、機器200,201は、次のようにNACKを送信してもよい。例えば、確認部221は、管理装置100から送信完了通知を受信した後に、記憶部210を参照し、受信していないデータブロックがあるか否かを判定する。具体的には、確認部221は、シーケンス番号が不連続の場合、受信していないデータブロックがあると判定する。確認部221は、受信していないデータブロックのシーケンス番号を特定する。確認部221は、特定したシーケンス番号のうち、最も小さい番号の再送要求(すなわち、NACK)を管理装置100と機器201に送信する。同様に、機器201も、受信していないデータブロックがある場合、受信していないデータブロックのシーケンス番号を特定する。機器201は、特定したシーケンス番号のうち、最も小さい番号の再送要求(すなわち、NACK)を管理装置100と機器200に送信する。ここで、確認部221と機器201の確認部は、待機時間が経過した後、NACKを一斉送信する。なお、機器200と機器201との待機時間は、異なる。上述したように、確認部221は、機器201が送信したNACKを受信することがある。確認部221は、機器201が送信したNACKが示すシーケンス番号が、確認部221が送信予定のNACKが示すシーケンス番号よりも大きい場合、送信予定のNACKを送信する。同様に、機器201の確認部は、機器200が送信したNACKが示すシーケンス番号が、機器201が送信予定のNACKが示すシーケンス番号よりも大きい場合、送信予定のNACKを送信する。データ処理部120は、1つのNACKを受信した場合、NACKが示すシーケンス番号から昇順にデータブロックを再送する。また、データ処理部120は、複数のNACKを受信した場合、複数のNACKが示すシーケンス番号のうち、一番小さい番号のデータブロックから昇順にデータブロックを再送する。 Further, the devices 200 and 201 may transmit NACK as follows. For example, after receiving the transmission completion notification from the management device 100, the confirmation unit 221 refers to the storage unit 210 and determines whether or not there is a data block that has not been received. Specifically, the confirmation unit 221 determines that there is a data block that has not been received when the sequence numbers are discontinuous. The confirmation unit 221 identifies the sequence number of the data block that has not been received. The confirmation unit 221 transmits a retransmission request (that is, NACK) of the smallest number among the specified sequence numbers to the management device 100 and the device 201. Similarly, when there is a data block that has not been received, the device 201 also specifies the sequence number of the data block that has not been received. The device 201 transmits a retransmission request (that is, NACK) of the smallest number among the specified sequence numbers to the management device 100 and the device 200. Here, the confirmation unit 221 and the confirmation unit of the device 201 simultaneously transmit NACK after the waiting time has elapsed. The standby time between the device 200 and the device 201 is different. As described above, the confirmation unit 221 may receive the NACK transmitted by the device 201. When the sequence number indicated by the NACK transmitted by the device 201 is larger than the sequence number indicated by the NACK scheduled to be transmitted by the confirmation unit 221, the confirmation unit 221 transmits the NACK to be transmitted. Similarly, the confirmation unit of the device 201 transmits the NACK to be transmitted when the sequence number indicated by the NACK transmitted by the device 200 is larger than the sequence number indicated by the NACK to be transmitted by the device 201. When one NACK is received, the data processing unit 120 retransmits the data block in ascending order from the sequence number indicated by the NACK. When the data processing unit 120 receives a plurality of NACKs, the data processing unit 120 retransmits the data blocks in ascending order from the data block having the smallest number among the sequence numbers indicated by the plurality of NACKs.

図6は、送信レートの送信処理を示すフローチャートである。図6の処理は、図1及び4を参照する。送信レート算出部222は、算出送信要求を受信する度に、図6の処理を実行する。
(ステップS21)送信レート算出部222は、算出送信要求を管理装置100から受信する。
FIG. 6 is a flowchart showing a transmission process of the transmission rate. The processing of FIG. 6 refers to FIGS. 1 and 4. The transmission rate calculation unit 222 executes the process of FIG. 6 each time it receives a calculation transmission request.
(Step S21) The transmission rate calculation unit 222 receives the calculation transmission request from the management device 100.

(ステップS22)送信レート算出部222は、送信レートを算出する。例えば、当該送信レートは、第1の送信レートと表現してもよい。第1の送信レートは、機器200が管理装置100に要求する送信データ量である。
(ステップS23)送信レート算出部222は、待機時間が経過するまで待機する。
(Step S22) The transmission rate calculation unit 222 calculates the transmission rate. For example, the transmission rate may be expressed as a first transmission rate. The first transmission rate is the amount of transmission data requested by the device 200 from the management device 100.
(Step S23) The transmission rate calculation unit 222 waits until the waiting time elapses.

(ステップS24)送信レート算出部222は、他の機器(例えば、機器201)が送信した送信レートを受信したか否かを判定する。送信レートを受信した場合(ステップS24でYes)、送信レート算出部222は、処理をステップS25に進める。送信レートを受信していない場合(ステップS24でNo)、送信レート算出部222は、処理をステップS26に進める。 (Step S24) The transmission rate calculation unit 222 determines whether or not the transmission rate transmitted by another device (for example, device 201) has been received. When the transmission rate is received (Yes in step S24), the transmission rate calculation unit 222 proceeds to the process in step S25. If the transmission rate has not been received (No in step S24), the transmission rate calculation unit 222 proceeds to the process in step S26.

(ステップS25)送信レート算出部222は、他の機器が送信した送信レートが、送信レート算出部222が送信予定の送信レートよりも大きいか否かを判定する。なお、他の機器が送信した送信レートは、第2の送信レートと表現してもよい。第2の送信レートは、他の機器が管理装置100に要求する送信データ量である。 (Step S25) The transmission rate calculation unit 222 determines whether or not the transmission rate transmitted by another device is higher than the transmission rate scheduled to be transmitted by the transmission rate calculation unit 222. The transmission rate transmitted by another device may be expressed as a second transmission rate. The second transmission rate is the amount of transmission data requested by the management device 100 by another device.

ステップS25の判定条件を満たす場合(ステップS25でYes)、送信レート算出部222は、処理をステップS26に進める。ステップS25の判定条件を満たさない場合(ステップS25でNo)、送信レート算出部222は、処理を終了する。 When the determination condition of step S25 is satisfied (Yes in step S25), the transmission rate calculation unit 222 advances the process to step S26. If the determination condition in step S25 is not satisfied (No in step S25), the transmission rate calculation unit 222 ends the process.

(ステップS26)送信レート算出部222は、ネットワーク10に接続する全ての装置に送信レートを一斉送信する。 (Step S26) The transmission rate calculation unit 222 simultaneously transmits the transmission rate to all the devices connected to the network 10.

次に、ファームウェアを格納するために空き容量を確保する場合について、説明する。
確認部221は、データブロックを受信した場合、データブロックを記憶部210に格納する。例えば、確認部221は、機器200が有する不揮発性記憶装置にデータブロックを格納する。例えば、不揮発性記憶装置がSSDの場合、SSDには、一定のブロックサイズでのみ書き込める。SSDでは、書き込みブロックサイズよりも大きなブロックサイズ(以下、消去ブロックサイズ)でデータを消去して、空き容量を確保する場合がある。そこで、管理装置100は、新しいファームウェアを送信する前に、新しいファームウェアのデータサイズを機器200,201に一斉通知してもよい。これにより、機器200,201は、新しいファームウェアのために確保する空き容量を検出できる。
Next, a case where free space is secured for storing the firmware will be described.
When the confirmation unit 221 receives the data block, the confirmation unit 221 stores the data block in the storage unit 210. For example, the confirmation unit 221 stores the data block in the non-volatile storage device of the device 200. For example, when the non-volatile storage device is an SSD, the SSD can be written only in a certain block size. In SSD, data may be erased with a block size larger than the write block size (hereinafter, erase block size) to secure free space. Therefore, the management device 100 may notify the devices 200 and 201 of the data size of the new firmware all at once before transmitting the new firmware. As a result, the devices 200 and 201 can detect the free space reserved for the new firmware.

次に、機器の電源が切れた場合について説明する。
機器200では、管理装置100からファームウェアを受信中に、機器200の電源が切れる場合がある。この場合、機器200は、複数のデータブロックを不揮発性記憶装置に格納している。
Next, a case where the power of the device is turned off will be described.
In the device 200, the power of the device 200 may be turned off while receiving the firmware from the management device 100. In this case, the device 200 stores a plurality of data blocks in the non-volatile storage device.

データ処理部120は、機器200に電源が投入されたことを検出した場合、新しいファームウェアのデータサイズを機器200,201に一斉通知する。確認部221は、通知を受信した場合、不揮発性記憶装置に格納している複数のデータブロックを消去しなくてもよい。なお、データ処理部120は、ファームウェアの送信を初めからやり直してもよいし、機器200の電源が切れた時点からファームウェアの送信を開始してもよい。 When the data processing unit 120 detects that the power is turned on to the device 200, the data processing unit 120 notifies the devices 200 and 201 of the data size of the new firmware all at once. When the confirmation unit 221 receives the notification, the confirmation unit 221 does not have to erase the plurality of data blocks stored in the non-volatile storage device. The data processing unit 120 may restart the transmission of the firmware from the beginning, or may start the transmission of the firmware when the power of the device 200 is turned off.

また、データ処理部120は、新しいファームウェアのデータサイズを通知すると共に、ファームウェアの版数(すなわち、バージョン)を機器200,201に一斉通知してもよい。確認部221は、不揮発性記憶装置に格納している複数のデータブロックに対応するファームウェアの版数と、管理装置100が通知した版数とが一致する場合、不揮発性記憶装置に格納している複数のデータブロックを消去しない。また、確認部221は、不揮発性記憶装置に格納している複数のデータブロックに対応するファームウェアの版数と、管理装置100が通知した版数とが一致しない場合、不揮発性記憶装置に格納している複数のデータブロックを消去する。 Further, the data processing unit 120 may notify the data size of the new firmware and simultaneously notify the devices 200 and 201 of the firmware version (that is, the version). When the version number of the firmware corresponding to the plurality of data blocks stored in the non-volatile storage device and the version number notified by the management device 100 match, the confirmation unit 221 stores the firmware in the non-volatile storage device. Do not erase multiple data blocks. Further, when the version number of the firmware corresponding to the plurality of data blocks stored in the non-volatile storage device and the version number notified by the management device 100 do not match, the confirmation unit 221 stores the firmware in the non-volatile storage device. Erase multiple data blocks.

データ処理部120は、ファームウェアの版数以外の情報を機器200,201に通知してもよい。当該情報は、ファームウェアの同一性を識別可能な情報である。例えば、同一性を識別可能な情報は、ファームウェアに対応付けられている日付、又はハッシュ値である。データ処理部120は、同一性を識別可能な情報をデータブロックの先頭に付加して、同一性を識別可能な情報とデータブロックを一斉送信する。確認部221は、同一性を識別可能な情報を不揮発性記憶装置に格納する。これにより、機器200は、電源が切れても、同一性を識別可能な情報が消失することを防ぐことができる。そして、機器200は、同一性を識別可能な情報を用いて複数のデータブロックを消去するか否かを判定する。 The data processing unit 120 may notify the devices 200 and 201 of information other than the firmware version. The information is information that can identify the identity of the firmware. For example, the information that can identify the identity is the date or hash value associated with the firmware. The data processing unit 120 adds information that can identify the identity to the beginning of the data block, and simultaneously transmits the information that can identify the identity and the data block. The confirmation unit 221 stores information that can identify the identity in the non-volatile storage device. As a result, the device 200 can prevent the information that can identify the identity from being lost even when the power is turned off. Then, the device 200 determines whether or not to erase the plurality of data blocks using the information that can identify the identity.

確認部221は、機器200に電源が投入された後、データブロックを受信した場合、当該データブロックを既に受信しているか否かを確認する。確認部221は、記憶部210(すなわち、不揮発性記憶装置)を参照し、当該データブロックを既に受信している場合、当該データブロックを廃棄する。また、確認部221は、当該データブロックを用いてステップS13の処理を行い、受信していないデータブロックがあると判定しても、NACKを送信しなくてもよい。 When the confirmation unit 221 receives a data block after the power is turned on to the device 200, the confirmation unit 221 confirms whether or not the data block has already been received. The confirmation unit 221 refers to the storage unit 210 (that is, the non-volatile storage device), and if the data block has already been received, discards the data block. Further, the confirmation unit 221 may perform the process of step S13 using the data block and determine that there is a data block that has not been received, or may not transmit the NACK.

次に、データブロックが、不揮発性記憶装置に不完全な状態で書き込まれる場合について説明する。
データブロックが、不揮発性記憶装置に不完全な状態で書き込まれることがある。例えば、確認部221が、不揮発性記憶装置にデータブロックを書き込んでいる途中で機器200の電源が切れた場合である。確認部221は、機器200に電源が投入された後、不揮発性記憶装置に格納しているデータブロックを消去ブロックサイズ単位で走査し、不完全な状態でデータブロックが書き込まれている箇所を含む領域を消去ブロックサイズで消去する。
Next, a case where the data block is written to the non-volatile storage device in an incomplete state will be described.
Data blocks may be incompletely written to non-volatile storage. For example, the power of the device 200 is turned off while the confirmation unit 221 is writing the data block to the non-volatile storage device. After the power is turned on to the device 200, the confirmation unit 221 scans the data block stored in the non-volatile storage device in units of the erase block size, and includes a portion where the data block is written in an incomplete state. Erase the area with the block size.

例えば、確認部221は、消去ブロックサイズが256KBの場合、不揮発性記憶装置を256KB単位で走査する。確認部221は、走査した結果、0〜256KBにデータブロックが存在することを検出する。確認部221は、走査した結果、256〜512にデータブロックが存在することを検出する。確認部221は、走査した結果、512KB以降にデータブロックが格納されていないことを検出する。すなわち、確認部221は、256〜512KBの領域に、不完全な状態でデータブロックが書き込まれていることを検出する。確認部221は、256〜512KBの領域を消去する。なお、確認部221は、0〜256KBの領域を消去しない。 For example, the confirmation unit 221 scans the non-volatile storage device in units of 256 KB when the erase block size is 256 KB. As a result of scanning, the confirmation unit 221 detects that a data block exists in 0 to 256 KB. As a result of scanning, the confirmation unit 221 detects that a data block exists in 256 to 512. As a result of scanning, the confirmation unit 221 detects that no data block is stored after 512 KB. That is, the confirmation unit 221 detects that the data block is written in an incomplete state in the region of 256 to 512 KB. The confirmation unit 221 erases the area of 256 to 512 KB. The confirmation unit 221 does not erase the area of 0 to 256 KB.

実施の形態によれば、管理装置100は、NACKを受信することで、消失したデータブロックを検出することができる。すなわち、管理装置100は、NACKを受信することで、機器が受信していないデータブロックを検出することができる。また、機器200は、NACKを送信することで、受信していないデータブロックを管理装置100から取得することができる。 According to the embodiment, the management device 100 can detect the lost data block by receiving the NACK. That is, the management device 100 can detect the data block that the device has not received by receiving the NACK. Further, the device 200 can acquire a data block that has not been received from the management device 100 by transmitting the NACK.

また、実施の形態は、機器200,201のファームウェアを更新させる場合を例示した。実施の形態は、機器200,201に大量のデータを送信する場合に適用できる。なお、大量のデータは、第1の情報と表現してもよい。 Further, the embodiment illustrates the case where the firmware of the devices 200 and 201 is updated. The embodiment can be applied when a large amount of data is transmitted to the devices 200 and 201. A large amount of data may be expressed as the first information.

10 ネットワーク、 20 インターネット、 100 管理装置、 101 プロセッサ、 102 揮発性記憶装置、 103 不揮発性記憶装置、 110 記憶部、 120 データ処理部、 130 通信部、 200,201 機器、 210 記憶部、 220 制御部、 221 確認部、 222 送信レート算出部、 223 更新部、 230 通信部。 10 network, 20 internet, 100 management device, 101 processor, 102 volatile storage device, 103 non-volatile storage device, 110 storage unit, 120 data processing unit, 130 communication unit, 200, 201 equipment, 210 storage unit, 220 control unit , 221 Confirmation unit, 222 Transmission rate calculation unit, 223 update unit, 230 Communication unit.

本発明は、管理装置、空調機、情報更新システム、情報更新方法、及び情報更新プログラムに関する。 The present invention relates to a management device, an air conditioner , an information update system, an information update method, and an information update program.

本発明の一態様に係る管理装置が提供される。管理装置は、複数の空調機と通信する。管理装置は、前記複数の空調機と通信する通信部と、前記通信部を介して、前記複数の空調機に第1の情報を一斉送信し、前記通信部を介して、前記複数の空調機のうち、前記第1の情報を受信していない空調機から、前記第1の情報を受信していない前記空調機が受信していない前記第1の情報の少なくとも一部の送信の要求を示す否定応答を受信するデータ処理部と、を有する。 A management device according to one aspect of the present invention is provided. Management device communicates with the multiple air conditioners. Management device, a communication unit for communicating with the plurality of air conditioners, via the communication unit, the first information to the plurality of air conditioners to broadcast, via the communication unit, the plurality of air conditioners Among the air conditioners that have not received the first information, a request for transmitting at least a part of the first information that the air conditioner that has not received the first information has not received is shown. It has a data processing unit that receives a negative response.

Claims (12)

予め決められた通信速度よりも通信速度が遅いネットワークを介して複数の機器と通信する管理装置であって、
前記複数の機器と通信する通信部と、
前記通信部を介して、前記複数の機器に第1の情報を一斉送信し、前記通信部を介して、前記複数の機器のうち、前記第1の情報を受信していない機器から、前記第1の情報を受信していない前記機器が受信していない前記第1の情報の少なくとも一部の送信の要求を示す否定応答を受信するデータ処理部と、
を有する管理装置。
A management device that communicates with multiple devices via a network whose communication speed is slower than a predetermined communication speed.
A communication unit that communicates with the plurality of devices
The first information is simultaneously transmitted to the plurality of devices via the communication unit, and the first information is transmitted from the device that has not received the first information among the plurality of devices via the communication unit. A data processing unit that receives a negative response indicating a request for transmission of at least a part of the first information that is not received by the device that has not received the information of 1.
Management device with.
前記データ処理部は、前記通信部を介して、前記第1の情報を分割した複数のデータブロックのそれぞれを前記複数の機器に一斉送信し、前記複数のデータブロックの中で受信していないデータブロックを検出した機器から、受信していないデータブロックの送信の要求を示す否定応答を受信する、
請求項1に記載の管理装置。
The data processing unit simultaneously transmits each of the plurality of data blocks obtained by dividing the first information to the plurality of devices via the communication unit, and the data not received in the plurality of data blocks. Receive a negative response from the device that detected the block, indicating a request to send a data block that has not been received.
The management device according to claim 1.
前記第1の情報は、ファームウェアである、
請求項1又は2に記載の管理装置。
The first information is firmware.
The management device according to claim 1 or 2.
管理装置と、予め決められた通信速度よりも通信速度が遅いネットワークを介して前記管理装置と通信する複数の機器とを含む情報更新システムの中の前記複数の機器のうちの1つの機器であって、
前記管理装置と通信する通信部と、
前記管理装置が前記複数の機器に一斉送信した第1の情報を受信したか否かを確認し、前記第1の情報の少なくとも一部を受信していない場合、前記通信部を介して、前記第1の情報の少なくとも一部の送信の要求を示す否定応答を前記管理装置に送信する確認部と、
を有する機器。
It is one of the plurality of devices in the information update system including the management device and a plurality of devices communicating with the management device via a network whose communication speed is slower than a predetermined communication speed. hand,
A communication unit that communicates with the management device,
It is confirmed whether or not the management device has received the first information transmitted all at once to the plurality of devices, and if at least a part of the first information has not been received, the said communication unit is used. A confirmation unit that transmits a negative response indicating a request for transmission of at least a part of the first information to the management device, and a confirmation unit.
Equipment with.
前記確認部は、前記管理装置が前記複数の機器に一斉送信した、前記第1の情報を分割した複数のデータブロックのそれぞれを受信したか否かを確認し、受信していないデータブロックがある場合、受信していないデータブロックの送信の要求を示す否定応答を前記管理装置に送信する、
請求項4に記載の機器。
The confirmation unit confirms whether or not each of the plurality of data blocks obtained by dividing the first information, which the management device has simultaneously transmitted to the plurality of devices, has been received, and there are data blocks that have not been received. In the case, a negative response indicating a request for transmission of a data block that has not been received is transmitted to the management device.
The device according to claim 4.
前記確認部は、前記複数のデータブロックのうち、第1のデータブロックを受信したとき、受信していないデータブロックがあるかを確認し、受信していないデータブロックがある場合、予め決められた待機時間が経過した後、受信していないデータブロックの送信の要求を示す否定応答を前記管理装置に送信する、
請求項5に記載の機器。
When the first data block among the plurality of data blocks is received, the confirmation unit confirms whether there is a data block that has not been received, and if there is a data block that has not been received, it is determined in advance. After the waiting time has elapsed, a negative response indicating a request for transmission of a data block that has not been received is transmitted to the management device.
The device according to claim 5.
前記複数の機器のそれぞれには、前記待機時間が設定されており、
前記複数の機器のそれぞれの前記待機時間は、異なり、
前記複数のデータブロックのそれぞれには、シーケンス番号が対応付けられ、
前記確認部は、前記待機時間が経過するまでに、他の機器が受信していない第2のデータブロックの送信の要求を示す否定応答を前記他の機器から受信した場合、前記第2のデータブロックに対応付けられているシーケンス番号が、前記確認部が送信予定の否定応答が示すデータブロックに対応付けられているシーケンス番号よりも大きい場合、前記送信予定の否定応答を前記管理装置と前記複数の機器とに一斉送信する、
請求項6に記載の機器。
The standby time is set for each of the plurality of devices.
The standby time of each of the plurality of devices is different.
A sequence number is associated with each of the plurality of data blocks.
When the confirmation unit receives a negative response from the other device indicating a request for transmission of the second data block that the other device has not received by the time the waiting time elapses, the second data When the sequence number associated with the block is larger than the sequence number associated with the data block indicated by the negative response to be transmitted by the confirmation unit, the negative response to be transmitted is transmitted to the management device and the plurality of negative responses. Simultaneously send to the device of
The device according to claim 6.
送信レート算出部をさらに有し、
前記送信レート算出部は、
前記管理装置が前記複数のデータブロックのうちの1つのデータブロックを含むデータを前記複数の機器に一斉送信する際のデータ量である送信データ量の算出送信要求を、前記管理装置から受信した場合、前記送信レート算出部を有する機器の現在の状態に基づいて、前記管理装置に要求する前記送信データ量である第1の送信レートを算出し、
予め決められた待機時間が経過した後、前記第1の送信レートを前記管理装置に送信する、
請求項5に記載の機器。
It also has a transmission rate calculation unit
The transmission rate calculation unit
When the management device receives a transmission request for calculating the transmission data amount, which is the amount of data when the management device simultaneously transmits data including one data block among the plurality of data blocks to the plurality of devices. , The first transmission rate, which is the amount of transmission data requested from the management device, is calculated based on the current state of the device having the transmission rate calculation unit.
After a predetermined waiting time has elapsed, the first transmission rate is transmitted to the management device.
The device according to claim 5.
前記複数の機器のそれぞれには、前記待機時間が設定されており、
前記複数の機器のそれぞれの前記待機時間は、異なり、
前記送信レート算出部は、前記待機時間が経過するまでに、他の機器が前記管理装置に要求する前記送信データ量である第2の送信レートを前記他の機器から受信した場合、前記第2の送信レートが前記第1の送信レートよりも大きい場合、前記第1の送信レートを前記管理装置と前記複数の機器とに一斉送信する、
請求項8に記載の機器。
The standby time is set for each of the plurality of devices.
The standby time of each of the plurality of devices is different.
When the transmission rate calculation unit receives a second transmission rate, which is the amount of transmission data requested by the other device from the management device, from the other device by the time the standby time elapses, the second transmission rate calculation unit. When the transmission rate of is larger than the first transmission rate, the first transmission rate is simultaneously transmitted to the management device and the plurality of devices.
The device according to claim 8.
複数の機器と、
予め決められた通信速度よりも通信速度が遅いネットワークを介して前記複数の機器と通信する管理装置と、
を含み、
前記管理装置は、
前記複数の機器と通信する第1の通信部と、
前記第1の通信部を介して、前記複数の機器に第1の情報を一斉送信し、前記第1の通信部を介して、前記複数の機器のうち、前記第1の情報を受信していない機器から、前記第1の情報を受信していない前記機器が受信していない前記第1の情報の少なくとも一部の送信の要求を示す否定応答を受信するデータ処理部と、
を有し、
前記複数の機器のうちの1つの機器は、
前記管理装置と通信する第2の通信部と、
前記第1の情報を受信したか否かを確認し、前記第1の情報の少なくとも一部を受信していない場合、前記第2の通信部を介して、前記第1の情報の少なくとも一部の送信の要求を示す否定応答を前記管理装置に送信する確認部と、
を有する、
情報更新システム。
With multiple devices
A management device that communicates with the plurality of devices via a network whose communication speed is slower than a predetermined communication speed.
Including
The management device
A first communication unit that communicates with the plurality of devices,
The first information is simultaneously transmitted to the plurality of devices via the first communication unit, and the first information among the plurality of devices is received via the first communication unit. A data processing unit that receives a negative response indicating a request for transmission of at least a part of the first information that the device has not received from a device that does not have the first information.
Have,
One of the plurality of devices is
A second communication unit that communicates with the management device,
It is confirmed whether or not the first information has been received, and if at least a part of the first information has not been received, at least a part of the first information is transmitted via the second communication unit. A confirmation unit that sends a negative response indicating a request for transmission to the management device,
Have,
Information update system.
予め決められた通信速度よりも通信速度が遅いネットワークを介して複数の機器と通信する管理装置が、
前記複数の機器に第1の情報を一斉送信し、
前記複数の機器のうち、前記第1の情報を受信していない機器が、
受信していない前記第1の情報の少なくとも一部の送信の要求を示す否定応答を前記管理装置に送信し、
前記管理装置が、
前記否定応答を受信する、
情報更新方法。
A management device that communicates with multiple devices via a network whose communication speed is slower than a predetermined communication speed.
The first information is simultaneously transmitted to the plurality of devices,
Of the plurality of devices, the device that has not received the first information
A negative response indicating a request for transmission of at least a part of the first information that has not been received is transmitted to the management device.
The management device
Receive the negative response,
Information update method.
予め決められた通信速度よりも通信速度が遅いネットワークを介して複数の機器と通信する管理装置に、
前記複数の機器に第1の情報を一斉送信し、
前記複数の機器のうち、前記第1の情報を受信していない機器から、前記第1の情報を受信していない前記機器が受信していない前記第1の情報の少なくとも一部の送信の要求を示す否定応答を受信する、
処理を実行させる情報更新プログラム。
For management devices that communicate with multiple devices via a network whose communication speed is slower than a predetermined communication speed.
The first information is simultaneously transmitted to the plurality of devices,
Request for transmission of at least a part of the first information that is not received by the device that has not received the first information from the device that has not received the first information among the plurality of devices. Receive a negative response indicating
An information update program that executes processing.
JP2020522491A 2018-05-31 2018-05-31 Management device, air conditioner, information update system, information update method, and information update program Active JP6949213B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/020900 WO2019229917A1 (en) 2018-05-31 2018-05-31 Management apparatus, device, information update system, information update method, and information update program

Publications (2)

Publication Number Publication Date
JPWO2019229917A1 true JPWO2019229917A1 (en) 2020-12-10
JP6949213B2 JP6949213B2 (en) 2021-10-13

Family

ID=68696908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020522491A Active JP6949213B2 (en) 2018-05-31 2018-05-31 Management device, air conditioner, information update system, information update method, and information update program

Country Status (2)

Country Link
JP (1) JP6949213B2 (en)
WO (1) WO2019229917A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012205277A (en) * 2011-03-28 2012-10-22 Of Networks:Kk Data transmission device and program, data reception device and program, and communication system
JP2015099692A (en) * 2013-11-19 2015-05-28 岩崎電気株式会社 Illumination control system, control machine, and illuminating fixture

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1031484A (en) * 1996-07-15 1998-02-03 Yamaha Corp Network system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012205277A (en) * 2011-03-28 2012-10-22 Of Networks:Kk Data transmission device and program, data reception device and program, and communication system
JP2015099692A (en) * 2013-11-19 2015-05-28 岩崎電気株式会社 Illumination control system, control machine, and illuminating fixture

Also Published As

Publication number Publication date
JP6949213B2 (en) 2021-10-13
WO2019229917A1 (en) 2019-12-05

Similar Documents

Publication Publication Date Title
EP3722938B1 (en) Nof based reading control method, device and system
WO2019148716A1 (en) Data transmission method, server, and storage medium
JP4269176B2 (en) Session relay apparatus and relay method
CN113721966B (en) Node upgrading method and device, storage medium and electronic device
US20220248259A1 (en) Data processing method and apparatus
JP7004815B2 (en) Air conditioners, communication systems, and control methods
US9229638B1 (en) Adaptive flow control for networked storage
KR102619952B1 (en) Apparatus and method for processing data packets
JP6949213B2 (en) Management device, air conditioner, information update system, information update method, and information update program
CN111315021A (en) Design method, system, electronic device and storage medium of downlink control information
CN112422243A (en) Data transmission method and device based on process optimization
CN107665123B (en) Firmware updating method
WO2020031298A1 (en) Program transfer system and program transfer method
JP2010171557A (en) Multi-address transmission device, receiving node, multi-address transmission program and recording medium
WO2021212438A1 (en) Data transmission method, apparatus and system, terminal device, and storage medium
KR102609328B1 (en) Wireless communication method and device
WO2021181670A1 (en) Air conditioning system, air conditioning device, communication method, and program
JP2009239511A (en) Device for processing data about equipment item, equipment item management system, and data processing method
JP7450425B2 (en) Software update system
CN112448852B (en) Method and device for process configuration based on retransmission data block
JP2015046706A (en) Relay program, relay device, and relay method
JP7319854B2 (en) Control system, controlled device, and control method for controlled device
JP7286513B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
WO2017138096A1 (en) Communication apparatus and frame transmission method
JP5230665B2 (en) Data receiving apparatus and data receiving method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200529

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210706

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210806

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210921

R150 Certificate of patent or registration of utility model

Ref document number: 6949213

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150