JP2023141062A - alarm - Google Patents

alarm Download PDF

Info

Publication number
JP2023141062A
JP2023141062A JP2022047195A JP2022047195A JP2023141062A JP 2023141062 A JP2023141062 A JP 2023141062A JP 2022047195 A JP2022047195 A JP 2022047195A JP 2022047195 A JP2022047195 A JP 2022047195A JP 2023141062 A JP2023141062 A JP 2023141062A
Authority
JP
Japan
Prior art keywords
update
communication
software
alarm
alarm device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2022047195A
Other languages
Japanese (ja)
Other versions
JP7473576B2 (en
Inventor
和也 齋藤
Kazuya Saito
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 JP2022047195A priority Critical patent/JP7473576B2/en
Publication of JP2023141062A publication Critical patent/JP2023141062A/en
Application granted granted Critical
Publication of JP7473576B2 publication Critical patent/JP7473576B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Emergency Alarm Devices (AREA)
  • Alarm Systems (AREA)

Abstract

To provide an alarm configured to properly update a control method, etc., without stopping essential function needlessly, while preventing adverse effect on notification function of the alarm.SOLUTION: An alarm 100 is configured to operate in accordance with an instruction included in built-in software SW, the alarm 100 comprising: a control unit 10 which controls notification function that monitors the surroundings and issues an alarm on the basis of a monitoring result; and a communication unit 20 which controls communication with an external device E. The software SW is built in so as to be updated via he communication unit 20 after the alarm 100 is started for use. The control unit 10 is configured to perform inspection operation for the notification function when the alarm 100 is supplied with power. The control unit 10 is configured, when the update relates to communication, not to perform the inspection operation at power-on after the software SW is updated.SELECTED DRAWING: Figure 1

Description

本発明は、周囲環境を監視する警報器に関する。 The present invention relates to an alarm device that monitors 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 outbreak 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 the 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 with communication functions must be controlled even after the alarm has been used, in order to keep up with changes in regulations and technological developments, and to protect the alarm's functions from new threats to the alarm. It is required to update the method and control specifications as appropriate. If the control method is not updated appropriately, for example, it may not be possible to keep up with revisions to laws and regulations, and the alarm may become virtually unusable even though the alarm itself is operable, or communication security may become unusable. This could also expose alarms to the threat of malicious technology that threatens security. However, due to the characteristics of the alarm device, it is undesirable for the essential function, the notification function, to be out of action for an unnecessarily long period when updating the control method or the like.

本発明は、上記問題に鑑みてなされたもので、本質的機能を無暗に停止することなく制御方式などを適切に更新することができる警報器を提供することを目的とする。 The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide an alarm device whose control method and the like can be appropriately updated without stopping the essential functions.

本発明の警報器は、内蔵するソフトウェアに含まれる命令に従って動作する警報器であって、前記警報器は、周囲環境を監視して監視結果に基づいて報知する報知機能を制御する制御部と、外部機器との間の通信を制御する通信部と、を備え、前記ソフトウェアは、前記警報器の使用開始後に前記通信部を介したアップデートが可能なように内蔵されており、前記制御部は、前記警報器の電源投入時に、前記報知機能に関する点検動作を行うように構成されており、前記制御部は、前記アップデートが前記通信に関するアップデートであるときは、前記アップデートの終了後に前記点検動作を行わないように構成されている、警報器。 The alarm device of the present invention is an alarm device that operates according to instructions included in built-in software, and the alarm device includes a control unit that controls a notification function that monitors the surrounding environment and makes a notification based on the monitoring result; a communication unit that controls communication with an external device, the software is built in so that it can be updated via the communication unit after the alarm starts being used, and the control unit includes: When the power of the alarm is turned on, the control unit is configured to perform a check operation regarding the notification function, and when the update is an update regarding the communication, the control unit performs the check operation after the update is completed. The alarm is configured so that it does not.

本発明の警報器は、前記アップデートが前記通信に関するアップデートか否かを示す情報を記憶する記憶手段をさらに備えていてもよく、前記制御部は、前記点検動作を行うか否かを前記情報に基づいて判断するように構成されていてもよい。 The alarm of the present invention may further include a storage means for storing information indicating whether or not the update is related to the communication, and the control unit may store information indicating whether or not the inspection operation is to be performed. The configuration may be such that the determination is made based on the following information.

前記制御部は、前記アップデートが前記報知機能に関するアップデートであるときは、前記アップデートの終了後に前記点検動作を行うように構成されていてもよい。 The control unit may be configured to perform the inspection operation after the update is completed when the update is related to the notification function.

前記制御部は、前記通信部によって受信される前記アップデートに関する情報に含まれる識別符号に基づいて、前記アップデートが前記通信に関するアップデートか否かを判断するように構成されていてもよい。 The control unit may be configured to determine whether the update is an update related to the communication based on an identification code included in information related to the update received by the communication unit.

前記制御部は、前記アップデート前の前記ソフトウェアと前記アップデート後の前記ソフトウェアとを比較して、前記アップデートが前記通信に関するアップデートか否かを判断するように構成されていてもよい。 The control unit may be configured to compare the software before the update and the software after the update to determine whether the update is related to the communication.

前記アップデートは、外部機器と前記通信部との無線通信を介して行われてもよい。 The update may be performed via wireless communication between an external device and the communication unit.

本発明によれば、警報器の報知機能に影響を与えないようにしながら、本質的機能を無暗に停止することなく制御方式などを適切に更新することができる警報器を提供することができる。 Advantageous Effects of Invention According to the present invention, it is possible to provide an alarm device in which the control method and the like can be appropriately updated without affecting the notification function of the alarm device and without randomly stopping essential functions. .

本発明の一実施形態の警報器の一例の概略を示すブロック図である。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 included in the alarm processing device according to an embodiment of the present invention. 本発明の一実施形態の警報器における動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation in the alarm device of one embodiment of the present invention. 本発明の一実施形態の警報器における動作の他の例を示すフローチャートである。It is a flowchart which shows another example of operation in the alarm device of one embodiment of the present invention. 本発明の一実施形態の警報器における動作のさらに他の例を示すフローチャートである。It is a flowchart which shows yet another example of operation in the alarm device of one embodiment of the present invention. 本発明の一実施形態の警報器に送られるアップデート後のソフトウェアを含むデータフレームの一例を示す模式図である。It is a schematic diagram which shows an example of the data frame containing updated software sent to the alarm device of one embodiment of this invention. 本発明の一実施形態の警報器におけるアップデート種別の判断方法の一例を示す模式図である。It is a schematic diagram which shows an example of the determination method of the update type in the alarm device of one embodiment of this invention. 本発明の一実施形態の警報器におけるアップデート種別の判断方法の他の例を示す模式図である。It is a schematic diagram which shows the other example of the determination method of the update type in the alarm device of one Embodiment of this invention. 本発明の一実施形態の警報器の他の例の概略を示すブロック図である。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 yet another example of operation in the alarm device of one embodiment of the present invention.

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

<基本構成及び作用>
図1には、本発明の一実施形態の警報器100の主要な構成要素がブロック図で示されている。一実施形態の警報器100は、例えば、住居や工場などに設置されたり、使用者に携帯されたりして、警報器100の周囲の環境を監視する。そして、警報器100は、周囲の環境が特定の状態にある場合にはそれを検知して、例えば、警報を発したり、信号を送ったりして、周囲環境が特定の状態、例えば人体や物的資産に危害が及び得る異常な状態にあることを周囲の人や所定の機器に報せる。特定の状態としては、火災の発生、ガスもれ、一酸化炭素の充満、煙の充満、過剰な温湿度、などが例示されるが、警報器100が検知する特定の状態は、これらに限定されない。
<Basic configuration and function>
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. Specific conditions include the occurrence of a fire, gas leak, carbon monoxide, smoke, excessive temperature and humidity, etc., but the specific conditions detected by the alarm 100 are limited to these. Not done.

本実施形態の警報器100は、図1に示されるように、制御部10と、通信部20と、制御部10及び通信部20が要する電力を供給する電源部3と、を備えている。制御部10は、周囲環境を監視して監視結果に基づいて報知する報知機能を制御する。すなわち制御部10は、警報器100が有する本質的な機能である、周囲環境の監視から監視結果に基づく報知までの機能を制御する。通信部20は、警報器100と外部機器Eとの間の通信を制御する。すなわち通信部20は、警報器100が有する、警報器100と外部機器Eとの間の信号の送信及び/又は受信を含む通信機能を制御する。制御部10と通信部20とは、好ましくは互いに相手方との間で信号の送受が可能なように構成されている。 As shown in FIG. 1, the alarm device 100 of this embodiment includes a control section 10, a communication section 20, and a power supply section 3 that supplies power required by the control section 10 and the communication section 20. 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 reporting based on the monitoring results. The communication unit 20 controls communication between the alarm device 100 and the external device E. That is, the communication unit 20 controls communication functions of the alarm device 100, including transmission and/or reception of signals between the alarm device 100 and the external device E. The control unit 10 and the communication unit 20 are preferably configured to be able to send and receive signals between each other.

通信部20は、無線回線C1又は有線回線C2を介して外部機器Eとの間で直接送受信を行ってもよく、無線回線C1又は有線回線C2で接続された、例えばインターネットやローカルエリアネットワーク(LAN)などのネットワークNを介して外部機器Eとの間で信号の送受信を行ってもよい。外部機器Eとしては、警報器100以外の同種、又は検知対象の異なる警報器、並びに、警報器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. ) etc., signals may be transmitted and received with an external device E via a network N such as a network N. External devices E include alarm devices of the same type other than the alarm device 100, or alarm devices with different detection targets, and monitors or controls the operation of the alarm device 100, and/or monitors or monitors the detection results of the alarm device 100 or the progress of alarm issuance. An example is an information processing device such as a server that collects and performs statistical processing or analysis. However, the external device E is not limited to these.

電源部3は、制御部10及び通信部20を含む、警報器100の内部の各構成要素に電力を供給する。電源部3は、例えば、商用電源(図示せず)から供給される電力を各構成要素に供給する。その場合、電源部3は、例えば、商用電源から供給される交流電力を所望の電圧の直流電力に変換するインバータや、警報器100内の構成要素に印加される電源電圧を安定化させる電圧レギュレータなどによって構成され得る。電源部3は、商用電源からの電力ではなく、乾電池などの一次電池やバッテリなどの二次電池の直流電力を警報器100内の各構成要素に供給してもよい。図1の例の警報器100は、制御部10及び通信部20などへの電源部3からの電力の供給と停止とを切り替える電源スイッチSを備えている。なお、図1の例において警報器100は電源スイッチSを備えているが、本実施形態の警報器100は、必ずしも、電力の供給と停止とを切り替えるスイッチを備えない。例えば、本実施形態では、単に商用電力の受電の有無や電池の着脱によって、制御部10及び通信部20への電力の供給が切り替えられてもよい。 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 DC power from a primary battery such as a dry battery or a secondary battery such as a battery to each component in the alarm 100 instead of power from a commercial power source. The alarm device 100 in the example of FIG. 1 includes a power switch S that switches between supplying and stopping power from the power supply unit 3 to the control unit 10, the communication unit 20, and the like. In addition, although the alarm device 100 is equipped with the power switch S in the example of FIG. 1, the alarm device 100 of this embodiment does not necessarily include a switch that switches between supplying and stopping power. For example, in the present embodiment, the supply of power to the control unit 10 and the communication unit 20 may be switched simply depending on whether or not commercial power is being received or whether a battery is attached or detached.

本実施形態の警報器100は、ソフトウェアSWを内蔵していてソフトウェアSWに含まれる命令に従って動作する。図1の例において警報器100が内蔵するソフトウェアSWは、制御部10及び通信部20それぞれを構成する処理装置1が有する記憶手段11に格納されている。すなわち、制御部10と通信部20とは処理装置1を共有しており、処理装置1にソフトウェアSWが内蔵されている。処理装置1は、制御部10による報知機能の制御、及び通信部20による外部機器Eとの間の通信の制御を具体的に担う半導体装置からなる。すなわち、図1の例の制御部10と通信部20は、ソフトウェアSWを内蔵していて、警報器100が有する報知機能及び外部機器Eとの間の通信を制御する半導体装置を共有している。なお、本実施形態において警報器100は、処理装置1が実行するソフトウェアSWを格納するROMなどの記憶手段(図示せず)を、処理装置1とは別に備えていてもよい。 The alarm device 100 of this embodiment has a built-in software SW and operates 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. That is, the control section 10 and the communication section 20 share the processing device 1, and the processing device 1 has a built-in software SW. 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. That is, the control unit 10 and the communication unit 20 in the example of FIG. 1 have a built-in software SW and share a semiconductor device that controls the notification function of the alarm device 100 and the communication with the external device E. . 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は、通信部20を介したソフトウェアSWのアップデートが、警報器100の使用開始後に可能なように内蔵されている。警報器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 via the communication unit 20 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では、ソフトウェアSWのアップデートの実行に伴ってそのアップデート後に行う動作を、例えば電源投入時の初期動作と同じ内容で行うのではなく、現に実行されたアップデートの後に行う動作として相応しい内容、例えば過剰でない内容で行うように、制御部10及び/又は通信部20が構成されている。そのため、警報器100の本質的機能を無暗に停止することなく、ソフトウェアSWに含まれる一連の命令で規定される制御方式などを適宜に更新することができる。この実施形態の警報器の構成及び作用が、以下に詳細に説明される。 In the alarm device 100 of the present embodiment, the operation to be performed after the update of the software SW is not performed with the same content as the initial operation when the power is turned on, but after the update that is actually executed. The control unit 10 and/or the communication unit 20 are configured to perform the operation with appropriate content, for example, content that is not excessive. Therefore, the control method defined by a series of commands included in the software SW can be updated as appropriate without stopping the essential functions of the alarm device 100. The configuration and operation of the alarm of this embodiment will be explained in detail below.

<制御部の構成>
図1の例において制御部10は、検知部12と、報知部13と、前述した処理装置1及びその周辺回路(図示せず)と、を備えている。処理装置1は、前述したように制御部10と通信部20との間で共有されている。
<Configuration of control unit>
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 as described above.

検知部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, gas leakage in the space around alarm device 100 is detected by various gas sensors. Furthermore, the occurrence of a fire around the alarm 100 is detected by a temperature sensor, a smoke sensor, and the like.

報知部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の例で制御部10と通信部20との間で共有される処理装置1は、マイコンやASICなどの半導体装置からなり、内蔵されたプログラムに従って動作する。なお、警報器100が処理装置1と別にROMなどの記憶装置(図示せず)を備える場合は、処理装置1は、この外部の記憶装置に格納されたプログラムに従って動作してもよい。処理装置1は、好ましくは、演算機能、比較機能、記憶機能などを有している。制御部10において処理装置1は、検知部12及び報知部13の動作を含む、警報器100の報知機能に関する動作を全体的に制御する。例えば処理装置1は、検知部12による周囲環境の監視動作の開始や停止を制御する。また、処理装置1は、検知部12から得られる検知データが示す、一酸化炭素やガスの濃度、周囲の温度、及び、煙の濃度などが、所定の閾値を超えているか否かを判断する、そして、温度や濃度などが閾値を超えている場合には、例えばその超過の程度に応じて報知の態様(音声の鳴動の仕方や発光の仕方など)を決定し、決定した方法で報知部13に報知を実行させる。 In the example of FIG. 1, the processing device 1 shared between the control section 10 and the communication section 20 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 controls the start and stop of the monitoring operation of the surrounding environment by the detection unit 12. Furthermore, the processing device 1 determines whether or not the concentration of carbon monoxide and 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. If the temperature, concentration, etc. exceed the threshold, the notification mode (how to make a sound, how to emit light, etc.) is determined depending on the extent of the exceedance, and the notification unit uses the determined method. 13 to execute notification.

図1の例の処理装置1は記憶手段11を備えている。記憶手段11は、処理装置1で実行される処理に必要な任意の情報を記憶する。記憶手段11は、処理装置1に組み込まれた、ROM、PROM(プログラマブルROM)、RAM、フラッシュメモリ、及び各種のレジスタなどのメモリ空間であり得る。記憶手段11には、例えば、処理装置1の動作を記述したプログラムなどのソフトウェア、警報発報の判断基準であって検知部12の検知データと比較される閾値、この閾値と検知データとの比較結果に対応付けられた報知部13での報知態様、及び、通信部20の状態に関する情報、などが記憶される。図1の例では、記憶手段11を構成し得るメモリ、例えばEPROM(イレーサブルPROM)に、警報器100が従う命令を記述したプログラムを含むソフトウェアSWが格納されている。また、例えば記憶手段11を構成するレジスタには、ソフトウェアSWのアップデートの開始時の時刻に関する情報が記憶されてもよい。 The processing device 1 in the example of FIG. 1 includes a storage means 11. The storage means 11 stores arbitrary information necessary for processing executed by 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 means 11 includes, for example, software such as a program describing the operation of the processing device 1, 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 comparison between this threshold value and the detection data. The notification mode in the notification unit 13 associated with the result, information regarding the state of the communication unit 20, etc. 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. Further, for example, a register constituting the storage means 11 may store information regarding the time at which updating of the software SW is started.

<通信部の構成>
通信部20は、前述した制御部10との間で共有する処理装置1及びその周辺回路(図示せず)と、送受信部22とを備えている。通信部20が無線によって外部機器Eとの間で信号の送受信を行う場合には、送受信部22はアンテナ22aを備え得る。
<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. When the communication unit 20 wirelessly transmits and receives signals to and from the external device E, the transmitting and receiving unit 22 may include an antenna 22a.

送受信部22は、無線通信又は有線通信によって外部機器Eとの間で信号を送受する。送受信部22は、外部機器Eと警報器100との間で電気信号を送受するように構成された、集積回路装置や個々の部品からなる電気回路などのハードウェアにより構成される。送受信部22は、外部機器Eとの通信に必要となる、信号の変換(アナログ/デジタル変換や信号のレベル変換など)、信号の増幅、信号の合成及び分解、信号の変調及び復調、外部機器Eとの間のリンクの設定、及び/又は誤り制御、などを行うように構成され得る。例えば、送受信部22は、外部機器Eとの通信に必要な信号処理を行うように設計されたASICなどからなる通信制御IC、又はモデムIC、及びその周辺回路で構成されていてもよい。 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, and is configured by hardware such as an integrated circuit device or an electrical circuit made up of individual components. The transmitting/receiving unit 22 performs signal conversion (analog/digital conversion, signal level conversion, etc.), signal amplification, signal synthesis and decomposition, signal modulation and demodulation, and external equipment necessary for communication with the external device E. and/or error control, etc.). For example, the transmitter/receiver 22 may include a communication control IC such as an ASIC designed to perform signal processing necessary for communication with the external device E, or a modem IC, and its peripheral circuits.

通信部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.

通信部20は、通常の監視の実行中、電池切れ状態、故障中、及び、警報発報中などの上記「警報器100の状態」を所定の周期で外部機器Eに送る通信(定期通信)を行うように構成されていてもよい。定期通信を行うことによって、外部機器Eから適時に適切な制御を受け得ることがある。所定の周期は、警報器100の検知対象や使用場所などによって適宜選択される。所定の周期は、例えば数分程度であってもよく、数時間、あるいは数日程度であってもよい。 The communication unit 20 transmits the above-mentioned "state of the alarm device 100" such as during execution of normal monitoring, a dead battery state, a malfunction, and an alarm being issued to the external device E at a predetermined period (regular communication). It may be configured to perform the following. 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.

図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 may, for example, count the elapsed time since the last time the status of the alarm device 100 was sent in the above-mentioned "regular communication" performed by the communication unit 20.

<ソフトウェアのアップデート>
前述したように、警報器100では、ソフトウェアSWは、警報器100の使用開始後に、通信部20を介したアップデートが可能なように内蔵されている。例えば、ソフトウェアSWは、処理装置1に記憶手段11として備えられるEPROM、好ましくは、EEPROM(エレクトリカリー・イレーサブルPROM)やフラッシュメモリなどに格納されている。EEPROM及びフラッシュメモリなどのメモリでは、例えば電荷の蓄積や抜き取りが可能な高電圧の印加などの特定の電気的環境をメモリに与えることによって、既に記憶されている内容を書き換えることができる。
<Software update>
As described above, the software SW is built into the alarm device 100 so that it can be updated via the communication unit 20 after the alarm device 100 starts to be used. For example, the software SW is stored in an EPROM provided as the storage means 11 in the processing device 1, preferably in an EEPROM (Electrically Erasable PROM) or a flash memory. In memories such as EEPROMs and flash memories, already stored content can be rewritten by applying a specific electrical environment to the memory, such as applying a high voltage that allows charge to be stored or removed.

例えばこのように、EEPROMやフラッシュメモリなどのメモリで構成される、処理装置1が備える書き換え可能な記憶領域にソフトウェアSWを格納することによって、警報器100の使用開始後であっても、すなわち、警報器100の工場出荷後であっても、ソフトウェアSWのアップデートの実行が可能となる。例えば、処理装置1が備えるCPU(図示せず)の制御の下で、記憶手段11として備えられているフラッシュメモリ(又は処理装置1の外部の記憶装置)などの記憶内容が書き換えられ、その結果、ソフトウェアSWがアップデートされる。なお、警報器100が処理装置1の外部に記憶装置(図示せず)を備えていてその記憶装置に格納されたソフトウェアに従って動作する場合は、その記憶手段がEEPROMなどの書き換え可能なメモリであれば、警報器100の工場出荷後であってもソフトウェアのアップデートが可能である。 For example, by storing the software SW in the rewritable storage area of the processing device 1, which is configured with a memory such as an EEPROM or a flash memory, even after the alarm device 100 starts to be used, that is, Even after the alarm device 100 is shipped from the factory, it is possible to update the software SW. 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. Note that if the alarm device 100 is equipped with a storage device (not shown) outside the processing device 1 and operates according to software stored in the storage device, the storage means may be a rewritable memory such as an EEPROM. For example, the software can be updated even after the alarm device 100 is shipped from the factory.

ソフトウェアSWは、処理装置1が行う動作に関する命令が記述された制御プログラムなどのソフトウェアを含み得る。ソフトウェアSWは、処理装置1のハードウェアと密接に結びついたソフトウェアであって、制御部10が担う報知機能及び通信部20による通信の制御に関する所望の動作をさせるべく処理装置1の基本的な制御を司るソフトウェアを含んでいてもよい。すなわち、ソフトウェアSWは、処理装置1のメモリ(例えばEEPROMやフラッシュメモリで構成される記憶手段11)に書き込まれている、処理装置1に関するファームウェアであってもよい。警報器100の使用開始後にもアップデート可能なソフトウェアSWが処理装置1に関するファームウェアであると、例えば、法規の変更や、外部機器Eとの通信に用いる通信規格の改定などによって処理装置1による基本的な制御方式の変更が求められる場合でも、その変更に容易に対応することができる。例えば警報器100の分解及び/又は処理装置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 is software that is closely connected to the hardware of the processing device 1, and provides basic control of the processing device 1 in order to perform desired operations regarding the notification function handled by the control unit 10 and the control of communication by the communication unit 20. It may also include software that controls the That is, 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 configured with 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 the firmware related to the processing device 1, for example, due to a change in regulations or a revision of the communication standard used for communication with the external device E, the basic update by the processing device 1 may be changed. Even if a change in control method is required, the change can be easily accommodated. For example, the basic control method of the processing device 1 can be updated without disassembling the alarm device 100 and/or replacing the processing device 1.

特に、警報器を含む各種機器間の通信において準拠される通信規格は、例えば新たに出現するハッキング技術などに対抗すべく、セキュリティ要件などに関して適宜改定されている。また通信規格は、新たに開発される通信技術を取り入れるべく改定されることもある。例えば、IEEE(Institute of Electrical and Electronics Engineers)が制定するIEEE802.1において仕様が規定されているネットワーク規格であるTSN(Time-Sensitive Networking)では、2021年から遡る数年の間に幾度かの改定が行われている。処理装置1に関するソフトウェアSWのアップデートが可能でないと、これら通信規格の改定に準拠できず、警報器100と外部機器Eとの間の通信がハッキングや盗聴などの脅威に晒されたり、警報器100の使用が制限されたりすることも起こり得る。 In particular, the communication standards that are followed for communication between various devices including alarm devices are being revised as appropriate with respect to security requirements, for example, in order to counter newly emerging hacking techniques. Communication standards are also sometimes revised to incorporate newly developed communication technologies. For example, TSN (Time-Sensitive Networking), a network standard whose specifications are stipulated in IEEE 802.1 established by the IEEE (Institute of Electrical and Electronics Engineers), has undergone several revisions over the years starting in 2021. is being carried out. If it is not possible to update the software SW related to the processing device 1, it will not be possible to comply with the revisions of these communication standards, and the communication between the alarm device 100 and the external device E will be exposed to threats such as hacking and eavesdropping, and the alarm device 100 There may also be restrictions on its use.

本実施形態の警報器100には、警報器100の使用開始後もアップデートが可能なようにソフトウェアSWが内蔵されている。そのため、前述したように、適合すべき法規の変更や、外部機器Eとの通信に用いる通信規格の変更などに応じて、ソフトウェアSWをアップデートして、制御方式などを適切に更新することができ、警報器100を適切に動作させることができる。 The alarm device 100 of this embodiment has a built-in software SW so that it can be updated even after the alarm device 100 starts to be used. Therefore, as mentioned above, it is not possible to update the software SW and appropriately update the control method etc. in response to changes in laws and regulations that must be met, changes in the communication standards used for communication with external equipment E, etc. , the alarm device 100 can be operated appropriately.

本実施形態では、通信部20は、前述したように、外部機器Eとの間で無線によって信号の送受信を行ってもよい。従って、ソフトウェアSWのアップデートは、外部機器Eと通信部20との無線通信に基づいて行われてもよく、その場合、外部機器Eからアップデート後のソフトウェアSWが供給される。すなわち、ソフトウェアSWのアップデートは、所謂「OTA(Over-The-Air)アップデート」であってもよく、前述したようにソフトウェアSWがファームウェアである場合は、「ファームウェアOTA」であってもよい。その場合、通信ケーブルのような物理的な回線を警報器100と外部機器Eとの間に設けることなく、例えば、遠隔地からでもソフトウェアSWをアップデートすることができる。従って、例えば改定後の法規に従った周囲環境の監視及び警報の発報や、改定後の通信規格に沿ったセキュリティレベルの高い通信を、容易に警報器100に行わせることができる。 In this embodiment, the communication unit 20 may wirelessly transmit and receive signals to and from the external device E, as described above. Therefore, the software SW may be updated based on wireless communication between the external device E and the communication unit 20, in which case the updated software SW is supplied from the external device E. 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, the software SW can be updated even from a remote location, for example, without providing a physical line such as a communication cable between the alarm device 100 and the external device E. Therefore, for example, the alarm device 100 can easily monitor the surrounding environment and issue an alarm in accordance with the revised regulations, and perform communication with a high security level in accordance with the revised communication standards.

なお、ソフトウェアSWのアップデートは、無線通信に依らず、警報器100に接続された物理的な回線を通じて行われてもよく、アップデート後のソフトウェアSWが格納された例えばUSBメモリなどの記憶媒体を処理装置1と電気的に接続することによって行われてもよい。 Note that the software SW may be updated through a physical line connected to the alarm device 100 without relying on wireless communication, and a storage medium such as a USB memory in which the updated software SW is stored is processed. This may also be done by electrically connecting to the device 1.

<ソフトウェアを格納する記憶領域の構成>
図2には、処理装置1が有する記憶領域、例えば記憶手段11(図1参照)としてソフトウェアSWを格納すべく備えられる、例えばEEPROMやフラッシュメモリなどのメモリの記憶領域4の構成及び記憶内容の一例が模式的に示されている。図2の例において、A-0000番地からA-nnnn番地までのアドレスに、命令1~命令nで構成されるソフトウェアSWが格納されている。ソフトウェアSWのアップデートが行われる際には、アップデート後のソフトウェアSWが含むべき一連の命令が、例えばA-0000番地から順に、アップデート後のソフトウェアのサイズに対応する任意の番地までの領域に上書きされてもよい。
<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. When the software SW is updated, a series of instructions that the updated software SW should include are overwritten, for example, in an area starting from address A-0000 and extending to an arbitrary address corresponding to the size of the updated software. It's okay.

図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として備えられるフラッシュメモリなどの記憶領域に書き込むことができる。従って、報知機能が機能しない期間を全く生じさせずに、ソフトウェア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. Therefore, it is possible to update the software SW without causing any period during which the notification function does not function.

<ソフトウェアのアップデート後の動作>
図3Aには、ソフトウェアSW(図1参照)のアップデートP3を含む、本実施形態の警報器100における電源投入からの基本的な動作の一例を示すフローチャートが示されている。図3Aに示されるように、本実施形態の警報器100では、例えば電源スイッチS(図1参照)のオン操作や、電源プラグ(図示せず)のコンセントへの挿入によって警報器100の内部回路に電力が供給されると(ステップS1)、制御部10(図1参照)による点検(初期点検)P0が実行される(ステップS2)。
<Operation after software update>
FIG. 3A shows a flowchart illustrating an example of the basic operation of the alarm device 100 of this embodiment from power-on, including update P3 of the software SW (see FIG. 1). As shown in FIG. 3A, in the alarm device 100 of this embodiment, the internal circuit of the alarm device 100 is activated by, for example, turning on the power switch S (see FIG. 1) or inserting a power plug (not shown) into an outlet. When power is supplied to (step S1), an inspection (initial inspection) P0 is performed by the control unit 10 (see FIG. 1) (step S2).

点検P0では、警報器100における周囲環境の監視から監視結果の報知に至る報知機能に関わるハードウェアの点検、さらに、外部機器E(図1参照)との通信に関わるハードウェアの点検が実施される。例えば、制御部10では、処理装置1(図1参照)が、検知部12や報知部13(図1参照)に点検用の信号を送信し、検知部12や報知部13から適切な応答があるか否かを判断し、報知部13などを動作させることによってその判断結果をユーザーなどに知らせる。このように本実施形態の警報器100では、制御部10は、警報器100の電源投入時に、警報器100の報知機能に関する点検動作を行うように構成されている。 In the inspection P0, the hardware related to the notification function of the alarm device 100 from monitoring the surrounding environment to notifying the monitoring results, and the hardware related to communication with the external device E (see FIG. 1) are also inspected. Ru. For example, in the control unit 10, the processing device 1 (see FIG. 1) transmits an inspection signal to the detection unit 12 and notification unit 13 (see FIG. 1), and receives an appropriate response from the detection unit 12 and notification unit 13. It determines whether or not there is one, and notifies the user of the determination result by operating the notification unit 13 or the like. As described above, in the alarm device 100 of this embodiment, the control unit 10 is configured to perform an inspection operation regarding the notification function of the alarm device 100 when the alarm device 100 is powered on.

また、点検P0において通信部20では、例えば、送受信部22(図1参照)が外部機器Eへ点検用の信号を送り、外部機器Eから適切な返信が送られてくるか否かを処理装置1が通信部20を介して判断し、報知部13などを用いてその判断結果をユーザーなどに知らせる。このように点検P0が行われるので、例えば警報器100が工場での出荷検査から長期の保管後に使用開始される場合でも、また、長期の停止期間の後に警報器100が再稼働される場合でも、報知機能不全の警報器100が監視の用に供されるのを防ぐことができる。 Further, in the inspection P0, in the communication unit 20, for example, the transmitting/receiving unit 22 (see FIG. 1) sends an inspection signal to the external device E, and the processing device checks whether or not an appropriate reply is sent from the external device E. 1 makes a judgment via the communication unit 20, and notifies the user of the judgment result using the notification unit 13 or the like. Since the inspection P0 is performed in this way, for example, even when the alarm 100 is put into use after a long-term storage after shipping inspection at the factory, or when the alarm 100 is restarted after a long-term suspension period, , it is possible to prevent the alarm device 100 with a malfunctioning notification function from being used for monitoring purposes.

点検P0の実施後、制御部10において、周囲環境の監視が行われる(ステップS3)。すなわち検知部12によって警報器100の周囲の温度やガスの濃度などが感知され、周囲環境が特定の状態にある場合には、警報などを発してユーザーなどに報知される。そのような周囲環境の監視と並行して、ソフトウェアのアップデートの開始が求められると(ステップS4で“Y”)、ソフトウェアのアップデートP3が実行される(ステップS7)。例えば、前述したように処理装置1が備えるフラッシュメモリなどで構成される記憶手段11(図1参照)の記憶内容が更新される。なお、ソフトウェアのアップデートの開始は、例えば、アップデート後のソフトウェアを供給する外部機器Eから送られるアップデート後のソフトウェアの受信や、警報器100のユーザーによる警報器100に対するアップデートを指示するスイッチ操作などによって要求される。 After the inspection P0 is performed, the control unit 10 monitors the surrounding environment (step S3). That is, the detection unit 12 senses the temperature, gas concentration, etc. around the alarm device 100, and when the surrounding environment is in a specific state, an alarm or the like is issued to notify the user. In parallel with such monitoring of the surrounding environment, when the start of software update is requested ("Y" in step S4), software update P3 is executed (step S7). For example, as described above, the storage contents of the storage means 11 (see FIG. 1), which is comprised of a flash memory or the like included in the processing device 1, are updated. Note that the software update can be started, for example, by receiving the updated software sent from an external device E that supplies the updated software, or by operating a switch by the user of the alarm device 100 to instruct the alarm device 100 to update. required.

一方、ソフトウェアのアップデートが求められていない場合には(ステップS4で“N”)、監視の停止が求められない(ステップS5で“N”)限り、ステップS3に戻って周囲環境の監視が継続される。一方、監視の終了が求められる場合は(ステップS5で“Y”)、周囲環境の監視が終了する(ステップS6)。なお、周囲環境の監視の停止は、例えば、電源スイッチSのオフ操作若しくは他の所定の入力手段(図示せず)を通じた監視停止の指示の入力、図示されない電源プラグについてのコンセントからの引き抜き操作、又は外部機器Eからの停止指示、などによって要求される。 On the other hand, if a software update is not requested (“N” in step S4), the process returns to step S3 and monitoring of the surrounding environment continues unless stopping of monitoring is requested (“N” in step S5). be done. On the other hand, if the end of the monitoring is required ("Y" in step S5), the monitoring of the surrounding environment is ended (step S6). Note that monitoring of the surrounding environment can be stopped by, for example, turning off the power switch S, inputting an instruction to stop monitoring through other predetermined input means (not shown), or pulling out a power plug (not shown) from the outlet. , or a stop instruction from the external device E, etc.

そして、図3Aの例では、制御部10は、ステップS7でのソフトウェアのアップデートP3の終了後に、ステップS2で行われた点検P0の動作を行わないように構成されている。本実施形態では、特に、ステップS7でのアップデートP3が通信部20による通信に関するアップデートである場合は、アップデートP3の終了後に、点検P0の動作を行わないように制御部10が構成されている。 In the example of FIG. 3A, the control unit 10 is configured not to perform the inspection P0 performed in step S2 after the software update P3 in step S7 is completed. In this embodiment, especially when the update P3 in step S7 is an update related to communication by the communication unit 20, the control unit 10 is configured not to perform the operation of inspection P0 after the update P3 ends.

なお、「通信に関するアップデート」は、例えば、外部機器Eとの通信に適用する通信規格の改定に伴う、セキュリティ確保に関する仕様の変更や、通信リンクの設定及び開放の手順、変調方式、又は、誤り検出時の再送回数、などに関するアップデートであり得る。しかし「通信に関するアップデート」は、通信部20によって制御される通信に関わるものであればよく、これらに限定されない。また、本明細書において「制御部10(又は通信部20)が特定の動作又は処理を行うように(又は行わないように)構成される」は、制御部10(又は通信部20)にその特定の動作又は処理を行わせる(又は行わせない)命令が、制御部10(又は通信部20)の動作や処理を記述するプログラムに、すなわちソフトウェアSW(図1参照)に含まれていることを含んでいる。 Note that "updates related to communication" include, for example, changes in specifications related to security due to revisions to communication standards applied to communication with external device E, procedures for setting up and opening communication links, modulation methods, or errors. This may be an update regarding the number of retransmissions at the time of detection, etc. However, the "update related to communication" may be anything related to communication controlled by the communication unit 20, and is not limited thereto. In addition, in this specification, "the control unit 10 (or the communication unit 20) is configured to perform (or not perform) a specific operation or process" means that the control unit 10 (or the communication unit 20) is configured to perform a specific operation or process. An instruction to perform (or not perform) a specific operation or process is included in a program that describes the operation or process of the control unit 10 (or communication unit 20), that is, in the software SW (see FIG. 1). Contains.

図3Aに示されるように、ステップS7の後、監視の停止が求められない(ステップS5で“N”)限り、ステップS3に戻って周囲環境の監視が継続される。すなわち、図3Aの例では、ソフトウェアのアップデート後、警報器100における報知機能に関わるハードウェアの点検や通信に関わるハードウェアの点検は実施されない。そのため、図3Aの例では、ソフトウェアのアップデート後に、警報器100の報知機能や通信機能が機能しない期間の発生を防ぐことができる。すなわち、点検P0の動作中は、点検用の信号に応答したり点検用の疑似環境について感知したりする必要があるため、例えば検知部12が実際の周囲環境の監視をなし得ないことがある。また、送受信部22がソフトウェアSWのアップデート後のタイミングですべき送受信をなし得ないことがある。人体などのへの危害を未然に防ぐべく用いられる警報器100にとって、そのように周囲環境の監視ができなかったり、その監視結果を報せることができなかったりする期間が生じることは好ましくない。 As shown in FIG. 3A, after step S7, as long as there is no request to stop monitoring ("N" in step S5), the process returns to step S3 and monitoring of the surrounding environment is continued. That is, in the example of FIG. 3A, after the software is updated, the hardware related to the notification function of the alarm device 100 and the hardware related to communication are not inspected. Therefore, in the example of FIG. 3A, it is possible to prevent the occurrence of a period in which the notification function and communication function of the alarm device 100 do not function after the software is updated. That is, during the operation of inspection P0, it is necessary to respond to an inspection signal and sense a pseudo environment for inspection, so the detection unit 12 may not be able to monitor the actual surrounding environment, for example. . Further, the transmitting/receiving unit 22 may not be able to perform the intended transmitting/receiving at the timing after updating the software SW. For the alarm device 100, which is used to prevent harm to the human body, it is undesirable for the alarm device 100 to have such a period in which it is unable to monitor the surrounding environment or report the monitoring results.

電源投入後の点検P0は、前述したように、電源投入が未了又は停止されていた警報器100において、非電源投入期間中に警報器100の各構成要素に故障などが生じていないことを確かめるために実施される。これに対して、ソフトウェアSWのアップデート中に故障が生じることは極めて少ないと考えられる。特に、通信に関するアップデートの場合は、そのアップデートによって警報器100の本質的機能である報知機能に支障が生じる可能性は極めて低い。そのため、生じ難い故障に備えた検査を報知機能や通信の停止と引き換えに行うよりも、報知機能が機能し、且つ通信が可能な状態を継続させることの方が重要なことがある。図3Aに示される例では、図示されるように、ソフトウェアSWのアップデート後に、そのアップデートP3の内容に依らず、電源投入後に行われる点検動作(点検P0)は実施されない。そのため、警報器100の本質的機能である報知機能や、例えば監視結果を遠隔地に報せる通信が停止することを防ぐことができる。従って、少なくともアップデートが通信に関するものである場合にアップデート後に点検動作を実施しない本実施形態の警報器によれば、さらに、アップデートの内容に依らずアップデートの後に点検動作を実施しない図3Aの態様によれば、ソフトウェアのアップデート後にも途絶えることなく周囲環境を監視して、例えば異常の発生などをユーザーなどに報せることができる。 As mentioned above, the inspection P0 after turning on the power is to check that there is no failure in each component of the alarm device 100 during the period when the power is not turned on, in the alarm device 100 that has not been turned on or has been stopped. It is carried out to confirm. On the other hand, it is considered that failures are extremely unlikely to occur during updating of the software SW. In particular, in the case of an update related to communication, the possibility that the update will interfere with the notification function, which is an essential function of the alarm device 100, is extremely low. Therefore, it may be more important to maintain a state in which the notification function functions and communication is possible, rather than performing inspections in preparation for unlikely failures at the cost of stopping the notification function or communication. In the example shown in FIG. 3A, as shown in the figure, after the software SW is updated, the inspection operation (inspection P0) that is performed after the power is turned on is not performed, regardless of the contents of the update P3. Therefore, it is possible to prevent the notification function, which is an essential function of the alarm device 100, and the communication for reporting monitoring results to a remote location from stopping, for example. Therefore, according to the alarm device of this embodiment in which the inspection operation is not performed after the update at least when the update is related to communication, the alarm device of the present embodiment does not perform the inspection operation after the update regardless of the content of the update. According to the software, the surrounding environment can be continuously monitored even after a software update, and the user can be notified of the occurrence of an abnormality, for example.

図3Bには、本実施形態の警報器100における、ソフトウェアSW(図1参照)のアップデートを含む、電源投入からの動作の他の例を示すフローチャートが示されている。なお、図3Bに示される各ステップのうち、図3Aに示されるステップと同様の動作や処理を行うステップについては、図3Aと同じ符号(ステップS1~S7)が付され、繰り返しとなる説明は、適宜省略される。 FIG. 3B shows a flowchart illustrating another example of the operation of the alarm device 100 of this embodiment from power-on, including updating the software SW (see FIG. 1). Note that among the steps shown in FIG. 3B, the steps that perform the same operations and processing as the steps shown in FIG. 3A are given the same reference numerals (steps S1 to S7) as in FIG. 3A, and repetitive explanations are omitted. , may be omitted as appropriate.

前述したように本実施形態では、通信に関するアップデートの後には、点検P0は実施されない。しかし、通信以外の機能に関するアップデートの場合は、その後に警報器100の点検動作が実施されてもよい。図3Bは、そのようにソフトウェアSWのアップデート後に、アップデートの内容に応じて点検動作が実施される例を示している。すなわち、図3Bの例では、ステップS7でのアップデートP3が報知機能に関するアップデートである場合(ステップS8で“Y”)、制御部10によって点検P4が行われる(ステップS9)。ステップS8の判断はステップS7のアップデートP3の前に行われてもよく、その判断に応じてアップデート後にステップS9で点検P4が行われてもよい。 As described above, in this embodiment, inspection P0 is not performed after an update regarding communication. However, in the case of an update related to functions other than communication, an inspection operation of the alarm device 100 may be performed after that. FIG. 3B shows an example in which, after updating the software SW, an inspection operation is performed according to the contents of the update. That is, in the example of FIG. 3B, when the update P3 in step S7 is an update regarding the notification function ("Y" in step S8), the control unit 10 performs the inspection P4 (step S9). The determination in step S8 may be made before the update P3 in step S7, and the inspection P4 may be performed in step S9 after the update depending on the determination.

なお「報知機能」は、周囲環境を監視して監視結果に基づいて報知する機能である。従って「報知機能に関するアップデート」は、検知部12(図1参照)による周囲環境の監視動作、特定の状態にあることを報知すべきか否かの判断、如何なる態様で報知を行うかの判断、及び、報知部13(図1参照)による音や光などによる報知動作、などの制御に関するアップデートであり得る。例えば、検知部12の動作時期や感度、特定の状態と判断する閾値(警報発報基準)、特定の状態と判断される監視結果と報知態様との対応付け、及び、報知手段である光の強度や音声の音量や発話内容、などの変更を伴うアップデートは、「報知機能に関するアップデート」(以下「第1アップデート」とも称される)であり得る。この第1アップデートには、さらに、制御部10において適宜行われ得る検知部12及び報知部13の自主点検の点検事項や、通常モードや低電力消費モードなどの動作モードの切り換え、などに関するアップデートも含まれ得る。 Note that the "notification function" is a function that monitors the surrounding environment and provides notification based on the monitoring results. Therefore, 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 present, the determination of the manner in which the notification should be made, and This may be an update related to control of the notification operation using sound, light, etc. by the notification unit 13 (see FIG. 1). For example, the operating timing and sensitivity of the detection unit 12, the threshold value for determining a specific state (alarm issuing criteria), the association between the monitoring results that are determined to be a specific state and the notification mode, and the use of light as a notification means. An update that involves changes in the intensity, volume of voice, content of speech, etc. may be an "update regarding the notification function" (hereinafter also referred to as "first update"). This first update also includes updates regarding inspection items for self-inspections of the detection unit 12 and notification unit 13 that may be performed as appropriate in the control unit 10, switching of operation modes such as normal mode and low power consumption mode, etc. may be included.

前述したようにソフトウェアのアップデート中の故障発生は少ないと考えられるが、ソフトウェアSWが上述の第1アップデートである場合は、アップデートによる変更後の感度や警報発報基準などで報知機能が適切に発揮されるか否かを確かめる点検の実施が好ましいことがある。そうすることで、警報器100のユーザーに安心感を与えることができ、また、例えばアップデートにおいて何らかのエラーが生じていても、そのエラーを検出して再度アップデートを行うことによって、アップデートによる意図した通りの報知機能を得ることができる。そのため、図3Bの例では、アップデート後にステップS9において点検P4が行われる。 As mentioned above, it is thought that there are few occurrences of failures during software updates, but if the software SW is the first update mentioned above, the notification function may be properly performed depending on the sensitivity and alarm triggering standards after the changes made by the update. It may be desirable to carry out an inspection to confirm whether or not the By doing so, it is possible to give a sense of security to the user of the alarm device 100, and for example, even if some kind of error occurs during the update, by detecting the error and updating again, the intended result of the update can be achieved. You can get the notification function. Therefore, in the example of FIG. 3B, inspection P4 is performed in step S9 after the update.

点検P4では、例えば、ステップS2で行われる点検P0(初期点検)について前述したように検知部12や報知部13の動作のような報知機能に関する点検などが行われる。点検P4で行われる点検項目は、点検P0で行われる点検項目と同じであってもよく、従って、点検P0が、ステップS9において点検P4として行われてもよい。或いは点検P4では、点検P0で行われる点検項目の一部が行われてもよい。例えば点検P4では、外部機器との交信の点検が省略されてもよい。 In the inspection P4, for example, as described above with respect to the inspection P0 (initial inspection) carried out in step S2, an inspection regarding the notification function such as the operation of the detection unit 12 and the notification unit 13 is performed. The inspection items performed in inspection P4 may be the same as the inspection items performed in inspection P0, and therefore inspection P0 may be performed as inspection P4 in step S9. Alternatively, some of the inspection items performed in inspection P0 may be performed in inspection P4. For example, in inspection P4, inspection of communication with external equipment may be omitted.

このように、本実施形態の警報器100において制御部10は、ソフトウェアSWのアップデートが報知機能に関するアップデートであるときは、そのアップデートの終了後に、電源投入時に行われる点検動作を行うように構成されていてもよい。或いは、図3Aを参照して前述したように、制御部10は、ソフトウェアSWのアップデートが報知機能に関するアップデートであるときも含めて、そのアップデートの終了後には、電源投入時に行われる点検動作を行わないように構成されていてもよい。 In this way, in the alarm device 100 of the present embodiment, the control unit 10 is configured to perform the inspection operation performed when the power is turned on after the update of the software SW is related to the notification function. You can leave it there. Alternatively, as described above with reference to FIG. 3A, the control unit 10 performs the inspection operation that is performed when the power is turned on after the update of the software SW is completed, including when the update is related to the notification function. It may be configured such that there is no such thing.

図3Bの例においてステップS7でのアップデートP3が報知機能以外の機能の動作に関するアップデートである場合(ステップS8で“N”)、点検P4による点検動作は実施されない。図3A及び図3Bいずれの例においても、アップデートが報知機能以外の機能の動作に関するアップデートである場合、点検P4は実施されない。 In the example of FIG. 3B, if the update P3 in step S7 is an update regarding the operation of a function other than the notification function (“N” in step S8), the inspection operation by inspection P4 is not performed. In both examples of FIGS. 3A and 3B, if the update is related to the operation of a function other than the notification function, inspection P4 is not performed.

なお、「報知機能以外の機能の動作に関するアップデート」は、周囲環境の監視から、監視結果に基づく判断及び報知を行うまでの機能以外の機能の動作に関するアップデートである。例えば「報知機能以外の機能の動作に関するアップデート」(以下、「第2アップデート」とも称される)には、主に、通信部20による「通信に関するアップデート」が含まれる。通信に関するアップデートは、例えば、通信部20において構築されたセキュリティスタックのバージョンアップや通信頻度などに関するアップデートであり得る。 Note that the "update regarding the operation of functions other than the notification function" is an update regarding the operation of functions other than the function from monitoring the surrounding environment to making judgments and notifications based on the monitoring results. For example, the "update related to the operation of functions other than the notification function" (hereinafter also referred to as "second update") mainly includes the "update related to communication" by the communication unit 20. The update related to communication may be, for example, an upgrade of the security stack built in the communication unit 20, an update related to communication frequency, or the like.

ソフトウェアのアップデートが、通信に関するアップデートであるかの判断、及び、報知機能に関するアップデートであるかの判断を容易に行うために、警報器100は、実行されるアップデートが通信に関するアップデートであるか否か、及び、報知機能に関するアップデートであるか否かを示す情報を記憶する記憶手段(以下、「更新情報記憶領域」とも称される)を備えていてもよい。その場合、制御部10は、点検P4の点検動作を行うか否かを、更新情報記憶領域に記憶されている情報に基づいて判断するように構成されていてもよい。例えば、警報器100は、処理装置1の記憶手段11内に更新情報記憶領域を備えていてもよく、そのような情報を“真(1)”又は“偽(0)”で示すフラグを保持するレジスタ(図示せず)を、更新情報記憶領域として、例えば処理装置1内に備えていてもよい。或いは、警報器100は、更新情報記憶領域を処理装置1の外部の記憶装置(図示せず)に備えていてもよい。 In order to easily determine whether a software update is an update related to communication and an update related to a notification function, the alarm device 100 determines whether the update to be executed is an update related to communication or not. , and storage means (hereinafter also referred to as "update information storage area") for storing information indicating whether or not the update is related to the notification function. In that case, the control unit 10 may be configured to determine whether or not to perform the inspection operation of inspection P4 based on information stored in the update information storage area. For example, the alarm device 100 may include an update information storage area in the storage means 11 of the processing device 1, and hold a flag indicating such information as “true (1)” or “false (0)”. For example, a register (not shown) may be provided in the processing device 1 as an update information storage area. Alternatively, the alarm device 100 may include an update information storage area in a storage device (not shown) outside the processing device 1.

なお、前述したように、アップデートP3が通信に関するアップデートである場合、そのアップデートの後に、報知機能に関する点検動作は実施されない。しかし、通信部20内の送受信部22のような通信に関するハードウェアの点検は、通信に関するアップデート後に実施されてもよい。例えば外部機器Eとの間での正常な通信の可否の点検が行われてよい。すなわち、実施形態の警報器100では、アップデートの内容に応じて、その後に実行する点検の内容が選択されてもよい。 Note that, as described above, if the update P3 is an update related to communication, the inspection operation related to the notification function is not performed after the update. However, inspection of communication-related hardware such as the transmitting/receiving unit 22 in the communication unit 20 may be performed after a communication-related update. For example, it may be checked whether normal communication with the external device E is possible. That is, in the alarm device 100 of the embodiment, the content of the inspection to be performed subsequently may be selected depending on the content of the update.

図4には、本実施形態の警報器100における、ソフトウェアSW(図1参照)のアップデートを含む、電源投入からの動作のさらに他の例を示すフローチャートが示されている。なお、図4に示される各ステップのうち、図3A又は図3Bに示されるステップと同様の動作や処理を行うステップについては、図3A又は図3Bと同じ符号(ステップS1~S9)が付され、繰り返しとなる説明は、適宜省略される。 FIG. 4 shows a flowchart illustrating still another example of the operation of the alarm device 100 of this embodiment from power-on, including updating of the software SW (see FIG. 1). Note that among the steps shown in FIG. 4, the steps that perform the same operations or processes as the steps shown in FIG. 3A or 3B are given the same reference numerals (steps S1 to S9) as in FIG. 3A or 3B. , repetitive explanations will be omitted as appropriate.

図4の例では、電源の投入(ステップS1)後、点検P0(ステップS2)の前に、制御部10によってリセット動作P1が実行される(ステップS11)。すなわち、制御部10は、点検P0の動作を行う前に警報器100のリセット動作P1を行うように構成されている。リセット動作P1は、例えば、処理装置1によって次に実行されるべき命令が格納されている記憶手段11のアドレスを保存するプログラムカウンタを、例えば0番地にリセットしたり所定のアドレスに設定したりすることを含み得る。また、リセット動作P1は、処理装置1が備える各種のレジスタなどの一次記憶領域をクリアすることを含んでいてもよく、各種のフラグを“真(1)”又は“偽(0)”の特定の状態に設定することを含んでいてもよい。また、リセット動作P1は、警報器100内の任意の記憶手段に記憶されている警報の発報履歴を消去すること含んでいてもよい。さらに、リセット動作P1は、警報器100内の任意の記憶手段に記憶されている外部機器Eとの通信履歴を消去したり、通信部20を介して外部機器Eとの通信リンクを設定若しくは一旦解放後に再設定したりすることを含んでいてもよい。しかし、制御部10が行うリセット動作P1は、これらに限定されない。 In the example of FIG. 4, after the power is turned on (step S1) and before the inspection P0 (step S2), the control unit 10 executes the reset operation P1 (step S11). That is, the control unit 10 is configured to perform the reset operation P1 of the alarm device 100 before performing the inspection P0 operation. The reset operation P1 is, for example, resetting the 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 to address 0 or setting it to a predetermined address. may include. Further, the reset operation P1 may include clearing primary storage areas such as various registers provided in the processing device 1, and specifying various flags as “true (1)” or “false (0)”. This may include setting the state to . Further, the reset operation P1 may include erasing the alarm issuing history stored in an arbitrary storage means within the alarm device 100. Furthermore, the reset operation P1 erases the communication history with the external device E stored in any storage means in the alarm device 100, or sets or temporarily establishes a communication link with the external device E via the communication unit 20. It may also include resetting after release. However, the reset operation P1 performed by the control unit 10 is not limited to these.

そして、制御部10は、ソフトウェアSWのアップデートP3(ステップS7)の終了後に、必要に応じて、リセット動作P2を行う。すなわち、図4に示されるように、ソフトウェアSWのアップデートP3が報知機能の動作に関する場合(ステップS8で“Y”)、及び報知機能以外の機能の動作に関する場合も(ステップS8で“N”)、リセット動作P2の要否が判断される(ステップS12又はステップS13)。そして、リセット動作P2が必要な場合(ステップS12又はステップS13で“Y”)は、リセット動作P2が行われる(ステップS14又はステップS15)。その後、アップデートP3が報知機能に関するものである場合は、図3Bと同様に、ステップS9で点検P4が行われる。ステップS12及びステップS13では、ステップS7でのアップデートP3の内容に応じてリセット動作P2の要否が判断される。このように制御部10は、アップデートP3の終了後にリセット動作P2を行うか否かを、アップデートP3の内容に応じて判断するように構成されていてもよい。 Then, after the software SW update P3 (step S7) is completed, the control unit 10 performs a reset operation P2 as necessary. That is, as shown in FIG. 4, the update P3 of the software SW is related to the operation of the notification function ("Y" in step S8), and also when it is related to the operation of a function other than the notification function ("N" in step S8). , it is determined whether the reset operation P2 is necessary (step S12 or step S13). If the reset operation P2 is necessary ("Y" in step S12 or step S13), the reset operation P2 is performed (step S14 or step S15). After that, if the update P3 is related to the notification function, a check P4 is performed in step S9 as in FIG. 3B. In steps S12 and S13, it is determined whether or not the reset operation P2 is necessary depending on the contents of the update P3 in step S7. In this way, the control unit 10 may be configured to determine whether or not to perform the reset operation P2 after the update P3 ends, depending on the content of the update P3.

図4の例においてステップS12、S13では、例えば、アップデートP3が警報器100の報知機能に与える影響の程度や、アップデートP3による処理装置1の内部動作の変化の程度に応じて、リセット動作P2の要否が判断される。例えば、アップデートP3が、検知部12の感度などの検知動作に関するアップデートや、処理装置1による警報の発報の判断の閾値、及び検知部12及び報知部13の自主点検での点検事項などに関するアップデートである場合、リセット動作P2が必要(ステップS12又はS13で“Y”)と判断されてもよい。また、アップデートP3が、通信規格の改定に伴うセキュリティ確保に関する仕様の変更や通信リンク設定時の手順などに関するアップデートである場合、リセット動作P2が必要と判断されてもよい。 In the example of FIG. 4, in steps S12 and S13, the reset operation P2 is performed depending on, for example, the degree of influence that the update P3 has on the notification function of the alarm device 100 or the degree of change in the internal operation of the processing device 1 due to the update P3. The necessity is determined. For example, the update P3 is an update regarding the detection operation such as the sensitivity of the detection unit 12, a threshold value for determining whether to issue an alarm by the processing device 1, and an update regarding inspection items in the self-inspection of the detection unit 12 and the notification unit 13. If so, it may be determined that the reset operation P2 is necessary (“Y” in step S12 or S13). Further, if the update P3 is an update regarding a change in the specifications regarding ensuring security due to a revision of the communication standard, a procedure for setting up a communication link, etc., it may be determined that the reset operation P2 is necessary.

一方、アップデートP3が、報知部13の報知態様、例えば光の強度や音声の音量などに関するアップデートなどである場合は、リセット動作P2が不要(ステップS12又はS13で“N”)と判断されてもよい。また、アップデートP3が、外部機器Eとの通信における誤り検出時の再送回数などに関するアップデートであるときは、リセット動作P2が不要と判断されてもよい。さらに、アップデートP3が、検知部12の検知結果の解析のために外部機器Eに送る通信に関するアップデートなどである場合も、リセット動作P2が不要と判断されてもよい。 On the other hand, if the update P3 is an update regarding the notification mode of the notification unit 13, for example, the intensity of light or the volume of the audio, even if it is determined that the reset operation P2 is unnecessary ("N" in step S12 or S13). good. Further, when the update P3 is an update regarding the number of retransmissions when an error is detected in communication with the external device E, it may be determined that the reset operation P2 is unnecessary. Furthermore, if the update P3 is an update related to communication sent to the external device E for analysis of the detection result of the detection unit 12, the reset operation P2 may be determined to be unnecessary.

また、制御部10は、アップデートP3が報知機能の動作に関するアップデートであるときは、アップデートP3の終了後にリセット動作P2を行うように構成されていてもよい。報知機能に関するアップデートは、警報器100の報知機能に与える影響の程度が大きいと考えられるので、アップデートP3の後にリセット動作P2を行うのが好ましいことがある。一方、制御部10は、アップデートP3が報知機能以外の機能の動作に関するアップデートであるときは、アップデートP3の終了後にリセット動作P2を行わないように構成されていてもよい。すなわち、図4の例のステップS12及びS13の判断が、ステップS8での判断で代替されてもよい。従って、ステップS12及びS13、さらにステップS14が省略されてもよい。なお、ステップS8、S12、及びS13の判断はアップデートP3の前に行われ、その判断に従って、アップデートP3の後にリセット動作P2が行われてもよい。 Further, the control unit 10 may be configured to perform the reset operation P2 after the update P3 is completed when the update P3 is an update regarding the operation of the notification function. Since updates related to the notification function are considered to have a large influence on the notification function of the alarm device 100, it may be preferable to perform the reset operation P2 after the update P3. On the other hand, the control unit 10 may be configured not to perform the reset operation P2 after the update P3 ends when the update P3 is an update regarding the operation of a function other than the notification function. That is, the determinations in steps S12 and S13 in the example of FIG. 4 may be replaced by the determination in step S8. Therefore, steps S12 and S13, and further step S14 may be omitted. Note that the determinations in steps S8, S12, and S13 may be performed before the update P3, and the reset operation P2 may be performed after the update P3 according to the determinations.

リセット動作P2は、リセット動作P1に含まれる動作として前述された各動作をリセット動作P1と同様に含んでいてもよい。従って、リセット動作P1が、リセット動作P2としてアップデートP3の後に行われてもよい。また、リセット動作P2は、リセット動作P1に含まれる動作の一部だけを含んでいてもよく、リセット動作P1に含まれていない動作を含んでいてもよい。 The reset operation P2 may include each of the operations described above as operations included in the reset operation P1, similarly to the reset operation P1. Therefore, the reset operation P1 may be performed as the reset operation P2 after the update P3. Furthermore, the reset operation P2 may include only a part of the operations included in the reset operation P1, or may include operations that are not included in the reset operation P1.

本実施形態の警報器100では、制御部10が、このようにソフトウェアSWのアップデート後にリセット動作P1を行うか否かをアップデートの内容に応じて判断するように構成されているので、警報器100における無用なリセット動作が回避されることがある。例えば、アップデート前の各ハードウェアの設定や記憶内容を引き継いで、アップデート後のソフトウェアSWの下で、周囲環境の監視を継続できることがある。 In the alarm device 100 of the present embodiment, the control unit 10 is configured to determine whether or not to perform the reset operation P1 after updating the software SW in accordance with the content of the update. Unnecessary reset operations may be avoided. For example, it may be possible to continue monitoring the surrounding environment under the updated software SW by inheriting the settings and memory contents of each hardware before the update.

なお、前述したように図1の例の警報器100では、ソフトウェアSWを内蔵している処理装置1が制御部10と通信部20との間で共有されている。従って、ソフトウェアSWが格納される、図2に例示の記憶領域4も制御部10と通信部20との間で共有される。そのため、警報器100の報知機能を制御する制御部10に関する命令も、通信部20に関する命令も、一つのソフトウェアSWの中に含められて記憶領域4に格納される。そして、アップデートの際には、そのソフトウェアSW全体がアップデートされる。 Note that, as described above, in the alarm device 100 shown in FIG. 1, the processing device 1 containing the software SW is shared between the control section 10 and the communication section 20. Therefore, the storage area 4 illustrated in FIG. 2 in which the software SW is stored is also shared between the control unit 10 and the communication unit 20. Therefore, both the commands related to the control unit 10 that controls the notification function of the alarm device 100 and the commands related to the communication unit 20 are included in one software SW and stored in the storage area 4. When updating, the entire software SW is updated.

そのため、通信に関するアップデートのような第2アップデートが行われる場合であっても、報知機能の動作に関する第1アップデートが行われる場合と同様にリセット動作が行われるのが好ましいことがある。従って、図1の例のように処理装置1が制御部10と通信部20との間で共有される場合には、特に、ソフトウェアSWのアップデートが通信に関するアップデートであっても、アップデートP3の終了後にリセット動作P2を行うように制御部10が構成されていてもよい。すなわち、図4の例において、ステップS12及びS13が省略されてもよい。また、ステップS12~S15が省略されて、ステップS8の前にリセット動作P2が行われてもよい。 Therefore, even when a second update such as an update regarding communication is performed, it may be preferable to perform a reset operation in the same way as when a first update regarding the operation of the notification function is performed. Therefore, when the processing device 1 is shared between the control unit 10 and the communication unit 20 as in the example of FIG. The control unit 10 may be configured to perform the reset operation P2 later. That is, in the example of FIG. 4, steps S12 and S13 may be omitted. Further, steps S12 to S15 may be omitted and the reset operation P2 may be performed before step S8.

<アップデートの種別及び実施するリセット動作の判断>
ソフトウェアSWのアップデートが通信部20による通信に関するアップデートであるか、又は報知機能の動作に関するアップデートであるかの判断、及び、アップデート後のリセット動作P2の要否の判断を可能にする方法の例が、図5、図6A、及び図6Bを参照して以下に説明される。
<Determination of update type and reset operation to be performed>
An example of a method that makes it possible to determine whether the update of the software SW is an update related to communication by the communication unit 20 or an update related to the operation of the notification function, and to determine whether or not the reset operation P2 after the update is necessary is as follows. , described below with reference to FIGS. 5, 6A, and 6B.

一例として、これらの判断が、外部機器E(図1参照)から送られて通信部20(図1参照)によって受信されるアップデートに関する情報に基づいて行われる例について説明する。図5には、アップデート後のソフトウェアSWが外部機器Eから警報器100に供給される場合に、外部機器Eから、アップデート後のソフトウェアSWの送信のために送られるデータフレームFの一例が示されている。データフレームFでは、ヘッダHと、命令1から始まるアップデータ後のソフトウェアSWを含むデータ本体部との間に識別符号5が配置されている。識別符号5は、4ビット又は8ビットなどの任意の所定長のビット列からなり、各ビットの値(“0”又は“1”)の組み合わせによって、そのデータフレームFで送られるソフトウェアSWのアップデートが、通信に関するアップデートであることや報知機能に関する第1アップデートであることを示すことができる。 As an example, an example will be described in which these determinations are made based on information regarding updates sent from external device E (see FIG. 1) and received by communication unit 20 (see FIG. 1). FIG. 5 shows an example of a data frame F sent from the external device E to transmit the updated software SW when the updated software SW is supplied from the external device E to the alarm device 100. ing. In the data frame F, an identification code 5 is placed between the header H and the data body section including the updated software SW starting from the instruction 1. The identification code 5 consists of a bit string of an arbitrary predetermined length such as 4 bits or 8 bits, and the update of the software SW sent in the data frame F is determined by the combination of the values of each bit (“0” or “1”). , it is possible to indicate that the update is related to communication or that it is the first update related to the notification function.

さらに、識別符号5は、各ビットの値の組み合わせにより、そのアップデートが、例えば、検知部12(図1参照)の動作に関するものか、周囲環境が特定の状態にあると判断する閾値に関するものか、報知部13(図1参照)に関するものか、通信規格などの通信に関するものか、などのアップデートの内容を示し得る。警報器100の制御部10は、識別符号5が示す内容を通信部20から受け取り、その識別符号5に基づいて、アップデートが通信に関するものか、報知機能の動作に関するものか、などの判断、及び、アップデート後のリセット動作の要否の判断を行うことができる。また、制御部10は、識別符号5から得られる情報を、前述した更新情報記憶領域に一旦記憶させてもよい。例えば、制御部10は、識別符号5で示されるアップデートの種別が通信に関するものである場合、更新情報記憶領域内の所定のフラグをセット(“真(1)”)又はリセット(“偽(0)”)してもよい。そして、制御部10は、その記憶された情報を後に参照することによって、アップデートが、通信、又は報知機能の動作に関するものなどかの判断、及び、アップデート後のリセット動作の要否の判断を行ってもよい。 Furthermore, the identification code 5 determines whether the update is related to the operation of the detection unit 12 (see FIG. 1) or a threshold value for determining that the surrounding environment is in a specific state, depending on the combination of the values of each bit. , whether it is related to the notification unit 13 (see FIG. 1), or whether it is related to communication such as communication standards. The control unit 10 of the alarm device 100 receives the content indicated by the identification code 5 from the communication unit 20, and based on the identification code 5, determines whether the update is related to communication or the operation of the notification function, etc. , it is possible to determine whether a reset operation is necessary after updating. Further, the control unit 10 may temporarily store the information obtained from the identification code 5 in the update information storage area described above. For example, when the type of update indicated by the identification code 5 is related to communication, the control unit 10 sets (“true (1)”) or resets (“false (0)”) a predetermined flag in the update information storage area. )”) may be done. Then, by referring to the stored information later, the control unit 10 determines whether the update is related to communication or the operation of the notification function, and determines whether or not a reset operation is necessary after the update. It's okay.

なお、識別符号5は、アップデート後のソフトウェアSWを含むデータフレームFに含められなくてもよく、ソフトウェアSWを含むデータフレームFとは別に、例えばソフトウェアSWを含むデータフレームFの前又は後に、別のデータフレームで送られて、通信部20で受信されてもよい。このように、制御部10は、通信部20によって受信されるアップデートに関する情報に含まれる識別符号に基づいて、そのアップデートが通信に関するアップデートか否か、及び、報知機能の動作に関するアップデートか否か、並びに、アップデートの終了後のリセット動作の要否を判断するように構成されていてもよい。 Note that the identification code 5 does not need to be included in the data frame F including the updated software SW, and may be placed separately, for example, before or after the data frame F including the software SW. The data frame may be sent as a data frame and received by the communication unit 20. In this way, the control unit 10 determines whether the update is related to communication and whether the update is related to the operation of the notification function, based on the identification code included in the information regarding the update received by the communication unit 20. Additionally, the configuration may be such that it is determined whether or not a reset operation is necessary after the update is completed.

また、図2を参照して前述したように、アップデート後のソフトウェアSWが、アップデート前のソフトウェアSWが記憶されている領域に上書きされずに別の領域に書き込まれる場合は、アップデートの種別などの判断のために、アップデート前後のソフトウェアSWが比較されてもよい。例えば図6Aに示されるように、処理装置1(図1参照)の記憶領域4の第1記憶領域A1に格納されているアップデート前のソフトウェアSWBと、第2記憶領域A2に格納されたアップデート後のソフトウェアSWAとが比較されてもよい。図6Aでは、ソフトウェアSWBとソフトウェアSWAとが、処理装置1が有する比較機能1cによって比較されている。制御部10は、この比較結果に基づいて、そのアップデートが通信に関するアップデートか否か、及び、報知機能の動作に関するアップデートか否か、並びに、アップデートの終了後のリセット動作の要否の判断を行ってもよい。 Furthermore, as described above with reference to FIG. 2, if the updated software SW is written to a different area without overwriting the area in which the pre-update software SW is stored, the type of update, etc. For determination, the software SW before and after the update may be compared. For example, as shown in FIG. 6A, the software SWB before the update is stored in the first storage area A1 of the storage area 4 of the processing device 1 (see FIG. 1), and the software SWB after the update is stored in the second storage area A2. software SWA may be compared. In FIG. 6A, software SWB and software SWA are compared by comparison function 1c included in processing device 1. Based on the comparison results, the control unit 10 determines whether the update is related to communications, whether the update is related to the operation of the notification function, and whether or not a reset operation is necessary after the update is completed. It's okay.

また、警報器100が、処理装置1とは別に、図6Bに示されるように、例えばDRAMのような書き込み可能な記憶装置6を備えている場合、記憶装置6を用いて、アップデート前のソフトウェアSWBとアップデート後のソフトウェアSWAとの比較が行われてもよい。すなわち、処理装置1は、アップデートを始める前に、処理装置1内に記憶されているアップデート前のソフトウェアSWBを、記憶装置6に書き出したうえで、アップデート後のソフトウェアSWAを、処理装置1内の記憶領域4に書きこむ。この書き込みは、アップデート前のソフトウェアSWBが記憶されている領域への上書きであっても、別の領域への書き込みであってもよい。図6Bの例では、ソフトウェアSWAは、アドレスA-0000番地からの第1記憶領域A1に書き込まれている。 In addition, if the alarm device 100 is equipped with a writable storage device 6 such as a DRAM, for example, as shown in FIG. A comparison may be made between SWB and the updated software SWA. That is, before starting the update, the processing device 1 writes the pre-update software SWB stored in the processing device 1 to the storage device 6, and then writes the updated software SWA in the processing device 1. Write to storage area 4. This writing may be overwriting the area where the software SWB before the update is stored, or may be writing to another area. In the example of FIG. 6B, the software SWA is written in the first storage area A1 starting from address A-0000.

そして第1記憶領域A1に書き込まれたアップデート後のソフトウェアSWAと、記憶装置6に書き出されたアップデート前のソフトウェアSWBとが、処理装置1が有する比較機能1cによって比較される。制御部10は、この比較結果に基づいて、そのアップデートが通信に関するアップデートか否か、及び、報知機能の動作に関するアップデートか否か、並びに、アップデートの終了後のリセット動作の要否の判断を行ってもよい。 The updated software SWA written to the first storage area A1 and the pre-updated software SWB written to the storage device 6 are compared by the comparison function 1c included in the processing device 1. Based on the comparison results, the control unit 10 determines whether the update is related to communications, whether the update is related to the operation of the notification function, and whether or not a reset operation is necessary after the update is completed. It's okay.

<一実施形態の警報器の他の例>
図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.

図7に示されるように、警報器101では、制御部10は第1処理装置1aを含んでいる。第1処理装置1aは、周囲環境を監視して監視結果に基づく報知を行う報知機能を制御する半導体装置によって構成されている。通信部20は第2処理装置2aを含んでいる。第2処理装置2aは、警報器101と外部機器Eとの間の通信を制御する半導体装置によって構成されている。制御部10と通信部20とは、好ましくは互いに相手方との間で信号の送受が可能なように接続されている。 As shown in FIG. 7, 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.

第1処理装置1a及び第2処理装置2aは、マイコンやASICなどの半導体装置からなり、図1の例の処理装置1と同様に演算機能、比較機能、及び記憶機能などを有している。第1処理装置1aは、周囲環境を監視する警報器101の動作中に、検知部12による周囲環境の監視から報知部13による異常の報知に至る動作を全体的に制御する。第2処理装置2aは、警報器101の動作中に送受信部22で行われる、警報器101と外部機器Eとの間での交信に必要な動作を全体的に制御する。第2処理装置2aは、特定の時間からの経過時間をカウントするカウンタなどで構成される計時手段2cを備えている。図7の例の通信部20も、図1の例の警報器100の通信部20について前述した「定期通信」を行ってもよい。なお警報器101では、定期通信などのために特定の時間からの経過時間をカウントする計時手段が第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 controls the entire operation from monitoring the surrounding environment by the detection unit 12 to reporting an abnormality by the notification unit 13 while the alarm device 101 that monitors the surrounding environment is in operation. The second processing device 2a controls overall operations necessary for communication between the alarm device 101 and the external device E, which are performed by the transmitting/receiving section 22 while the alarm device 101 is in operation. 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. 7 may also perform the “regular communication” described above with respect to the communication unit 20 of the alarm device 100 in the example of FIG. Note that in the alarm device 101, the first processing device 1a may be provided with a timer for counting the elapsed time from a specific time for regular communication or the like.

第1処理装置1aは、ソフトウェアSW1を内蔵していてソフトウェアSW1に含まれる命令に従って動作する。図7の例においてソフトウェアSW1は、第1処理装置1aが有する記憶手段1bに格納されている。第2処理装置2aは、ソフトウェアSW2を内蔵していてソフトウェアSW2に含まれる命令に従って動作する。図7の例においてソフトウェアSW2は、第2処理装置2aが有する記憶手段2bに格納されている。なお、警報器101においても、ソフトウェアSW1及びソフトウェアSW2は、通信部20を介したアップデートが警報器101の使用開始後に可能なように内蔵されており、警報器100について説明されたアップデートと同様の方法でアップデートされ得る。 The first processing device 1a includes software SW1 and operates according to instructions included in the software SW1. In the example of FIG. 7, software SW1 is stored in storage means 1b included in first processing device 1a. The second processing device 2a includes software SW2 and operates according to instructions included in the software SW2. In the example of FIG. 7, the software SW2 is stored in the storage means 2b included in the second processing device 2a. Note that the software SW1 and the software SW2 are also built into the alarm device 101 so that they can be updated via the communication unit 20 after the alarm device 101 starts to be used. can be updated in any way.

図7の警報器101では、制御部10と通信部20それぞれが、自身が従う命令が含まれたソフトウェアSW1、SW2を、第1処理装置1a、第2処理装置2aに内蔵している。そのため、警報器101が内蔵するソフトウェア(ソフトウェアSW1及びSW2)のアップデート後には、そのアップデートがソフトウェアSW1についてのものであれば、第1処理装置1aのリセット動作だけが行われて第2処理装置2aのリセット動作は行われなくてもよい。一方、アップデートがソフトウェアSW2についてのものであれば、第2処理装置2aのリセット動作だけが行われて第1処理装置1aのリセット動作が行われなくてもよい。 In the alarm device 101 shown in FIG. 7, the control unit 10 and the communication unit 20 each have software SW1 and SW2 containing instructions that they follow built into the first processing device 1a and the second processing device 2a. Therefore, after updating the software (software SW1 and SW2) built into the alarm device 101, if the update is for the software SW1, only the reset operation of the first processing device 1a is performed and the second processing device 2a The reset operation may not be performed. On the other hand, if the update is for the software SW2, only the reset operation of the second processing device 2a may be performed and the reset operation of the first processing device 1a may not be performed.

ソフトウェアSW1についてのアップデートには前述した第1アップデートが、ソフトウェアSW2についてのアップデートには前述した第2アップデートが、それぞれ含まれ得る。従って、そのアップデートが第1アップデートであれば、第1処理装置1aのリセット動作だけが行われてもよく、一方、そのアップデートが第2アップデートであれば、第2処理装置2aのリセット動作だけが行われてもよく、その間、第1処理装置1aによる報知機能が維持されてもよい。 The update for the software SW1 may include the above-mentioned first update, and the update for the software SW2 may include the above-mentioned second update. Therefore, if the update is the first update, only the reset operation of the first processing device 1a may be performed, whereas if the update is the second update, only the reset operation of the second processing device 2a may be performed. During this period, the notification function by the first processing device 1a may be maintained.

図8には、図7の例の警報器101における、ソフトウェアのアップデートを含む動作の一例を示すフローチャートが示されている。図8の例は、通信部20において前述した「定期通信」が行われる例である、なお、図8に示される各ステップのうち、図3A、図3B、又は図4に示されるステップと同様の動作や処理を行うステップについては、図3A、図3B又は図4と同じ符号(ステップS1~S7及びステップS11)が付され、繰り返しとなる説明は、適宜省略される。 FIG. 8 shows a flowchart illustrating an example of the operation of the alarm device 101 shown in FIG. 7, including updating the software. The example in FIG. 8 is an example in which the above-mentioned "regular communication" is performed in the communication unit 20. Note that among the steps shown in FIG. 8, the steps shown in FIG. 3A, FIG. 3B, or FIG. The same reference numerals (steps S1 to S7 and step S11) as in FIG. 3A, FIG. 3B, or FIG. 4 are given to the steps for performing the operations and processing, and repetitive explanations will be omitted as appropriate.

警報器101では、点検P0(ステップS2)の実行後、警報器101の状態が、通信部20によって外部機器Eに送信される(ステップS21)。第2処理装置2aは、定期通信を行うたびに、例えば計時手段2cを構成するカウンタをリセットして時間のカウントを開始する。そして、周囲環境の監視が開始され(ステップS3)、ソフトウェアのアップデートの開始が求められていなければ(ステップS4で“N”)、第2処理装置2aは、計時手段2cのカウント値に基づいて直前の定期通信から所定の時間が経過したかどうかを判断する(ステップS22)。第2処理装置2aは、ステップS22において所定の時間が経過していない場合は(ステップS22で“N”)、計時手段2cの時間カウントをアップする(ステップS23)。そして監視の停止が求められていない限り(ステップS5で“N”)、ステップS3に戻って監視が継続される。第2処理装置2aは、ステップS22において所定の時間が経過している場合は(ステップS22で“Y”)、定期通信として警報器101の状態を外部機器Eに送信する(ステップS24)。その後、第2処理装置2aは、計時手段2cのカウント値をリセットする(ステップS25)。そして監視の停止が求められていない限り(ステップS5で“N”)、監視が継続される。 In the alarm device 101, after the inspection P0 (step S2) is performed, the state of the alarm device 101 is transmitted to the external device E by the communication unit 20 (step S21). The second processing device 2a resets, for example, a counter constituting the timer 2c and starts counting time every time it performs periodic communication. Then, monitoring of the surrounding environment is started (step S3), and if the start of software update is not requested ("N" in step S4), the second processing device 2a starts monitoring the surrounding environment based on the count value of the timer 2c. It is determined whether a predetermined period of time has passed since the last regular communication (step S22). If the predetermined time has not elapsed in step S22 ("N" in step S22), the second processing device 2a increases the time count of the timer 2c (step S23). Unless stopping the monitoring is requested ("N" in step S5), the process returns to step S3 and monitoring is continued. If the predetermined time has elapsed in step S22 (“Y” in step S22), the second processing device 2a transmits the status of the alarm device 101 to the external device E as regular communication (step S24). After that, the second processing device 2a resets the count value of the timer 2c (step S25). As long as there is no request to stop monitoring ("N" in step S5), monitoring continues.

前述したように、警報器101では、第1処理装置1aが、図示されない計時手段を備えていてもよい。その場合、第1処理装置1a内の計時手段が定期通信の周期をカウントし、直前の定期通信から所定の時間が経過したら、例えば第2処理装置2aに送る識別ビットを0から1、又はその逆に反転させ、その反転する識別ビットを第2処理装置2aが受け取ったときに、定期通信として所定の情報が送受信部22から外部機器Eに送信されてもよい。 As described above, in the alarm device 101, the first processing device 1a may include a clocking means (not shown). In that case, the timer in the first processing device 1a counts the period of periodic communication, and when a predetermined period of time has elapsed since the previous periodic communication, the identification bit to be sent to the second processing device 2a, for example, is changed from 0 to 1, or vice versa. On the other hand, when the identification bit is inverted and the second processing device 2a receives the inverted identification bit, predetermined information may be transmitted from the transmitting/receiving section 22 to the external device E as a regular communication.

図8の例においてステップS4でソフトウェアのアップデートが求められていると(ステップS4で“Y”)、アップデートP3が行わる(ステップS7)。そして、アップデートP3が通信に関するアップデートでない場合(ステップS26で“N”)、先に参照した図4の例と同様に、制御部10においてリセット動作P1が行われるか、リセット動作P1が行われずに(ステップS28)、ステップS22へと処理が進められる。ステップS26における通信に関するアップデートか否かの判断は、例えば、図5を参照して説明された方法で行われる。なお、図8への図示は省略されているが、アップデートP3が前述した第1アップデートであるか否かの判断が、例えばステップS26において併せて行われてもよく、アップデートP3が第1アップデートである場合は、ステップS28の後に、図4に例示される点検P4が行われてもよい。 In the example of FIG. 8, if a software update is requested in step S4 ("Y" in step S4), update P3 is performed (step S7). If the update P3 is not an update related to communication (“N” in step S26), the reset operation P1 is performed in the control unit 10, or the reset operation P1 is not performed, as in the example of FIG. 4 referred to earlier. (Step S28), and the process proceeds to step S22. The determination in step S26 as to whether or not the update is related to communication is performed, for example, by the method described with reference to FIG. Although not shown in FIG. 8, a determination as to whether update P3 is the first update described above may also be made, for example, in step S26, and if update P3 is the first update. In some cases, inspection P4 illustrated in FIG. 4 may be performed after step S28.

一方、図8の例において、アップデートP3が通信に関するアップデートである場合(ステップS26で“Y”)、通信部20において第2処理装置2aのリセット動作が実行される(ステップS27)。一方、この場合には、制御部10によるリセット動作P1は実行されない。ステップS27の後、ステップS22へと処理が進められる。 On the other hand, in the example of FIG. 8, if the update P3 is an update related to communication ("Y" in step S26), a reset operation of the second processing device 2a is executed in the communication unit 20 (step S27). On the other hand, in this case, the reset operation P1 by the control unit 10 is not performed. After step S27, the process proceeds to step S22.

第2処理装置2aのリセット動作は、警報器100のリセット動作P1と同様に、例えば、次に実行されるべき命令が格納されている記憶手段2bのアドレスを保存するプログラムカウンタを、例えば0番地などの所定のアドレスに設定したり、第2処理装置2aが備える各種のレジスタなどの一次記憶領域をクリアしたりすることを含んでいてもよい。従って、第2処理装置2aのリセットによって、計時手段2cのカウントがリセットされてもよい。その場合、ステップS27の後、処理がステップS3に戻されてもよい。 Similar to the reset operation P1 of the alarm device 100, the reset operation of the second processing device 2a resets the program counter to, for example, address 0, which stores the address of the storage means 2b where the next command to be executed is stored. It may also include setting a predetermined address such as , or clearing primary storage areas such as various registers provided in the second processing device 2a. Therefore, the count of the timer 2c may be reset by resetting the second processing device 2a. In that case, the process may be returned to step S3 after step S27.

しかし、計時手段2cのカウントがリセットされると、アップデートP3の直前の定期通信から次の定期通信までの時間が、定期通信の所定の周期から逸脱することがある。そのため、定期通信の周期が維持されるような処理が行われてもよい。例えば、通信に関するアップデートが行われた場合に、ステップS27ではなく、ステップS22を経て定期通信を実行(ステップS24)してから、第2処理装置2aのリセット動作全体、又は計時手段2c(第1処理装置1aが定期通信のための計時手段を備える場合はその計時手段)のカウントのリセットが行われてもよい。或いは、定期通信周期をカウントする計時手段を備える処理装置(第1処理装置1a又は第2処理装置2a)が、現在のカウント値を記憶手段1bや記憶手段2bに記憶させた後に、ステップS27のリセット動作が実行されてもよい。記憶されたカウント値は、リセット動作の実行後に記憶手段1b又は2bから読み出される。そして、読み出されたカウント値に、予め設定されたリセット動作の所要時間、若しくはリセットされない側の計時手段によってカウントされたリセット動作の実際の所要時間に相当するカウント値を加えたカウント値から、定期通信のためのカウントが再開されてもよい。 However, when the count of the timer 2c is reset, the time from the periodic communication immediately before the update P3 to the next periodic communication may deviate from the predetermined cycle of the periodic communication. Therefore, processing may be performed to maintain the regular communication cycle. For example, when an update regarding communication is performed, regular communication is executed through step S22 (step S24) instead of step S27, and then the entire reset operation of the second processing device 2a or the clocking means 2c (first If the processing device 1a is equipped with a timer for periodic communication, the count of the timer) may be reset. Alternatively, after the processing device (first processing device 1a or second processing device 2a) equipped with a timer for counting the periodic communication period stores the current count value in the storage device 1b or storage device 2b, the processing in step S27 is performed. A reset operation may also be performed. The stored count value is read out from the storage means 1b or 2b after performing the reset operation. Then, from the count value obtained by adding a count value corresponding to the preset required time of the reset operation or the actual required time of the reset operation counted by the timer on the side that is not reset to the read count value, Counting for periodic communications may be restarted.

また、第2処理装置2aのリセット動作は、外部機器Eとの通信履歴を消去したり、外部機器Eとの通信リンクを一旦解放後に再設定したりすることを含んでいてもよい。しかし、第2処理装置2aにおけるリセット動作の内容や実行時期及びその具体的な態様は、これらに限定されない。 Further, the reset operation of the second processing device 2a may include erasing the communication history with the external device E, or resetting the communication link with the external device E after once releasing it. However, the contents, execution timing, and specific aspects of the reset operation in the second processing device 2a are not limited to these.

図8の例のように、制御部10は、警報器101が内蔵するソフトウェア(ソフトウェアSW1、SW2)のアップデートが外部機器Eとの通信に関するアップデートであるときは、そのアップデートの終了後にリセット動作P1を行わないように構成されていてもよい。また、通信部20は、警報器101が内蔵するソフトウェア(ソフトウェアSW1、SW2)のアップデートが外部機器Eとの通信に関するアップデートであるときは、第2処理装置2aのリセット動作を行うように構成されていてもよい。第1処理装置1aないし制御部10が関わるリセット動作が実行されないので、警報器101の報知機能が機能しない期間の発生を防止でき、また、第2処理装置2aをアップデート後のソフトウェアSW2に従って意図通りに動作させることができると考えられる。 As in the example of FIG. 8, when the update of the software (software SW1, SW2) built in the alarm device 101 is related to communication with the external device E, the control unit 10 performs a reset operation P1 after the update is completed. It may also be configured so that this is not performed. Further, the communication unit 20 is configured to perform a reset operation of the second processing device 2a when the update of the software (software SW1, SW2) built in the alarm device 101 is related to communication with the external device E. You can leave it there. Since the reset operation involving the first processing device 1a or the control unit 10 is not executed, it is possible to prevent a period in which the alarm function of the alarm 101 does not function, and the second processing device 2a can be operated as intended according to the updated software SW2. It is thought that it can be operated as follows.

<実施形態の警報器が取り得る態様>
以上の説明の一部を繰り返しつつ、実施形態の警報器が取り得る幾つかの態様が以下に示される。
<Possible aspects of the alarm device of the embodiment>
Some aspects that the alarm device of the embodiment can take are shown below while repeating a part of the above description.

図4を参照して説明がなされたように、実施形態において前記制御部は、前記点検動作を行う前に前記警報器のリセット動作を行うように構成されていてもよく、前記アップデートの終了後に前記リセット動作を行うか否かを、前記アップデートの内容に応じて判断するように構成されていてもよい。そのような構成によって、無用なリセット動作を回避できると共に、例えばアップデート前の設定や記憶内容を引き継いで、アップデート後のソフトウェアの下で周囲環境の監視を継続できることがある。 As described with reference to FIG. 4, in the embodiment, the control unit may be configured to perform a reset operation of the alarm before performing the inspection operation, and after the update is completed. It may be configured to determine whether or not to perform the reset operation depending on the content of the update. With such a configuration, it is possible to avoid unnecessary reset operations, and, for example, it is possible to continue monitoring the surrounding environment under the updated software by inheriting the settings and stored contents before the update.

前記制御部は、前記アップデートが前記報知機能の動作に関するアップデートであるときは、前記アップデートの終了後に前記リセット動作を行うように構成されていてもよい。報知機能に関するアップデートは報知機能に与える影響の程度が大きいと考えられるので、アップデートの後にリセット動作を行うことによって、アップデート後の報知機能を適切に発揮させ得ることがある。 The control unit may be configured to perform the reset operation after the update is completed when the update is related to the operation of the notification function. Since updates related to the notification function are considered to have a large influence on the notification function, by performing a reset operation after the update, the post-update notification function may be properly performed.

前記制御部は、前記アップデートが前記報知機能以外の機能の動作に関するアップデートであるときは、前記アップデートの終了後に前記リセット動作を行わないように構成されていてもよい。そうすることで、無用なリセット動作の実行を回避し得ることがある。 The control unit may be configured not to perform the reset operation after the update is completed when the update is related to the operation of a function other than the notification function. By doing so, unnecessary reset operations may be avoided.

図7及び図8を参照して説明がなされたように、実施形態において、前記制御部は、前記報知機能を制御する半導体装置からなる第1処理装置を含み、前記通信部は、外部機器との間の前記通信を制御する半導体装置からなる第2処理装置を含み、前記制御部は、前記アップデートが前記通信に関するアップデートであるときは、前記アップデートの終了後に前記リセット動作を行わないように構成されており、前記通信部は、前記アップデートが前記通信に関するアップデートであるときは、前記第2処理装置のリセット動作を行うように構成されていてもよい。そうすることによって、報知機能が発揮されない期間が無用に生じることを防止できると共に、アップデート後のソフトウェアに従った通信を適切に行うことができると考えられる。 As described with reference to FIGS. 7 and 8, in the embodiment, the control section includes a first processing device including a semiconductor device that controls the notification function, and the communication section is configured to communicate with an external device. a second processing device including a semiconductor device that controls the communication during the process, and the control unit is configured not to perform the reset operation after the update is completed when the update is related to the communication. The communication unit may be configured to perform a reset operation of the second processing device when the update is related to the communication. By doing so, it is possible to prevent an unnecessary period during which the notification function is not performed, and to appropriately perform communication according to the updated software.

図1を参照して説明がなされたように、実施形態において、前記制御部及び前記通信部は、前記ソフトウェアを内蔵していて前記報知機能及び前記外部機器との間の前記通信を制御する半導体装置を共有していてもよく、前記制御部は、前記アップデートが前記通信に関するアップデートであるときは、前記アップデートの終了後に前記リセット動作を行うように構成されていてもよい。ソフトウェアを内蔵して報知機能及び通信を制御する半導体装置が共有される場合、アップデートされる一つのソフトウェアが、制御部及び通信部のいずれに関する命令も含み得る。そのため、通信に関するアップデートにおいてもその後のリセット動作の実行によって、報知機能をより確実に維持させ得ることがある。 As described with reference to FIG. 1, in the embodiment, the control unit and the communication unit are semiconductors that incorporate the software and control the notification function and the communication with the external device. The devices may be shared, and the control unit may be configured to perform the reset operation after the update is completed when the update is related to the communication. When a semiconductor device having built-in software and controlling a notification function and communication is shared, one piece of software to be updated may include instructions regarding both the control unit and the communication unit. Therefore, even in communication-related updates, the notification function may be maintained more reliably by executing a subsequent reset operation.

なお、今回開示された実施形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施形態の説明ではなく特許請求の範囲によって示され、さらに特許請求の範囲と均等の意味及び範囲内でのすべての変更(変形例)が含まれる。 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 警報器
1 処理装置(半導体装置)
11 記憶手段
1a 第1処理装置
1b 記憶手段
10 制御部
12 検知部
13 報知部
2a 第2処理装置
2b 記憶手段
2c 計時手段
20 通信部
21 計時手段
22 送受信部
4 記憶領域
5 識別符号
E 外部機器
P0、P4 点検
P1、P2 リセット動作
P3 アップデート
SW、SW1、SW2 ソフトウェア
SWB アップデート前のソフトウェア
SWA アップデート後のソフトウェア
100, 101 Alarm device 1 Processing device (semiconductor device)
11 Storage means 1a First processing device 1b Storage means 10 Control section 12 Detection section 13 Notification section 2a Second processing device 2b Storage means 2c Time measurement means 20 Communication section 21 Time measurement means 22 Transmission/reception section 4 Storage area 5 Identification code E External device P0 , P4 Inspection P1, P2 Reset operation P3 Update SW, SW1, SW2 Software SWB Software SWA before update Software after update

Claims (6)

内蔵するソフトウェアに含まれる命令に従って動作する警報器であって、前記警報器は、周囲環境を監視して監視結果に基づいて報知する報知機能を制御する制御部と、
外部機器との間の通信を制御する通信部と、
を備え、
前記ソフトウェアは、前記警報器の使用開始後に前記通信部を介したアップデートが可能なように内蔵されており、
前記制御部は、前記警報器の電源投入時に、前記報知機能に関する点検動作を行うように構成されており、
前記制御部は、前記アップデートが前記通信に関するアップデートであるときは、前記アップデートの終了後に前記点検動作を行わないように構成されている、警報器。
An alarm device that operates according to instructions included in built-in software, and the alarm device includes a control unit that controls a notification function that monitors the surrounding environment and provides notification based on the monitoring results;
a communication unit that controls communication with external devices;
Equipped with
The software is built-in so that it can be updated via the communication unit after starting to use the alarm,
The control unit is configured to perform an inspection operation regarding the notification function when the alarm is powered on,
The control unit is configured to not perform the inspection operation after the update is completed when the update is related to the communication.
前記アップデートが前記通信に関するアップデートか否かを示す情報を記憶する記憶手段をさらに備え、
前記制御部は、前記点検動作を行うか否かを前記情報に基づいて判断するように構成されている、請求項1記載の警報器。
Further comprising a storage means for storing information indicating whether the update is an update related to the communication,
The alarm device according to claim 1, wherein the control unit is configured to determine whether or not to perform the inspection operation based on the information.
前記制御部は、前記アップデートが前記報知機能に関するアップデートであるときは、前記アップデートの終了後に前記点検動作を行うように構成されている、請求項1又は2記載の警報器。 The alarm device according to claim 1 or 2, wherein the control unit is configured to perform the inspection operation after the update is completed when the update is related to the notification function. 前記制御部は、前記通信部によって受信される前記アップデートに関する情報に含まれる識別符号に基づいて、前記アップデートが前記通信に関するアップデートか否かを判断するように構成されている、請求項1~3のいずれか1項に記載の警報器。 Claims 1 to 3, wherein the control unit is configured to determine whether the update is an update related to the communication based on an identification code included in information related to the update received by the communication unit. The alarm device according to any one of the above. 前記制御部は、前記アップデート前の前記ソフトウェアと前記アップデート後の前記ソフトウェアとを比較して、前記アップデートが前記通信に関するアップデートか否かを判断するように構成されている、請求項1~3のいずれか1項に記載の警報器。 4. The control unit according to claim 1, wherein the control unit is configured to compare the software before the update and the software after the update to determine whether the update is related to the communication. The alarm device according to any one of the items above. 前記アップデートは、外部機器と前記通信部との無線通信を介して行われる、請求項1~5のいずれか1項に記載の警報器。 The alarm device according to any one of claims 1 to 5, wherein the update is performed via wireless communication between an external device and the communication unit.
JP2022047195A 2022-03-23 2022-03-23 Alarm Active JP7473576B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022047195A JP7473576B2 (en) 2022-03-23 2022-03-23 Alarm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022047195A JP7473576B2 (en) 2022-03-23 2022-03-23 Alarm

Publications (2)

Publication Number Publication Date
JP2023141062A true JP2023141062A (en) 2023-10-05
JP7473576B2 JP7473576B2 (en) 2024-04-23

Family

ID=88205463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022047195A Active JP7473576B2 (en) 2022-03-23 2022-03-23 Alarm

Country Status (1)

Country Link
JP (1) JP7473576B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009212706A (en) * 2008-03-03 2009-09-17 Osaka Gas Co Ltd Remote control system and method
JP2016174196A (en) * 2015-03-16 2016-09-29 富士通株式会社 Report system, report terminal, center device, and terminal management method
JP2020086529A (en) * 2018-11-15 2020-06-04 新コスモス電機株式会社 Alarm
JP2020170984A (en) * 2019-04-05 2020-10-15 コニカミノルタ株式会社 Information processing device, image processing device, and program
JP2021132303A (en) * 2020-02-19 2021-09-09 パナソニックIpマネジメント株式会社 Information terminal, intercom system, server system, gateway device, processing method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009212706A (en) * 2008-03-03 2009-09-17 Osaka Gas Co Ltd Remote control system and method
JP2016174196A (en) * 2015-03-16 2016-09-29 富士通株式会社 Report system, report terminal, center device, and terminal management method
JP2020086529A (en) * 2018-11-15 2020-06-04 新コスモス電機株式会社 Alarm
JP2020170984A (en) * 2019-04-05 2020-10-15 コニカミノルタ株式会社 Information processing device, image processing device, and program
JP2021132303A (en) * 2020-02-19 2021-09-09 パナソニックIpマネジメント株式会社 Information terminal, intercom system, server system, gateway device, processing method, and program

Also Published As

Publication number Publication date
JP7473576B2 (en) 2024-04-23

Similar Documents

Publication Publication Date Title
JP4428367B2 (en) Wireless residential fire alarm, wireless residential fire alarm system
US20110018705A1 (en) Alarm device
US20120055235A1 (en) Carbon monoxide detector, system and method for signaling a carbon monoxide sensor end-of-life condition
JP2007011828A (en) Alarm unit
JP2007287671A (en) Discharge lamp lighting device, lighting control system, and control management system
JP2009146232A (en) Alarm
WO2022159282A1 (en) Emergency readiness verification system and method of calibration
WO2021198313A1 (en) A test system for remotely monitoring and testing the functionality of emergency systems in buildings
JP5410931B2 (en) Alarm
JP6639952B2 (en) Inspection system for alarm using mobile terminal and inspection method using the same
JP7168730B2 (en) alarms and warning devices
JP5744491B2 (en) Monitoring system and alarm
JP2023141062A (en) alarm
JP7441257B2 (en) alarm
JP6568636B1 (en) Alarm
JP7369318B2 (en) alarm
AU2008356084B2 (en) Alarm
JP7473704B1 (en) Alarm
JP5059465B2 (en) Alarm and fire alarm
JP7398018B1 (en) Alarms and alarm systems
JP7506213B1 (en) Alarms and alarm systems
JP7473703B1 (en) Alarm
JP6492224B1 (en) Alarm
JP2008108058A (en) Radio alarm unit, radio notification unit, and center unit
JP4514488B2 (en) Monitoring device

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

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20231114

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240206

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20240214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240411

R150 Certificate of patent or registration of utility model

Ref document number: 7473576

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150