JP7398018B1 - Alarms and alarm systems - Google Patents

Alarms and alarm systems Download PDF

Info

Publication number
JP7398018B1
JP7398018B1 JP2023042275A JP2023042275A JP7398018B1 JP 7398018 B1 JP7398018 B1 JP 7398018B1 JP 2023042275 A JP2023042275 A JP 2023042275A JP 2023042275 A JP2023042275 A JP 2023042275A JP 7398018 B1 JP7398018 B1 JP 7398018B1
Authority
JP
Japan
Prior art keywords
alarm
update
alarm device
communication
software
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
JP2023042275A
Other languages
Japanese (ja)
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.)
New Cosmos Electric Co Ltd
Original Assignee
New Cosmos Electric 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 New Cosmos Electric Co Ltd filed Critical New Cosmos Electric Co Ltd
Priority to JP2023042275A priority Critical patent/JP7398018B1/en
Application granted granted Critical
Publication of JP7398018B1 publication Critical patent/JP7398018B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Alarm Systems (AREA)

Abstract

【課題】新たな制御方式を適宜取り入れることができ、且つ、警報器が有する警報機能などの各機能の停止期間の低減が可能な警報器及び警報システムを提供する。【解決手段】実施形態の警報器100は、周囲環境の監視結果に基づく報知、及び外部機器との交信を、内蔵するソフトウェアSWに含まれる命令に従って行う。警報器100は、外部機器Eとの間で警報器100の情報について所定周期で定期通信を行うように構成されており、ソフトウェアSWは、警報器100の使用開始後にアップデートが可能なように内蔵されており、アップデートは、複数回の定期通信を通じて外部機器Eから分割して送られるアップデート用の更新データを用いて実行される。【選択図】図1An object of the present invention is to provide an alarm device and an alarm system that can appropriately adopt a new control method and reduce the period during which each function, such as an alarm function, of the alarm device is stopped. An alarm device 100 according to an embodiment performs notifications based on monitoring results of the surrounding environment and communication with external devices according to instructions included in built-in software SW. The alarm device 100 is configured to periodically communicate information about the alarm device 100 with an external device E at a predetermined period, and the software SW is built-in so that it can be updated after the alarm device 100 starts to be used. The update is performed using update data for update that is divided and sent from the external device E through multiple regular communications. [Selection diagram] Figure 1

Description

本発明は、周囲環境を監視する警報器及び警報システムに関する。 The present invention relates to an alarm device and an alarm system for monitoring the surrounding environment.

従来、工場や住宅における火災やガス漏れなどを検知して警報を発する警報器には、温度や、各種のガスの存在などを検知するセンサなどの感知手段と、その検知結果に基づいて異常の有無を判断するマイコンなどの制御手段と、制御手段の判断結果に基づいて光や音声などを警報として発する報知手段などが備えられている。このような警報器において制御手段のマイコンなどは、ROMなどの記憶手段に格納されたプログラムに従って感知手段や報知手段を制御して、周囲環境を監視すると共に異常検知時に警報を発するように構成されている。 Conventionally, alarm devices that detect fires, gas leaks, etc. in factories and homes and issue alarms have sensing means such as sensors that detect temperature and the presence of various gases, and sensors that detect abnormalities based on the detection results. It is equipped with a control means such as a microcomputer that determines the presence or absence, and a notification means that emits light, sound, etc. as a warning based on the determination result of the control means. In such an alarm device, a microcomputer or the like as a control means is configured to control the sensing means and notification means according to a program stored in a storage means such as a ROM to monitor the surrounding environment and issue an alarm when an abnormality is detected. ing.

例えば、特許文献1には、複数の警報器が無線通信で警報情報を共有することにより連動して警報を発する警報システムにおいて、制御回路が実行するプログラムを、第1記憶部に格納したプログラムと第2記憶部に格納したプログラムとの間で切り替えることによって、親局としての機能と子局としての機能とを切り替えることが開示されている。 For example, Patent Document 1 discloses that in an alarm system in which a plurality of alarm devices issue alarms in conjunction with each other by sharing alarm information via wireless communication, a program executed by a control circuit is a program stored in a first storage unit. It is disclosed that the function as a parent station and the function as a slave station can be switched by switching between programs stored in the second storage unit.

特開2019-179329号公報JP 2019-179329 Publication

火災の発生やガスの存在などを検知して警報を発する警報器の分野では、警報器が使用される国や自治体が定める法規に適合するための要件、例えば感知性能に関する規定や、異常と判断すべき温度やガスの濃度の基準などが変更されることがある。また、前述の特許文献1のように警報器は外部機器と通信回線で接続して使用されることがある。そしてこのような警報器を含む、通信機能を有する機器が準拠する通信プロトコルにおいては、新たな通信技術の開発やインフラストラクチャーの発展に呼応して、及び/又は、日々出現する新手のハッキング技術に対抗すべく、絶えずバージョンアップが重ねられている。 In the field of alarm devices that detect the occurrence of fire or the presence of gas and issue an alarm, there are requirements to comply with the laws and regulations set by the country or local government where the alarm device is used, such as regulations regarding sensing performance and determination of abnormality. Standards for temperature and gas concentration may change. Further, as in the above-mentioned Patent Document 1, an alarm device may be used by being connected to an external device via a communication line. In addition, the communication protocols that devices with communication functions, including such alarms, comply with are subject to changes in response to the development of new communication technologies and infrastructure, and/or to new hacking techniques that appear on a daily basis. In order to compete with this, updates are constantly being made.

そのため、警報器、特に通信機能を有する警報器には、例えば法規の変更や技術の伸展に追随すべく、また、警報器に対する新たな脅威から警報器の機能を保護すべく、警報器の使用開始後においても警報器の制御方式を記述したソフトウェアを適宜アップデートすることが求められる。そして、そのような制御用ソフトウェアが適宜アップデートされない場合は、例えば法規の改正に対応できず、警報器自体が動作可能であるにも関わらずその警報器を実質的に使用できなくなったり、通信のセキュリティを脅かす悪意のある技術の脅威に警報器が晒されたりすることにもなり得る。 Therefore, alarms, especially alarms with communication functions, need to be used in order to keep up with changes in laws and regulations and advances in technology, as well as to protect the functions of alarms from new threats to alarms. Even after the start of the project, it is necessary to update the software that describes the alarm control method as appropriate. If such control software is not updated appropriately, for example, it may not be able to keep up with changes in laws and regulations, and the alarm may become virtually unusable even though the alarm itself is operable, or communications may be affected. Alarms can also be exposed to malicious technology that threatens security.

しかしながら、制御用ソフトウェアのアップデート中に警報機能が影響を受けるような構成の場合、例えば、アップデートデータのボリューム次第で、警報機能が長時間制限されることも起こり得る。そのような場合、周囲環境が異常な状態にあることの報知が遅れてしまってユーザーを危険に晒してしまう可能性がある。また、長時間の警報機能の停止は、前述したような警報器に対して定められる法規に違反してしまうことも考えられる。 However, in the case of a configuration in which the alarm function is affected while updating the control software, the alarm function may be restricted for a long time depending on the volume of update data, for example. In such a case, notification that the surrounding environment is in an abnormal state may be delayed, potentially exposing the user to danger. Further, stopping the alarm function for a long time may violate the laws and regulations governing alarm devices such as those mentioned above.

本発明は、上記問題に鑑みてなされたもので、新たな制御方式を適宜取り入れることができ、しかも、警報器が有する警報機能などの各機能の停止期間を少なくすることができる警報器及び警報システムを提供することを目的とする。 The present invention has been made in view of the above-mentioned problems, and is an alarm device and an alarm device that can incorporate a new control method as appropriate, and that can reduce the period during which each function, such as the alarm function, of the alarm device is stopped. The purpose is to provide a system.

本発明の警報器は、周囲環境の監視結果に基づく報知、及び外部機器との交信を、内蔵するソフトウェアに含まれる命令に従って行う警報器であって、警報器は、外部機器との間で警報器の情報について所定周期で定期通信を行うように構成されており、ソフトウェアは、警報器の使用開始後にアップデートが可能なように内蔵されており、アップデートが、複数回の定期通信を通じて外部機器から分割して送られるアップデート用の更新データを用いて実行される。 The alarm device of the present invention is an alarm device that makes a notification based on the monitoring result of the surrounding environment and communicates with an external device according to instructions included in built-in software. The system is configured to periodically communicate information about the alarm at predetermined intervals, and the software is built-in so that it can be updated after the alarm starts being used.Updates can be sent from external devices through multiple regular communications. This is executed using update data for updates that are sent in parts.

本発明の警報システムは、周囲環境の監視結果に基づく報知を、内蔵するソフトウェアに含まれる命令に従って行う警報器と、警報器との間で通信による情報交換を行う制御装置と、を含む警報システムであって、警報器は、制御装置との間で警報器の情報について所定周期で定期通信を行うように構成されており、ソフトウェアは、警報器の使用開始後にアップデートが可能なように内蔵されており、制御装置は、アップデート用の更新データを分割して複数回の定期通信を通じて警報器に送信し、警報器は、分割して送られる更新データを用いてアップデートを実行するように構成されている。 The alarm system of the present invention includes an alarm device that makes a notification based on the results of monitoring the surrounding environment according to instructions included in built-in software, and a control device that exchanges information with the alarm device through communication. The alarm is configured to periodically communicate information about the alarm with the control device at a predetermined period, and the software is built-in so that it can be updated after the alarm starts to be used. The control device is configured to divide the update data for update and send it to the alarm device through multiple periodic communications, and the alarm device is configured to execute the update using the update data sent in pieces. ing.

本発明の警報器は、監視結果に基づく警報の発報時に外部機器に警報の発報を報せる通知を行うように構成されており、アップデートが、さらに、通知に対する応答信号に含まれる分割された更新データを用いて実行されてもよい。 The alarm device of the present invention is configured to issue a notification to notify an external device that an alarm has been issued when an alarm is issued based on the monitoring result, and the update is further divided into divided parts included in a response signal to the notification. It may also be executed using updated data.

本発明の警報システムにおいて、警報器は、監視結果に基づく警報の発報時に制御装置に警報の発報を報せる通知を行うように構成されており、制御装置は、分割された更新データの少なくとも一部を、通知に対する応答信号の空き領域に格納して警報器に送信してもよい。 In the alarm system of the present invention, the alarm device is configured to notify the control device of the issue of the alarm when issuing the alarm based on the monitoring result, and the control device receives the divided update data. At least a portion of the response signal may be stored in an empty area of a response signal to the notification and transmitted to the alarm.

本発明の警報システムにおいて、定期通信において警報器へのデータの伝送単位を構成する複数の領域のうちの更新データが送信されないときに無効データが格納される領域に格納されて送られる更新データを用いてアップデートが実行されてもよい。 In the alarm system of the present invention, update data that is stored in an area where invalid data is stored and sent when update data is not transmitted among a plurality of areas that constitute a data transmission unit to an alarm device in regular communication. The update may be performed using

本発明の警報器又は警報システムにおいて、警報器は、監視結果に基づく警報の発報中にはアップデートを実行しないように構成されていてもよい。 In the alarm device or alarm system of the present invention, the alarm device may be configured not to update while issuing an alarm based on a monitoring result.

本発明の警報器又は警報システムにおいて、警報器は、分割された更新データの全てを受け取ると、アップデートを開始するように構成されていてもよい。 In the alarm or alarm system of the present invention, the alarm may be configured to start updating upon receiving all of the divided update data.

本発明の警報器又は警報システムにおいて、警報器は、定期通信において警報器へのデータの伝送単位に含まれる符号に基づいて、分割された更新データの全てを受け取ったことを認識するように構成されていてもよい。 In the alarm or alarm system of the present invention, the alarm is configured to recognize that it has received all of the divided update data based on the code included in the unit of data transmission to the alarm in regular communication. may have been done.

本発明の警報器又は警報システムにおいて、警報器は、ソフトウェアが内蔵されている記憶領域と、更新データが記憶される記憶領域とを備えていてもよい。 In the alarm device or alarm system of the present invention, the alarm device may include a storage area in which software is built-in and a storage area in which update data is stored.

本発明によれば、新たな制御方式を適宜取り入れることができ、しかも、警報器が有する警報機能などの各機能の停止期間を少なくし得ることがある。 According to the present invention, a new control method can be adopted as appropriate, and the period during which each function such as an alarm function of an alarm device can be stopped can be reduced.

本発明の一実施形態の警報器の一例の概略を示すブロック図である。FIG. 1 is a block diagram schematically showing an example of an alarm device according to an embodiment of the present invention. 一実施形態の警報器の記憶領域の構成及び記憶内容の一例を示す模式図である。FIG. 2 is a schematic diagram showing an example of the configuration and storage contents of a storage area of an alarm device according to an embodiment. 一実施形態の警報器と外部機器との間のデータ伝送単位のデータ構造例を示す図である。FIG. 2 is a diagram illustrating an example of a data structure of a data transmission unit between an alarm device and an external device according to an embodiment. 一実施形態の警報器の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation of the alarm device of one embodiment. 一実施形態の警報器におけるアップデートの要求方法の例を示す模式図である。FIG. 2 is a schematic diagram illustrating an example of a method for requesting an update in an alarm device according to an embodiment. 一実施形態の警報器におけるアップデートの優先度と電池残量に応じた実行の判断との対応の一例を示す図である。FIG. 3 is a diagram illustrating an example of the correspondence between the update priority and execution determination according to the remaining battery level in the alarm device of one embodiment. 本発明の一実施形態の警報器の他の例の概略を示すブロック図である。It is a block diagram showing the outline of another example of the alarm device of one embodiment of the present invention. 一実施形態の警報器の動作の他の例を示すフローチャートである。It is a flowchart which shows another example of operation of the alarm device of one embodiment. 一実施形態の警報器の変形例の概略を示すブロック図である。It is a block diagram showing an outline of a modification of an alarm device of one embodiment. 本発明の一実施形態の警報システムの一例を示すブロック図である。FIG. 1 is a block diagram showing an example of an alarm system according to an embodiment of the present invention.

以下、添付図面を参照しながら、本発明の一実施形態に係る警報器及び一実施形態に係る警報システムを説明する。但し、以下に説明される実施形態及び添付の図面は、本発明に係る警報器又は警報システムの一例を示しているに過ぎない。本発明に係る警報器及び警報システムの構成及び作用は、以下に説明される実施形態及び添付の図面に例示される構成及び作用に限定されない。 DESCRIPTION OF THE PREFERRED EMBODIMENTS An alarm device according to an embodiment of the present invention and an alarm system according to an embodiment of the present invention will be described below with reference to the accompanying drawings. However, the embodiments described below and the accompanying drawings merely show an example of the alarm device or alarm system according to the present invention. The configuration and operation of the alarm device and alarm system according to the present invention are not limited to the configuration and operation illustrated in the embodiments described below and the attached drawings.

<一実施形態の警報器の基本構成及び作用>
図1には、本発明の一実施形態の警報器100の主要な構成要素がブロック図で示されている。一実施形態の警報器100は、例えば、住居や工場などに設置されたり、使用者に携帯されたりして、警報器100の周囲の環境を監視する。そして、警報器100は、周囲の環境が特定の状態にある場合にはそれを検知して、例えば、警報を発したり、信号を送ったりして、周囲環境が特定の状態、例えば人体や物的資産に危害が及び得る異常な状態にあることを周囲の人や所定の機器に報せる。特定の状態としては、火災の発生、ガス漏れ、一酸化炭素の充満、煙の充満、過剰な温湿度、などが例示されるが、警報器100が検知する特定の状態は、これらに限定されない。
<Basic configuration and operation of alarm device of one embodiment>
FIG. 1 shows a block diagram of the main components of an alarm device 100 according to an embodiment of the present invention. The alarm device 100 of one embodiment is installed in a residence, a factory, etc., or carried by a user, and monitors the environment around the alarm device 100, for example. When the surrounding environment is in a specific state, the alarm device 100 detects it and, for example, issues an alarm or sends a signal. Notify surrounding people and designated equipment of abnormal conditions that could pose a risk to property. Examples of specific conditions include occurrence of fire, gas leak, fullness of carbon monoxide, fullness of smoke, excessive temperature and humidity, but the specific conditions detected by the alarm 100 are not limited to these. .

警報器100は、図1に示されるように、制御部10と、通信部20と、制御部10及び通信部20が要する電力を供給する電源部3と、例えば警報器100のユーザーなどに操作される被操作部5と、を備えている。制御部10は、周囲環境を監視して監視結果に基づいて報知する報知機能を制御する。すなわち制御部10は、警報器100が有する本質的な機能である、周囲環境の監視から監視結果に基づく例えば警報の発報といった報知までの機能を制御する。通信部20は、信号の送信及び受信のような警報器100と外部機器Eとの間の交信を含む、警報器100の通信機能を制御する。 As shown in FIG. 1, the alarm device 100 includes a control section 10, a communication section 20, a power supply section 3 that supplies the power required by the control section 10 and the communication section 20, and a power supply section 3 that is operated by a user of the alarm device 100, for example. and an operated section 5 that is operated. The control unit 10 controls a notification function that monitors the surrounding environment and provides notification based on the monitoring result. That is, the control unit 10 controls the essential functions of the alarm device 100, from monitoring the surrounding environment to issuing notifications based on monitoring results, such as issuing an alarm. The communication unit 20 controls communication functions of the alarm device 100, including communication between the alarm device 100 and external equipment E, such as signal transmission and reception.

通信部20は、無線回線C1又は有線回線C2を介して外部機器Eとの間で直接送受信を行ってもよく、無線回線C1又は有線回線C2で接続された、例えばインターネットやローカルエリアネットワーク(LAN)などのネットワークNを介して外部機器Eとの間で送受信を行ってもよい。外部機器Eとしては、警報器100以外の同種、又は検知対象の異なる警報器が例示される。外部機器Eは、警報器100の動作を監視若しくは制御する、及び/又は、警報器100での検知結果若しくは警報発報経過を収集して統計処理若しくは解析するサーバーのような情報処理装置であってもよい。しかし、外部機器Eはこれらに限定されない。 The communication unit 20 may directly transmit and receive data to and from the external device E via the wireless line C1 or the wired line C2. ) or the like may be used to transmit and receive data to and from an external device E via a network N such as . Examples of the external device E include an alarm device of the same type other than the alarm device 100, or an alarm device with a different detection target. The external device E is an information processing device such as a server that monitors or controls the operation of the alarm device 100 and/or collects and statistically processes or analyzes the detection results or alarm issuing progress of the alarm device 100. It's okay. However, the external device E is not limited to these.

本実施形態の警報器100では、通信部20は、通常の監視の実行中、電源部3の状態(例えば、後述するように、電源部3が電池である場合における電池残量若しくは電池切れなど)、故障中、及び、警報発報中などの警報器100の状態を所定周期で外部機器Eに送る通信(定期通信)を行うように構成されている。定期通信を行うことによって、外部機器Eから適時に適切な制御を受け得ることがある。所定周期は、警報器100の検知対象や使用場所などによって適宜選択される。所定周期は、例えば数分程度であってもよく、数時間、あるいは数日程度であってもよい。 In the alarm device 100 of the present embodiment, the communication unit 20 monitors the state of the power supply unit 3 (for example, the remaining battery level or dead battery when the power supply unit 3 is a battery as described later) during normal monitoring. ), is configured to perform communication (periodic communication) that sends the status of the alarm device 100, such as failure, alarm issuing, etc., to the external device E at a predetermined period. By performing periodic communication, it may be possible to receive appropriate control from the external device E in a timely manner. The predetermined period is appropriately selected depending on the object to be detected by the alarm device 100, the place of use, and the like. The predetermined period may be, for example, about several minutes, several hours, or about several days.

電源部3は、制御部10及び通信部20を含む、警報器100の内部の各構成要素に電力を供給する。電源部3は、例えば、商用電源(図示せず)から供給される電力を各構成要素に供給する。その場合、電源部3は、例えば、商用電源から供給される交流電力を所望の電圧の直流電力に変換するインバータや、警報器100内の構成要素に印加される電源電圧を安定化させる電圧レギュレータなどによって構成され得る。電源部3は、商用電源からの電力ではなく、例えばリチウム一次電池、乾電池などの一次電池やバッテリなどの二次電池からの直流電力を警報器100内の各構成要素に供給してもよい。すなわち、警報器100は、電池式の警報器であってもよく、特に再充電不能な一次電池の電力で駆動する警報器であってもよい。 The power supply section 3 supplies power to each component inside the alarm device 100, including the control section 10 and the communication section 20. The power supply unit 3 supplies each component with power supplied from, for example, a commercial power source (not shown). In that case, the power supply unit 3 may include, for example, an inverter that converts AC power supplied from a commercial power source into DC power of a desired voltage, or a voltage regulator that stabilizes the power supply voltage applied to the components in the alarm 100. etc. The power supply unit 3 may supply each component in the alarm 100 with DC power from a primary battery such as a lithium primary battery or a dry cell, or a secondary battery such as a battery, instead of power from a commercial power source. That is, the alarm 100 may be a battery-powered alarm, and in particular may be an alarm powered by power from a non-rechargeable primary battery.

本実施形態の警報器100は、ソフトウェアSWを内蔵していて、ソフトウェアSWに含まれる命令に従って、前述した、周囲環境の監視、監視結果に基づく報知、及び外部機器Eとの交信を行う。図1の例において警報器100が内蔵するソフトウェアSWは、制御部10及び通信部20それぞれを構成する処理装置1が有する記憶手段11に格納されている。処理装置1は、制御部10による報知機能の制御、及び通信部20による外部機器Eとの間の通信の制御を具体的に担う半導体装置からなる。なお、本実施形態において警報器100は、処理装置1が実行するソフトウェアSWを格納するROMなどの記憶手段(図示せず)を、処理装置1とは別に備えていてもよい。 The alarm device 100 of this embodiment has a built-in software SW, and performs the above-mentioned monitoring of the surrounding environment, notification based on the monitoring results, and communication with the external device E, according to instructions included in the software SW. In the example of FIG. 1, the software SW included in the alarm device 100 is stored in the storage means 11 included in the processing device 1 constituting the control section 10 and the communication section 20, respectively. The processing device 1 includes a semiconductor device that specifically controls the notification function by the control section 10 and the control of communication with the external device E by the communication section 20. Note that in this embodiment, the alarm device 100 may include a storage means (not shown) such as a ROM that stores software SW executed by the processing device 1, separately from the processing device 1.

本実施形態の警報器100では、ソフトウェアSWは、警報器100の使用開始後に、要求に応じたソフトウェアSWのアップデートが可能なように内蔵されている。警報器100が従う命令を含むソフトウェアSWのアップデートが警報器100の使用開始後にも可能なので、例えば、適合すべき法規の変更や、外部機器Eとの通信に用いる通信規格の変更などに応じて、ソフトウェアSWをアップデートして、警報器100を適切に動作させることができる。 In the alarm device 100 of this embodiment, the software SW is built-in so that the software SW can be updated according to a request after the alarm device 100 starts to be used. Since the software SW including the commands that the alarm device 100 follows can be updated even after the alarm device 100 starts to be used, it is possible to update the software SW including the commands that the alarm device 100 follows, for example, in response to changes in regulations to comply with, changes in communication standards used for communication with external equipment E, etc. , the software SW can be updated to properly operate the alarm device 100.

また、本実施形態の警報器100において制御部10は、周囲環境の異常の検知に応じて警報を発すると共に、警報発報中であることを外部機器Eに報せる通知を行うように構成されている。そのため、警報器100の周囲だけでなく、警報を広範に届けることができる。例えば、遠方のユーザーや、その関係者にも警報器100の周囲が特定の異常な環境にあることを報せることができる。従って、異常状態の解消に向けた迅速な措置を促すことができ、損害の発生や被害の拡大を防止できることがある。 Furthermore, in the alarm device 100 of the present embodiment, the control unit 10 is configured to issue an alarm in response to detection of an abnormality in the surrounding environment, and also to issue a notification to notify the external device E that an alarm is being issued. ing. Therefore, the alarm can be delivered not only to the area around the alarm device 100 but also to a wide area. For example, it is possible to notify users and their related parties at a distance that there is a specific abnormal environment around the alarm device 100. Therefore, it is possible to prompt prompt measures to resolve the abnormal condition, and it may be possible to prevent damage from occurring or from expanding.

さらに、本実施形態の警報器100は、前述したように、定期的に警報器100の状態を外部機器Eに送信する定期通信を行うように構成されている。ここで、幾つかの通信規格では、送信側から送られる、通信パケットのようなデータの伝送単位ごとに、受信側から応答信号を返信するように規定されている。そこで、本実施形態では、ソフトウェアSWのアップデートがある場合には、データの伝送単位ごとに、ソフトウェアSWのアップデート用の更新データが、定期通信における外部機器Eからの応答信号に含めて送られる。1度のアップデートに必要な更新データは、複数の定期通信に渡って分割して送られる。そして、ソフトウェアSWのアップデートが、そのように複数回の定期通信を通じて送られる更新データを用いて実行される。 Furthermore, the alarm device 100 of this embodiment is configured to perform periodic communication in which the status of the alarm device 100 is periodically transmitted to the external device E, as described above. Here, some communication standards stipulate that a response signal be returned from the receiving side for each transmission unit of data, such as a communication packet, sent from the transmitting side. Therefore, in this embodiment, when there is an update of the software SW, update data for updating the software SW is sent in a response signal from the external device E in regular communication for each data transmission unit. Update data necessary for one update is divided and sent over multiple periodic communications. The software SW is then updated using the update data sent through multiple regular communications.

なお、本明細書において、「ソフトウェアSWのアップデート」は、ソフトウェアSWのフルアップデートであっても、部分アップデートであってもよい。また、定期通信における外部機器Eからの応答信号に含められるソフトウェアSWのアップデート用の更新データは、更新データのうちの一部であってもよく、残りの更新データは、定期通信における外部機器Eからの応答信号以外の通信(例えば、更新データ送信専用の通信)によって送られてもよい。 Note that in this specification, "updating the software SW" may be a full update or a partial update of the software SW. Further, the update data for updating the software SW included in the response signal from the external device E in the regular communication may be a part of the update data, and the remaining update data is included in the response signal from the external device E in the regular communication. The response signal may be sent by communication other than the response signal from (for example, communication dedicated to transmitting update data).

警報器100は、制御用ソフトウェアのアップデート中に警報機能が影響を受けるような構成となることがある。その場合、アップデートデータのボリューム次第で、警報機能が長時間制限されることも起こり得る。例えば、図1に示される警報器100のように、制御部10と通信部20とが処理装置1を共用する場合、処理装置1は、アップデート用の更新データの受信中の受信処理によって、警報機能を制限されることがあり得る。本実施形態の警報器100では、前述のように、アップデート用の更新データが、定期通信における外部機器Eからの応答信号に含めて送られる。そのため、新たな制御方式を適宜取り入れることができ、しかも、警報器が有する警報機能などの各機能の停止期間を少なくすることができる。さらに、定期通信を利用することで、アップデート用の更新データを効率良く送受することができる。 The alarm device 100 may be configured such that the alarm function is affected during an update of the control software. In that case, depending on the volume of update data, the alarm function may be restricted for a long time. For example, when the control unit 10 and the communication unit 20 share the processing device 1 like the alarm device 100 shown in FIG. Functionality may be limited. In the alarm device 100 of this embodiment, as described above, the update data for updating is sent as being included in the response signal from the external device E in regular communication. Therefore, a new control method can be adopted as appropriate, and the period during which each function such as the alarm function of the alarm device is stopped can be reduced. Furthermore, by using regular communication, update data for updates can be efficiently sent and received.

上記の通り警報器100では、ソフトウェアSWに含まれる命令に従って、周囲環境の監視結果に基づく報知、及び外部機器Eとの交信が行われる。従って、ソフトウェアSWのアップデートは、報知機能に関するアップデートと通信機能に関するアップデートとの両方を含み得る。しかし、報知機能に関するアップデートは警報器100の本質的機能のアップデートになるため、例えばアップデート用データの不備などによる万一の不具合を避けるべく、警報器100において実施可能なソフトウェアSWのアップデートから報知機能に関するアップデートが除外されていてもよい。すなわち、ソフトウェアSWのアップデートは、報知機能に影響し難いと考えられる、通信機能に関するアップデートであってもよい。「通信機能に関するアップデート」及び「報知機能に関するアップデート」については、後に例示と共に詳述される。 As described above, in the alarm device 100, notifications based on the monitoring results of the surrounding environment and communication with the external device E are performed in accordance with the commands included in the software SW. Therefore, the software SW update may include both an update regarding the notification function and an update regarding the communication function. However, since updates related to the notification function are updates to the essential functions of the alarm device 100, in order to avoid any problems due to, for example, incomplete update data, the notification function can be updated from software SW updates that can be performed in the alarm device 100. Updates related to this may be excluded. That is, the update of the software SW may be an update related to the communication function, which is considered to be unlikely to affect the notification function. The "update related to communication function" and the "update related to notification function" will be explained in detail later along with examples.

<制御部の構成>
本実施形態の警報器の構成及び作用が、以下にさらに詳細に説明される。図1の例において制御部10は、検知部12と、報知部13と、前述した処理装置1及びその周辺回路(図示せず)と、を備えている。処理装置1は、制御部10と通信部20との間で共有されている。
<Configuration of control unit>
The configuration and operation of the alarm device of this embodiment will be explained in more detail below. In the example of FIG. 1, the control unit 10 includes a detection unit 12, a notification unit 13, and the aforementioned processing device 1 and its peripheral circuits (not shown). The processing device 1 is shared between the control section 10 and the communication section 20.

検知部12は、主に、警報器100の周囲の監視対象領域の物理現象を監視して監視データを出力する各種のセンサから構成される。各種のセンサは、たとえば、一酸化炭素ガス(CO)、メタンガス(CH4)又はプロパンガス(C38)を検知する各種ガスセンサ、サーミスタなどからなる温度センサ、湿度センサ、煙センサ、又は臭気センサなどであってよい。検知部12は、これらセンサの1つ又は複数で構成され得る。例えば、各種のガスセンサによってガス漏れが検知される場合、警報器100はガス警報器であり得、温度センサ及び煙センサなどによって火災の発生が検知される場合、警報器100は火災警報器であり得る。 The detection unit 12 mainly includes various sensors that monitor physical phenomena in a monitoring target area around the alarm device 100 and output monitoring data. Various types of sensors include, for example, various gas sensors that detect carbon monoxide gas (CO), methane gas (CH 4 ), or propane gas (C 3 H 8 ), temperature sensors such as thermistors, humidity sensors, smoke sensors, and odor sensors. It may be a sensor or the like. The detection unit 12 may be composed of one or more of these sensors. For example, if a gas leak is detected by various gas sensors, the alarm 100 may be a gas alarm; if a temperature sensor, a smoke sensor, etc. detect the occurrence of a fire, the alarm 100 may be a fire alarm. obtain.

報知部13は、例えば、発光ダイオード、ディスプレイ、ブザー及び/又はスピーカーなどの、警報器100のユーザーなどへの報知手段により構成され、光の放射、鳴動、及び/又は音響を発することにより警報を発する。また、報知部13は、警報を発する以外にも、警報器100の状態や、警報を発するに至らない監視領域の環境に関する情報をユーザーなどに伝えるために動作してもよい。 The notification unit 13 is constituted by a means for notifying the user of the alarm device 100, such as a light emitting diode, a display, a buzzer, and/or a speaker, and issues an alarm by emitting light, ringing, and/or sound. emanate. In addition to issuing an alarm, the notification unit 13 may also operate to inform the user of information regarding the status of the alarm device 100 and the environment of the monitoring area that does not warrant issuing an alarm.

処理装置1は、マイコンやASICなどの半導体装置からなり、内蔵されたプログラムに従って動作する。なお、警報器100が処理装置1と別にROMなどの記憶装置(図示せず)を備える場合は、処理装置1は、この外部の記憶装置に格納されたプログラムに従って動作してもよい。処理装置1は、好ましくは、演算機能、比較機能、記憶機能などを有している。制御部10において処理装置1は、検知部12及び報知部13の動作を含む、警報器100の報知機能に関する動作を全体的に制御する。例えば処理装置1は、検知部12から得られる検知データが示す、一酸化炭素やガスの濃度、周囲の温度、及び、煙の濃度などが、所定の閾値を超えているか否かを判断する。そして、温度や濃度などが閾値を超えている場合には、例えばその超過の程度に応じて決定した態様で報知部13に報知を実行させる。 The processing device 1 is composed of a semiconductor device such as a microcomputer or an ASIC, and operates according to a built-in program. Note that if the alarm device 100 includes a storage device (not shown) such as a ROM apart from the processing device 1, the processing device 1 may operate according to a program stored in this external storage device. The processing device 1 preferably has a calculation function, a comparison function, a storage function, and the like. In the control unit 10, the processing device 1 controls the entire operation related to the notification function of the alarm device 100, including the operation of the detection unit 12 and the notification unit 13. For example, the processing device 1 determines whether the concentration of carbon monoxide or gas, the ambient temperature, the concentration of smoke, etc. indicated by the detection data obtained from the detection unit 12 exceed a predetermined threshold value. When the temperature, concentration, etc. exceed the threshold value, the notification section 13 is caused to perform notification in a manner determined depending on the extent of the exceedance, for example.

図1の例の処理装置1は、処理装置1での処理に必要な任意の情報を記憶する記憶手段11を備えている。記憶手段11は、処理装置1に組み込まれた、ROM、PROM(プログラマブルROM)、RAM、フラッシュメモリ、及び各種のレジスタなどのメモリ空間であり得る。記憶手段11には、例えば、警報発報の判断基準であって検知部12の検知データと比較される閾値、この閾値と検知データとの比較結果に対応付けられた報知部13での報知態様、電池式の場合の電池の残量に関する所定の閾値、及び、通信部20の状態に関する情報、などが記憶される。図1の例では、記憶手段11を構成し得るメモリ、例えばEPROM(イレーサブルPROM)に、警報器100が従う命令を記述したプログラムを含むソフトウェアSWが格納されている。 The processing device 1 in the example of FIG. 1 includes a storage means 11 that stores arbitrary information necessary for processing in the processing device 1. The storage means 11 may be a memory space such as a ROM, PROM (programmable ROM), RAM, flash memory, and various registers, which are built into the processing device 1 . The storage unit 11 stores, for example, a threshold value that is a criterion for issuing an alarm and is compared with the detection data of the detection unit 12, and a notification mode in the notification unit 13 that is associated with the comparison result between this threshold value and the detection data. , a predetermined threshold value regarding the remaining amount of the battery in the case of a battery type, information regarding the state of the communication unit 20, and the like are stored. In the example of FIG. 1, a memory that may constitute the storage means 11, such as an EPROM (erasable PROM), stores software SW that includes a program that describes instructions that the alarm device 100 follows.

<通信部の構成>
通信部20は、前述した制御部10との間で共有する処理装置1及びその周辺回路(図示せず)と、送受信部22とを備えている。送受信部22は、無線通信又は有線通信によって外部機器Eとの間で信号を送受する。送受信部22は、外部機器Eと警報器100との間で電気信号を送受するように構成された、集積回路装置や個々の部品からなる電気回路などのハードウェア(例えば、ASICなどからなる通信制御IC又はモデムIC、及びその周辺回路など)により構成される。送受信部22によって、送受信信号の変換、増幅、変調/復調、並びに外部機器Eとの間のリンクの設定などが行われる。
<Composition of communication department>
The communication unit 20 includes the processing device 1 and its peripheral circuits (not shown), which are shared with the control unit 10 described above, and a transmitting/receiving unit 22. The transmitting/receiving unit 22 transmits and receives signals to and from the external device E by wireless communication or wired communication. The transmitting/receiving unit 22 is configured to transmit and receive electrical signals between the external device E and the alarm 100 using hardware such as an integrated circuit device or an electric circuit consisting of individual components (for example, a communication device such as an ASIC). (control IC or modem IC, peripheral circuits, etc.). The transmitting/receiving section 22 performs conversion, amplification, modulation/demodulation of transmitted/received signals, and setting of a link with the external device E.

通信部20において処理装置1は、警報器100の動作中に送受信部22で行われる、警報器100と外部機器Eとの間での交信に必要な動作を全体的に制御する。例えば、処理装置1は、警報器100における周囲環境の監視結果に基づいて実行される報知に関する情報を外部機器Eに送る動作を制御してもよい。この「報知に関する情報」は、警報器100において監視結果に基づいて実行される報知に関するものであれば、特に限定されない。例えば、「報知に関する情報」は、検知部12で得られる逐次若しくは継続的な検知データ、周囲環境が特定の状態にあると判断する閾値(警報発報基準)、警報の発報履歴、及び、警報器100の状態(例えば正常状態で通常の監視実行中、電池式の場合の電池残量若しくは電池切れ、故障中、及び、警報発報中など)、などであり得る。処理装置1は、さらに、上記「報知に関する情報」以外の情報を外部機器Eに送る動作を制御してもよく、警報器100の制御に関する情報などの任意の情報を外部機器Eから受け取る動作を制御してもよい。 In the communication section 20, the processing device 1 controls the entire operation necessary for communication between the alarm device 100 and the external device E, which is performed by the transmitter/receiver section 22 while the alarm device 100 is in operation. For example, the processing device 1 may control the operation of sending information related to the notification performed based on the monitoring result of the surrounding environment in the alarm device 100 to the external device E. This "information regarding notifications" is not particularly limited as long as it is related to notifications performed in the alarm device 100 based on monitoring results. For example, "information related to notification" includes sequential or continuous detection data obtained by the detection unit 12, a threshold value for determining that the surrounding environment is in a specific state (alarm issuing criteria), an alarm issuing history, and The state of the alarm device 100 may be (for example, in a normal state and performing normal monitoring, in the case of a battery-powered device, the remaining battery level or a dead battery, in failure, issuing an alarm, etc.). The processing device 1 may further control the operation of sending information other than the above-mentioned "information related to notification" to the external device E, and the operation of receiving arbitrary information such as information related to control of the alarm device 100 from the external device E. May be controlled.

図1の例において処理装置1は計時手段21を含んでいる。計時手段21は、例えば、特定の時点からの経過時間をカウントする。計時手段21は、例えば処理装置1を構成するマイコンなどの半導体装置に構成されたカウンタやタイマであり得る。計時手段21は、例えば、通信部20が行う前述した「定期通信」において、最後に警報器100の状態が送られてからの経過時間をカウントする。 In the example of FIG. 1 , the processing device 1 includes a clock means 21 . For example, the timer 21 counts the elapsed time from a specific point in time. The clock means 21 may be, for example, a counter or a timer configured in a semiconductor device such as a microcomputer that constitutes the processing device 1. The timer 21 counts the elapsed time since the last time the status of the alarm device 100 was sent, for example, in the above-mentioned "regular communication" performed by the communication unit 20.

被操作部5は、例えば、警報器100のユーザーや管理者などによる操作が可能なように警報器100に設けられている。被操作部5に対して、種々の所定の動作の実行を警報器100に指示する各種の手動操作が行われる。被操作部5に対して、ソフトウェアSWのアップデートを要求する手動操作が行われてもよい。また、被操作部5に対して、ソフトウェアSWのアップデート以外の所定の動作を指示する操作(以下「第1操作」とも称する)が行われてもよい。被操作部5は、このようなソフトウェアSWのアップデートを要求する操作及び/又はアップデート以外の動作を指示する第1操作を受け得る。その場合、被操作部5に対する操作による指示は、電気信号などによって処理装置1に伝えられ、処理装置1で、被操作部5への操作によって指示された動作が実行される。例えば、ソフトウェアSWのアップデートが要求されたなら、アップデートが実行され得る。 The operated section 5 is provided in the alarm device 100 so that it can be operated by, for example, a user or an administrator of the alarm device 100. Various manual operations are performed on the operated section 5 to instruct the alarm device 100 to perform various predetermined operations. A manual operation may be performed on the operated unit 5 to request an update of the software SW. Further, an operation (hereinafter also referred to as "first operation") may be performed on the operated unit 5 to instruct a predetermined operation other than updating the software SW. The operated unit 5 can receive such an operation that requests an update of the software SW and/or a first operation that instructs an operation other than the update. In that case, an instruction by operating the operated part 5 is transmitted to the processing device 1 by an electrical signal or the like, and the processing device 1 executes the operation instructed by the operation to the operated part 5. For example, if a software SW update is requested, the update may be performed.

被操作部5としては、警報器100に外部から視認及び接触可能に設けられた各種のスイッチが例示される。被操作部5として用いられるスイッチとしては、押し釦スイッチやトグルスイッチなどが例示されるが、これらに限定されない。また、被操作部5は、タッチパネルやキーパッドのような入力装置であってもよい。 Examples of the operated part 5 include various switches provided on the alarm device 100 so as to be visible and accessible from the outside. Examples of the switch used as the operated part 5 include a push button switch and a toggle switch, but the switch is not limited to these. Furthermore, the operated section 5 may be an input device such as a touch panel or a keypad.

被操作部5として用いられるスイッチは、操作中のみ押し込まれて、操作が終了すると自動復帰するタクタイルスイッチが好ましいことがある。被操作部5がタクタイルスイッチで構成されている場合、押し込まれる時間の長さの違いによって、2種類以上の動作がそれぞれ指示されてもよい。例えば、押し込まれる時間が2秒未満の押し込み操作は、警報器100の自主点検の要求と認識され、2秒以上5秒未満の押し込み操作は、発報中の警報の停止指示と認識され、5秒以上の押し込み操作は、ソフトウェアSWのアップデートの要求と認識されてもよい。 The switch used as the operated part 5 may preferably be a tactile switch that is pushed in only during operation and automatically returns when the operation is completed. When the operated section 5 is composed of a tactile switch, two or more types of operations may be instructed depending on the length of time the switch is pressed. For example, a push operation that takes less than 2 seconds is recognized as a request for self-inspection of the alarm device 100, and a push operation that lasts for 2 seconds or more but less than 5 seconds is recognized as an instruction to stop the alarm that is in progress. A pressing operation for more than a second may be recognized as a request to update the software SW.

<ソフトウェアのアップデート>
ソフトウェアSWは、記憶手段11として備えられるEPROM、好ましくは、EEPROM(エレクトリカリー・イレーサブルPROM)やフラッシュメモリなどに格納されている。EEPROM及びフラッシュメモリなどでは、例えば高電圧の印加などによって、既に記憶されている内容を書き換えることができる。例えばこのように、EEPROMやフラッシュメモリなどで構成される書き換え可能な記憶領域にソフトウェアSWを格納することによって、警報器100の使用開始後であっても、ソフトウェアSWのアップデートの実行が可能となる。例えば、処理装置1が備えるCPU(図示せず)の制御の下で、記憶手段11として備えられているフラッシュメモリ(又は処理装置1の外部の記憶装置)などの記憶内容が書き換えられ、その結果、ソフトウェアSWがアップデートされる。
<Software update>
The software SW is stored in an EPROM provided as the storage means 11, preferably an EEPROM (Electrically Erasable PROM), a flash memory, or the like. In EEPROMs, flash memories, and the like, already stored contents can be rewritten by, for example, applying a high voltage. For example, by storing the software SW in a rewritable storage area such as EEPROM or flash memory, it is possible to update the software SW even after the alarm 100 has started to be used. . For example, under the control of a CPU (not shown) provided in the processing device 1, the storage contents of a flash memory (or a storage device external to the processing device 1) provided as the storage means 11 are rewritten, and as a result, , the software SW is updated.

ソフトウェアSWは、処理装置1が行う動作に関する命令が記述された制御プログラムなどのソフトウェアを含み得る。ソフトウェアSWは、処理装置1のメモリ(例えばEEPROMやフラッシュメモリで構成される記憶手段11)に書き込まれている、処理装置1に関するファームウェアであってもよい。警報器100の使用開始後にもアップデート可能なソフトウェアSWが処理装置1に関するファームウェアであると、例えば、法規の変更や通信規格の改定などによって処理装置1による基本的な制御方式の変更が求められる場合でも、その変更に容易に対応することができる。 The software SW may include software such as a control program in which instructions related to operations performed by the processing device 1 are written. The software SW may be firmware related to the processing device 1 written in the memory of the processing device 1 (for example, the storage means 11 composed of an EEPROM or a flash memory). If the software SW that can be updated even after the start of use of the alarm device 100 is firmware related to the processing device 1, for example, if the basic control method by the processing device 1 is required to be changed due to changes in regulations or communication standards, etc. However, changes can be easily accommodated.

特に、警報器を含む各種機器間の通信において準拠される通信規格は、セキュリティ要件などに関して適宜改定されている。また通信規格は、新たに開発される通信技術を取り入れるべく改定されることもある。警報器100には、アップデートが可能なようにソフトウェアSWが内蔵されているので、前述したように、適合すべき法規の変更や、外部機器Eとの通信に用いる通信規格の変更などに応じたアップデートの実行によって、制御方式などを適切に更新することができ、警報器100を適切に動作させることができる。 In particular, communication standards that are followed in communication between various devices including alarm devices are being revised as appropriate regarding security requirements and the like. Communication standards are also sometimes revised to incorporate newly developed communication technologies. The alarm device 100 has a built-in software SW so that it can be updated, so that it can be updated in response to changes in regulations, changes in the communication standards used for communication with external equipment E, etc. By executing the update, the control method etc. can be updated appropriately, and the alarm device 100 can be operated appropriately.

前述したように外部機器Eとの間で無線での交信も可能な通信部20を含む警報器100では、ソフトウェアSWのアップデートは、外部機器Eと通信部20との無線通信に基づいて行われてもよい。すなわち、ソフトウェアSWのアップデートは、所謂「OTA(Over-The-Air)アップデート」であってもよく、前述したようにソフトウェアSWがファームウェアである場合は、「ファームウェアOTA」であってもよい。その場合、例えば、遠隔地からでもソフトウェアSWをアップデートすることができる。 As described above, in the alarm device 100 including the communication section 20 that can also communicate wirelessly with the external device E, the software SW is updated based on the wireless communication between the external device E and the communication section 20. It's okay. That is, the update of the software SW may be a so-called "OTA (Over-The-Air) update," and if the software SW is firmware as described above, it may be a "firmware OTA." In that case, for example, the software SW can be updated even from a remote location.

なお、ソフトウェアSWのアップデートは、無線通信に依らずに行われてもよい。すなわち、アップデート後のソフトウェアSWは、警報器100に接続された物理的な回線を通じて供給されてもよく、USBメモリなどの記憶媒体を介して供給されてもよい。 Note that the software SW may be updated without relying on wireless communication. That is, the updated software SW may be supplied through a physical line connected to the alarm device 100, or may be supplied via a storage medium such as a USB memory.

<ソフトウェアを格納する記憶領域の構成>
図2には、処理装置1が有する記憶領域、例えば記憶手段11(図1参照)としてソフトウェアSWを格納すべく備えられる、例えばEEPROMやフラッシュメモリなどのメモリの記憶領域4の構成及び記憶内容の一例が模式的に示されている。図2の例において、A-0000番地からA-nnnn番地までのアドレスに、命令1~命令nで構成されるソフトウェアSWが格納されている。一例として、ソフトウェアSWのアップデートが行われる際には、アップデート後のソフトウェアSWが含むべき一連の命令が、A-0000番地から順に、アップデート後のソフトウェアSWのサイズに対応する任意の番地までの領域に上書きされる。
<Storage area configuration for storing software>
FIG. 2 shows the configuration and storage contents of a storage area 4 of a memory such as an EEPROM or a flash memory, which is provided as a storage means 11 (see FIG. 1) to store software SW, which the processing device 1 has. An example is shown schematically. In the example of FIG. 2, a software SW consisting of instructions 1 to n is stored at addresses from address A-0000 to address A-nnnn. As an example, when a software SW is updated, a series of instructions that the updated software SW should contain is stored in an area starting from address A-0000 and extending to an arbitrary address corresponding to the size of the updated software SW. will be overwritten.

図2の例の記憶領域4は、A-0001番地からA-FFFF番地までの第1記憶領域A1と共に、B-0000番地からB-FFFF番地までの第2記憶領域A2を有している。従って、ソフトウェアSWのアップデートでは、アップデート後のソフトウェアSWが含むべき一連の命令が、第1記憶領域A1に上書きされずに、第2記憶領域A2に格納されてもよい。このようにアップデート後のソフトウェアSWが含むべき命令を格納することによって、処理装置1をアップデート前のソフトウェアSWに従って動作させながら、アップデート後のソフトウェアSWを、記憶手段11として備えられるフラッシュメモリなどの記憶領域に書き込むことができる。そして、処理装置1によって次に実行されるべき命令が格納されている記憶手段11のアドレスを保存するプログラムカウンタが、第2記憶領域A2内の適切なアドレスに設定される。このようにして、報知機能が機能しない期間を全く生じさせずに、ソフトウェアSWのアップデートを行えることがある。 The storage area 4 in the example of FIG. 2 has a first storage area A1 from address A-0001 to address A-FFFF, and a second storage area A2 from address B-0000 to B-FFFF. Therefore, when updating the software SW, a series of instructions that the updated software SW should include may be stored in the second storage area A2 without being overwritten in the first storage area A1. By storing the instructions to be included in the updated software SW in this way, the updated software SW can be stored in a flash memory or the like provided as the storage means 11 while the processing device 1 operates according to the pre-updated software SW. Can write to the area. Then, a program counter that stores the address of the storage means 11 where the next instruction to be executed by the processing device 1 is stored is set to an appropriate address within the second storage area A2. In this way, the software SW may be updated without any period during which the notification function does not function.

<更新データの供給態様>
前述のように、本実施形態の警報器100では、通信部20は、通常の監視の実行中、電池式の場合の電池残量若しくは電池切れ、故障中、及び、警報発報中などの警報器100の状態を所定周期で外部機器Eに送る通信(定期通信)を行うように構成されている。ここで、図3に示されるように、警報器100から外部機器Eに警報器100の状態などを送る際に準拠する通信規格では、通信パケットなどの伝送単位のデータ長が固定長として定められていることがある。そのような通信規格の下で警報器100の状態が外部機器Eに送信される場合、例えば外部機器Eを示す宛先などの制御情報を含むヘッダH1と、ペイロードP1とで構成される固定長のパケットPsが送信される。ペイロードP1に実際の送信対象のデータである警報器100の状態を示すデータが格納される。
<How update data is supplied>
As described above, in the alarm device 100 of the present embodiment, the communication unit 20 sends warnings such as during normal monitoring, remaining battery level or dead battery in case of battery type, malfunction, and alarm issuance. The device 100 is configured to perform communication (periodic communication) in which the status of the device 100 is sent to the external device E at predetermined intervals. Here, as shown in FIG. 3, in the communication standard that is used when transmitting the status of the alarm device 100 from the alarm device 100 to the external device E, the data length of a transmission unit such as a communication packet is defined as a fixed length. There are times when I am. When the status of the alarm device 100 is transmitted to the external device E under such communication standards, a fixed-length header H1 containing control information such as a destination indicating the external device E, and a payload P1 is transmitted. Packet Ps is transmitted. Data indicating the state of the alarm device 100, which is data to be actually transmitted, is stored in the payload P1.

パケットPsを受け取った外部機器Eは、特に警報器100に送るデータが無くても、準拠する通信規格の規定に従って固定長のパケットPa(応答パケット)を警報器100に送信する。単なる応答用のパケットPaは、準拠する通信規格に従って、警報器100を示す宛先を含むヘッダH2と、パケットPaの固定長を満たすペイロードP2とで構成される。単なる応答用のパケットPaの場合、ペイロードP2には、例えば“0”のみ又は“1”のみのヌル(無効)データが格納される。そこで、本実施形態の警報器100において、ソフトウェアSWのアップデートが予定されている場合には、このペイロードP2に更新データが格納されて警報器100に送信される。このように通常の応答パケットでは有効活用されていないデータ格納領域を利用することで、更新データのためだけのデータ送信を行う場合と比べて、効率良く更新データを警報器100に供給することができる。 The external device E that has received the packet Ps transmits a fixed-length packet Pa (response packet) to the alarm device 100 in accordance with the regulations of the communication standard to which it is compliant, even if there is no data to send to the alarm device 100. A simple response packet Pa is configured with a header H2 including a destination indicating the alarm device 100 and a payload P2 that satisfies the fixed length of the packet Pa, according to the compliant communication standard. In the case of a simple response packet Pa, the payload P2 stores null (invalid) data such as only "0" or only "1". Therefore, in the alarm device 100 of this embodiment, when the software SW is scheduled to be updated, update data is stored in the payload P2 and transmitted to the alarm device 100. In this way, by using the data storage area that is not effectively used in normal response packets, update data can be supplied to the alarm device 100 more efficiently than when data is transmitted only for update data. can.

警報器100は、定期通信において、警報器100へのデータの伝送単位に含まれる符号に基づいて、分割された更新データの全てを受け取ったことを認識するように構成されていてもよい。その場合、パケットPaのペイロードP2に格納された分割された更新データが全ての更新データのうちのいずれの更新データに該当するかを示す識別ビットH20がパケットPaの一部に格納された状態で、外部機器Eから応答用のパケットPaが送信されてもよい。そうすることで、警報器100が更新データの全てを受け取ると、自律的にソフトウェアSWのアップデートを開始することができる。なお、図3の例では、識別ビットH2は、パケットPaのヘッダH2に格納されているが、パケットPaのペイロードP2に格納されていてもよい。 The alarm device 100 may be configured to recognize that all of the divided update data has been received during regular communication based on a code included in the unit of data transmission to the alarm device 100. In that case, an identification bit H20 indicating which of all the update data the divided update data stored in the payload P2 of the packet Pa corresponds to is stored in a part of the packet Pa. , a response packet Pa may be transmitted from the external device E. By doing so, when the alarm device 100 receives all of the update data, it can autonomously start updating the software SW. Note that in the example of FIG. 3, the identification bit H2 is stored in the header H2 of the packet Pa, but it may also be stored in the payload P2 of the packet Pa.

識別ビットH20の形態として、例えば、更新データの分割数がmである場合、外部機器Eから最初に送信される分割された更新データから昇順(1からmまでの順)に番号を付し、付された番号にそれぞれ対応する数値データを識別ビットH20に格納した状態で、応答用のパケットPaが送信されることが例示される。その場合、外部機器Eは、更新データの送信前又は送信中に、更新データの分割数がいくつであるかを示す数値データが警報器100に送信されてもよい。そうすることで、警報器100は、更新データの全てを受け取る前に、受信すべき更新データがいくつであるかを認識するので、更新データの全てを受け取ると、自律的にソフトウェアSWのアップデートを遅滞なく開始することができる。なお、外部機器Eから最後に送信される分割された更新データにのみ、識別ビットH20として所定のデータ(例えば、「1」)を格納し、その他の分割された更新データには、所定のデータを格納していない状態(例えば、「0」)で、応答用のパケットPaが送信されてもよい。 As the format of the identification bit H20, for example, when the number of divisions of update data is m, numbers are assigned in ascending order (in order from 1 to m) from the divided update data transmitted first from the external device E, For example, the response packet Pa is transmitted with numerical data corresponding to the assigned numbers stored in the identification bit H20. In that case, the external device E may transmit numerical data indicating the number of divisions of the update data to the alarm device 100 before or during the transmission of the update data. By doing so, the alarm device 100 recognizes how much update data is to be received before receiving all of the update data, so when all of the update data is received, the alarm device 100 autonomously updates the software SW. You can start without delay. Note that predetermined data (for example, "1") is stored as the identification bit H20 only in the divided update data sent last from the external device E, and the predetermined data is stored in the other divided update data. The response packet Pa may be transmitted in a state in which no information is stored (for example, "0").

なお、警報器100において、前述したように警報の発報が外部機器Eに通知される場合、その通知に対する応答信号にアップデート用の更新データが含められてもよい。この場合も、更新データのためだけのデータ送信を行う場合と比べて、効率良く更新データを警報器100に供給することができる。 Note that in the alarm device 100, when the external device E is notified of the alarm as described above, update data for updating may be included in the response signal to the notification. Also in this case, update data can be supplied to the alarm device 100 more efficiently than when data is transmitted only for update data.

また、警報器100は、分割して受け取る更新データを、アップデートの実行まで、警報器100内の記憶手段11(図1参照)などの記憶領域に保管してもよい。その場合、図2に示されるように、アップデート前のソフトウェアSWが格納されている領域(例えば第1記憶領域A1)と異なる領域(例えば第2記憶領域A2)に、順次受け取る更新データが格納されてもよい。そうすることで、警報器100は、アップデート前のソフトウェアSWに従って動作しながら、すなわち報知機能を停止させることなく、随時送られてくる更新データを受け取ることができる。 Further, the alarm device 100 may store the update data received in parts in a storage area such as the storage means 11 (see FIG. 1) within the alarm device 100 until the update is executed. In that case, as shown in FIG. 2, the update data that is sequentially received is stored in an area (for example, second storage area A2) that is different from the area in which the software SW before the update is stored (for example, first storage area A1). It's okay. By doing so, the alarm device 100 can receive update data sent from time to time while operating according to the software SW before the update, that is, without stopping the notification function.

<アップデートの処理フロー>
図4を参照して、本実施形態の警報器における通信部に関するソフトウェアのアップデートに関する処理が説明される。図4には、一例として、図1の警報器100における、ソフトウェアSWのアップデートを含む動作を示すフローチャートが示されている。なお、図4では、更新データが全て受け取られると、警報発報中でなければアップデートが実行され、警報発報中である場合には、警報が発報されなくなるまでアップデートは実行されないが例示されるが、処理フローはこれに限定されない。
<Update processing flow>
With reference to FIG. 4, processing related to updating software regarding the communication unit in the alarm device of this embodiment will be explained. FIG. 4 shows, as an example, a flowchart showing the operation of the alarm device 100 of FIG. 1, including updating the software SW. In addition, in FIG. 4, when all the update data is received, the update is executed unless the alarm is being issued, and if the alarm is being issued, the update is not executed until the alarm is no longer issued. However, the processing flow is not limited to this.

図4のステップS1において、周囲環境の監視が開始されると、計時手段21(図1参照)を構成するカウンタなどがリセットされ(ステップS2)、時間のカウントが開始される。そして、所定の時間が経過していない場合(ステップS3で“N”)は、ループL1で所定の時間が経過するまで、計時手段21の時間がカウントアップされる(ステップS4)。所定の時間が経過すると(ステップS3で“Y”)、定期通信として警報器100の状態が外部機器E(図1参照)に送信され(ステップS31)、計時手段21のカウント値がリセットされる(ステップS32)。 In step S1 of FIG. 4, when monitoring of the surrounding environment is started, a counter and the like constituting the time measuring means 21 (see FIG. 1) are reset (step S2), and time counting is started. If the predetermined time has not elapsed ("N" in step S3), the time of the timer 21 is counted up in loop L1 until the predetermined time has elapsed (step S4). When a predetermined period of time has elapsed (“Y” in step S3), the status of the alarm device 100 is transmitted to the external device E (see FIG. 1) as regular communication (step S31), and the count value of the timer 21 is reset. (Step S32).

その後、定期通信における外部機器Eからの応答信号が受信され(ステップS33)、ソフトウェアSWのアップデート用の更新データのうち、応答信号に含まれる分割された更新データが取得される(ステップS34)。例えば、取得された分割された更新データは、記憶領域4の第2記憶領域A2(図2)に格納される。そして、更新データが全て受け取られていない場合は(ステップS5で“N”)、ループL2で更新データを全て受け取るまで、一連のステップS3、S31~S34が繰り返される。 Thereafter, a response signal from the external device E in regular communication is received (step S33), and among the update data for updating the software SW, divided update data included in the response signal is acquired (step S34). For example, the obtained divided update data is stored in the second storage area A2 (FIG. 2) of the storage area 4. If all the update data has not been received ("N" in step S5), a series of steps S3 and S31 to S34 are repeated until all the update data is received in loop L2.

更新データが全て受け取られると(ステップS5で“Y”)、警報発報中でなければ(ステップS6で“Y”)、アップデートが実行される(ステップS7)。一方、警報発報中である場合には(ステップS6で“N”)、警報が発報されなくなるまで、アップデートは実行されない(ループL3)。そうすることで、異常発生において、アップデートの実行により警報が発報されない事態が回避される。アップデートの実行(ステップS7)が完了した後に、アップデートが完了したことが外部機器Eに通知され(ステップS8)、ループL4で制御がステップS3に戻される。 When all the update data is received ("Y" in step S5), and if no alarm is being issued ("Y" in step S6), the update is executed (step S7). On the other hand, if the alarm is being issued ("N" in step S6), the update is not executed until the alarm is no longer issued (loop L3). By doing so, it is possible to avoid a situation where an alarm is not issued due to execution of the update when an abnormality occurs. After execution of the update (step S7) is completed, the external device E is notified that the update has been completed (step S8), and control is returned to step S3 in loop L4.

周囲環境の監視中に、異常状態Abが発生すると、警報器100(図1参照)において警報が発せられる(ステップS21)とともに、外部機器Eに警報発報中であることが通知される(ステップS22)。前述したように、警報器100からの警報の発報を報せる通知に対して、外部機器Eは、通知に対する応答信号の空き領域に分割された更新データを格納して警報器に送信してもよい。そうすることで、外部機器Eからの通知に対する応答信号の受信(ステップS33)によって、分割された更新データが取得される(ステップS34)。その場合、所定の時間が経過したときの定期信号の応答信号による更新データの取得と同様に、更新データが全て受け取られているか否かが判断され(ステップS5)、更新データが全て受け取られた場合(ステップS5で“Y”)には、警報が発報されなくなった後(ループL3)、アップデートが実行される(ステップS7)。 When an abnormal state Ab occurs during monitoring of the surrounding environment, an alarm is issued in the alarm device 100 (see FIG. 1) (step S21), and the external device E is notified that an alarm is being issued (step S22). As described above, in response to a notification from the alarm device 100 informing that an alarm has been issued, the external device E stores the divided update data in the empty area of the response signal to the notification and sends it to the alarm device. Good too. By doing so, the divided update data is acquired by receiving a response signal to the notification from the external device E (step S33) (step S34). In that case, similarly to the acquisition of updated data by a response signal of a periodic signal when a predetermined time has elapsed, it is determined whether all updated data has been received (step S5), and it is determined whether all updated data has been received. If so (“Y” in step S5), the update is executed (step S7) after the alarm is no longer issued (loop L3).

<アップデートの要求態様>
図4の例において、ソフトウェアSWのアップデートは、複数の応答信号に分割して送られるソフトウェアSWのアップデート用の更新データの全てを受け取ったことをもって自律的に行われている。しかし、本実施形態の警報器100において、ソフトウェアSWのアップデートの要求には、任意の方法が適用され得る。図5には、アップデートの要求の他の幾つかの例として、家屋の室内に設置された警報器100へのアップデートの要求方法が模式的に示されている。アップデートの要求は、例えば、被操作部5に触れるような直接的な所定の操作M1によって行われてもよい。また、警報器100の付属リモコンのような専用端末や、アプリケーションプログラムによって専用端末化されたスマートフォンなどの各種の汎用携帯端末から近距離通信によってアップデートが要求されてもよい(以下では、専用端末と専用端末化された汎用携帯端末は「専用端末類」と総称され、図5には符号「Pn」を添えて示されている)。また、外部機器Eや、遠方のスマートフォンなどの端末Prから、ネットワークNや通信事業者の基地局Bを介して送られる信号によってアップデートが要求されてもよい。
<Update request form>
In the example of FIG. 4, the software SW is updated autonomously upon receiving all of the update data for updating the software SW, which is divided into a plurality of response signals and sent. However, in the alarm device 100 of the present embodiment, any method may be applied to the request for updating the software SW. FIG. 5 schematically shows a method of requesting an update to the alarm device 100 installed indoors in a house as some other examples of update requests. The update request may be made by a direct predetermined operation M1 such as touching the operated part 5, for example. The update may also be requested via short-range communication from a dedicated terminal such as the remote control attached to the alarm 100, or from various general-purpose mobile terminals such as a smartphone that has been turned into a dedicated terminal by an application program (hereinafter, the update will be referred to as a dedicated terminal). General-purpose mobile terminals that have been converted into dedicated terminals are collectively referred to as "dedicated terminals" and are shown with the symbol "Pn" in FIG. 5). Alternatively, an update may be requested by a signal sent from an external device E or a remote terminal Pr such as a smartphone via the network N or a base station B of a communication carrier.

しかし、警報器100に用意されたアップデートの要求方法の全てが有効であることが、必ずしも好ましくない場合もある。例えば、アップデートの要求者が警報器100の周囲環境を把握可能な状況にいると考えられる要求方法による要求は受け付けられるが、それ以外の要求方法による要求は受け付けられない方が好ましいこともある。例えば、警報が発報されるほどの状況ではないが、その状況に近付いている状況にあるにも拘わらず、その状況を認識し得ない要求者からのアップデートの要求を受け入れるのは、適正な警報発報の妨げになる場合もあるからである。 However, it may not necessarily be preferable for all of the update request methods provided in the alarm device 100 to be effective. For example, it may be preferable that a request made by a request method in which the update requester is in a situation where he or she can grasp the surrounding environment of the alarm device 100 is accepted, but a request made by any other request method is not accepted. For example, it would be inappropriate to accept an update request from a requester who is unaware of the situation, even though the situation is not sufficient to cause an alarm, but is approaching the situation. This is because it may obstruct the issuing of an alarm.

そのため、アップデートの要求方法が、要求されるアップデートの種類ごとに、予め特定の方法に決められていてもよい。例えば、アップデートの「種類」のうち「第1種」のアップデートの要求は多くの方法(例えば用意された要求方法の全て)で可能である一方、「第1種」以外の「第2種」のアップデートは、警報器100に実際に受け付けられる要求方法が制限されてもよい。例えば、第2種のアップデートの要求は、被操作部5に触れるような直接的な所定の操作M1や、警報器100の近傍の専用端末類Pnからの近距離通信による要求などに制限されてもよい。すなわちその場合には、外部機器Eや遠方の端末Prからの、ネットワークNや基地局Bなどを経由した信号によるアップデートの要求は受け付けられない。一方、第1種のアップデートについては、第2種のアップデートの要求が受け付けられる方法に加えて、警報器100の自律的なアップデートや、外部機器Eや遠方の端末Prからの、ネットワークNや基地局Bなどを経由した信号によるものでも受け付けられてもよい。或いは、第1種のアップデートは、警報器100の自律的なアップロードや、外部機器Eや遠方の端末Prからの信号による要求に限定され、被操作部5に触れるような直接的な所定の操作M1や、警報器100の近傍の専用端末類Pnからの近距離通信による要求が受け付けられなくてもよい。 Therefore, the update request method may be predetermined as a specific method for each type of update requested. For example, among the "types" of updates, "type 1" update requests can be made in many ways (for example, all of the request methods provided), while "type 2" updates other than "type 1" can be requested. The update request method that can actually be accepted by the alarm device 100 may be limited. For example, the second type of update request is limited to a direct predetermined operation M1 such as touching the operated part 5, a request by short-range communication from a dedicated terminal Pn near the alarm 100, etc. Good too. That is, in that case, an update request by a signal via the network N, base station B, etc. from the external device E or the distant terminal Pr will not be accepted. On the other hand, regarding the first type of update, in addition to the method in which a request for the second type of update is received, autonomous updates of the alarm 100, updates from the network N or base from an external device E or a distant terminal Pr, etc. A signal transmitted via station B or the like may also be accepted. Alternatively, the first type of update is limited to an autonomous upload of the alarm device 100 or a request by a signal from an external device E or a distant terminal Pr, and is not limited to a direct predetermined operation such as touching the operated part 5. Requests via short-range communication from M1 or dedicated terminals Pn near the alarm device 100 may not be accepted.

このように、要求されるアップデートの種類に応じて、警報器100に対して行われる所定の指示操作に基づいてアップデートを実行するか、外部機器Eからの信号の受信に基づいてアップデートを実行するように構成されていてもよい。そのようにアップデートの種類に応じて、警報器100が受け付ける要求方法を区別することによって、例えば、必要性の高いアップデートの適宜の実行を担保しつつ、アップデートによる警報器100の警報発報機能の低下リスクを軽減し得ることがある。また、アップデートの要求元として適した要求元からのアップデートの要求に絞って、要求されたアップデートを実行することができる。 In this way, depending on the type of update requested, the update is executed based on a predetermined command operation performed on the alarm device 100, or the update is executed based on reception of a signal from the external device E. It may be configured as follows. By distinguishing the request methods accepted by the alarm device 100 according to the type of update, for example, while ensuring the appropriate execution of highly necessary updates, it is possible to improve the alarm issuing function of the alarm device 100 by updating. There are some things that can reduce the risk of decline. Further, it is possible to execute the requested updates by narrowing down the request for updates from the request sources that are suitable as the update request sources.

上記の「警報器100に対して行われる所定の指示操作」は、前述した被操作部5に触れるような直接的な所定の操作M1や、警報器100の近傍の専用端末類Pnへのアップデートを指示する操作であり得る。操作M1は、アップデートを要求すべく被操作部5に対して直接行われる手動操作、すなわち前述した「第1操作」以外の操作であり得る。 The above-mentioned "predetermined instruction operation performed on the alarm device 100" includes a direct predetermined operation M1 such as touching the operated part 5 described above, and an update to a dedicated terminal Pn near the alarm device 100. It may be an operation that instructs. The operation M1 may be a manual operation performed directly on the operated unit 5 to request an update, that is, an operation other than the above-mentioned "first operation."

専用端末類Pnへの操作による指示は、前述したように、例えば近距離通信によって警報器100に伝えられる。この近距離通信としては、Bluetooth(登録商標)、Wi-Fi(登録商標)、又はZigBee(登録商標)などの近距離無線通信、及び、IrDAなどの光無線通信、さらに、LoRaWAN(登録商標)などのネットワークプロトコルを用いた警報器100の近傍からの通信が例示されるが、専用端末類Pnが用いる近距離通信はこれらに限定されない。しかし、「警報器に対して行われる所定の指示操作」に基づくアップデートの要求信号は、アップデートの要求者に直接手動操作される専用端末類Pnのような被操作主体から警報器100に直接伝わる信号に限られる。すなわち、「所定の指示操作」には、警報器100に直接伝わらないアップデートの要求信号の送信を被操作主体に指示する操作は含まれない。従って、ネットワークN及び/又は基地局Bを介して警報器100に伝わるようなアップデートの要求信号の送信を端末Prや外部機器Eに指示する操作も「所定の指示操作」に含まれない。 As described above, instructions by operating the dedicated terminals Pn are transmitted to the alarm device 100 by, for example, short-range communication. This short-range communication includes short-range wireless communication such as Bluetooth (registered trademark), Wi-Fi (registered trademark), or ZigBee (registered trademark), optical wireless communication such as IrDA, and LoRaWAN (registered trademark). An example of this is communication from near the alarm device 100 using a network protocol such as, but the short-range communication used by the dedicated terminals Pn is not limited to these. However, an update request signal based on a "predetermined command operation performed on the alarm" is directly transmitted to the alarm 100 from an operated entity such as a dedicated terminal Pn that is manually operated directly by the update requester. Limited to signals. That is, the "predetermined instruction operation" does not include an operation that instructs the operated entity to transmit an update request signal that is not directly transmitted to the alarm device 100. Therefore, the operation of instructing the terminal Pr or the external device E to transmit an update request signal that is transmitted to the alarm device 100 via the network N and/or the base station B is not included in the "predetermined instruction operation."

なお、警報器100の「近傍」は、警報器100から数m以内の範囲、及び/又は、警報器100が視認可能な範囲内であり得る。このような範囲内にいるアップデートの要求者は、警報器100の周囲の状況の認識が可能と考えられるからである。近距離通信が警報器100と専用端末類Pnとの通信に用いられる場合は、警報器100の「近傍」は、さらに、上記の例のような各種の近距離無線通信や光無線通信における警報器100からの通信圏内である。 Note that "nearby" the alarm device 100 may be within a range of several meters from the alarm device 100 and/or within a range where the alarm device 100 is visible. This is because the update requester within such a range is considered to be able to recognize the situation around the alarm device 100. When short-range communication is used for communication between the alarm device 100 and the dedicated terminals Pn, the “nearby” of the alarm device 100 also includes alarms in various short-range wireless communications and optical wireless communications, such as the above example. It is within the communication range from the device 100.

ここで上記のアップデートの「種類」は、一例として、アップデートの重要性や緊急性の程度を意味し得る。例えば、重要性や緊急性の高いアップデートが第1種のアップデートに含まれ、「第1種」以外のアップデートが第2種のアップデートに含まれてもよい。 Here, the above-mentioned "type" of update may mean, for example, the degree of importance or urgency of the update. For example, updates with high importance or urgency may be included in the first type of update, and updates other than the "first type" may be included in the second type of update.

また、アップデートの「種類」は、アップデートの対象となる警報器100の機能によって区分されてもよい。例えば、警報器100の報知機能に関するアップデート(又は制御部10に関するアップデート)が第1種のアップデート及び第2種のアップデートの一方に含まれ、通信部20に関するアップデート(第1アップデート)が、その他方に含まれてもよい。一例として、制御部10に関するアップデートの要求は「警報器に対して行われる所定の指示操作」に基づいて実行されてもよい。報知機能を制御する制御部10に関するアップデートの実行を、警報器100の周囲環境を把握し得る警報器100の近傍のユーザーによる要求に基づいて実行することができる。また、通信部20に関するアップデート(第1アップデート)は「外部機器からの信号の受信」に基づいて実行されてもよい。外部機器Eにおいて、通信制御方式の変更があった場合において、その外部機器Eからの要求に基づいて、通信に関するアップデートを実行することができる。 Further, the "type" of update may be classified according to the function of the alarm device 100 that is the target of the update. For example, an update related to the notification function of the alarm 100 (or an update related to the control unit 10) is included in one of the first type update and a second type update, and an update related to the communication unit 20 (first update) is included in the other type. may be included in As an example, a request for updating regarding the control unit 10 may be executed based on "a predetermined command operation performed on an alarm device." An update regarding the control unit 10 that controls the notification function can be executed based on a request from a user near the alarm device 100 who can grasp the surrounding environment of the alarm device 100. Further, the update regarding the communication unit 20 (first update) may be executed based on "reception of a signal from an external device". In the case where there is a change in the communication control method in the external device E, updates related to communication can be executed based on a request from the external device E.

一例として「報知機能に関するアップデート」は、検知部12(図1参照)による周囲環境の監視動作、特定の状態にあることを報知すべきか否かの判断、如何なる態様で報知を行うかの判断、及び、報知部13(図1参照)による音や光などによる報知動作、などの制御に関するアップデートであり得る。より具体的には、幾つかの例として、検知部12の動作時期や感度の変更、特定の状態と判断する閾値(警報発報基準)の変更、特定の状態と判断される監視結果と報知態様との対応付けの変更、報知機能に関するプログラムのバグの修正、消費電力を低減する新たな制御手順への変更、及び、報知手段である光の強度や音声の音量若しくは発話内容の変更、などが含まれる。さらに、制御部10による検知部12及び報知部13の自主点検項目、及び/又は、検知部12を構成する各センサについて適宜行われる補正のアルゴリズムの変更なども「報知機能に関するアップデート」に含まれる。 As an example, the "update regarding the notification function" includes the monitoring operation of the surrounding environment by the detection unit 12 (see FIG. 1), the determination of whether or not to notify that a certain state is in place, the determination of the manner in which the notification should be made, It may also be an update regarding the control of the notification operation using sound, light, etc. by the notification unit 13 (see FIG. 1). More specifically, some examples include changing the operating timing and sensitivity of the detection unit 12, changing the threshold value (alarm issuing criteria) that determines a specific state, and monitoring results and notifications that determine a specific state. Changes in the correspondence with aspects, correction of bugs in the program related to the notification function, changes to new control procedures to reduce power consumption, changes in the intensity of the light used as the notification means, the volume of the voice, or the contents of the utterances, etc. is included. Furthermore, "updates related to notification functions" also include self-inspection items of the detection unit 12 and notification unit 13 by the control unit 10, and/or changes in correction algorithms performed as appropriate for each sensor that constitutes the detection unit 12. .

「通信部20に関するアップデート」は、通信部20によって制御される通信に関わるアップデートである。より具体的には、幾つかの例として、外部機器Eとの通信に適用する通信規格の改定に伴う、セキュリティ確保に関する仕様の変更や、通信リンクの設定及び開放の手順の変更、変調方式の変更、誤り検出時の再送回数の変更、通信部20において構築されたセキュリティスタックのバージョンアップや、定期通信の頻度の変更、通信に関するプログラムのバグの修正、などが含まれ得る。 “Update related to communication unit 20” is an update related to communication controlled by communication unit 20. More specifically, some examples include changes in specifications related to ensuring security, changes in procedures for setting up and opening communication links, and changes in modulation methods due to revisions to communication standards applied to communication with external equipment E. This may include changing the number of retransmissions when an error is detected, upgrading the security stack built in the communication unit 20, changing the frequency of regular communication, fixing bugs in communication-related programs, and the like.

<アップデートの制限>
警報器100は、前述した要求方法自体が受け容れ可能な要求方法であっても、要求されるアップデートを現に実行するか否かを、上記に例示されるようなアップデートの内容に基づいて判断するように構成されていてもよい。例えば、周囲環境が警報を発する状況に近付いている場合には、警報発報に至っても外部機器Eに通知されない状態となるアップデートを開始しないことが好ましいことがある。従って、例えば警報器100が警報を発報すべき状態よりも異常度が低い状態に対応する閾値(予備閾値)をさらに有していてもよい。加えて、アップデートの具体的な内容ごとにアップデート実行の優先度が設定されてよい。そして、検知対象であるガスの濃度や温度などの検出値が予備閾値を超えると、例えば通信セキュリティの確保に関する仕様の変更や致命的なバグの修正といった優先度の高い内容のアップデートだけが実行されてもよい。その他のアップデートは、検知対象の検出値が予備閾値以下の場合に実行されてもよい。
<Update restrictions>
Even if the above-described request method itself is an acceptable request method, the alarm device 100 determines whether or not to actually execute the requested update based on the content of the update as exemplified above. It may be configured as follows. For example, if the surrounding environment is approaching a situation where an alarm will be issued, it may be preferable not to start an update in which the external device E will not be notified even if the alarm is issued. Therefore, for example, the alarm device 100 may further include a threshold value (preliminary threshold value) corresponding to a state in which the degree of abnormality is lower than the state in which the alarm device 100 should issue an alarm. In addition, the priority of update execution may be set for each specific content of the update. When detected values such as the concentration or temperature of the gas to be detected exceed a preliminary threshold, only updates with high priority content, such as changing specifications related to ensuring communication security or fixing critical bugs, are executed. It's okay. Other updates may be performed when the detection value of the detection target is less than or equal to the preliminary threshold.

前述したように警報器100は、電池の電力で稼働する電池式の警報器であってもよい。アップデートの実行中は、アップデートが実行されていない時より多くの電力が消費されることがある。そのため、本実施形態の警報器が電池式の警報器である場合、要求されるソフトウェアSWのアップデートを実行するか否かを、電池の残量に基づいて判断するように構成されていてもよい。例えば電池の残量が所定の閾値以下であると、警報器100のユーザーや外部機器Eなどからアップデートの要求があってもアップデートは実行されない。そうすることで、アップデートによる電池残量のさらなる低下を防いで、警報器100が電池の残量不足によって機能不全に陥ることを防ぐことができる。すなわち、周囲環境の監視から監視結果に基づく報知までの警報器100の本質的機能が発揮される状態を、より長く維持させることができる。 As described above, the alarm 100 may be a battery-powered alarm that operates using battery power. While an update is running, more power may be consumed than when the update is not running. Therefore, if the alarm device of this embodiment is a battery-powered alarm device, it may be configured to determine whether or not to execute the requested software SW update based on the remaining amount of the battery. . For example, if the remaining battery level is below a predetermined threshold, the update will not be executed even if there is a request for update from the user of the alarm device 100, the external device E, or the like. By doing so, it is possible to prevent the remaining battery power from further decreasing due to the update, and prevent the alarm device 100 from malfunctioning due to insufficient remaining battery power. That is, the state in which the essential functions of the alarm device 100, from monitoring the surrounding environment to notifying the user based on the monitoring results, can be maintained for a longer period of time.

特に警報器には、前述したように検知部12(図1参照)を構成する各種のセンサが備えられ、各種センサには固有の寿命を有するものが存在する。そのため、電池式の警報器は、センサの寿命が尽きるまでの間電池残量が維持されるように電気的に設計され、構造面や仕様面では電池の交換や再充電ができないように設計されることがある。従って、設計思想通りにセンサの寿命まで電池残量が維持されるように、ある程度電池残量が低下してからは、より多くの電力を警報器100に消費させるアップデートの実行を控えることが好ましいことがある。 In particular, the alarm device is equipped with various sensors that constitute the detection section 12 (see FIG. 1) as described above, and some of the various sensors have their own unique lifespans. Therefore, battery-powered alarms are electrically designed to maintain battery power until the end of the sensor's life, and the structure and specifications are designed so that the battery cannot be replaced or recharged. Sometimes. Therefore, in order to maintain the remaining battery power until the life of the sensor as per the design concept, it is preferable to refrain from performing updates that cause the alarm device 100 to consume more power after the remaining battery power has decreased to a certain extent. Sometimes.

なお、このように電池残量によってアップデートの実行が判断される場合、警報器100には、好ましくは、電池残量計ICなどと称される電子部品のような電池残量計測手段(図示せず)が備えられる。 Note that when execution of the update is determined based on the remaining battery level in this way, the alarm 100 preferably includes a remaining battery level measuring means (not shown in the figure) such as an electronic component called a battery level meter IC or the like. ) will be provided.

電池の残量に基づいてアップデートの実行を判断するように構成される場合、本実施形態の警報器100は、さらに、前述したようなアップデートの内容にも応じて、要求されるアップデートを実行するか否かを判断するように構成されてもよい。この場合も、アップデートの具体的な内容ごとにアップデート実行の優先度が設定され得る。例えば、所定の閾値を超える電池残量が保持されている場合に、要求されるアップデートが、その内容の如何を問わず実行されるのではなく、例えば、通信セキュリティの確保に関する仕様の変更や致命的なバグの修正といった優先度の高い内容のアップデートだけが実行されてもよい。そして、その他のアップデートは、さらに多くの電池残量が保持されている場合に実行されてもよい。 When configured to determine execution of an update based on the remaining battery level, the alarm device 100 of this embodiment further executes the requested update according to the content of the update as described above. It may be configured to determine whether or not. In this case as well, the priority of update execution can be set for each specific content of the update. For example, if the remaining battery level exceeds a predetermined threshold, the requested update will not be executed regardless of its content, but will instead cause changes in specifications related to ensuring communication security or fatal updates. Only updates with high priority content, such as bug fixes, may be executed. Other updates may be performed when more battery power remains.

従って、実施形態の警報器100は、アップデートを実行するか否かの判断基準となる複数の電池残量の閾値を有していてもよい。そして、アップデート要求時の電池残量と各閾値との大小関係及び現に要求されるアップデートの優先度に応じて、要求されるアップデートを実行するか否かが判断されてもよい。例えば、アップデート要求時の電池残量が特定の閾値の範囲内にある場合、一定以上の優先度を有するアップデートが実行され、優先度の低いアップデートが保留又は却下されてもよい。 Therefore, the alarm device 100 according to the embodiment may have a plurality of battery remaining power thresholds that serve as criteria for determining whether or not to perform an update. Then, it may be determined whether or not to execute the requested update, depending on the magnitude relationship between the remaining battery level at the time of the update request and each threshold value, and the priority of the currently requested update. For example, if the remaining battery level at the time of an update request is within a specific threshold, updates with a priority higher than a certain level may be executed, and updates with a lower priority may be suspended or rejected.

図6には、アップデートの優先度及び電池残量に応じたアップデートの実行の判断の一例が示されている。図6に示される表の各列(縦方向)には、電池残量eと三つの閾値T1~T3(T1<T2<T3)との大小関係が示されている。そして各行には、第1優先から第3優先(優先度高:第1優先>第2優先>第3優先:優先度低)それぞれを有するアップデートが実行されるか否かが「Y」(実行)又は「N」(非実行)で示されている。例えば、電池残量eが、最も小さい閾値T1以下である場合は、電池の延命が優先されていずれのアップデートも実行されない。しかし、電池残量eが閾値T1よりも大きく閾値T2以下であれば第1優先アップデートが実行され、電池残量eが閾値T2よりも大きく閾値T3以下であると、さらに第2優先アップデートも実行される。そして、電池残量eが閾値T3よりも大きければ、全てのアップデートが実行される。なお、警報器100は、特定の優先度のアップデートが実行されない場合、その特定の優先度より低い優先度のアップデート要求を付けないように構成されていてもよい。 FIG. 6 shows an example of determination of update execution based on update priority and remaining battery level. Each column (vertical direction) of the table shown in FIG. 6 shows the magnitude relationship between the remaining battery power e and three threshold values T1 to T3 (T1<T2<T3). In each row, "Y" (execution ) or “N” (not executed). For example, if the battery remaining capacity e is less than or equal to the smallest threshold value T1, priority is given to extending the life of the battery and no update is executed. However, if the remaining battery level e is greater than the threshold T1 and less than or equal to the threshold T2, the first priority update is executed, and if the remaining battery capacity e is greater than the threshold T2 and less than the threshold T3, the second priority update is also executed. be done. Then, if the remaining battery power e is greater than the threshold T3, all updates are executed. Note that the alarm device 100 may be configured not to attach an update request with a lower priority than the specific priority when an update with a specific priority is not executed.

優先度の高いアップデートは、例えば、前述した、通信セキュリティの確保に関する仕様の変更や、報知機能や通信を高度に損なわせる致命的なバグの修正の他、警報発報基準の変更、セキュリティスタックのバージョンアップなどであり得る。電池寿命を延ばして、警報器100をセンサの保証期間満了まで稼働させるという観点では、消費電力低減のためのアップデートも高い優先度を有し得る。一方、優先度の低いアップデートとしては、報知態様の変更、自主点検項目の変更や定期通信の頻度の変更などが例示される。しかし、如何なるアップデートが高い又は低い優先度を有するかは、警報器100の設置環境や警報器100の仕様などに応じて任意に決定され得る。 High-priority updates include, for example, the aforementioned changes in specifications related to ensuring communication security, fixes for critical bugs that severely impair notification functions and communications, changes in alarm generation standards, and improvements to the security stack. It may be due to version upgrade etc. From the perspective of extending battery life and allowing the alarm 100 to operate until the sensor's warranty period expires, updates for reducing power consumption may also have a high priority. On the other hand, examples of low-priority updates include changes in notification mode, changes in self-inspection items, and changes in the frequency of regular communication. However, which update has a higher or lower priority can be arbitrarily determined depending on the installation environment of the alarm device 100, the specifications of the alarm device 100, and the like.

<一実施形態の警報器の他の例>
図7には、一実施形態の警報器の他の例である警報器101の主要な構成要素がブロック図で示されている。警報器101は、制御部10と通信部20とが、図1の例の処理装置1のような処理装置を共有していない点で、図1に示される警報器100と異なっている。図7において、図1の例の警報器100の構成要素と同様の構成要素については、図1に付された符号と同じ符号が付されるか省略され、その構成要素に関する繰り返しとなる説明は省略される。
<Other examples of alarm device of one embodiment>
FIG. 7 shows a block diagram of main components of an alarm device 101, which is another example of an alarm device according to an embodiment. The alarm device 101 differs from the alarm device 100 shown in FIG. 1 in that the control unit 10 and the communication unit 20 do not share a processing device like the processing device 1 in the example of FIG. In FIG. 7, components similar to those of the alarm device 100 in the example of FIG. 1 are given the same reference numerals as those in FIG. Omitted.

警報器101では、制御部10は第1処理装置1aを含んでいる。第1処理装置1aは、周囲環境を監視して監視結果に基づく報知を行う報知機能を制御する半導体装置によって構成されている。通信部20は第2処理装置2aを含んでいる。第2処理装置2aは、警報器101と外部機器Eとの間の通信を制御する半導体装置によって構成されている。制御部10と通信部20とは、好ましくは互いに相手方との間で信号の送受が可能なように接続されている。警報器101において制御部10は、周囲環境の異常の検知に応じて警報を発すると共に、警報発報中であることを通信部20を介して外部機器Eに通知するように構成されている。従って、周囲環境が異常な状態にあることを警報器101の遠方にいるユーザーにも報せることができる。 In the alarm device 101, the control unit 10 includes a first processing device 1a. The first processing device 1a is constituted by a semiconductor device that controls a notification function that monitors the surrounding environment and issues notifications based on the monitoring results. The communication unit 20 includes a second processing device 2a. The second processing device 2a is configured by a semiconductor device that controls communication between the alarm device 101 and the external device E. The control unit 10 and the communication unit 20 are preferably connected to each other so as to be able to send and receive signals to and from the other party. In the alarm device 101, the control unit 10 is configured to issue an alarm in response to detection of an abnormality in the surrounding environment, and to notify the external device E via the communication unit 20 that the alarm is being issued. Therefore, it is possible to notify even a user far away from the alarm 101 that the surrounding environment is in an abnormal state.

第1処理装置1a及び第2処理装置2aは、マイコンやASICなどの半導体装置からなり、図1の例の処理装置1と同様に演算機能、比較機能、及び記憶機能などを有している。第1処理装置1aは、周囲環境を監視する警報器101の報知機能を全体的に制御する。第2処理装置2aは、送受信部22で行われる外部機器Eとの交信に必要な動作を全体的に制御する。第2処理装置2aは、特定の時間からの経過時間をカウントするカウンタなどで構成される計時手段2cを備えている。図6の例の通信部20も、計時手段2cを用いて、図1の警報器100について前述した「定期通信」を行う。定期通信のために経過時間をカウントする計時手段は第1処理装置1aに備えられていてもよい。 The first processing device 1a and the second processing device 2a are made of semiconductor devices such as microcomputers and ASICs, and have arithmetic functions, comparison functions, storage functions, etc., like the processing device 1 in the example of FIG. The first processing device 1a generally controls the notification function of the alarm device 101 that monitors the surrounding environment. The second processing device 2a controls overall operations necessary for communication with the external device E performed by the transmitting/receiving section 22. The second processing device 2a includes a timer 2c that includes a counter or the like that counts the time elapsed from a specific time. The communication unit 20 in the example of FIG. 6 also performs the "periodic communication" described above with respect to the alarm device 100 in FIG. 1 using the timer 2c. The first processing device 1a may be provided with a timer for counting elapsed time for regular communication.

第1処理装置1aは、記憶手段1bにソフトウェアSW1を内蔵していてソフトウェアSW1に含まれる命令に従って動作する。第2処理装置2aは、第2処理装置2aにソフトウェアSW2を内蔵していてソフトウェアSW2に含まれる命令に従って動作する。警報器101においても、ソフトウェアSW1及びソフトウェアSW2は、警報器101の使用開始後にアップデートが可能なように内蔵されており、図1の警報器100について説明されたアップデートと同様の方法でアップデートされ得る。第1処理装置1a及び第2処理装置2aを含む警報器101では、ソフトウェアSW1のアップデートは、第2処理装置2aが制御する通信機能に影響し難く、ソフトウェアSW2のアップデートは、第1処理装置1aが制御する報知機能に影響し難い。 The first processing device 1a has a built-in software SW1 in the storage means 1b, and operates according to instructions included in the software SW1. The second processing device 2a has a built-in software SW2 and operates according to instructions included in the software SW2. Also in the alarm device 101, software SW1 and software SW2 are built-in so that they can be updated after the alarm device 101 starts to be used, and can be updated in the same way as the update described for the alarm device 100 in FIG. . In the alarm device 101 including the first processing device 1a and the second processing device 2a, updating the software SW1 hardly affects the communication function controlled by the second processing device 2a, and updating the software SW2 does not easily affect the communication function controlled by the second processing device 2a. It is unlikely to affect the notification function controlled by the controller.

このように、制御部10及び通信部20それぞれがソフトウェアSW1、SW2を第1処理装置1a、第2処理装置2aそれぞれに内蔵しているので、ソフトウェアSW1のアップデート時には、通信部20は外部機器Eとの通信などが可能な状態を維持することができる。また、ソフトウェアSW2のアップデート時には、制御部10は報知機能を維持することができる。一方、ソフトウェアSW2のアップデート中は、外部機器Eとの交信が不能になることがある。そのため、警報器101において制御部10は、通信部20に関するアップデート、すなわちソフトウェアSW2のアップデートの実行中に周囲環境の異常を検知すると、警報発報についての外部機器Eへの通知は行なわずに警報を発するように構成されている。例えば警報器101の報知部13を用いた警報が発せられる。 In this way, since the control section 10 and the communication section 20 have the software SW1 and SW2 built into the first processing device 1a and the second processing device 2a, respectively, when updating the software SW1, the communication section 20 is connected to the external device E. It is possible to maintain a state in which communication with other parties is possible. Further, when updating the software SW2, the control unit 10 can maintain the notification function. On the other hand, while the software SW2 is being updated, communication with the external device E may become impossible. Therefore, when the control unit 10 of the alarm device 101 detects an abnormality in the surrounding environment while updating the communication unit 20, that is, updating the software SW2, the control unit 10 does not issue an alarm without notifying the external device E about the alarm. is configured to emit. For example, an alarm is issued using the notification section 13 of the alarm device 101.

従って、外部機器Eに警報の発報は知らされないものの、少なくとも警報器101の近傍のユーザーには、ソフトウェアSW2のアップデート中であっても、異常状態の発生を報せることができる。換言すると、警報器101の近傍のユーザーまで、異常の発生が知らされない危険な状態に置くことなくソフトウェアSW2のアップデートを適宜に行うことができる。 Therefore, although the external device E is not notified of the alarm, at least users near the alarm device 101 can be notified of the occurrence of an abnormal state even while the software SW2 is being updated. In other words, it is possible to appropriately update the software SW2 without putting users in the vicinity of the alarm device 101 in a dangerous state where they are not notified of the occurrence of an abnormality.

また、警報器101は、このようにソフトウェアSW2のアップデート中は警報発報中であることを外部機器Eに通知できないので、例えば制御部10は、ソフトウェアSW2のアップデートが始まる前に、警報発報の通知が不能になることを外部機器Eに通知するように構成されていてもよい。遠方のユーザーなどに、警報が発せられても通知されない状況にいることを了知させることができる。加えて、アップデートの終了後には、警報の発報が通知される通常の状況に復帰したことを報せるように制御部10が構成されていてもよい。 Furthermore, since the alarm device 101 cannot notify the external device E that an alarm is being issued while the software SW2 is being updated, for example, the control unit 10 may issue an alarm before the software SW2 is updated. The external device E may be configured to be notified that the notification of the external device E is disabled. It is possible to make users who are far away aware that they are in a situation where they will not be notified even if an alarm is issued. In addition, after the update is completed, the control unit 10 may be configured to notify that the situation has returned to the normal situation in which an alarm is notified.

なお、ソフトウェアSW1のアップデート時には、報知機能そのものが影響を受ける可能性がある。そのため、制御部10は、ソフトウェアSW1のアップデートの開始前に、周囲環境の監視から警報の発報までの一連の機能が停止状態となることを外部機器Eに通知し、その終了後には通常の報知機能が復旧したことを通知するように構成されていてもよい。 Note that when updating the software SW1, the notification function itself may be affected. Therefore, before starting the update of the software SW1, the control unit 10 notifies the external device E that a series of functions from monitoring the surrounding environment to issuing an alarm will be stopped, and after that, the normal It may be configured to notify that the notification function has been restored.

或いは、警報器101では、警報器101の使用開始後のソフトウェアSW1のアップデートができないように構成されていてもよい。すなわち、ソフトウェアSW1のアップデートが、前述した「報知機能に関するアップデート」に該当し、ソフトウェアSW2のアップデートが「通信機能に関するアップデート」に該当する。従って、警報器101では、ソフトウェアSW2のアップデートが可能である一方、ソフトウェアSW1のアップデートが不能なように構成されていてもよい。 Alternatively, the alarm device 101 may be configured such that the software SW1 cannot be updated after the alarm device 101 starts to be used. That is, the update of the software SW1 corresponds to the above-mentioned "update related to the notification function", and the update of the software SW2 corresponds to the "update related to the communication function". Therefore, the alarm device 101 may be configured such that the software SW2 can be updated, but the software SW1 cannot be updated.

図8には、図7の例の警報器101における、ソフトウェアSW1、SW2のアップデートを含む動作の一例を示すフローチャートが示されている。なお、図8に示される各ステップのうち、図4に示されるステップと同様の動作や処理を行うステップについては、図4と同じ符号(ステップS1~S5、S21~S22、S31~S34)が付され、繰り返しとなる説明は、適宜省略される。 FIG. 8 shows a flowchart illustrating an example of the operation of the alarm device 101 shown in FIG. 7, including updating the software SW1 and SW2. Note that among the steps shown in FIG. 8, the steps that perform the same operations and processes as the steps shown in FIG. 4 are designated by the same reference numerals as in FIG. Repetitive explanations will be omitted as appropriate.

図7の例の警報器101では、図8に示されるように、更新データが全て受け取られた場合(ステップS5で“Y”)に、アップデートが通信部20に関するソフトウェアSW2(図7参照)のアップデートであると、警報の発報が外部機器Eに知らされない状態となることが外部機器Eに通知される(ステップS71)。また、アップデートが制御部10に関するソフトウェアSW1(図7参照)のアップデートであると、警報の発報自体ができない状態となることが、外部機器Eに通知される(ステップS71)。その後、アップデートが開始され(ステップS72)、異常状態Ab0の発生がなければ、アップデートの終了(ステップS73)後、アップデートが終了したことが外部機器Eに通知される(ステップS8)。 In the alarm device 101 in the example of FIG. 7, as shown in FIG. 8, when all the update data is received (“Y” in step S5), the update is performed on the software SW2 (see FIG. 7) related to the communication unit 20. If it is an update, the external device E is notified that the external device E will not be notified of the alarm being issued (step S71). Further, if the update is an update of the software SW1 (see FIG. 7) related to the control unit 10, the external device E is notified that the alarm itself cannot be issued (step S71). After that, the update is started (step S72), and if the abnormal state Ab0 does not occur, after the update is finished (step S73), the external device E is notified that the update is finished (step S8).

一方、通信部20に関するソフトウェアSW2のアップデートの開始(ステップS72)後に、異常状態Ab0が発生すると、警報器101において警報が発せられる(ステップS210)。アップデート実行中は、警報発報だけが行われ、外部機器Eには、警報の発報が知らされない。 On the other hand, if the abnormal state Ab0 occurs after the start of updating the software SW2 related to the communication unit 20 (step S72), an alarm is issued in the alarm device 101 (step S210). While the update is being executed, only the alarm is issued, and the external device E is not notified of the alarm.

また、警報器101において制御部10は、通信部20に関するアップデートの実行中に発する警報と、何のアップデートも実行していないときに発する警報の発報態様を異ならせるように構成されていてもよい。そうすることで、外部機器Eに警報発報が通知されていないことを、警報器101の近傍のユーザーに報せることができる。例えば、警報発報時に発するメッセージが、アップデート実行中と非実行中とで変えられてもよい。例えば、アップデート非実行中であるステップS21で発せられる警報の態様(第1態様)は、「ガス漏れ(又は火事)です。外部の○〇に通知しています」などのメッセージであり得る。一方、アップデート実行中であるステップS210で発せられる警報の態様(第2態様)は、「ガス漏れ(又は火事)です。外部の○〇には通知されていないのでご注意ください」などのメッセージであり得る。そうすることで、警報器100の近傍のユーザーなどに、外部に警報の発報が知らされていないことを、より明確に伝えることができる。さらに、制御部10は、アップデート実行中と非実行中とで、発報した警報の停止に必要な操作を変えるように構成されていてもよい。こうすることでも、外部機器Eに警報発報が通知されていないことを、警報器101の近傍のユーザーに報せることができる。 Furthermore, in the alarm device 101, the control unit 10 may be configured to issue an alarm in different manners for an alarm issued during execution of an update regarding the communication unit 20 and an alarm issued when no update is executed. good. By doing so, it is possible to notify users near the alarm device 101 that the external device E has not been notified of the alarm. For example, the message issued when an alarm is issued may be different depending on whether an update is being executed or not. For example, the mode (first mode) of the alarm that is issued in step S21 when the update is not being executed may be a message such as "There is a gas leak (or fire). External ○○ is being notified." On the other hand, the mode (second mode) of the alarm issued in step S210 while the update is being executed is a message such as "There is a gas leak (or fire). Please be careful as external ○○ has not been notified." could be. By doing so, users in the vicinity of the alarm device 100 can be more clearly informed that the alarm has not been issued to the outside. Furthermore, the control unit 10 may be configured to change the operation required to stop the issued alarm depending on whether the update is being executed or not. By doing so, it is possible to notify users near the alarm device 101 that the external device E has not been notified of the alarm.

また、制御部10は、警報の発報前に開始された通信部20に関するソフトウェアSW2のアップデートが警報発報中に終了すると、警報を発報中であることを外部機器Eに報せるように構成されていてもよい。さらに、制御部10は、通信部20に関するソフトウェアSW2のアップデートの実行中に発した警報がそのアップデートの終了前に停止された場合、そのアップデートの終了後に、そのアップデート中に警報を発したことを外部機器Eに報せるように構成されていてもよい。 Furthermore, when the update of the software SW2 related to the communication unit 20 that was started before the alarm is issued is completed while the alarm is being issued, the control unit 10 is configured to notify the external device E that the alarm is being issued. may be configured. Furthermore, if the alarm issued during the execution of the update of the software SW2 related to the communication unit 20 is stopped before the update is finished, the control unit 10 will notify the user that the alarm was issued during the update after the update is finished. It may be configured so that the external device E can be notified.

また、制御部10は、警報の発報中に、警報を停止させる所定の停止操作(例えば、被操作部5(図6参照)がタクタイルスイッチで構成されている場合、被操作部5への2秒以上5秒未満の押し込み操作)後に警報器に対して行われる所定の指示操作(例えば、押し込まれる時間が5秒以上の押し込み操作)による要求に基づいてアップデートが可能であってもよい。その場合、制御部10は、所定の指示操作以外の方法で要求されるアップデートの実行を保留するように構成されていてもよい。 In addition, the control unit 10 performs a predetermined stop operation to stop the alarm (for example, when the operated unit 5 (see FIG. 6) is configured with a tactile switch, the control unit 10 performs a predetermined stop operation to stop the alarm). The update may be possible based on a request by a predetermined instruction operation performed on the alarm (for example, a pressing operation for 5 seconds or more) after a pressing operation for 2 seconds or more and less than 5 seconds. In that case, the control unit 10 may be configured to suspend execution of an update requested by a method other than a predetermined instruction operation.

<一実施形態の警報器の変形例>
図9には、一実施形態の警報器の変形例である警報器102の主要な構成要素がブロック図で示されている。図9において、図1の例の警報器100の構成要素又は図6の例の警報器101の構成要素と同様の構成要素については、図1又は図7に付された符号と同じ符号が付されるか省略され、その構成要素に関する繰り返しとなる説明は省略される。警報器102は、処理装置1の内部が、制御部10を担う部分(第1処理部1α)と通信部20を担う部分(第2処理部1β)とに区分されている点で、図1に示される警報器100と異なっている。
<Modified example of alarm device of one embodiment>
FIG. 9 shows a block diagram of the main components of the alarm device 102, which is a modified example of the alarm device of one embodiment. In FIG. 9, components similar to the components of the alarm device 100 in the example of FIG. 1 or the components of the alarm device 101 in the example of FIG. may be omitted, and repeated descriptions of its components will be omitted. The alarm device 102 is similar to FIG. This is different from the alarm device 100 shown in FIG.

警報器102の処理装置1では、図9に示される記憶手段1b、記憶手段2b、及び計時手段2cのように処理装置1を構成するCPUやメモリなどの各ハードウェア資源が、報知機能を担う第1処理部1α及び通信機能を担う第2処理部1βのいずれかに割り当てられている。図9に示される記憶手段1b、記憶手段2b、及び計時手段2cは、それぞれ、図7の例の記憶手段1b、記憶手段2b、及び計時手段2cと同様の機能を有している。そして、図9の例において、記憶手段1bは、第1処理部1αに属し、記憶手段2b及び計時手段2cは、第2処理部1βに属している。記憶手段1bには、報知機能に関する命令を含むソフトウェアSW1が内蔵されており、記憶手段2bには、通信機能に関する命令を含むソフトウェアSW2が内蔵されている。 In the processing device 1 of the alarm device 102, each hardware resource such as a CPU and a memory that constitute the processing device 1, such as the storage means 1b, the storage means 2b, and the clocking means 2c shown in FIG. 9, has a notification function. It is assigned to either the first processing section 1α or the second processing section 1β which is responsible for the communication function. The storage means 1b, storage means 2b, and timekeeping means 2c shown in FIG. 9 have the same functions as the storage means 1b, storage means 2b, and timekeeping means 2c in the example of FIG. 7, respectively. In the example of FIG. 9, the storage means 1b belongs to the first processing section 1α, and the storage means 2b and the clocking means 2c belong to the second processing section 1β. The storage means 1b has a built-in software SW1 containing instructions regarding the notification function, and the storage means 2b has built-in software SW2 containing instructions regarding the communication function.

警報器102の処理装置1では、メモリなどの各ハードウェア資源単位で、第1処理部1α又は第2処理部1βに割り当てられるのではなく、ハードウェア資源それぞれの内部が、報知機能を担う部分と通信機能を担う部分とに仕切られていてもよい。例えば、各記憶手段の記憶領域が、ソフトウェアSW1のような報知機能に関する情報を記憶する領域と、ソフトウェアSW2のような通信機能に関する情報を記憶する領域とに仕切られていてもよい。また、各記憶手段内の各種のレジスタ領域が、報知機能に関わる情報の記憶領域と通信機能に関わる情報の記憶領域とに分けられていてもよい。また、処理装置1を構成する複数の入出力ポートが、報知機能を担うポートと通信機能を担うポートとに分けられていてもよい。 In the processing device 1 of the alarm device 102, each hardware resource such as memory is not allocated to the first processing unit 1α or the second processing unit 1β, but the internal part of each hardware resource is a part responsible for the notification function. It may be partitioned into a part responsible for communication functions and a part responsible for communication functions. For example, the storage area of each storage means may be partitioned into an area for storing information regarding the notification function such as the software SW1, and an area for storing information regarding the communication function such as the software SW2. Further, the various register areas in each storage means may be divided into a storage area for information related to the notification function and a storage area for information related to the communication function. Furthermore, the plurality of input/output ports configuring the processing device 1 may be divided into a port that performs a notification function and a port that performs a communication function.

なお、処理装置1は、さらに報知機能及び通信機能以外の機能を担っていてもよく、また、報知機能及び通信機能それぞれの機能がさらに細分化されていてもよい。すなわち処理装置1は、3つ以上の機能を有していてもよく、それぞれに割り当てられた機能を担う三つ以上の部分に区分されていてもよい。そして処理装置1内のメモリなどの各ハードウェア資源が、3つ以上の部分のいずれか1以上に割り当てられてもよく、各資源の内部が、3つ以上の機能のいずれか担う部分毎に仕切られていてもよい。 Note that the processing device 1 may further have functions other than the notification function and the communication function, and each of the notification function and the communication function may be further subdivided. That is, the processing device 1 may have three or more functions, and may be divided into three or more parts each having its assigned function. Each hardware resource such as memory within the processing device 1 may be allocated to any one or more of the three or more parts, and the inside of each resource may be assigned to each part that performs one of the three or more functions. It may be partitioned off.

さらに、警報器102において処理装置1は、CPUに複数のコアを有するマルチコアタイプのマイコンであってもよく、複数のコアの一つが報知機能に宛てがわれ、他の一つが通信機能に宛てがわれてもよい。そのようにして、処理装置1の内部が、制御部10を担う部分と通信部20を担う部分とに区分されていてもよい。なお、図5の例のような記憶領域4内の特定の記憶領域へのアップデート後のソフトウェアSWの書き込みや、アップデート後のソフトウェアSWへの切り替えは、一例において、警報器100のハードウェアを管理するオペレーティングシステム(OS)によって制御される。その場合、ソフトウェアSWは、このOS上で動作するアプリケーションプログラムであってもよい。そして、アップデート前のソフトウェアSWの実行中に、アップデート後のソフトウェアSWが記憶領域4内の空き領域に書き込まれ、ソフトウェアSWが実行されていない間に、アップデート後のソフトウェアSWに切り替えられてもよい。 Furthermore, in the alarm device 102, the processing device 1 may be a multi-core type microcomputer having a plurality of cores in the CPU, one of the plurality of cores is assigned to the notification function, and the other one is assigned to the communication function. It's okay to be hurt. In this way, the inside of the processing device 1 may be divided into a part that serves as the control section 10 and a part that serves as the communication section 20. Note that writing the software SW after the update to a specific storage area in the storage area 4 as in the example of FIG. It is controlled by an operating system (OS). In that case, the software SW may be an application program running on this OS. Then, while the pre-update software SW is being executed, the post-update software SW may be written to a free area in the storage area 4, and the software SW may be switched to the post-update software SW while the software SW is not being executed. .

図9の警報器102は、このように、図1の警報器100と同様に単一の処理装置1を備えているが、その内部が制御部10を担う部分と通信部20を担う部分とに区分されている。そのため、警報器102においても、図7の警報器101について述べたように、ソフトウェアSW1のアップデートは通信機能に影響し難く、ソフトウェアSW2のアップデートは報知機能に影響し難いと考えられる。しかも、制御部10及び通信部20のいずれも処理装置1で主に構成されているので、制御部10と通信部20とを跨ぐような処理が高速に行われると考えられる。 As described above, the alarm device 102 in FIG. 9 includes a single processing device 1 like the alarm device 100 in FIG. It is divided into Therefore, in the alarm device 102, as described for the alarm device 101 in FIG. 7, updating the software SW1 is unlikely to affect the communication function, and updating the software SW2 is unlikely to affect the notification function. Moreover, since both the control section 10 and the communication section 20 are mainly constituted by the processing device 1, it is considered that processing that straddles the control section 10 and the communication section 20 is performed at high speed.

<一実施形態の警報システム>
つぎに、本発明の一実施形態の警報システムについて説明する。図10には、一実施形態の警報システムの一例である警報システム200がブロック図で示されている。図10に示されるように、警報システム200は、警報器210と、警報器210との間で通信による情報交換を行う制御装置220と、を備えている。警報器210は、図1~図9を参照して説明された一実施形態の警報器(例えば警報器100や警報器101)であり得る。制御装置220は、警報器210の動作を警報システム200のユーザーの指示に従って、及び/又は制御装置220に内蔵された制御プログラムに従って、制御する。制御装置220は、さらに、警報器210での検知結果若しくは警報発報経過を収集して統計処理若しくは解析してもよい。制御装置220としては、警報器210を監視及び制御する上位装置として機能するサーバーのような情報処理装置が例示される。図1、図7、及び図9に示される外部機器Eのいずれかが警報システム200の制御装置220であってもよい。制御装置220は、演算機能、比較機能、記憶機能などを有する処理装置221を含んでいる。処理装置221は、図1の警報器100が含む処理装置1と同様に、例えば、マイコンやASICなどの半導体装置からなり、内蔵されたプログラムに従って動作し得る。
<Alarm system of one embodiment>
Next, an alarm system according to an embodiment of the present invention will be described. FIG. 10 shows a block diagram of an alarm system 200, which is an example of an alarm system according to an embodiment. As shown in FIG. 10, the alarm system 200 includes an alarm device 210 and a control device 220 that exchanges information with the alarm device 210 through communication. Alarm 210 may be the alarm of one embodiment described with reference to FIGS. 1 to 9 (eg, alarm 100 or alarm 101). The control device 220 controls the operation of the alarm device 210 according to instructions from a user of the alarm system 200 and/or according to a control program built into the control device 220. The control device 220 may further collect the detection results of the alarm device 210 or the progress of the alarm issuance, and perform statistical processing or analysis. An example of the control device 220 is an information processing device such as a server that functions as a host device that monitors and controls the alarm device 210. Any of the external devices E shown in FIGS. 1, 7, and 9 may be the control device 220 of the alarm system 200. The control device 220 includes a processing device 221 having a calculation function, a comparison function, a storage function, and the like. Like the processing device 1 included in the alarm device 100 in FIG. 1, the processing device 221 is made of a semiconductor device such as a microcomputer or an ASIC, and can operate according to a built-in program.

警報システム200において警報器210は、警報器210の使用開始後にアップデートが可能なソフトウェアを内蔵している。また、制御装置220との間で警報器210の情報について所定周期で定期通信Rcを行うように構成されている。警報器210から制御装置220への定期通信Rc1は、例えば、前述のように、通常の監視の実行中、電池式の場合の電池残量若しくは電池切れ、故障中、及び、警報発報中などの警報器210の状態を含んでいる。また、制御装置220から警報器210への定期通信Rc2は、例えば、前述のように、定期通信Rc1の受領時に、定期通信Rc1への応答パケットから構成されている。そして、ソフトウェアのアップデートが予定されている場合には、警報器210から制御装置220への定期通信Rc2では、応答パケットに更新データが格納されている。 In the alarm system 200, the alarm device 210 has built-in software that can be updated after the alarm device 210 starts to be used. Further, it is configured to perform periodic communication Rc with the control device 220 regarding information on the alarm device 210 at a predetermined period. As described above, periodic communication Rc1 from the alarm device 210 to the control device 220 may occur, for example, during normal monitoring, when the battery is running low or dead in the case of a battery type, when there is a malfunction, when an alarm is being issued, etc. The state of the alarm device 210 is included. Further, the periodic communication Rc2 from the control device 220 to the alarm device 210 is composed of, for example, a response packet to the periodic communication Rc1 upon receiving the periodic communication Rc1, as described above. If a software update is scheduled, update data is stored in the response packet in the regular communication Rc2 from the alarm device 210 to the control device 220.

なお、警報器210において、警報の発報が制御装置220に通知される場合、その通知に対する応答信号にアップデート用の更新データが含められてもよい。この場合も、更新データのためだけのデータ送信を行う場合と比べて、効率良く更新データを警報器210に供給することができる。 Note that in the case where the alarm device 210 notifies the control device 220 that an alarm is issued, update data for updating may be included in a response signal to the notification. Also in this case, update data can be supplied to the alarm device 210 more efficiently than when data is transmitted only for update data.

警報システム200において制御装置220は、更新データのボリュームに基づいて、ソフトウェアのアップデート用の更新データを定期通信Rc2で分割して送信するか、定期通信Rc2以外の通信(例えば、更新データ送信専用の通信)否かを判断してもよい。例えば、更新データのボリュームが所定量以上である場合には、定期通信Rc2以外(例えば、更新データ送信専用の通信)で更新データを送信し、更新データのボリュームが所定量未満である場合は、更新データの全てを定期通信Rc2で分割して送信してもよい。 In the alarm system 200, the control device 220 divides and transmits the update data for updating the software using regular communication Rc2, based on the volume of the update data, or sends the update data by dividing it using regular communication Rc2 (for example, a communication dedicated to transmitting update data). communication) or not. For example, if the volume of update data is greater than or equal to a predetermined amount, the update data is transmitted using a method other than regular communication Rc2 (for example, communication dedicated to transmitting update data), and if the volume of update data is less than a predetermined amount, All of the update data may be divided and transmitted by regular communication Rc2.

警報器210が電池式であって、警報器210が電池残量の情報を含む定期通信Rc1を制御装置220に送信する場合、制御装置220は、警報器210からの電池残量の情報に基づいて、ソフトウェアのアップデート用の更新データを警報器210に送信するか否かを判断してもよい。その場合、制御装置220は、警報器210の電池の残量が所定の閾値以下となると、更新データを警報器210に送信しなくてもよい。また、制御装置220は、前述のように、アップデート実行の優先度に基づいて、更新データを警報器210に定期通信Rc2で分割して送信するか否かを判断してもよい。その場合、制御装置220は、検知対象であるガスの濃度や温度などの検出値が予備閾値を超えると、例えば通信セキュリティの確保に関する仕様の変更や致命的なバグの修正といった優先度の高い内容のアップデートの更新データだけを定期通信Rc2で分割して送信してもよい。 When the alarm device 210 is battery-powered and the alarm device 210 transmits a periodic communication Rc1 including information on the remaining battery level to the control device 220, the control device 220 transmits the information based on the information on the remaining battery level from the alarm device 210. Then, it may be determined whether or not to send update data for updating the software to the alarm device 210. In that case, the control device 220 does not need to transmit the update data to the alarm device 210 when the remaining battery level of the alarm device 210 becomes less than or equal to a predetermined threshold. Furthermore, as described above, the control device 220 may determine whether to divide and transmit the update data to the alarm device 210 using the regular communication Rc2, based on the priority of update execution. In that case, when the detected value of the gas to be detected, such as the concentration or temperature, exceeds the preliminary threshold, the control device 220 will respond to the request for high-priority content, such as changing specifications related to ensuring communication security or fixing fatal bugs. It is also possible to divide and transmit only the update data of the update in regular communication Rc2.

警報システム200において制御装置220は、更新データのボリューム及び/又はアップデート実行の優先度に基づいて、更新データの一部を定期通信Rc2で分割して送信し、残りの更新データを定期通信Rc2以外の通信で送信してもよい。そうすることで、更新データのボリュームが所定量以上である場合に、定期通信Rc2及び定期通信Rc2以外の通信の併用によって、更新データが警報器210に迅速に送信されるとともに、警報器210が有する警報機能などの各機能の停止期間を少なくすることができる。また、優先度の高い内容のアップデートを迅速に実行することができる。 In the alarm system 200, the control device 220 divides and transmits a part of the update data using regular communication Rc2 based on the volume of the update data and/or the priority of update execution, and sends the remaining update data to other than regular communication Rc2. It may also be sent via communication. By doing so, when the volume of update data is greater than or equal to a predetermined amount, the update data is quickly sent to the alarm device 210 by using the regular communication Rc2 and communication other than the regular communication Rc2, and the alarm device 210 is It is possible to reduce the period during which each function, such as an alarm function, is stopped. Additionally, updates of high-priority content can be executed quickly.

なお、今回開示された実施形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施形態の説明ではなく特許請求の範囲によって示され、さらに特許請求の範囲と均等の意味及び範囲内でのすべての変更(変形例)が含まれる。 Note that the embodiments disclosed this time should be considered to be illustrative in all respects and not restrictive. The scope of the present invention is indicated by the claims rather than the description of the embodiments described above, and further includes all changes (modifications) within the meaning and range equivalent to the claims.

また、上記実施形態では、説明の便宜上、実施形態の警報器の処理動作を処理フローに沿って順番に処理を行うフロー駆動型のフローチャートを用いて説明したが、本発明はこれに限られない。本発明では、警報器の処理動作を、イベント単位で処理を実行するイベント駆動型(イベントドリブン型)の処理により行ってもよい。この場合、完全なイベント駆動型で行ってもよいし、イベント駆動及びフロー駆動を組み合わせて行ってもよい。 Further, in the above embodiment, for convenience of explanation, the processing operation of the alarm device of the embodiment is explained using a flow-driven flowchart in which processing is performed in order along the processing flow, but the present invention is not limited to this. . In the present invention, the processing operation of the alarm device may be performed by event-driven processing that executes processing on an event-by-event basis. In this case, it may be completely event-driven, or it may be a combination of event-driven and flow-driven.

100、101、102、210 警報器
200 警報システム
10 制御部
11 記憶手段
20 通信部
220 制御装置
3 電源部
5 被操作部
E 外部機器
Rc 定期通信
SW、SW1、SW2 ソフトウェア
100, 101, 102, 210 Alarm device 200 Alarm system 10 Control section 11 Storage means 20 Communication section 220 Control device 3 Power supply section 5 Operated section E External device Rc Regular communication SW, SW1, SW2 Software

Claims (10)

周囲環境の監視結果に基づく報知、及び外部機器との交信を、内蔵するソフトウェアに含まれる命令に従って行う警報器であって、
前記警報器は、前記外部機器との間で前記警報器の状態を所定周期で前記外部機器に送る定期通信を行うように構成されており、
前記ソフトウェアは、前記警報器の使用開始後にアップデートが可能なように内蔵されており、
前記アップデートが、複数回の前記定期通信を通じて前記外部機器から分割して送られる前記アップデート用の更新データを用いて実行される、警報器。
An alarm device that makes notifications based on monitoring results of the surrounding environment and communicates with external devices according to instructions included in built-in software,
The alarm device is configured to perform regular communication with the external device to send the status of the alarm device to the external device at a predetermined period,
The software is built-in so that it can be updated after starting to use the alarm,
The alarm device wherein the update is performed using the update data for the update that is sent in parts from the external device through the periodic communication a plurality of times.
周囲環境の監視結果に基づく報知を、内蔵するソフトウェアに含まれる命令に従って行う警報器と、
前記警報器との間で通信による情報交換を行う制御装置と、
を含む警報システムであって、
前記警報器は、前記制御装置との間で前記警報器の状態を所定周期で前記制御装置に送る定期通信を行うように構成されており、
前記ソフトウェアは、前記警報器の使用開始後にアップデートが可能なように内蔵されており、
前記制御装置は、前記アップデート用の更新データを分割して複数回の前記定期通信を通じて前記警報器に送信し、
前記警報器は、分割して送られる前記更新データを用いて前記アップデートを実行するように構成されている、警報システム。
An alarm device that makes an alarm based on the monitoring results of the surrounding environment according to instructions included in built-in software;
a control device that exchanges information with the alarm device through communication;
An alarm system comprising:
The alarm device is configured to perform regular communication with the control device to send the state of the alarm device to the control device at a predetermined period,
The software is built-in so that it can be updated after starting to use the alarm,
The control device divides the update data for the update and transmits the divided data to the alarm device through the periodic communication a plurality of times,
The alarm system is configured such that the alarm device executes the update using the update data that is sent in parts.
前記警報器は、前記監視結果に基づく警報の発報時に前記外部機器に前記警報の発報を報せる通知を行うように構成されており、
前記アップデートが、さらに、前記通知に対する応答信号に含まれる分割された前記更新データを用いて実行される、請求項1記載の警報器。
The alarm device is configured to issue a notification to the external device to notify the external device of the issue of the alarm when issuing the alarm based on the monitoring result,
The alarm device according to claim 1, wherein the update is further performed using the divided update data included in a response signal to the notification.
前記警報器は、前記監視結果に基づく警報の発報時に前記制御装置に前記警報の発報を報せる通知を行うように構成されており、
前記制御装置は、分割された前記更新データの少なくとも一部を、前記通知に対する応答信号の空き領域に格納して前記警報器に送信する、請求項2記載の警報システム。
The alarm device is configured to notify the control device that the alarm is issued when issuing the alarm based on the monitoring result,
3. The alarm system according to claim 2, wherein the control device stores at least a part of the divided update data in an empty area of a response signal to the notification and transmits the same to the alarm device.
前記定期通信において前記警報器へのデータの伝送単位を構成する複数の領域のうちの前記更新データが送信されないときに無効データが格納される領域に格納されて送られる前記更新データを用いて前記アップデートが実行される、請求項1若しくは3記載の警報器、又は、請求項2若しくは4記載の警報システム。 In the periodic communication, when the update data is not transmitted out of a plurality of areas constituting a unit of data transmission to the alarm device, the update data is stored and sent in an area where invalid data is stored. The alarm device according to claim 1 or 3, or the alarm system according to claim 2 or 4, wherein the update is executed. 前記警報器は、前記監視結果に基づく警報の発報中には前記アップデートを実行しないように構成されている、請求項1若しくは3記載の警報器、又は、請求項2若しくは4記載の警報システム。 The alarm device according to claim 1 or 3, or the alarm system according to claim 2 or 4, wherein the alarm device is configured not to execute the update while issuing an alarm based on the monitoring result. . 前記警報器は、分割された前記更新データの全てを受け取ると、前記アップデートを開始するように構成されている、請求項1若しくは3記載の警報器、又は、請求項2若しくは4記載の警報システム。 The alarm device according to claim 1 or 3, or the alarm system according to claim 2 or 4, wherein the alarm device is configured to start the update when all of the divided update data is received. . 前記警報器は、前記定期通信において前記警報器へのデータの伝送単位に含まれる符号に基づいて、分割された前記更新データの全てを受け取ったことを認識するように構成されている、請求項1若しくは3記載の警報器、又は、請求項2若しくは4記載の警報システム。 The alarm device is configured to recognize that all of the divided update data has been received based on a code included in a unit of data transmission to the alarm device in the periodic communication. The alarm device according to claim 1 or 3, or the alarm system according to claim 2 or 4. 前記アップデートが、前記定期通信における前記警報器から前記外部機器への通信ごとに前記外部機器から返信される応答信号に含めて送られる前記更新データを用いて実行される、請求項1又は3記載の警報器。4. The update is performed using the update data that is included in a response signal sent back from the external device every time the alarm device communicates with the external device in the periodic communication. alarm. 前記制御装置は、分割した前記更新データを、前記定期通信において前記警報器から前記制御装置への通信ごとに前記制御装置から返信する応答信号に含めて前記警報器に送信する、請求項2又は4記載の警報システム。3. The control device includes the divided update data in a response signal sent back from the control device each time the alarm device communicates with the control device in the periodic communication, and transmits the divided update data to the alarm device. The alarm system described in 4.
JP2023042275A 2023-03-16 2023-03-16 Alarms and alarm systems Active JP7398018B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023042275A JP7398018B1 (en) 2023-03-16 2023-03-16 Alarms and alarm systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023042275A JP7398018B1 (en) 2023-03-16 2023-03-16 Alarms and alarm systems

Publications (1)

Publication Number Publication Date
JP7398018B1 true JP7398018B1 (en) 2023-12-13

Family

ID=89117068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023042275A Active JP7398018B1 (en) 2023-03-16 2023-03-16 Alarms and alarm systems

Country Status (1)

Country Link
JP (1) JP7398018B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010258506A (en) * 2009-04-21 2010-11-11 Seiko Instruments Inc Radio quality collection device, radio terminal, radio quality collection program, and radio terminal program
JP2016085654A (en) * 2014-10-28 2016-05-19 シャープ株式会社 Remote monitoring system for updating firmware, server, and method for updating the firmware
JP2016174196A (en) * 2015-03-16 2016-09-29 富士通株式会社 Report system, report terminal, center device, and terminal management method
JP2017228077A (en) * 2016-06-22 2017-12-28 富士通株式会社 Electronic equipment, firmware update method, and computer program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010258506A (en) * 2009-04-21 2010-11-11 Seiko Instruments Inc Radio quality collection device, radio terminal, radio quality collection program, and radio terminal program
JP2016085654A (en) * 2014-10-28 2016-05-19 シャープ株式会社 Remote monitoring system for updating firmware, server, and method for updating the firmware
JP2016174196A (en) * 2015-03-16 2016-09-29 富士通株式会社 Report system, report terminal, center device, and terminal management method
JP2017228077A (en) * 2016-06-22 2017-12-28 富士通株式会社 Electronic equipment, firmware update method, and computer program

Similar Documents

Publication Publication Date Title
US11726768B2 (en) Systems and methods for updating software in a hazard detection system
US20170082498A1 (en) Remote monitoring system
US20110018706A1 (en) Alarm device and alarm system
JP2007287671A (en) Discharge lamp lighting device, lighting control system, and control management system
JP6325109B2 (en) Management device, management device control method, and management system control method
JP4372800B2 (en) Low battery detection system
US9922541B2 (en) Systems and methods for detecting anomalies in a hazard detection system
US20180144601A1 (en) Retroactive messaging for handling missed synchronization events
JP6102518B2 (en) Power supply device and power supply program
JP7398018B1 (en) Alarms and alarm systems
KR20120087257A (en) Smart outlet and wireless electric power saving system using the same
JP7473703B1 (en) Alarm
JP7473704B1 (en) Alarm
JP7506213B1 (en) Alarms and alarm systems
JP5534894B2 (en) Wireless alarm system
KR102412011B1 (en) Wireless fire detector and electronic system including the same
JP7441257B2 (en) alarm
JP7369318B2 (en) alarm
JP6563785B2 (en) Radio and radio telemeter system
JP2008108058A (en) Radio alarm unit, radio notification unit, and center unit
JP7473576B2 (en) Alarm
JP7503166B1 (en) COMMUNICATION DEVICE, GAS DETECTION SYSTEM, GAS DETECTOR, COMMUNICATION METHOD, AND CONTROL METHOD
US20150145675A1 (en) Programmable wireless alarm device and the alarm system having the same
JP2017045121A (en) Alarm
JP2020161997A (en) Radio communication apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230317

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20230317

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230627

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230822

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231201

R150 Certificate of patent or registration of utility model

Ref document number: 7398018

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150