JP7348425B1 - Alarm device and how to initialize it - Google Patents

Alarm device and how to initialize it Download PDF

Info

Publication number
JP7348425B1
JP7348425B1 JP2023128771A JP2023128771A JP7348425B1 JP 7348425 B1 JP7348425 B1 JP 7348425B1 JP 2023128771 A JP2023128771 A JP 2023128771A JP 2023128771 A JP2023128771 A JP 2023128771A JP 7348425 B1 JP7348425 B1 JP 7348425B1
Authority
JP
Japan
Prior art keywords
alarm
predetermined
processing
processing device
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2023128771A
Other languages
Japanese (ja)
Inventor
豊 小林
康介 柏谷
和也 齋藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New Cosmos Electric Co Ltd
Original Assignee
New Cosmos Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New Cosmos Electric Co Ltd filed Critical New Cosmos Electric Co Ltd
Priority to JP2023128771A priority Critical patent/JP7348425B1/en
Application granted granted Critical
Publication of JP7348425B1 publication Critical patent/JP7348425B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Alarm Systems (AREA)
  • Fire Alarms (AREA)

Abstract

【課題】内部状態の変化によって一部機能が不能状態の警報器をユーザーなどの意志の下で正常に機能し得る状態に復帰させることを可能にする。【解決手段】実施形態の警報器100は、少なくとも火災若しくはガスのいずれか一方を検知可能である検知部50と、検知部50の検知結果に基づいて警報を発する警報機能を制御する第1処理部1と、内蔵するソフトウェアSWに含まれる命令に従って動作して少なくとも警報機能以外の所定の機能を制御する第2処理部2と、手動操作を受け付ける受付部70と、を備えている。実施形態の警報器100は、所定の手動操作が受付部70に対して行われることによって所定の初期化動作を実行して、警報器100の稼働開始後のアップデートによって不具合状態に至っているソフトウェアSWを正常に機能し得る状態に復帰させるように構成されている。【選択図】図1An object of the present invention is to enable an alarm device whose functions are partially disabled due to a change in its internal state to be returned to a state in which it can function normally under the will of a user or the like. An alarm device 100 according to an embodiment includes a detection unit 50 that can detect at least either fire or gas, and a first process that controls an alarm function that issues an alarm based on the detection result of the detection unit 50. 1, a second processing section 2 that operates according to instructions included in built-in software SW to control at least predetermined functions other than the alarm function, and a reception section 70 that receives manual operations. The alarm device 100 of the embodiment executes a predetermined initialization operation by performing a predetermined manual operation on the reception unit 70, and updates the software SW which has reached a malfunction state by updating after the alarm device 100 starts operating. It is configured to restore the device to a state where it can function normally. [Selection diagram] Figure 1

Description

本発明は、警報器、及び警報器の初期化方法に関する。 The present invention relates to an alarm device and a method for initializing the alarm device.

従来から、周囲環境を温度センサやガスセンサで監視して、異常な状態の検出に応じて警報を発してユーザーに危険を報せる警報器が、一般家庭や、商業施設、及び工場などで用いられている。このような警報器は、ユーザーの安全確保のために重要な役割を果たしている。近年、このような警報器では、単純なビープ音だけでなく、多様な情報を伝えるメッセージを発し得るように、音声信号の処理装置や、スピーカなどの発声手段が備えられている。 Traditionally, alarm devices have been used in homes, commercial facilities, factories, etc. to monitor the surrounding environment using temperature sensors and gas sensors, and issue an alarm when abnormal conditions are detected to alert users of danger. ing. Such alarm devices play an important role in ensuring user safety. In recent years, such alarm devices have been equipped with audio signal processing devices and loudspeakers so that they can emit not only a simple beep but also messages conveying a variety of information.

さらに、得られた情報を警報器の周囲だけでなく遠方の関係者にも伝えられるように、通信機能を有する警報器が普及している。そして、そのような通信機能を有する警報器は、特定の通信先との交信だけではなく、広く情報を発信できるように、また、多くの情報を外部から入手して警報器の周囲のユーザーの便益を高められるように、インターネットのようなネットワーク回線に接続可能なものも存在する。例えば、特許文献1には、警報メッセージを発するスピーカ、及び、インターネットへの接続を可能にするLANポートを備える警報器が開示されている。 Furthermore, alarm devices that have a communication function are becoming popular so that the obtained information can be transmitted not only to those around the alarm device but also to distant parties. Alarms with such communication functions can not only communicate with specific communication destinations, but also transmit information widely, and can obtain a lot of information from outside and communicate with users around the alarm. There are also devices that can be connected to networks such as the Internet to increase benefits. For example, Patent Document 1 discloses an alarm device that includes a speaker that emits an alarm message and a LAN port that enables connection to the Internet.

特開2004-326360号公報Japanese Patent Application Publication No. 2004-326360

特許文献1の警報器では、前述したスピーカやLANポート、さらに、周囲環境を監視して警報機能を担うCOセンサなどの各種センサが、一つの信号処理回路に接続されている。そして、この一つの信号処理回路によって、警報器の主機能である警報機能に加えて、通信機能も制御されている。しかしこのような構成の場合、一つの信号処理回路で報知機能も通信機能も制御しているが故に、主機能である警報機能に支障を来たすことがある。例えば、新たな制御方式の取り込みやセキュリティレベルの向上のために繰り返される通信プロトコルのバージョンアップによって警報機能が影響を受けることがある。すなわち、このようなバージョンアップに伴って必要となる通信機能に関するソフトウェアのアップデート中に警報機能が機能停止に陥ったり、そのアップデートの不具合によって信号処理回路全体が動作不能に陥ったりすることが考えられる。 In the alarm device of Patent Document 1, various sensors such as the above-mentioned speaker, LAN port, and a CO sensor that monitors the surrounding environment and performs an alarm function are connected to one signal processing circuit. This single signal processing circuit controls not only the alarm function, which is the main function of the alarm device, but also the communication function. However, in such a configuration, since both the notification function and the communication function are controlled by one signal processing circuit, the alarm function, which is the main function, may be interfered with. For example, the alarm function may be affected by repeated version upgrades of communication protocols to incorporate new control methods or improve security levels. In other words, it is conceivable that the alarm function may stop functioning during the update of the software related to communication functions required for such version upgrades, or that the entire signal processing circuit may become inoperable due to a malfunction in the update. .

このようなリスクを軽減する手段として、警報機能を制御する主処理装置と、通信機能などの副次的機能を制御する副処理装置とを、互いに独立して個別に設けることが考えられる。しかしこのように処理装置を機能ごとに個別に設けて動作させると、例えば外部機器との通信が、その内容次第で、主機能たる警報機能に影響を及ぼすことがある。例えば、音声情報が外部機器から送られてその情報が警報機能と共用のスピーカによって発せられる場合には、音声による警報が、副処理装置の制御の下で発せられる音声で阻害される虞がある。 As a means to reduce such risks, it is conceivable to separately provide a main processing device that controls an alarm function and a sub-processing device that controls a subsidiary function such as a communication function, independently of each other. However, if a processing device is provided and operated separately for each function in this way, depending on the content of communication with external equipment, for example, the main function, the alarm function, may be affected. For example, if audio information is sent from an external device and is emitted by a speaker that is shared with the alarm function, there is a risk that the audio alarm will be interfered with by the audio emitted under the control of the subprocessor. .

警報が阻害されないように、主処理装置に副処理装置の動作を制御させ、警報の発報時には、副処理装置による発声を制限することも可能である。しかし、主処理装置の制御の下で動作すべき副処理装置が、主処理装置の制御通りに動作し得ない状態に陥ることも考えられる。例えば、上記のように警報器が外部の機器と通信で接続されていると、その通信によって、通信を制御する副処理装置の内部の状態、例えば内部のメモリの記憶内容が変更されることがある。また、前述したように、通信を制御する副処理装置内のソフトウェアが通信を介してアップデートされることもある。このような副処理装置の内部状態の変更やソフトウェアのアップデートが適切に行われれば問題はないが、主処理装置による制御に支障が生じ得る状態に変更されたり、アップデート用のデータがバグを含んでいたりすることも考えられる。そのような場合、上記のように、主処理装置の制御が副処理装置に及ばないような状態も生じ得る。その結果、ユーザーの意図した環境下で警報が発せられなかったり、ソフトウェアのバグに至っては、警報機能が根本的に阻害されて全く機能しなくなったりすることも起こり得る。 It is also possible to have the main processor control the operation of the sub-processor so that the alarm is not disturbed, and to restrict the sub-processor from making a sound when the alarm is issued. However, it is conceivable that the sub-processing device, which should operate under the control of the main processing device, may fall into a state where it cannot operate under the control of the main processing device. For example, when an alarm device is connected to an external device via communication as described above, the internal state of the sub-processing unit that controls the communication, such as the contents of the internal memory, may be changed through that communication. be. Further, as described above, the software within the sub-processing device that controls communication may be updated via communication. There is no problem if the internal state of the sub-processing unit is changed or the software is updated appropriately, but if the state is changed to a state that may interfere with control by the main processing unit, or if the update data contains bugs. It is also possible that it is. In such a case, as described above, a situation may arise in which the control of the main processing device does not extend to the sub-processing device. As a result, an alarm may not be issued under the user's intended environment, or if a software bug develops, the alarm function may be fundamentally obstructed and may no longer function at all.

このような場合、警報器が意図通り又は全く動作していないことがユーザーには感知可能であるにも関わらず、対処手段がないために、業者による修理や交換まで不具合状態が長く継続してしまうということも起こり得る。このような事態は、ユーザーなどの安全が脅かされることとなり、ユーザーなどの安全確保という役割を担う警報器にとって好ましくない。 In such cases, even though the user can detect that the alarm is not working as intended or at all, there is no countermeasure, and the malfunction continues for a long time until repair or replacement by a contractor. It may also happen that you put it away. Such a situation threatens the safety of users and the like, which is not desirable for the alarm device, which plays the role of ensuring the safety of users and the like.

本発明は、上記問題に鑑みてなされたもので、内部状態の変化によって警報器の一部が機能しない状態に陥っても、ユーザーなどの意志の下で、正常に機能し得る状態に復帰させ得る警報器、及び警報器の初期化方法を提供することを目的とする。 The present invention has been made in view of the above problem, and even if a part of the alarm becomes inoperable due to a change in the internal state, it can be restored to a state where it can function normally under the will of the user. The purpose of the present invention is to provide an alarm device that can be obtained, and a method for initializing the alarm device.

本発明の警報器は、少なくとも火災若しくはガスのいずれか一方を検知可能である検知部と、前記検知部の検知結果に基づいて警報を発する警報機能を制御する第1処理部と、内蔵するソフトウェアに含まれる命令に従って動作して少なくとも前記警報機能以外の所定の機能を制御する第2処理部と、手動操作を受け付ける受付部と、を備える警報器であって、所定の手動操作が前記受付部に対して行われることによって所定の初期化動作を実行して、前記警報器の稼働開始後のアップデートによって不具合状態に至っている前記ソフトウェアを正常に機能し得る状態に復帰させるように構成されている警報器である。 The alarm of the present invention includes a detection section that can detect at least either fire or gas, a first processing section that controls an alarm function that issues an alarm based on the detection result of the detection section, and built-in software. An alarm device comprising: a second processing section that operates according to instructions included in the alarm function to control at least a predetermined function other than the alarm function; and a reception section that receives manual operation, wherein the predetermined manual operation is performed by the reception section. The software is configured to perform a predetermined initialization operation by performing a predetermined initialization operation on the alarm device, and to restore the malfunctioning software to a state in which it can function normally due to an update after the alarm starts operating. It is an alarm.

前記第2処理部は、前記第1処理部の制御を受けるように構成されており、前記不具合状態のために前記第1処理部の制御を受け付けない状態に至っている前記第2処理部が、前記所定の初期化動作によって前記第1処理部の制御を受ける状態に復帰してもよい。 The second processing section is configured to be controlled by the first processing section, and the second processing section that has reached a state where it does not accept control of the first processing section due to the malfunction state, The predetermined initialization operation may return to a state under the control of the first processing section.

本発明の警報器の初期化方法は、少なくとも火災若しくはガスのいずれか一方を検知可能である検知部と、前記検知部の検知結果に基づいて警報を発する警報機能を制御する第1処理部と、内蔵するソフトウェアに含まれる命令に従って動作して少なくとも前記警報機能以外の所定の機能を制御する第2処理部と、手動操作を受け付ける受付部と、を備える警報器の初期化方法であって、前記警報器に初期化以外の動作の実行を指示する操作とは異なる態様の所定の手動操作を前記受付部に行うことによって前記第2処理部の初期化を行って、前記警報器の稼働開始後のアップデートによって不具合状態に至っている前記ソフトウェアを正常に機能し得る状態に復帰させることを含んでいる。 The alarm initialization method of the present invention includes: a detection section capable of detecting at least either fire or gas; a first processing section that controls an alarm function that issues an alarm based on the detection result of the detection section; A method for initializing an alarm device, comprising: a second processing unit that operates according to instructions included in built-in software to control at least a predetermined function other than the alarm function; and a reception unit that receives manual operation. The second processing unit is initialized by performing a predetermined manual operation on the reception unit that is different from the operation that instructs the alarm to perform an operation other than initialization, and the alarm starts operating. This includes restoring the software, which has become malfunctioning through subsequent updates, to a state where it can function normally.

本発明によれば、内部状態の変化によって警報器の一部が機能しない状態に陥っても、ユーザーなどの意志の下で、正常に機能し得る状態に復帰させることができる。 According to the present invention, even if a part of the alarm becomes non-functional due to a change in the internal state, it can be restored to a normal functioning state at the will of the user or the like.

本発明の一実施形態の警報器の構成の概略を示すブロック図である。FIG. 1 is a block diagram schematically showing the configuration of an alarm device according to an embodiment of the present invention. 手動操作の幾つかの例を示す模式図である。FIG. 3 is a schematic diagram showing some examples of manual operations. 一実施形態の警報器における受付部と第2処理装置との接続形態及び所定の初期化動作の処理の一例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a connection form between a reception unit and a second processing device and a predetermined initialization process in an alarm device according to an embodiment. 一実施形態の警報器における受付部と第2処理装置との接続形態の他の例を示すブロック図である。It is a block diagram showing another example of the connection form of the reception part and the 2nd processing device in the alarm device of one embodiment. 一実施形態の警報器における受付部と第2処理装置との接続形態のさらに他の例を示すブロック図である。It is a block diagram showing still another example of the connection form of the reception part and the 2nd processing device in the alarm device of one embodiment. 本発明の一実施形態の警報器の初期化方法における手順の一例を示すフローチャートである。It is a flowchart which shows an example of the procedure in the initialization method of the alarm device of one embodiment of this invention.

以下、添付図面を参照しながら、本発明の一実施形態に係る警報器及び警報器の初期化方法を説明する。但し、以下に説明される実施形態及び添付の図面は、本発明に係る警報器又は警報器の初期化方法の一例を示しているに過ぎない。本発明に係る警報器及び警報器の初期化方法の構成及び作用は、以下に説明される実施形態及び添付の図面に例示される構成及び作用に限定されない。 DESCRIPTION OF THE PREFERRED EMBODIMENTS An alarm device and an alarm initialization method 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 accompanying drawings merely show an example of the alarm device or the method of initializing the alarm device according to the present invention. The configuration and operation of the alarm device and the alarm initialization method according to the present invention are not limited to the configuration and operation illustrated in the embodiments described below and the attached drawings.

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

警報器100は、図1に示されるように、検知部50と、第1処理部1及び第2処理部2と、出力部40と、警報器100に対する手動操作を受け付ける受付部70と、を備えている。さらに図1の警報器100は、例えばフラッシュメモリなどの各種メモリで構成されて警報器100で必要とされる任意の情報を記憶する記憶手段30、及び、商用電源に接続される電源プラグ61を備えている。警報器100は筐体60を有しており、第1処理部1、第2処理部2、及び検知部50などの構成要素が筐体60内に収められている。 As shown in FIG. 1, the alarm device 100 includes a detection section 50, a first processing section 1 and a second processing section 2, an output section 40, and a reception section 70 that receives manual operations on the alarm device 100. We are prepared. Furthermore, the alarm device 100 in FIG. 1 includes a storage means 30 that is configured with various types of memory such as a flash memory and stores arbitrary information required by the alarm device 100, and a power plug 61 that is connected to a commercial power source. We are prepared. The alarm device 100 has a housing 60, and components such as the first processing section 1, the second processing section 2, and the detection section 50 are housed in the housing 60.

第1処理部1は、検知部50の検知結果に基づいて、出力部40から警報を発する警報機能を制御する。第2処理部2は、少なくとも、第1処理部1が制御する警報機能以外の所定の機能を制御する。図1の例において第2処理部2は、警報器100の通信機能を制御する。すなわち、図1の例において警報器100は通信機能を有していて、外部機器Eとの間で信号を送受する。そのため図1の警報器100は、外部機器Eとの間で信号を送受する通信部21も備えている。 The first processing unit 1 controls an alarm function that issues an alarm from the output unit 40 based on the detection result of the detection unit 50. The second processing section 2 controls at least a predetermined function other than the alarm function controlled by the first processing section 1. In the example of FIG. 1, the second processing unit 2 controls the communication function of the alarm device 100. That is, in the example of FIG. 1, the alarm device 100 has a communication function and sends and receives signals to and from the external device E. Therefore, the alarm device 100 in FIG. 1 also includes a communication section 21 that transmits and receives signals to and from the external device E.

検知部50は、警報器100の周囲の監視対象領域の物理現象を監視して監視データを出力する1以上の各種のセンサで構成される。上記の通り検知部50が筐体60内に配置されているので、検知部50を構成する各種のセンサは、警報器100の近傍の領域を監視することができる。検知部50を構成する各種のセンサは、たとえば、一酸化炭素ガス(CO)、メタンガス(CH4)又はプロパンガス(C38)を検知する各種ガスセンサ、サーミスタなどからなる温度センサ、湿度センサ、煙センサ、臭気センサ、又は、部外者の立ち入りを検知する侵入センサなどであってよい。検知部50は、これらセンサの1つ又は複数で構成され得る。本実施形態の警報器において検知部50は、少なくとも火災若しくはガスのいずれか一方を検知可能である。例えば、各種のガスセンサによって警報器100の周囲の空間におけるガス漏れが検知される。また、温度センサ及び煙センサなどによって、警報器100の周囲での火災の発生が検知される。 The detection unit 50 is composed of one or more various sensors that monitor physical phenomena in a monitoring target area around the alarm device 100 and output monitoring data. Since the detection unit 50 is disposed within the housing 60 as described above, the various sensors forming the detection unit 50 can monitor the area near the alarm device 100. The various sensors that make up the detection unit 50 include, for example, various gas sensors that detect carbon monoxide gas (CO), methane gas (CH 4 ), or propane gas (C 3 H 8 ), a temperature sensor including a thermistor, and a humidity sensor. , a smoke sensor, an odor sensor, or an intrusion sensor that detects entry by an outsider. The detection unit 50 may be composed of one or more of these sensors. In the alarm of this embodiment, the detection unit 50 is capable of detecting at least either fire or gas. For example, gas leaks in the space around the alarm 100 are 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.

出力部40は、第1処理部1の制御の下で、検知部50による周囲環境の異常の検知に応じて光の放射や音の放出によって警報を発する。出力部40は、警報を発する以外にも、警報器100の状態や、警報を発するに至らない監視領域の環境に関する情報をユーザーなどに伝えるために動作してもよい。また出力部40は、第2処理部2の制御の下で、第2処理部2によって制御される機能で必要とされる光や音を発してもよい。前述したように図1の例において第2処理部2は通信機能を制御しているので、例えば外部機器Eから送られる情報に基づく音声が出力部40から発せられてもよい。出力部40は、例えば、スピーカ及び/又はブザーなどのような音声の発生装置を含み得る。出力部40は、音声の発生装置以外にも、警報や、通信で得られる情報を、警報器100のユーザーの視覚を通じて伝える発光ダイオードやディスプレイなどの表示装置を含んでいてもよい。 Under the control of the first processing section 1, the output section 40 issues an alarm by emitting light or sound in response to the detection of an abnormality in the surrounding environment by the detection section 50. In addition to issuing an alarm, the output unit 40 may also operate in order to convey information about the state of the alarm device 100 and the environment of the monitoring area that does not warrant issuing an alarm to the user. Further, the output section 40 may emit light or sound required for the function controlled by the second processing section 2 under the control of the second processing section 2 . As described above, in the example of FIG. 1, the second processing section 2 controls the communication function, so for example, audio based on information sent from the external device E may be emitted from the output section 40. The output unit 40 may include, for example, a sound generating device such as a speaker and/or a buzzer. In addition to the sound generating device, the output unit 40 may include a display device such as a light emitting diode or a display that conveys the alarm and information obtained through communication through the user's vision of the alarm device 100.

記憶手段30は、警報器100が所定の機能を果たすために、取得、処理、使用、又は出力される任意の情報を記憶する。記憶手段30に記憶される情報は、第1処理部1及び/又は第2処理部2によって書き込まれてもよく、第1処理部1及び/又は第2処理部2によって読み出されてもよい。記憶手段30は、例えば、警報器100が従う命令が記述されたプログラムなどのソフトウェアを記憶してもよい。記憶手段30は、例えば、ROM、PROM(プログラマブルROM)、EPROM(イレーサブルPROM)、EEPROM(エレクトリカリー・イレーサブルPROM)、又はフラッシュメモリなどで構成される。 The storage means 30 stores any information that is acquired, processed, used, or output in order for the alarm device 100 to perform a predetermined function. The information stored in the storage means 30 may be written by the first processing section 1 and/or the second processing section 2, and may be read by the first processing section 1 and/or the second processing section 2. . The storage means 30 may store software such as a program in which commands to be followed by the alarm device 100 are written, for example. The storage means 30 is comprised of, for example, ROM, PROM (programmable ROM), EPROM (erasable PROM), EEPROM (electrically erasable PROM), or flash memory.

<第1処理部>
第1処理部1は、第1処理装置10を含んでいる。第1処理部1は、主に第1処理装置10で構成され、例えば第1処理装置10及びその周辺部品(図示せず)で構成される。第1処理装置10は、マイコンやASICなどの半導体装置からなり、例えば内蔵されたプログラムに従って動作する。第1処理装置10は、好ましくは、演算機能、比較機能、記憶機能などを有しており、検知部50で取得される検知情報に基づいて出力部40から警報を発報する警報機能を全体的に制御する。
<First processing section>
The first processing section 1 includes a first processing device 10. The first processing unit 1 mainly includes a first processing device 10, and includes, for example, the first processing device 10 and its peripheral parts (not shown). The first processing device 10 is composed of a semiconductor device such as a microcomputer or an ASIC, and operates according to a built-in program, for example. The first processing device 10 preferably has a calculation function, a comparison function, a storage function, etc., and has an overall alarm function of issuing an alarm from the output section 40 based on the detection information acquired by the detection section 50. control.

第1処理装置10は、例えば、検知部50による周囲環境の監視動作の開始や停止を制御する。また、第1処理装置10は、検知部50から送られる検知情報が示す、一酸化炭素やガスの濃度、周囲の温度、及び、煙の濃度などが、所定の閾値を超えているか否かを判断する。そして、温度や濃度などが閾値を超えている場合には、例えばその超過の程度に応じて警報の態様(音声の鳴動の仕方や、前述した発光ダイオードにおける発光の仕方など)を決定し、決定した方法で、出力部40に警報を発報させる。第1処理装置10は、一例として、出力部40に、警報や各種の情報を伝える音声を発しさせる。 The first processing device 10 controls, for example, the start and stop of the monitoring operation of the surrounding environment by the detection unit 50. The first processing device 10 also determines whether the concentration of carbon monoxide or gas, ambient temperature, smoke concentration, etc. indicated by the detection information sent from the detection unit 50 exceeds a predetermined threshold value. to decide. If the temperature, concentration, etc. exceed the threshold, the mode of the alarm (how the sound sounds, how the light emitting diode mentioned above emits light, etc.) is determined depending on the extent of the exceedance. The output unit 40 is caused to issue an alarm using the method described above. For example, the first processing device 10 causes the output unit 40 to emit a sound that conveys a warning or various information.

<第2処理部>
第2処理部2は、第2処理装置20を含んでいる。第2処理部2は、主に第2処理装置20で構成され、例えば第2処理装置20及びその周辺部品(図示せず)で構成される。通信機能を制御する図1の例の第2処理部2において第2処理装置20は、警報器100と外部機器Eとの通信に必要な動作を全体的に制御する。第2処理装置20は、マイコンやASICなどの半導体装置からなり、好ましくは、演算機能や記憶機能、及び比較機能などを有している。第2処理装置20は、外部機器Eのような通信先から、光や映像で伝えるべき情報、又は音声で伝えるべき情報を受信すると、出力部40に光や音声を発しさせて受信情報を報知する。
<Second processing section>
The second processing section 2 includes a second processing device 20 . The second processing unit 2 mainly includes the second processing device 20, and includes, for example, the second processing device 20 and its peripheral components (not shown). In the second processing unit 2 in the example of FIG. 1 that controls the communication function, the second processing device 20 controls the entire operation necessary for communication between the alarm device 100 and the external device E. The second processing device 20 is made of a semiconductor device such as a microcomputer or an ASIC, and preferably has an arithmetic function, a storage function, a comparison function, and the like. When the second processing device 20 receives information to be conveyed by light or video, or information to be conveyed by voice from a communication destination such as the external device E, the second processing device 20 causes the output unit 40 to emit light or voice to notify the received information. do.

図1の第2処理装置20は、記憶手段20aを有しており、ソフトウェアSWが記憶手段20aに書き込まれている。ソフトウェアSWは、第2処理装置20が行う動作に関する命令が記述された制御プログラムなどのソフトウェアを含んでいる。第2処理装置20は、ソフトウェアSWが含む命令に従って動作する。記憶手段20aは、例えば、ROM、PROM、EPROM、EEPROM、又はフラッシュメモリなどの各種のメモリで構成される。 The second processing device 20 in FIG. 1 has a storage means 20a, and software SW is written in the storage means 20a. The software SW includes software such as a control program in which commands related to operations performed by the second processing device 20 are written. The second processing device 20 operates according to instructions included in the software SW. The storage means 20a is composed of various types of memory such as ROM, PROM, EPROM, EEPROM, or flash memory.

通信部21は、無線通信又は有線通信によって外部機器Eとの間で信号を送受する。通信部21は、外部機器Eと警報器100との間で電気信号を送受するように構成された、集積回路装置や個々の部品からなる電気回路などのハードウェアにより構成される。通信部21は、外部機器Eとの通信に必要となる、アナログ/デジタル変換やレベル変換、増幅、合成、分解、変調、復調などの信号処理、リンクの設定、及び/又は誤り制御、などを行う。通信部21は、このような信号処理を行うように設計されたASICなどからなる通信制御IC、又はモデムIC、及びその周辺回路で構成されていてもよい。通信部21は、第2処理装置20と一体の集積回路装置として構成されていてもよい。 The communication unit 21 transmits and receives signals to and from the external device E through wireless communication or wired communication. The communication unit 21 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 communication unit 21 performs signal processing such as analog/digital conversion, level conversion, amplification, synthesis, decomposition, modulation, and demodulation, link setting, and/or error control, which are necessary for communication with the external device E. conduct. The communication unit 21 may include a communication control IC such as an ASIC designed to perform such signal processing, or a modem IC, and its peripheral circuits. The communication unit 21 may be configured as an integrated circuit device integrated with the second processing device 20.

図1の警報器100において第2処理部2が制御する通信は、無線回線又は有線回線を介した外部機器Eとの間の直接的な通信であってもよく、無線回線又は有線回線で接続された、例えばインターネットやローカルエリアネットワーク(LAN)などのネットワークNを介した外部機器Eとの間での通信であってもよい。外部機器Eとしては、警報器100以外の同種、又は検知対象の異なる警報器、並びに、警報器100の動作を監視若しくは制御する、及び/又は、警報器100での検知結果若しくは警報発報経過を収集して統計処理若しくは解析するサーバーのような情報処理装置が例示される。さらに、インターネットなどのネットワークNに繋がり得る警報器100にとって、外部機器Eは、各者各様の情報を提供する任意の個人又は機関がネットワークNに接続可能な態様で設置する、サーバー、データベース、及び/又は情報処理装置などであり得る。 The communication controlled by the second processing unit 2 in the alarm device 100 of FIG. 1 may be direct communication with the external device E via a wireless line or a wired line, and the communication is connected via a wireless line or a wired line. For example, the communication may be with an external device E via a network N such as the Internet or a local area network (LAN). 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. Furthermore, for the alarm device 100 that can be connected to a network N such as the Internet, an external device E is a server, a database, etc. installed in a manner that allows any individual or institution that provides information for each person to connect to the network N. and/or an information processing device.

<受付部>
受付部70は、例えば警報器100のユーザーや管理者などによる警報器100に対する手動操作を受け付ける(以下では、受付部70に対する手動操作の行為者を単に「操作者」と総称する)。受付部70は、警報器100に対して種々の所定の動作の実行を指示すべく操作者が行う手動操作を受け付ける。受付部70への手動操作による指示は、電気信号などに変換されて第1処理装置10及び/又は第2処理装置20に伝えられる。その手動操作によって指示される動作が、いずれか又は両方の処理装置で実行される。図1の警報器100は一つの受付部70を備えている。しかし、本実施形態の警報器100は、互いに独立した手動操作が可能な1以上の任意の数の受付部70を備え得る。
<Reception Department>
The reception unit 70 accepts manual operations on the alarm device 100 by, for example, a user or an administrator of the alarm device 100 (hereinafter, the person performing the manual operation on the reception unit 70 will be simply referred to as an “operator”). The receiving unit 70 receives manual operations performed by an operator to instruct the alarm device 100 to perform various predetermined operations. A manual instruction to the reception unit 70 is converted into an electrical signal or the like and transmitted to the first processing device 10 and/or the second processing device 20. The operation indicated by the manual operation is executed by either or both processing devices. The alarm device 100 in FIG. 1 includes one reception section 70. However, the alarm device 100 of this embodiment may include one or more reception units 70 that can be manually operated independently of each other.

<第2処理部の初期化>
このように本実施形態の警報器100は、操作者の手動操作を受け付ける受付部70を備えている。そして、本実施形態の警報器100は、所定の手動操作が受付部70に対して行われることによって第2処理部2の所定の初期化動作を実行するように構成されている。なお、本明細書において、警報器100、第1処理装置10、又は第2処理装置20が特定の動作又は処理を行うように(又は行わないように)「構成されている」は、警報器100、第1処理装置10、及び/又は第2処理装置20にその特定の動作又は処理を行わせる(又は行わせない)命令が、各処理装置の動作や処理を記述するプログラムに含まれていることを含んでいる。
<Initialization of the second processing section>
As described above, the alarm device 100 of this embodiment includes the receiving section 70 that receives manual operations from the operator. The alarm device 100 of this embodiment is configured to execute a predetermined initialization operation of the second processing section 2 by performing a predetermined manual operation on the receiving section 70. Note that in this specification, "configured" so that the alarm device 100, the first processing device 10, or the second processing device 20 performs (or does not perform) a specific operation or process refers to the alarm device. 100, an instruction that causes the first processing device 10 and/or the second processing device 20 to perform (or not perform) the specific operation or processing is included in a program that describes the operation or processing of each processing device. It includes being present.

本実施形態では、このように受付部70に対して所定の手動操作が行われると第2処理部2の所定の初期化動作が実行される。第2処理部2の「初期化」は、第2処理部2の構成要素の一部又は全部を、警報器100の製造工場からの出荷時の状態、警報器100の稼働開始時の状態、又は、警報器100とネットワークNとが接続される前の状態に戻すことであり得る。或いは、第2処理部2の「初期化」は、第2処理部2の構成要素の一部又は全部を、第2処理部2の適切な初期化後の状態として第2処理部2内(例えば記憶手段20a内)や記憶手段30内に記憶されている特定の状態にすることであってもよい。 In this embodiment, when a predetermined manual operation is performed on the reception unit 70 in this way, a predetermined initialization operation of the second processing unit 2 is executed. "Initialization" of the second processing section 2 means to set some or all of the components of the second processing section 2 to the state at the time of shipment from the manufacturing factory of the alarm device 100, the state at the time of the start of operation of the alarm device 100, Alternatively, it may be possible to return to the state before the alarm device 100 and network N were connected. Alternatively, "initialization" of the second processing section 2 may be performed by setting some or all of the constituent elements of the second processing section 2 to an appropriate initialized state within the second processing section 2 ( For example, it may be a specific state stored in the storage means 20a) or the storage means 30.

すなわち、第2処理部2は、所定の手動操作による初期化によって、警報器100の工場出荷時から稼働開始時までの状態、又は適切な状態として予め用意された状態などへと遷移する。例えば、第2処理装置20に内蔵されているソフトウェアSWがバグを含むアップデート用データでアップデート(すなわち変更)されて正常に動作し得ない状態に陥っている場合は、初期化によって第2処理装置20がそのアップデート前の状態(変更前の状態)へと戻される。第2処理装置20の不適切な動作によって第1処理部1による警報機能が阻害される状況に陥っていても、その阻害が解消される。本実施形態の警報器100は、このように操作者による所定の手動操作によって第2処理部2の初期化が可能なように構成されているので、警報機能を適切に発揮し得る状態に復帰することができる。 That is, the second processing unit 2 changes the state of the alarm device 100 from the time it is shipped from the factory until the start of operation, or a state prepared in advance as an appropriate state, by initialization by a predetermined manual operation. For example, if the software SW built in the second processing device 20 has been updated (i.e., changed) with update data that includes a bug and is in a state where it cannot operate normally, the software SW built in the second processing device 20 can be initialized. 20 is returned to its pre-update state (pre-change state). Even if the warning function of the first processing unit 1 is inhibited due to inappropriate operation of the second processing device 20, the inhibition is resolved. The alarm device 100 of the present embodiment is configured such that the second processing section 2 can be initialized by a predetermined manual operation by the operator, so that the alarm device 100 returns to a state where the alarm function can be properly performed. can do.

このような本実施形態の警報器がもたらす効果について詳述すると、警報器100では、図1に示されるように第2処理装置20は、警報機能を制御する第1処理装置10と別個に設けられている。そのため、例えば通信プロトコルのバージョンアップなどに応じて第2処理装置20のソフトウェアSWがアップデートされる場合、そのアップデートの不具合から直接影響を受けて警報機能が停止するようなことは起こり難い。また、第1処理装置10が、警報機能以外の機能を制御する負荷から解放される。 To explain in detail the effects brought about by the alarm device of this embodiment, in the alarm device 100, as shown in FIG. 1, the second processing device 20 is provided separately from the first processing device 10 that controls the alarm function. It is being Therefore, when the software SW of the second processing device 20 is updated in accordance with, for example, a version upgrade of the communication protocol, it is unlikely that the alarm function will be directly affected by a defect in the update and stop the alarm function. Furthermore, the first processing device 10 is freed from the burden of controlling functions other than the alarm function.

一方、第2処理装置20が独自に動作すると、例えば外部機器Eとの通信に基づいて第2処理部2が出力部40に発しさせる音声で、警報などの音声が阻害されることがある。第2処理装置20が第1処理装置10の制御を受ける構成ではこのような事態が回避され易いが、例えば前述したようなアップデートの不具合で、第2処理装置20が第1処理装置10の制御から逸脱してしまうことも起こり得る。また、外部のネットワークNと繋がり得る第2処理装置20では、このような第1処理装置10の制御からの離反が、ネットワークNに繋がる任意の外部機器Eからの好ましくない情報の受信の結果としてもたらされることもある。さらに、第1処理装置10の制御を受け付けるべく設けられている第2処理装置20の特定の入力ポートが故障することも考えられる。 On the other hand, when the second processing device 20 operates independently, the sound such as an alarm may be obstructed by the sound that the second processing section 2 causes the output section 40 to emit based on communication with the external device E, for example. In a configuration in which the second processing device 20 is controlled by the first processing device 10, this kind of situation can be easily avoided. It is also possible to deviate from this. In addition, in the second processing device 20 that can be connected to the external network N, such separation from the control of the first processing device 10 may occur as a result of receiving unfavorable information from any external device E connected to the network N. Sometimes it is brought. Furthermore, it is also conceivable that a particular input port of the second processing device 20 provided to receive control of the first processing device 10 may fail.

このように第2処理装置20が第1処理装置10の制御から離反している状態では、第1処理装置10は正常であるにも拘わらず、第2処理装置20側での処理によって警報機能が意図通りに発揮されなくなることがある。例えば、前述したように音声による警報が、通信に基づく音声に掻き消されてユーザーなどに届かない、若しくは聴取され難くなることがある。すなわち、第1処理装置10と第2処理装置20とが別個に設けられているにも拘わらず、警報器100の稼働開始後の第2処理装置20の状態の変化によって、警報機能が適切に発揮されない状態に陥ることがある。特に第2処理装置20が第1処理装置10の制御を受け付けない状態にまで至っていると、第1処理装置10では第2処理装置20を正常な状態に戻し得ない。そもそも第1処理装置10は第2処理装置20の異常に気付き得ない。従って警報器100自身で、警報機能を適切に発揮し得る状態に復旧するのは困難である。そのため、警報器の交換や、業者による修理が必要になり易く、その交換や修理が終わるまでの間、実質的に無監視の環境下にユーザーなどが置かれることになり易い。 In this state where the second processing device 20 is separated from the control of the first processing device 10, even though the first processing device 10 is normal, the alarm function is not activated by the processing on the second processing device 20 side. may not be performed as intended. For example, as described above, an audio warning may be drowned out by the audio from the communication and may not reach the user or may be difficult to hear. That is, even though the first processing device 10 and the second processing device 20 are provided separately, the alarm function may not function properly due to a change in the state of the second processing device 20 after the alarm device 100 starts operating. You may find yourself in a state where you are not performing well. In particular, if the second processing device 20 reaches a state where it does not accept control from the first processing device 10, the first processing device 10 cannot return the second processing device 20 to a normal state. In the first place, the first processing device 10 cannot notice any abnormality in the second processing device 20. Therefore, it is difficult for the alarm device 100 itself to restore itself to a state where it can properly perform its alarm function. Therefore, the alarm device tends to need to be replaced or repaired by a trader, and until the replacement or repair is completed, the user is likely to be placed in a substantially unmonitored environment.

このように警報器100自身で警報機能に不具合が生じていることに気付かず、故に自律的に正常状態に復旧できないときでも、ユーザーなどは出力部40の音声や表示によって警報機能の不具合に気づき得るときがある。しかし、その不具合に気づいたユーザーなどが不具合解消のために取り得る手段が備わっていないと、やはり警報機能の不具合の早期解消は困難なままである。 In this way, even when the alarm device 100 itself does not notice that there is a malfunction in the alarm function and therefore cannot autonomously restore the normal state, the user etc. can notice the malfunction in the alarm function by the sound and display on the output unit 40. Sometimes you get it. However, unless a user who notices the problem is equipped with a means to resolve the problem, it will still be difficult to quickly resolve the problem with the alarm function.

そこで、本実施形態の警報器100は、手動操作を受け付ける受付部70を備え、所定の手動操作が受付部70に対して行われると、第2処理装置20を含む第2処理部2の所定の初期化動作を実行するように構成されている。警報器100が正常に動作していないことに気づいた操作者は、所定の手動操作を受付部70に行うことによって、第2処理部2を、例えば警報器100の稼働開始前の状態に戻すこと、又は、適切な状態として予め用意された状態へと移行させることができる。警報器100の稼働開始時に第2処理装置20が第1処理装置10の制御に従っていたのであれば、第2処理装置20に対する第1処理装置10の制御が有効な状態に警報器100を戻すことができる。例えば警報の発報時に音声を発しないように第1処理装置10が第2処理装置20を制御するような構成の場合は、第2処理装置20は警報時に音声を出力部40に発しさせない。 Therefore, the alarm 100 of the present embodiment includes a reception section 70 that receives manual operations, and when a predetermined manual operation is performed on the reception section 70, a predetermined number of the second processing section 2 including the second processing device 20 is activated. is configured to perform initialization operations. The operator who notices that the alarm device 100 is not operating normally returns the second processing section 2 to the state before the alarm device 100 started operating, for example, by performing a predetermined manual operation on the reception section 70. Alternatively, it is possible to transition to a state prepared in advance as an appropriate state. If the second processing device 20 was under the control of the first processing device 10 when the alarm device 100 started operating, return the alarm device 100 to a state where the control of the first processing device 10 on the second processing device 20 is valid. I can do it. For example, in the case of a configuration in which the first processing device 10 controls the second processing device 20 so as not to emit a sound when an alarm is issued, the second processing device 20 does not cause the output unit 40 to emit a sound when an alarm is issued.

従って音声による警報を、阻害されることなく聴取し易い状態で、ユーザーに届けることができる。すなわち、第2処理部2の動作によって警報機能が阻害される状況に陥っていても、さらに、第2処理部2が自律的に又は第1処理部1による制御の下で正常な状態に復帰できない状態になっていても、その阻害を解消することができる。このように本実施形態の警報器では、所定の手動操作による第2処理部2の初期化が可能なので、内部状態の変化によって第2処理部2のような警報器の一部が機能しない状態に陥っても、ユーザーなどの操作者の意志の下で、警報器を正常に機能し得る状態に復帰させることができる。 Therefore, the audio warning can be delivered to the user in a state where it can be easily heard without being disturbed. That is, even if the alarm function is inhibited by the operation of the second processing section 2, the second processing section 2 can return to a normal state autonomously or under the control of the first processing section 1. Even if you are unable to do so, you can overcome the obstacles. In this way, in the alarm device of this embodiment, it is possible to initialize the second processing section 2 by a predetermined manual operation, so that a part of the alarm device such as the second processing section 2 may not function due to a change in the internal state. Even if the alarm device falls into a state of failure, it is possible to restore the alarm device to a state where it can function normally under the will of an operator such as a user.

<手動操作>
図2には、受付部70が受け付ける手動動作の幾つかの例として、家屋内に設置された警報器100への手動操作が模式的に示されている。一例として、受付部70は、図2に示されるように、受付部70に触れるような操作者の物理的操作Mを受け付ける。その場合、受付部70は、操作者による接触、押し込み若しくは引き出し、又は、ずらし、などの物理的操作が可能なような態様で、例えば筐体60などに設けられる。このように物理的な手動操作を受け付ける受付部70の構成要素としては、外部から視認及び接触可能に警報器100に設けられる各種のスイッチが例示される。受付部70がスイッチで構成される場合、そのスイッチの操作される部分が、筐体60から露出して設けられる操作ボタンに連結されてもよい。受付部70として用いられるスイッチとしては、押し釦スイッチやトグルスイッチなどが例示されるが、これらに限定されない。例えば、受付部70は、タッチパネルやキーパッドのような入力装置であってもよい。
<Manual operation>
FIG. 2 schematically shows manual operations on the alarm 100 installed in the house as some examples of manual operations accepted by the reception unit 70. As an example, the reception unit 70 accepts a physical operation M by an operator such as touching the reception unit 70, as shown in FIG. In that case, the reception unit 70 is provided in the housing 60, for example, in such a manner that it can be physically manipulated by an operator, such as touching, pushing or pulling out, or shifting. Examples of components of the reception unit 70 that accept physical manual operations include various switches provided on the alarm device 100 so as to be visible and accessible from the outside. When the reception unit 70 is configured with a switch, an operated portion of the switch may be connected to an operation button provided exposed from the housing 60. Examples of the switch used as the reception unit 70 include a push button switch and a toggle switch, but the switch is not limited to these. For example, the reception unit 70 may be an input device such as a touch panel or a keypad.

受付部70として用いられる押し釦スイッチは、操作中のみ押し込まれて、操作が終了すると自動復帰するタクタイルスイッチが好ましいことがある。受付部70がタクタイルスイッチで構成されている場合、押し込まれる時間の長さや一定時間内に繰り返される押し込みの回数の違いによって、異なる動作の実行が警報器100に指示されてもよい。そして、任意に選択された特定の時間に渡る押し込みが、第2処理部2に初期化動作の実行を指示する「所定の手動操作」であってもよく、任意に選択された特定の時間内に繰り返される特定の回数の押し込みが「所定の手動操作」であってもよい。 The push button switch used as the receiving section 70 may preferably be a tactile switch that is pressed only during operation and automatically returns when the operation is completed. If the reception unit 70 is configured with a tactile switch, the alarm device 100 may be instructed to perform different operations depending on the length of time the switch is pressed or the number of times the switch is pressed repeatedly within a certain period of time. The pressing for an arbitrarily selected specific time may be a "predetermined manual operation" that instructs the second processing unit 2 to perform the initialization operation, and the pressing for an arbitrarily selected specific time A specific number of times of pressing that is repeated may be a "predetermined manual operation."

また、受付部70は、受付部70に直接触れるような警報器100に対する操作者の直接的な物理的操作ではなく、光などの電磁波、音波、又は電波などの媒体を介する手動操作を受け付けてもよい。すなわち、受付部70は、警報器100に指示を与えるべく警報器100と別個の機器に対して行われる手動操作で発せられる光、音、又は電波などを、所定の動作の実行を指示する手動操作として受け付けてもよい。この場合、受付部70は、光を電気信号に変換するフォトダイオードなどの光電変換素子、音を電気信号に変換するマイクロホンのような音感素子、又は、電波を受信するアンテナなどを有する受信素子で構成されてもよい。電波を受け付ける受付部70は、通信部21(図1参照)で代用されてもよい。 Further, the reception unit 70 accepts manual operation via a medium such as electromagnetic waves such as light, sound waves, or radio waves, rather than a direct physical operation of the operator on the alarm 100 by directly touching the reception unit 70. Good too. That is, the reception unit 70 transmits light, sound, radio waves, etc. emitted by a manual operation performed on a device separate from the alarm 100 in order to give an instruction to the alarm 100, to a manual operation that instructs the alarm 100 to execute a predetermined operation. It may be accepted as an operation. In this case, the receiving unit 70 is a receiving element having a photoelectric conversion element such as a photodiode that converts light into an electrical signal, a sound sensing element such as a microphone that converts sound into an electrical signal, or an antenna that receives radio waves. may be configured. The reception unit 70 that receives radio waves may be replaced by the communication unit 21 (see FIG. 1).

電波や光などで媒介される手動操作を受付部70が受け付ける場合、操作者は、その手動操作として、例えば近距離通信で警報器100と結ばれた、警報器100の付属リモコンのような専用端末に対して直接的な手動操作を行うことができる。また、操作者は、受付部70に対する手動操作として、アプリケーションプログラムによって専用端末化されて近距離通信で警報器100と結ばれた、スマートフォンなどの各種の汎用携帯端末に対して直接的な手動操作を行うことも可能である(以下では、専用端末と専用端末化された汎用携帯端末は「専用端末類」と総称され、図2には符号「Pn」を添えて示されている)。専用端末類Pnが用いる近距離通信は、例えば、Bluetooth(登録商標)やWi-Fi(登録商標)などの近距離無線通信、又は、IrDAなどの光無線通信であり得るが、これらに限定されない。さらに、操作者は、受付部70に対する手動操作として、ネットワークNや通信事業者の基地局Bを介して警報器100の通信部21と有線通信や無線通信で結ばれている外部機器Eや、遠方のスマートフォンなどの端末Prに対して直接的な手動操作を行うことも可能である。 When the reception unit 70 accepts a manual operation mediated by radio waves, light, etc., the operator uses a dedicated remote control such as the attached remote control of the alarm device 100, which is connected to the alarm device 100 by short-range communication, for example, as the manual operation. Direct manual operations can be performed on the terminal. In addition, as a manual operation for the reception unit 70, the operator performs a direct manual operation on various general-purpose mobile terminals such as a smartphone, which are converted into a dedicated terminal by an application program and connected to the alarm 100 by short-range communication. (Hereinafter, dedicated terminals and general-purpose portable terminals that have been converted into dedicated terminals are collectively referred to as "dedicated terminals," and are shown with the symbol "Pn" in FIG. 2.) The short-range communication used by the dedicated terminals Pn may be, for example, short-range wireless communication such as Bluetooth (registered trademark) or Wi-Fi (registered trademark), or optical wireless communication such as IrDA, but is not limited to these. . Furthermore, as a manual operation for the reception unit 70, the operator can use an external device E connected to the communication unit 21 of the alarm 100 by wired communication or wireless communication via the network N or the base station B of the communication carrier. It is also possible to perform direct manual operation on a remote terminal Pr such as a smartphone.

このように受付部70に対する「手動操作」は、警報器100とは別個の機器に対して行われてもよい。一方、操作者がその生起に介在せずに警報器100の内部で生じるか又は外部で生じて警報器100に送られる、警報器100に特定の動作をさせる指示の生成は、「手動操作」に含まれない。例えば警報器100の内蔵プログラムや外部機器Eの制御プログラムに記述された、警報器100に特定の動作の実行を命ずる命令の実行は「手動操作」に含まれない。 In this way, the "manual operation" of the reception unit 70 may be performed on a separate device from the alarm device 100. On the other hand, generation of an instruction to cause the alarm 100 to perform a specific operation, which is generated inside the alarm 100 or generated externally and sent to the alarm 100 without the operator intervening in its generation, is "manual operation". Not included in For example, the execution of a command written in a built-in program of the alarm device 100 or a control program of the external device E that instructs the alarm device 100 to perform a specific operation is not included in "manual operation."

<所定の手動操作>
第2処理部2に初期化動作を実行させる「所定の手動操作」は、前述された、受付部70が受け付ける「手動操作」のうちから任意に選択された特定の態様の操作であり得る。一例として、受付部70が前述したタクタイルスイッチである場合、受付部70であるタクタイルスイッチの例えば5秒以上の押し込みが「所定の手動操作」であってよく、例えば5秒以内の5回以上の押し込みが「所定の手動操作」であってもよい。他の例として受付部70がトグルスイッチである場合も、トグルスイッチを2つの状態のうちの一方の状態に特定の時間以上置くことが「所定の手動操作」であってよく、2つの状態間でトグルスイッチを特定時間内に特定回数以上切り替えることが「所定の手動操作」であってもよい。
<Specified manual operation>
The "predetermined manual operation" that causes the second processing unit 2 to perform the initialization operation may be a specific type of operation arbitrarily selected from among the above-mentioned "manual operations" accepted by the reception unit 70. As an example, if the reception unit 70 is the above-mentioned tactile switch, pressing the tactile switch that is the reception unit 70 for, for example, 5 seconds or more may be a "predetermined manual operation"; The pushing may be a "predetermined manual operation." As another example, in the case where the reception unit 70 is a toggle switch, leaving the toggle switch in one of two states for a specific period of time or more may be a "predetermined manual operation", and between the two states. The "predetermined manual operation" may be to switch the toggle switch a specific number of times or more within a specific time.

また「所定の手動操作」は、受付部70がタッチパネルである場合、タッチパネルに表示される特定のアイコンをタッチすることであってもよく、指先やタッチペンで予め定められた特定の軌跡をタッチパネル上で描くことであってもよい。また「所定の手動操作」は、受付部70がキーパッドである場合、予め定められた特定のパターンのタイピングを行うことであり得る。さらに、所定の手動操作が、前述した専用端末類Pn、又はインターネットなどを介して警報器100と接続された外部機器Eに対する直接的な手動操作によって行われる場合は、「所定の手動操作」は、専用端末類Pn又は外部機器Eから、予め選択された、特定のコマンド、特定のメッセージ、又は、特定のプロトコルデータユニットを警報器100に送ることであってもよい。このような「所定の手動操作」を受付部70が受け付けると、第2処理部2において初期化が実行される。 In addition, when the reception unit 70 is a touch panel, the "predetermined manual operation" may include touching a specific icon displayed on the touch panel, or moving a specific predetermined trajectory on the touch panel with a fingertip or touch pen. It can also be drawn with Furthermore, when the reception unit 70 is a keypad, the "predetermined manual operation" may be typing in a specific predetermined pattern. Furthermore, if the predetermined manual operation is performed by direct manual operation on the external device E connected to the alarm 100 via the above-mentioned dedicated terminals Pn or the Internet, the "predetermined manual operation" , a specific command, a specific message, or a specific protocol data unit selected in advance may be sent to the alarm device 100 from the dedicated terminal Pn or the external device E. When the receiving unit 70 receives such a “predetermined manual operation”, the second processing unit 2 executes initialization.

本実施形態の警報器100は、受付部70に対する「所定の手動操作」だけでなく、「所定の手動操作」と共に、受付部70に対する操作以外の操作が行われるときに、第2処理部2の所定の初期化動作を行うように構成されていてもよい。この場合、第2処理部2の初期化が意図せず誤って実行されることを防止できることがある。例えば、電源プラグ61を備える図1の例の警報器100は、受付部70に対する「所定の手動操作」、及び、電源プラグ61と商用電源との接続又は分離が行われることによって、第2処理部2の所定の初期化動作を実行するように構成されていてもよい。すなわち、受付部70に対する「所定の手動操作」と共に、警報器100への電力の供給の開始又は停止が行われるときに、第2処理部2の初期化が行われてもよい。 The alarm device 100 of the present embodiment not only performs a "predetermined manual operation" on the reception section 70 but also performs a "predetermined manual operation" as well as an operation other than the operation on the reception section 70 when the second processing section 2 may be configured to perform a predetermined initialization operation. In this case, it may be possible to prevent the initialization of the second processing unit 2 from being performed unintentionally and erroneously. For example, the alarm device 100 of the example shown in FIG. The unit 2 may be configured to perform a predetermined initialization operation. That is, the second processing unit 2 may be initialized when the “predetermined manual operation” on the reception unit 70 is performed and the supply of power to the alarm device 100 is started or stopped.

例えば、電源プラグ61が、商用電源に接続されたプラグソケット(コンセント、図示せず)に接続されていない状態で、受付部70として設けられているタクタイルスイッチが押し込まれ、その状態で電源プラグ61がコンセントに差し込まれると、第2処理部2の所定の初期化動作が実行されてもよい。或いは、電源プラグ61がプラグソケットに接続された状態で「所定の手動操作」が行われる。それだけでは第2処理部2の初期化は実行されないが、「所定の手動操作」が行われている状態で、コンセントから一旦電源プラグ61が分離されて、「所定の手動操作」が停止されてから(若しくは継続されたまま)再度接続されると、第2処理部2の所定の初期化動作が実行されてもよい。 For example, in a state where the power plug 61 is not connected to a plug socket (outlet, not shown) connected to a commercial power source, the tactile switch provided as the reception part 70 is pushed in, and in that state, the power plug 61 When it is plugged into an outlet, a predetermined initialization operation of the second processing section 2 may be performed. Alternatively, a "predetermined manual operation" is performed while the power plug 61 is connected to the plug socket. This alone does not initialize the second processing unit 2, but when the "predetermined manual operation" is being performed, the power plug 61 is temporarily separated from the outlet and the "predetermined manual operation" is stopped. When the connection is resumed (or continued), a predetermined initialization operation of the second processing unit 2 may be executed.

この場合、警報器100には、電源プラグ61がコンセントから分離されたときに「所定の手動操作」が行われていたという電力供給停止時の受付部70の状態を記憶する、EEPROMのような不揮発性メモリが備えられる。電力供給時停止時の受付部70の状態は、図1の例の警報器100にあっては、記憶手段30、第2処理装置20内の記憶手段20a、又は第1処理装置10がEEPOMなどの記憶手段を備える場合はその記憶手段に、記憶され得る。 In this case, the alarm 100 has a memory such as an EEPROM that stores the state of the reception unit 70 at the time of the power supply stop, indicating that a "predetermined manual operation" was being performed when the power plug 61 was disconnected from the outlet. Non-volatile memory is provided. In the alarm device 100 of the example of FIG. 1, the state of the reception unit 70 at the time of power supply stop is determined by the storage means 30, the storage means 20a in the second processing device 20, or the state of the first processing device 10 such as EEPOM. If the storage means is provided, the information can be stored in the storage means.

本実施径形態における受付部70は、上記に例示される「所定の手動操作」に加えて、「所定の手動操作」とは異なる態様の手動操作を受け付けるように構成されていてもよい。そして本実施径形態の警報器100は、「所定の手動操作」以外の手動操作を受付部70で受け付けると、第2処理部20の「所定の初期化動作」以外の動作を実行するように構成されていてもよい。このように構成される警報器100では、僅かな数の受付部70を備えるだけで、第2処理部2の初期化を含む2以上の種類の動作の実行を警報器100に指示することができる。受付部70が「所定の手動操作」以外の手動操作を受け付けたときに実行される動作は、例えば警報器100の自主点検、発報中の警報の停止、動作モードの切り替え(例えば通常モードと省電力モード)、警報音の音量の変更、などであり得るが、これらに限定されない。 In addition to the "predetermined manual operation" exemplified above, the reception unit 70 in this embodiment may be configured to receive a manual operation in a manner different from the "predetermined manual operation". When the reception unit 70 receives a manual operation other than the “predetermined manual operation”, the alarm device 100 of this embodiment causes the second processing unit 20 to perform an operation other than the “predetermined initialization operation”. may be configured. In the alarm device 100 configured in this way, only by including a small number of receiving sections 70, it is possible to instruct the alarm device 100 to perform two or more types of operations including initialization of the second processing section 2. can. Operations executed when the receiving unit 70 receives a manual operation other than a "predetermined manual operation" include, for example, self-inspection of the alarm device 100, stopping an alarm in progress, and switching the operation mode (for example, between normal mode and This may include, but is not limited to, changing the volume of the alarm sound, etc.

「所定の手動操作」以外の手動操作は、「所定の手動操作」以外の任意の手動操作であり得る。例えば、受付部70が前述したタクタイルスイッチである場合、「所定の手動操作」以外の手動操作は、「所定の手動操作」としての押し込み時間よりも短い(例えば5秒未満の)タクタイルスイッチの押し込みであり得る。或いは、特定時間(例えば5秒)以内の「所定の手動操作」としての押し込み回数よりも少ない回数の押し込みが「所定の手動操作」以外の手動操作であってもよい。受付部70がトグルスイッチである場合も、「所定の手動操作」としてのトグルスイッチの2つの状態間での切り替え態様と異なる態様でトグルスイッチを2つの状態間で切り替えることが「所定の手動操作」以外の手動操作であり得る。 The manual operation other than the "predetermined manual operation" may be any manual operation other than the "predetermined manual operation." For example, if the reception unit 70 is the above-mentioned tactile switch, manual operations other than the "predetermined manual operation" may be a press of the tactile switch that is shorter than the press time (for example, less than 5 seconds) as the "predetermined manual operation". It can be. Alternatively, a manual operation other than the "predetermined manual operation" may be a number of presses smaller than the number of presses as the "predetermined manual operation" within a specific time (for example, 5 seconds). Even when the reception unit 70 is a toggle switch, switching the toggle switch between two states in a manner different from the manner in which the toggle switch is switched between two states as a "predetermined manual operation" is a "predetermined manual operation". It may be a manual operation other than ``.

また受付部70がタッチパネルである場合、「所定の手動操作」以外の手動操作は、「所定の手動操作」として表示されるアイコン以外のアイコンをタッチすることであってもよく、「所定の手動操作」として描かれるべき軌跡と異なる軌跡を指先などで描くことであってもよい、また、受付部70がキーパッドである場合、「所定の手動操作」以外の手動操作は、「所定の手動操作」としてタイプされるパターンと異なるパターンでタイピングを行うことであり得る。同様に、所定の手動操作が前述した専用端末類Pnや外部機器Eに対する直接的な手動操作によって行われる場合は、「所定の手動操作」として送られるコマンドやメッセージなどと異なるコマンドやメッセージを送ることが「所定の手動操作」以外の手動操作であり得る。 Further, when the reception unit 70 is a touch panel, manual operations other than "predetermined manual operation" may be performed by touching an icon other than the icon displayed as "predetermined manual operation". In addition, if the reception unit 70 is a keypad, manual operations other than the "predetermined manual operation" may be performed by drawing a different trajectory than the one that should be drawn as the "predetermined manual operation". It may be possible to type in a pattern different from the pattern typed as "operation". Similarly, if the predetermined manual operation is performed by direct manual operation on the dedicated terminal Pn or external device E mentioned above, a command or message different from the command or message sent as the "predetermined manual operation" is sent. This may be a manual operation other than the "predetermined manual operation."

上記のように、受付部70が第2処理部2の所定の初期化動作以外の動作(例えば発報中の警報の停止)の実行の指示にも用いられる場合、「所定の手動操作」は、第2処理部2の所定の初期化動作以外の動作を指示するための操作よりも、煩雑若しくは難度の高い操作であることが好ましい。また、上記と異なり第2処理部2の所定の初期化動作を指示する「所定の手動操作」だけを受付部70が受け付ける構成の場合、受付部70は、筐体60においてユーザーにとって操作し難い位置に設けられてもよい。例えば、受付部70を含むユーザーによる操作が可能な複数の受付部が筐体60に備えられる場合、好ましくは、「所定の手動操作」のみを受け付ける受付部70は、他の受付部よりも操作し難い位置に設けられる。ユーザーの不注意などによる意図せぬ初期化動作の実行を防止できることがある。 As described above, when the reception unit 70 is also used to instruct the second processing unit 2 to perform an operation other than the predetermined initialization operation (for example, stopping an alarm that is currently being issued), the “predetermined manual operation” is , it is preferable that the operation is more complicated or difficult than the operation for instructing the second processing section 2 to perform an operation other than the predetermined initialization operation. Further, unlike the above case, in the case where the reception unit 70 is configured to accept only a “predetermined manual operation” that instructs a predetermined initialization operation of the second processing unit 2, the reception unit 70 is difficult for the user to operate in the housing 60. It may be provided at a location. For example, if the housing 60 is equipped with a plurality of reception sections that can be operated by the user, including the reception section 70, it is preferable that the reception section 70 that only accepts "predetermined manual operations" is more operable than the other reception sections. installed in a difficult location. It may be possible to prevent unintended initialization operations from being performed due to user carelessness.

第2処理部2の「所定の初期化動作」において現に初期化される第2処理部2の具体的な構成要素は、初期化されることによって第2処理部2を警報器100の稼働開始前の状態に戻すこと、又は、適切な状態として予め用意された状態へと移行させることができるものであれば、特に限定されない。前述したように、第2処理部2は主に第2処理装置20で構成される。従って、第2処理部2の「所定の初期化動作」として、好ましくは、第2処理装置20が初期化される。第2処理装置20の初期化では、第2処理装置20の内部の状態が、警報器100の稼働開始前の状態に戻されるか、適切な状態として予め用意された状態へと移行される。 The specific components of the second processing unit 2 that are actually initialized in the “predetermined initialization operation” of the second processing unit 2 are initialized to cause the second processing unit 2 to start operating the alarm device 100. It is not particularly limited as long as it can return to the previous state or transition to a state prepared in advance as an appropriate state. As described above, the second processing section 2 mainly includes the second processing device 20. Therefore, as the "predetermined initialization operation" of the second processing unit 2, the second processing device 20 is preferably initialized. In the initialization of the second processing device 20, the internal state of the second processing device 20 is returned to the state before the start of operation of the alarm device 100, or is shifted to a state prepared in advance as an appropriate state.

<第2処理部の所定の初期化動作の一例:ソフトウェアの初期化>
一例として、受付部70への所定の手動操作によって実行される第2処理部2の所定の初期化動作により、第2処理部2に内蔵されているソフトウェアSWが初期化されてもよい。図1の例において、ソフトウェアSWは、具体的には第2処理装置20の記憶手段20aに内蔵されている。前述したように、第2処理装置20は、記憶部20aに記憶されているソフトウェアSWが含む命令に従って動作する。第2処理装置20が従う命令を含むソフトウェアSWを、例えば警報器100の工場出荷時や警報器100の稼働開始時の状態に戻すことによって、稼働開始後の状態変化などによって不具合が生じている第2処理装置20を正常な状態に復帰させ得ることがある。
<Example of predetermined initialization operation of the second processing unit: Software initialization>
As an example, the software SW built in the second processing section 2 may be initialized by a predetermined initialization operation of the second processing section 2 executed by a predetermined manual operation on the receiving section 70 . In the example of FIG. 1, the software SW is specifically built into the storage means 20a of the second processing device 20. As described above, the second processing device 20 operates according to instructions included in the software SW stored in the storage unit 20a. For example, by returning the software SW containing the commands that the second processing device 20 follows to the state when the alarm device 100 was shipped from the factory or when the alarm device 100 started operating, a malfunction may occur due to a change in the state after the start of operation. The second processing device 20 may be able to return to a normal state.

記憶部20aのような第2処理装置20のメモリに書き込まれているソフトウェアSWは、第2処理装置20についてのファームウェアであり得る。初期化されるソフトウェアが、第2処理装置20の内部回路や装置などの基本的な制御を司る機能を持つファームウェアであれば、その初期化によって、より確実に、第2処理装置20を不具合を抱えた状態から正常状態へと戻すことができる。ソフトウェアSWが初期化される場合、好ましくは、記憶部20aは、EEPROMやフラッシュメモリのような、容易に書き換え可能なメモリで構成される。 The software SW written in the memory of the second processing device 20 such as the storage unit 20a may be firmware for the second processing device 20. If the software to be initialized is firmware that has a function that controls basic control of the internal circuits and devices of the second processing device 20, initialization will more reliably prevent the second processing device 20 from malfunctioning. It is possible to return to a normal state from a troubled state. When the software SW is initialized, the storage section 20a is preferably configured with an easily rewritable memory such as an EEPROM or a flash memory.

<第2処理部の所定の初期化動作の他の例:内部状態の再現(リセット)>
本実施形態の警報器100では、第2処理部2の所定の初期化動作において、上述したソフトウェアSWの初期化の他に、警報器100の稼働開始後に変更された、第2処理部2の構成部品の内部状態、例えば第2処理装置20の内部の状態が、その変更をされる前の特定の時点の状態に戻されてもよい。すなわち、第2処理装置20内の各構成要素の状態、例えば、記憶手段20a内の特定の記憶領域の内容や、入出力ポートの状態、第2処理装置20で次に実行される命令のアドレスを示すプログラムカウンタの値などは、警報器100の稼働開始後に、随時変更され、又は変化する。これら構成要素の状態が、第2処理部2の「所定の初期化動作」において、その変更や変化の前の特定の時点の状態に戻される。
<Another example of the predetermined initialization operation of the second processing unit: Reproducing the internal state (resetting)>
In the alarm device 100 of this embodiment, in the predetermined initialization operation of the second processing section 2, in addition to the initialization of the software SW described above, the second processing section 2 is changed after the alarm device 100 starts operating. The internal state of the component, for example the internal state of the second processing device 20, may be returned to the state at a particular point in time before the change was made. That is, the state of each component in the second processing device 20, for example, the contents of a specific storage area in the storage means 20a, the state of an input/output port, the address of the next instruction to be executed in the second processing device 20, etc. The value of the program counter indicating the alarm 100 is changed or changed at any time after the alarm device 100 starts operating. In the "predetermined initialization operation" of the second processing unit 2, the states of these components are returned to the state at a specific time before the change or change.

「特定の時点」は、例えば、警報器100の工場出荷時、警報器100の稼働開始時、警報器100がネットワークNに接続される前の時点、又は、第2処理装置20の各構成要素に加えられた変更のうちのいずれかの変更の前の任意の時点であり得る。第2処理装置20内の如何なる構成要素が如何なる状態に戻されるかは、第2処理装置20が実行する命令が記述されているソフトウェアSW内に記述されているか、又は、記憶手段20a若しくは記憶手段30に記憶されていてもよい。 The "specific point in time" is, for example, when the alarm device 100 is shipped from the factory, when the alarm device 100 starts operating, at a time point before the alarm device 100 is connected to the network N, or each component of the second processing device 20 may be at any time prior to any of the changes made to the . The state to which the components in the second processing device 20 are returned is written in the software SW in which instructions to be executed by the second processing device 20 are written, or in the storage means 20a or the storage means. 30 may be stored.

一例として、第2処理部2の所定の初期化動作において、プログラムカウンタの値がゼロに設定(クリア)されるか、若しくは、予め決められた特定の値に設定されてもよい。また、第2処理部2の所定の初期化動作において、第2処理装置20が備えるRAMや各種レジスタのような一時記憶領域の記憶内容がクリアだれたり、一時記憶領域に予め決められた情報が記憶されたりしてもよい。さらに、第2処理部2の所定の初期化動作において、第2処理装置20が備えるタイマーや入出力ポートが予め決められた状態へ設定されたり、第2処理装置20全ての割り込み処理の禁止モードへ移行したりしてもよい。第2処理装置20に上記のようなプログラムカウンタのクリアや一時記憶領域のクリアなどを実行させることによって、第2処理装置20の内部の状態が、警報器100の稼働開始後に加えられた変更や変化の前の特定の時点の状態に戻し得ることがある。その結果、稼働開始後の状態変化などによって不具合が生じている第2処理装置20を正常な状態に復帰させ得ることがある。 As an example, in a predetermined initialization operation of the second processing unit 2, the value of the program counter may be set to zero (cleared) or may be set to a specific predetermined value. In addition, during a predetermined initialization operation of the second processing unit 2, the contents of temporary storage areas such as the RAM and various registers included in the second processing unit 20 may be cleared, or predetermined information may be stored in the temporary storage area. It may also be remembered. Furthermore, in a predetermined initialization operation of the second processing unit 2, the timer and input/output ports included in the second processing device 20 are set to a predetermined state, and all interrupt processing of the second processing device 20 is set to a prohibition mode. You may also move to . By having the second processing device 20 clear the program counter, clear the temporary storage area, etc. as described above, the internal state of the second processing device 20 can be changed or changed after the alarm 100 starts operating. Sometimes it is possible to return to the state at a particular point in time before the change. As a result, it may be possible to restore the second processing device 20, which has been malfunctioning due to a change in state after the start of operation, to a normal state.

なお、第2処理装置20は、特定の入力端子(外部リセット端子)の特定のレベルへの設定による外部リセット、及びパワーオンリセットなどの各種リセット処理の実行機能を備え得る。第2処理部2の所定の初期化動作において、第2処理装置20内の各構成要素が戻される特定の時点の状態は、これら各種リセット処理のいずれかの実行後の第2処理装置20の内部の状態と同じであってもよい。すなわち、第2処理部2の所定の初期化動作において、上記のような第2処置装置20に備えられた各種リセット処理のいずれかが実行されてもよい。 Note that the second processing device 20 may have a function of executing various reset processes such as an external reset by setting a specific input terminal (external reset terminal) to a specific level, and a power-on reset. In the predetermined initialization operation of the second processing unit 2, the state at a specific point in time to which each component in the second processing device 20 is returned is the state of the second processing device 20 after performing any of these various reset processes. It may be the same as the internal state. That is, in the predetermined initialization operation of the second processing unit 2, any of the various reset processes provided in the second treatment device 20 as described above may be executed.

本実施形態の警報器100は、受付部70への所定の手動操作の態様に応じて、第2処理部2の所定の初期化動作として行う処理を選択するように構成されていてもよい。すなわち、受付部70が受け付ける「所定の手動操作」は、互いに異なる態様の操作である複数種の手動操作を含んでいてもよい。そして、複数種の手動操作それぞれに応じた、第2処理部2の所定の初期化動作が実行されてもよい。 The alarm device 100 of the present embodiment may be configured to select a process to be performed as a predetermined initialization operation of the second processing section 2, depending on a mode of a predetermined manual operation to the reception section 70. That is, the "predetermined manual operation" that the receiving unit 70 receives may include multiple types of manual operations that are different from each other. Then, a predetermined initialization operation of the second processing section 2 may be performed in accordance with each of the plurality of types of manual operations.

例えば、複数種の手動操作のうちの一つである第1操作の実行を受けて行う所定の初期化動作により、第2処理部2に内蔵されているソフトウェアSWが初期化される。そして、複数種の手動操作のうちの一つであって第1操作とは異なる第2操作の実行を受けて行う所定の初期化動作により、警報器100の稼働開始後に変更された第2処理装置20の内部の状態が、その変更をされる前の特定の時点の状態に戻されてもよい。このように、複数種の所定の手動操作それぞれに応じて第2処理部2の初期化動作が実行されると、例えば警報器100が現に露呈している不具合状態に応じた適切な第2処理部2の初期化動作を、操作者が選択することができる。 For example, the software SW built in the second processing unit 2 is initialized by a predetermined initialization operation performed in response to execution of a first operation that is one of a plurality of types of manual operations. Then, a second process is changed after the alarm device 100 starts operating by a predetermined initialization operation performed in response to execution of a second operation that is one of the plural types of manual operations and is different from the first operation. The internal state of device 20 may be returned to the state at a particular point in time before the change was made. In this way, when the initialization operation of the second processing unit 2 is executed in response to each of a plurality of types of predetermined manual operations, an appropriate second process is performed according to the malfunction state currently exposed in the alarm device 100, for example. The operator can select the initialization operation of section 2.

一例として、前述したように受付部70であるタクタイルスイッチの5秒以上の押し込みが「所定の手動操作」である場合、例えば5秒以上10秒以内の押し込みが第1操作であり、10秒以上の押し込みが第2操作であり得る。また、受付部70であるタクタイルスイッチの5秒以内の5回以上の押し込みが「所定の手動操作」である場合、3秒以内の5回以上の押し込みが第1操作であり、3秒から5秒以内の5回以上の押し込みが第2操作であり得る。また、受付部70がタッチパネルである場合、タッチパネルに所定の手動操作として表示される複数のアイコンの一つである第1アイコンをタッチすることが第1操作であり、第2アイコンをタッチすることが第2操作であり得る。 As an example, if pressing the tactile switch, which is the reception unit 70, for 5 seconds or more is a "predetermined manual operation" as described above, for example, pressing the switch for 5 seconds or more and within 10 seconds is the first operation, and for 10 seconds or more The second operation may be a push-in. Furthermore, if pressing the tactile switch, which is the reception unit 70, five or more times within five seconds is a "predetermined manual operation," pressing the switch five or more times within three seconds is the first operation, and from three seconds to five Five or more presses within seconds may be the second operation. Further, when the reception unit 70 is a touch panel, the first operation is to touch the first icon, which is one of the plurality of icons displayed on the touch panel as a predetermined manual operation, and the first operation is to touch the second icon. may be the second operation.

<受付部への手動操作による第2処理部の初期化動作の例>
受付部70、第2処理装置20、及び記憶手段30を抜粋して示す図3を参照して、受付部70から第2処理装置20への初期化動作の実行指示の伝達、及び第2処理装置20の初期化動作として行われる具体的な処理の例について説明する。
<Example of initialization operation of the second processing unit by manual operation on the reception unit>
Referring to FIG. 3, which shows an excerpt of the reception unit 70, the second processing device 20, and the storage means 30, transmission of an instruction to execute an initialization operation from the reception unit 70 to the second processing device 20, and second processing A specific example of processing performed as an initialization operation of the device 20 will be described.

図3に示される例において受付部70は、第2処理装置20が備える入力ポート200に接続されている。第2処理装置20は、入力ポート200が所定のレベル(例えばGND電位のようなロウレベル)に設定されると、第2処理装置20の所定の初期化動作を実行するように構成されている。受付部70が所定の手動操作を受け付けると、受付部70からは、所定のレベルの信号が出力される。第2処理装置20は、入力ポート200が所定のレベルに設定されるので、所定の初期化動作として、例えば、警報器100の稼働開始後に変更された第2処理装置20の内部の状態を、その変更をされる前の特定の時点の状態に戻す。前述したように第2処理部2の所定の初期化動作において、第2処理装置20に備えられた各種リセット処理のうちの外部リセットが実行される場合、入力ポート200は、第2処理装置20に備えられて外部からのリセット動作の実行要求を受け付ける外部リセット端子であってもよい。 In the example shown in FIG. 3, the reception unit 70 is connected to an input port 200 included in the second processing device 20. The second processing device 20 is configured to perform a predetermined initialization operation of the second processing device 20 when the input port 200 is set to a predetermined level (for example, a low level such as the GND potential). When the reception unit 70 receives a predetermined manual operation, the reception unit 70 outputs a signal at a predetermined level. Since the input port 200 of the second processing device 20 is set to a predetermined level, as a predetermined initialization operation, for example, the internal state of the second processing device 20 that has been changed after the alarm device 100 starts operating is Revert to a point in time before the change was made. As described above, in a predetermined initialization operation of the second processing unit 2, when an external reset among various reset processes provided in the second processing device 20 is executed, the input port 200 is connected to the second processing device 20. It may also be an external reset terminal that is provided in the terminal and receives a request for executing a reset operation from the outside.

また、第2処理部2の所定の初期化動作において、第2処理装置20に備えられたパワーオンリセットが実行される場合は、一例として、図3に二点鎖線で示されるように、受付部70への所定の手動操作によって、スイッチ10bの開閉状態が制御される。スイッチ10bは、第2処理装置20の電源端子Vccへの電源電圧VDDの供給ラインに配置されている。受付部70に対して所定の手動操作が行われると、スイッチ10bが、一旦、非導通状態へと制御される。電源VDDの供給が一旦絶たれた後に再開されるので、第2処理装置20のパワーオンリセットが実行される。この場合のパワーオンリセットは、パワーオンリセットの実行による一連の処理によって、第2処理装置20の変更された内部の状態をその変更をされる前の特定の時点の状態に戻すようにソフトウェアSWにおいてプログラムされている。パワーオンリセットの実行によって、変更された第2処理装置20の内部の状態が、その変更をされる前の特定の時点の状態に戻される。 In addition, in the predetermined initialization operation of the second processing unit 2, when a power-on reset provided in the second processing device 20 is executed, as an example, as shown by the two-dot chain line in FIG. The opening/closing state of the switch 10b is controlled by a predetermined manual operation on the section 70. The switch 10b is arranged on the supply line of the power supply voltage VDD to the power supply terminal Vcc of the second processing device 20. When a predetermined manual operation is performed on the reception unit 70, the switch 10b is once controlled to be in a non-conductive state. Since the supply of power VDD is once cut off and then restarted, a power-on reset of the second processing device 20 is executed. In this case, the power-on reset is performed by software SW that returns the changed internal state of the second processing device 20 to the state at a specific point in time before the change, through a series of processes performed by executing the power-on reset. programmed in. By executing the power-on reset, the changed internal state of the second processing device 20 is returned to the state at a specific point in time before the change was made.

また、図3の例において第2処理装置20が従うソフトウェアSWには、入力ポート200に所定の信号が入力されるとソフトウェアSWの初期化を実行するように命じる命令が記述されていてもよい。この場合、受付部70は、所定の手動操作を受け付けると、例えば、ハイレベル、若しくはロウレベル、又は、ハイレベルとロウレベルの一方から他方への遷移、などの所定の信号を送出する。その結果、第2処理装置20においてソフトウェアSWの初期化が実行される。 Further, in the example of FIG. 3, the software SW followed by the second processing device 20 may have a command written therein that instructs the software SW to be initialized when a predetermined signal is input to the input port 200. . In this case, upon receiving a predetermined manual operation, the reception unit 70 sends out a predetermined signal, such as a high level, a low level, or a transition from one of a high level and a low level to the other. As a result, the software SW is initialized in the second processing device 20.

図3の例において第2処理装置20は、記憶手段20aの特定の記憶領域である第1領域A1にソフトウェアSWを内蔵している。そして、第1領域A1とは異なる記憶手段20aの特定の記憶領域である第n領域には、初期化用データとして用意されたソフトウェアSWiが保管されている。ソフトウェアSWiは、例えば、警報器100の製造工場からの出荷時や稼働開始時に第2処理装置20が従うように用意された制御プログラムを含んでいる。一例として、ソフトウェアSWiは、警報器100の製造工場の出荷時や稼働開始時に第1領域A1に記憶されていたソフトウェアと同じソフトウェアであってもよく、初期化用に別途用意されたソフトウェアであってもよい。 In the example of FIG. 3, the second processing device 20 has a built-in software SW in a first area A1, which is a specific storage area of the storage means 20a. Software SWi prepared as initialization data is stored in the n-th area, which is a specific storage area of the storage means 20a that is different from the first area A1. The software SWi includes, for example, a control program prepared for the second processing device 20 to follow when the alarm device 100 is shipped from a manufacturing factory or when it starts operating. As an example, the software SWi may be the same software that was stored in the first area A1 when the alarm device 100 is shipped from a manufacturing factory or when it starts operating, or it may be software that is separately prepared for initialization. It's okay.

第2処理装置20は、入力ポート200への所定の信号の入力を受けてソフトウェアSWの初期化を行うときには、ソフトウェアSWに代わってソフトウェアSWiが実行されるように、第1領域A1の記憶内容を、第n領域AnのソフトウェアSWiで書き換えてもよい。その結果、第2処理装置20は、ソフトウェアSWiに記述された命令に従って動作するようになる。一例として、このようにソフトウェアSWの初期化による第2処理装置20の初期化が行われてもよい。 When the second processing device 20 receives a predetermined signal input to the input port 200 and initializes the software SW, the second processing device 20 stores the storage contents of the first area A1 so that the software SWi is executed instead of the software SW. may be rewritten by the software SWi of the n-th area An. As a result, the second processing device 20 operates according to the instructions written in the software SWi. As an example, the second processing device 20 may be initialized by initializing the software SW in this way.

第2処理部2の所定の初期化動作として行われる第2処理装置20のソフトウェアSWの初期化は、第2処理装置20内に保管された初期化用データを用いて行われなくてもよい。例えば図3の例において、初期化用データとして用意されたソフトウェアSWiは、警報器100が第2処理装置20とは別個に備える記憶手段30にも保管されている。入力ポート200への所定の信号の入力により、第2処理部2の所定の初期化動作としてソフトウェアSWの初期化が行われるときに、第2処理装置20内のソフトウェアSWが、記憶手段30に保管されている初期化用データであるソフトウェアSWiを用いて書き換えられてもよい。このように、記憶手段20aや記憶手段30などの警報器100の内部のメモリに保管された初期化用データを用いてソフトウェアSWの初期化が行われると、警報器100の外部から初期化用データが供給される場合と比べて、速やかに第2処理部2を正常な状態に復帰させ得ることがある。 The initialization of the software SW of the second processing device 20, which is performed as a predetermined initialization operation of the second processing unit 2, does not have to be performed using the initialization data stored in the second processing device 20. . For example, in the example of FIG. 3, the software SWi prepared as the initialization data is also stored in a storage means 30 that the alarm device 100 has separately from the second processing device 20. When the software SW is initialized as a predetermined initialization operation of the second processing unit 2 by inputting a predetermined signal to the input port 200, the software SW in the second processing device 20 is stored in the storage means 30. It may be rewritten using software SWi, which is stored initialization data. In this way, when the software SW is initialized using the initialization data stored in the internal memory of the alarm device 100 such as the storage means 20a and the storage means 30, the initialization data is stored from the outside of the alarm device 100. Compared to the case where data is supplied, the second processing section 2 may be able to return to a normal state more quickly.

第2処理装置20に内蔵されるソフトウェアSWの初期化は、第2処理装置20が備える、第2処理装置20の起動用プログラムで制御されるブートローダを用いて行われてもよい。この場合、第2処理装置20は、外部からのリブートの指示を受け付けるように構成され、さらに、そのリブート指示の受信時に特定のポートが所定の状態にある場合にソフトウェアSWの初期化を実行するように構成される。ブートローダがソフトウェアSWの初期化に用いられる場合、図3の例の第2処理装置20は、入力ポート201でリブートを指示する所定の信号(以下、「リブート指示信号」と称する)を受け付けるように構成され、リブート指示信号の受信時に入力ポート200が、例えばロウレベルやハイレベルなどの所定のリブート指示レベルに設定されている場合に、ソフトウェアSWの初期化を実行するように構成される。 Initialization of the software SW built in the second processing device 20 may be performed using a boot loader that is included in the second processing device 20 and is controlled by a program for starting the second processing device 20. In this case, the second processing device 20 is configured to accept a reboot instruction from the outside, and further initializes the software SW if a specific port is in a predetermined state at the time of receiving the reboot instruction. It is configured as follows. When the boot loader is used to initialize the software SW, the second processing device 20 in the example of FIG. The software SW is configured to be initialized when the input port 200 is set to a predetermined reboot instruction level, such as a low level or a high level, when a reboot instruction signal is received.

受付部70は、所定の手動操作を受け付けると、例えば、ハイレベルとロウレベルの一方のレベルから、リブート指示レベルである他方のレベルへと遷移する所定のリブート指示信号を入力ポート200へと送出する。リブート指示信号の入力後、入力ポート200は、リブート指示信号の遷移後のレベルであるリブート指示レベルに設定される。一方、入力ポート201と受付部70との間には、遅延回路71が設けられている。遅延回路71は、例えばコンデンサと抵抗器とによって構成され、リブート指示信号のレベル遷移の時期を一定時間遅延させる。そのため、リブート指示信号が入力ポート201に入力されるときには、入力ポート200は、既に、ソフトウェアSWの初期化を実行させるリブート指示レベルに設定されている。そのため、第2処理装置20において、ソフトウェアSWの初期化が実行される。第2処理装置20が単なるソフトウェアSWの実行によってソフトウェアSWを初期化できないような状態に陥っていても、起動用プログラムで制御されるブートローダを用いることによって、ソフトウェアSWの初期化を実行できることがある。 Upon receiving a predetermined manual operation, the reception unit 70 sends a predetermined reboot instruction signal to the input port 200, which transitions from one of the high level and the low level to the other level, which is the reboot instruction level. . After inputting the reboot instruction signal, the input port 200 is set to the reboot instruction level, which is the level after the transition of the reboot instruction signal. On the other hand, a delay circuit 71 is provided between the input port 201 and the receiving section 70. The delay circuit 71 includes, for example, a capacitor and a resistor, and delays the level transition of the reboot instruction signal by a certain period of time. Therefore, when the reboot instruction signal is input to the input port 201, the input port 200 is already set to the reboot instruction level that causes the initialization of the software SW to be executed. Therefore, the software SW is initialized in the second processing device 20. Even if the second processing device 20 is in a state where it cannot initialize the software SW simply by executing the software SW, it may be possible to initialize the software SW by using a boot loader controlled by a startup program. .

なお、第2処理部2の初期化として実行される、第2処理装置20に内蔵のソフトウェアの初期化は、記憶手段20aの記憶内容を書き換えずに、単に第2処理装置20が実行するプログラムを切り替えることによって行われてもよい。すなわち、図3の例において、受付部70が所定の手動操作を受け付けると、第2処理装置20が、第1領域A1に記憶されているソフトウェアSWではなく、第n領域Anに記憶されているソフトウェアSWiに含まれている命令に従って動作するように構成されていてもよい。 Note that the initialization of the built-in software in the second processing device 20, which is executed as the initialization of the second processing unit 2, is performed simply by the program executed by the second processing device 20 without rewriting the storage contents of the storage means 20a. This may be done by switching. That is, in the example of FIG. 3, when the receiving unit 70 receives a predetermined manual operation, the second processing device 20 selects the software SW stored in the n-th area An instead of the software SW stored in the first area A1. It may be configured to operate according to instructions included in the software SWi.

図4には、受付部70から第2処理装置20への初期化動作の実行指示の伝達態様の他の例が示されている。図4の例は、識別部72が受付部70と第2処理部20との間に設けられている点で、図3の例と異なっている。図4(及び後に参照する図5)において図3と同様の構成要素には、図3に付された符号と同じ符号が図3(又はX図5)に付され、それら同様の構成要素についての繰り返しとなる説明は省略される。 FIG. 4 shows another example of the manner in which the instruction to execute the initialization operation is transmitted from the reception unit 70 to the second processing device 20. The example in FIG. 4 differs from the example in FIG. 3 in that the identification section 72 is provided between the reception section 70 and the second processing section 20. In FIG. 4 (and FIG. 5 referred to later), the same reference numerals as those in FIG. 3 are given to the same components as in FIG. Repeated explanations will be omitted.

識別部72は、前述したように、受付部70が「所定の手動操作」以外の手動操作も受け付ける場合に、受付部70に対して行われる手動操作の中から「所定の手動操作」を識別する。識別部72は、一例として、経過時間をカウントするタイマーや、受付部70に対して行われた操作の回数をカウントするカウンタなどで構成される。この場合、例えば前述したように受付部70であるタクタイルスイッチの押し込み時間の長さや特定時間内に繰り返される押し込みの回数などが、所定の手動操作の要件を満たしているか否かが、識別部72で判別される。識別部72は、受付部70から送られる信号が、所定の手動操作の要件を満たしているかを、基準信号との比較によって判別する比較回路で構成されていてもよい。 As described above, when the reception unit 70 also accepts manual operations other than the “predetermined manual operation”, the identification unit 72 identifies the “predetermined manual operation” from among the manual operations performed on the reception unit 70. do. The identification unit 72 includes, for example, a timer that counts elapsed time, a counter that counts the number of operations performed on the reception unit 70, and the like. In this case, for example, as described above, the identification unit 72 determines whether the length of time the tactile switch, which is the reception unit 70, is pressed and the number of times the switch is pressed repeatedly within a specific time satisfy predetermined manual operation requirements. It is determined by The identification unit 72 may include a comparison circuit that determines whether the signal sent from the reception unit 70 satisfies predetermined manual operation requirements by comparing it with a reference signal.

所定の手動操作としての要件が満たされている場合、識別部72は、受付部70に対して行われている手動操作が所定の手動操作であると識別し、第2処理装置20の入力ポート200を所定のレベルに設定したり、所定の信号を送ったり、入力ポート200、201にリブート指示信号を送ったりする。識別部72は、識別結果に応じて、スイッチ10bの開閉状態を制御してもよい。一方、所定の手動操作以外の手動操作は、第2処理装置20の入力ポート202に伝えられ、その手動操作に応じた動作が、第2処理装置20において実行される。 If the requirements for a predetermined manual operation are met, the identification unit 72 identifies the manual operation being performed on the reception unit 70 as a predetermined manual operation, and selects the input port of the second processing device 20. 200 to a predetermined level, sends a predetermined signal, and sends a reboot instruction signal to the input ports 200 and 201. The identification unit 72 may control the open/close state of the switch 10b according to the identification result. On the other hand, manual operations other than the predetermined manual operations are transmitted to the input port 202 of the second processing device 20, and operations corresponding to the manual operations are executed in the second processing device 20.

図5には、受付部70から第2処理装置20への初期化動作の実行指示の伝達態様のさらに他の例が示されている。図5の例では、受付部70に対して行われる手動動作は、第1処理装置10に伝えられ、第1処理装置10によって、所定の手動操作か否かが識別される。そして、受付部70に対して行われる手動操作が所定の手動操作である場合、第1処理装置10によって第2処理装置20に所定の初期化動作の実行が指示される。 FIG. 5 shows still another example of the manner in which the execution instruction for the initialization operation is transmitted from the reception unit 70 to the second processing device 20. In the example of FIG. 5, a manual operation performed on the reception unit 70 is transmitted to the first processing device 10, and the first processing device 10 identifies whether or not it is a predetermined manual operation. If the manual operation performed on the reception unit 70 is a predetermined manual operation, the first processing device 10 instructs the second processing device 20 to perform a predetermined initialization operation.

図5に示される例において第1処理装置10は、第2処理装置20の初期化のための出力ポート101を備えており、出力ポート101は、図3の例と同様に機能する第2処理装置20の入力ポート200に接続されている。すなわち第2処理装置20は、入力ポート200が所定のレベルに設定されると、第2処理装置20の所定の初期化動作を実行するように構成されている。第1処理装置10は、受付部70に対して所定の手動操作が行われると、出力ポート101から所定のレベルの信号を入力ポート200に出力する。第2処理装置20は、入力ポート200が所定のレベルに設定されるので、所定の初期化動作として、例えば、警報器100の稼働開始後に変更された第2処理装置20の内部の状態を、その変更をされる前の特定の時点の状態に戻す。また、第1処理装置20は、受付部70に対する所定の手動操作に応じて、出力ポート102から適切な制御信号を出力してスイッチ10bの開閉状態を制御してもよい。そのようなスイッチ10bの開閉状態の制御によって、第2処理装置20に備えられたパワーオンリセット機能を用いて第2処理装置20の所定の初期化動作が実行されてもよい。 In the example shown in FIG. 5, the first processing device 10 is provided with an output port 101 for initializing the second processing device 20, and the output port 101 is connected to a second processing device that functions similarly to the example of FIG. It is connected to an input port 200 of the device 20. That is, the second processing device 20 is configured to perform a predetermined initialization operation of the second processing device 20 when the input port 200 is set to a predetermined level. When a predetermined manual operation is performed on the reception unit 70, the first processing device 10 outputs a signal at a predetermined level from the output port 101 to the input port 200. Since the input port 200 of the second processing device 20 is set to a predetermined level, as a predetermined initialization operation, for example, the internal state of the second processing device 20 that has been changed after the alarm device 100 starts operating is Revert to a point in time before the change was made. Further, the first processing device 20 may control the open/close state of the switch 10b by outputting an appropriate control signal from the output port 102 in response to a predetermined manual operation on the reception unit 70. By controlling the open/close state of the switch 10b, a predetermined initialization operation of the second processing device 20 may be performed using a power-on reset function provided in the second processing device 20.

また、図5の例において、入力ポート200に所定の信号が入力されるとソフトウェアSWの初期化を実行するように第2処理装置20に命じる命令がソフトウェアSWに記述されている場合は、受付部70が所定の手動操作を受け付けると、第1処理装置10は、入力ポート200に所定の信号を送出してもよい。その結果、第2処理装置20においてソフトウェアSWの初期化が実行される。 Furthermore, in the example of FIG. 5, if a command is written in the software SW that instructs the second processing device 20 to initialize the software SW when a predetermined signal is input to the input port 200, the reception When the unit 70 receives a predetermined manual operation, the first processing device 10 may send a predetermined signal to the input port 200. As a result, the software SW is initialized in the second processing device 20.

第1処理装置10は、第2処理装置20が備えるブートローダを用いて、第2処理装置20に内蔵されるソフトウェアSWの初期化を第2処理装置20に行わせてもよい。この場合、図3を参照して前述したように、第2処理装置20は、外部からリブート指示信号を受け付けるように構成される。図5の例において第2処理装置20は、入力ポート200でリブート指示信号を受け付け、リブート指示信号の受信時に入力ポート201が、例えばロウレベルやハイレベルなどの所定のリブート指示レベルに設定されている場合に、ソフトウェアSWの初期化を実行するように構成されている。第1処理装置10は、第2処理部2の初期化としてソフトウェアSWの初期化を実行させるときには、入力ポート200に接続された出力ポート101から、所定のリブート指示信号を送出する。第1処理装置10は、さらに、そのリブート指示信号の送出と同時に、又は先立って、第2処理装置20の入力ポート201に接続された出力ポート103をリブート指示レベルに設定する。その結果、第2処理装置20において、ソフトウェアSWの初期化が実行される。 The first processing device 10 may cause the second processing device 20 to initialize the software SW built in the second processing device 20 using a boot loader included in the second processing device 20. In this case, as described above with reference to FIG. 3, the second processing device 20 is configured to receive a reboot instruction signal from the outside. In the example of FIG. 5, the second processing device 20 receives a reboot instruction signal at an input port 200, and when receiving the reboot instruction signal, the input port 201 is set to a predetermined reboot instruction level, such as a low level or a high level. In this case, the software SW is configured to be initialized. When initializing the software SW as initialization of the second processing unit 2, the first processing device 10 sends out a predetermined reboot instruction signal from the output port 101 connected to the input port 200. The first processing device 10 further sets the output port 103 connected to the input port 201 of the second processing device 20 to the reboot instruction level simultaneously with or prior to sending out the reboot instruction signal. As a result, the software SW is initialized in the second processing device 20.

<実施形態の警報器の初期化方法>
図6、並びに、図1を適宜再度参照して、本発明の一実施形態の警報器の初期化方法を、図1に例示の警報器100を例に以下に説明する。図6は、本実施形態の警報器の初期化方法における手順の一例を示すフローチャートである。図6において二点鎖線L1よりも左側には、本実施形態の警報器の初期化方法の各ステップにおいて実行される処理が示されている。また、二点鎖線L1の右側には、本実施形態の警報器の初期化方法における各ステップに関連して行われる処理を含む、第2処理部2で行われる処理が示されている。なお、図1~図5を参照して説明された警報器100が有する構成要素、及び、それら各構成要素が有する機能や作用は、本実施形態の警報器の初期化方法で初期化される警報器、及び、その構成要素も、同様に有し得る。また、図1~図5を参照して説明された警報器100に対して行われる操作や処理は、本実施形態の警報器の初期化方法に、その一連の手順の一部として含まれていてもよい。
<Initialization method of alarm device according to embodiment>
Referring again to FIG. 6 and FIG. 1 as appropriate, a method for initializing an alarm device according to an embodiment of the present invention will be described below using the alarm device 100 illustrated in FIG. 1 as an example. FIG. 6 is a flowchart showing an example of the procedure in the alarm initialization method of this embodiment. In FIG. 6, on the left side of the two-dot chain line L1, processes executed in each step of the alarm initialization method of this embodiment are shown. Further, on the right side of the two-dot chain line L1, processes performed by the second processing unit 2 are shown, including processes performed in relation to each step in the alarm initialization method of this embodiment. Note that the components included in the alarm device 100 and the functions and actions of each component described with reference to FIGS. 1 to 5 are initialized by the alarm initialization method of the present embodiment. Alarms and their components may be included as well. Further, the operations and processes performed on the alarm device 100 described with reference to FIGS. 1 to 5 are included in the alarm device initialization method of this embodiment as part of the series of steps. It's okay.

本実施形態の警報器の初期化方法は、一例として図1に示されるような、検知部50と、第1処理部1と、第2処理部2と、手動操作を受け付ける受付部70と、を備える警報器100のような警報器の初期化方法である。ここで、検知部50は、少なくとも火災若しくはガスのいずれか一方を検知可能である。第1処理部1は、検知部50の検知結果に基づいて警報を発する警報機能を制御する。第2処理部2は、少なくとも第1処理部1が制御する警報機能以外の所定の機能を制御する。なお、本実施形態の警報器の初期化方法において警報器の初期化は、具体的には、第2処理部2の初期化であり得る。そして、本実施形態の警報器の初期化方法は、先に図1及び図2を参照して説明されたように、警報器の初期化以外の動作の実行を指示する操作とは異なる態様の所定の手動操作を受付部70に行うことによって第2処理部2を初期化することを含んでいる(図6のステップS11、S22)。 The alarm initialization method of the present embodiment includes a detection unit 50, a first processing unit 1, a second processing unit 2, a reception unit 70 that receives manual operation, as shown in FIG. 1 as an example, This is a method for initializing an alarm device such as the alarm device 100 including the following. Here, the detection unit 50 can detect at least either fire or gas. The first processing unit 1 controls an alarm function that issues an alarm based on the detection result of the detection unit 50. The second processing section 2 controls at least predetermined functions other than the alarm function controlled by the first processing section 1. In addition, in the alarm initialization method of this embodiment, initialization of the alarm may specifically be initialization of the second processing unit 2. As previously explained with reference to FIGS. 1 and 2, the alarm initialization method of this embodiment is a method different from the operation for instructing execution of operations other than alarm initialization. This includes initializing the second processing section 2 by performing a predetermined manual operation on the receiving section 70 (steps S11 and S22 in FIG. 6).

本実施形態の警報器の初期化方法によれば、警報器のユーザーなどの手動操作によって、警報器の第2処理部2の初期化が実行される。第2処理部2の初期化は、第2処理部2の構成要素の一部又は全部を、警報器の製造工場からの出荷時の状態、警報器の稼働開始時の状態、又は、警報器と外部の通信ネットワークとが接続される前の状態に戻すことであり得る。或いは、第2処理部2の「初期化」は、第2処理部2の構成要素の一部又は全部を、第2処理部2の適切な初期化後の状態として用意されている特定の状態にすることであり得る。従って、内部状態の変化によって第2処理部2のような警報器の一部が機能しない状態に陥っても、ユーザーなどの操作者の意志の下で、警報器を正常に機能し得る状態に復帰させることができる。 According to the alarm initialization method of this embodiment, the second processing section 2 of the alarm is initialized by manual operation by the user of the alarm. Initialization of the second processing section 2 is performed by changing some or all of the components of the second processing section 2 to the state at the time of shipment from the alarm manufacturing factory, the state at the time of starting operation of the alarm, or the state at the time of the alarm's operation. It may be possible to restore the state to the state before the connection between the network and the external communication network. Alternatively, "initialization" of the second processing section 2 may be referred to as setting some or all of the components of the second processing section 2 to a specific state prepared as a state after appropriate initialization of the second processing section 2. This can be done by making it . Therefore, even if a part of the alarm device, such as the second processing section 2, becomes inoperable due to a change in the internal state, the alarm device can be restored to a state where it can function normally under the will of the operator such as the user. It can be reinstated.

また、本実施形態の警報器の初期化方法では、初期化以外の動作の実行を指示する操作とは異なる態様の所定の手動操作を受付部70に対して行うことによって第2処理部2が初期化される。すなわち、本実施形態の警報器の初期化方法で初期化される警報器の受付部は、第2処理部2の初期化以外の動作の実行を指示する操作も受け付ける。従って、僅かな数の受付部70、例えば一つの受付部70を備えるだけの警報器に、第2処理部2の初期化を含む2以上の種類の動作の実行を指示することができる。 Further, in the alarm initialization method of the present embodiment, the second processing unit 2 is activated by performing a predetermined manual operation on the reception unit 70 in a manner different from an operation that instructs execution of an operation other than initialization. Initialized. That is, the reception unit of the alarm device initialized by the alarm initialization method of the present embodiment also receives operations that instruct the second processing unit 2 to perform operations other than initialization. Therefore, it is possible to instruct an alarm equipped with only a small number of receiving sections 70, for example, one receiving section 70, to perform two or more types of operations including initialization of the second processing section 2.

本実施形態の警報器の初期化方法で実行される第2処理部2の初期化は、一実施形態の警報器100について前述されたように、一例として、第2処理部2に内蔵されているソフトウェアSWの初期化であってよい。また第2処理部2の初期化は、警報器の稼働開始後に変更された、第2処理部2を構成する第2処理装置20の内部の状態をその変更をされる前の特定の時点の状態に戻すことであり得る。本実施形態の警報器の初期化方法で実行される「所定の手動動作」は、一実施形態の警報器100について例示された「所定の手動操作」と同様であり得、例えば受付部70であるタクタイルスイッチの特定時間以上の押し込みや、特定時間以内の特定回数以上の押し込み操作などであり得る。また、本実施形態の警報器の初期化方法において「警報器の初期化以外の動作の実行を指示する操作」は、「所定の手動操作」以外の、受付部70に対する任意の態様の操作であり得る。 The initialization of the second processing unit 2 performed by the alarm initialization method of the present embodiment is performed by using the built-in second processing unit 2 as an example, as described above with respect to the alarm 100 of one embodiment. This may be the initialization of the software SW that is currently installed. In addition, the initialization of the second processing section 2 is carried out by changing the internal state of the second processing device 20 constituting the second processing section 2 after the alarm starts operating. It may be to return to the state. The “predetermined manual operation” performed in the alarm initialization method of the present embodiment may be the same as the “predetermined manual operation” exemplified for the alarm 100 of one embodiment, and for example, the reception unit 70 This may include pressing a certain tactile switch for more than a specific time, or pressing a tactile switch more than a certain number of times within a specific time. Furthermore, in the alarm initialization method of the present embodiment, the "operation for instructing execution of an operation other than alarm initialization" is any type of operation on the reception unit 70 other than "predetermined manual operation". could be.

図6において、第2処理部2では、所定の手動操作とは異なる態様の受付部70への手動操作によって初期化以外の動作、例えば、警報器の自主点検として外部機器Eとの通信や外部機器Eとのリンク設定などが行われる(ステップS21)。警報器のユーザーなどは、警報器の不具合に気づくと、警報器の初期化以外の動作の実行を指示する操作とは異なる態様の所定の手動操作を受付部70に対して行う(ステップS11)。所定の手動操作によって、第2処理部2において初期化が実行される(ステップS22)。 In FIG. 6, the second processing unit 2 performs operations other than initialization by manual operation to the reception unit 70 in a manner different from a predetermined manual operation, such as communication with external equipment E and external A link setting with device E, etc. is performed (step S21). When a user of the alarm device notices a problem with the alarm device, the user performs a predetermined manual operation on the reception unit 70 in a manner different from the operation for instructing execution of operations other than initialization of the alarm device (step S11). . Initialization is performed in the second processing section 2 by a predetermined manual operation (step S22).

図6に示されるように、本実施形態の警報器の初期化方法は、さらに、受付部70に対する所定の手動操作と共に、警報器の電源プラグ61と商用電源とを接続又は分離することを含んでいてもよい(ステップS12)。電源プラグ61と商用電源との接続又は分離は、受付部70に対する所定の手動操作の前に行われてもよく、所定の手動操作の後に行われてもよく、又は所定の手動操作と同時に行われてもよい。好ましくは、所定の手動操作が行なわれている状態で、電源プラグ61と商用電源との接続又は分離が行われることによって、第2処理部2が初期化される。第2処理部2の初期化が意図せず誤って実行されることを防止できることがある。 As shown in FIG. 6, the alarm initialization method of the present embodiment further includes, in addition to performing a predetermined manual operation on the receiving unit 70, connecting or disconnecting the alarm power plug 61 from the commercial power source. (Step S12). The connection or separation between the power plug 61 and the commercial power source may be performed before a predetermined manual operation on the reception unit 70, after the predetermined manual operation, or simultaneously with the predetermined manual operation. It's okay to be hurt. Preferably, the second processing unit 2 is initialized by connecting or disconnecting the power plug 61 from the commercial power source while a predetermined manual operation is being performed. It may be possible to prevent the initialization of the second processing unit 2 from being performed unintentionally and erroneously.

図6において、ステップS11が行われない限り、又は、ステップS11と共にステップS12が行われない限り、第2処理部2は、例えば通信機能や受信情報に基づく音声の発声機能のような、警報機能以外の機能の制御機能を継続して発揮している。加えて第2処理部2は、警報器の初期化以外の動作の実行を指示する操作が受付部70に対して行われると、その都度、その操作で指示された、初期化以外の動作を実行する(ステップS21)。 In FIG. 6, unless step S11 is performed, or unless step S12 is performed together with step S11, the second processing unit 2 has an alarm function, such as a communication function or a voice production function based on received information. Continuously performs control functions other than functions. In addition, each time an operation instructing the reception unit 70 to perform an operation other than initialization of the alarm device, the second processing unit 2 executes the operation other than initialization instructed by the operation. Execute (step S21).

なお、今回開示された実施形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施形態の説明ではなく特許請求の範囲によって示され、さらに特許請求の範囲と均等の意味及び範囲内でのすべての変更(変形例)が含まれる。 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.

例えば、図1の変形例として、警報器100は、例えばマイコンやASICなどの半導体装置からなる三つの処理装置を備えていてもよい。その場合、その三つの処理装置のうちの一つが、第1処理装置10のように警報機能を担う第1サブ処理装置であり、他の一つが、第2処理装置20のように通信機能を担う第2サブ処理装置であり、残りの一つが、他の二つを制御するメイン処理装置であってもよい。 For example, as a modification of FIG. 1, the alarm device 100 may include three processing devices made of semiconductor devices such as microcomputers and ASICs. In that case, one of the three processing devices is a first sub-processing device that has an alarm function like the first processing device 10, and the other one has a communication function like the second processing device 20. The remaining one may be a main processing device that controls the other two.

また、図1の警報器100は、その変形例において、音声による警報の発報中に、受信情報に基づく第2処理装置20の制御による音声が発せられてしまうような、第1処理装置10の制御からの第2処理装置20の離反などによる警報機能の不具合を検知する手段(図示せず)を備えていてもよい。そして、第1処理装置10は、そのような検知手段で不具合が検知されると、その不具合を例えば出力部40から報知させて、ユーザーの対処を促してもよい。その報知を受けたユーザーは、その不具合の解消手段として第2処理部2の所定の初期化動作を実行すべく、受付部70に対して所定の手動操作を行うことができる。 In addition, in a modification of the alarm device 100 of FIG. 1, the first processing device 10 may emit a sound under the control of the second processing device 20 based on received information while issuing an audio alarm. It may be provided with means (not shown) for detecting a malfunction of the alarm function due to separation of the second processing device 20 from the control of the second processing device 20 or the like. When a malfunction is detected by such a detection means, the first processing device 10 may notify the malfunction from, for example, the output unit 40 and prompt the user to take a countermeasure. The user who receives the notification can perform a predetermined manual operation on the reception section 70 in order to perform a predetermined initialization operation of the second processing section 2 as a means of resolving the problem.

また、上記実施形態では、説明の便宜上、実施形態の警報器の処理動作を処理フローに沿って順番に処理を行うフロー駆動型のフローチャートを用いて説明したが、本発明はこれに限られない。本発明では、警報器の処理動作を、イベント単位で処理を実行するイベント駆動型(イベントドリブン型)の処理により行ってもよい。この場合、完全なイベント駆動型で行ってもよいし、イベント駆動及びフロー駆動を組み合わせて行ってもよい。 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 警報器
1 第1処理部
10 第1処理装置
2 第2処理部
20 第2処理装置
20a 記憶手段(第2処理装置内)
30 記憶手段
40 出力部
50 検知部
61 電源プラグ
70 受付部
SW ソフトウェア
SWi ソフトウェア(初期化用データ)
100 Alarm device 1 First processing section 10 First processing device 2 Second processing section 20 Second processing device 20a Storage means (inside the second processing device)
30 Storage means 40 Output section 50 Detection section 61 Power plug 70 Reception section SW Software SWi Software (initialization data)

Claims (3)

少なくとも火災若しくはガスのいずれか一方を検知可能である検知部と、
前記検知部の検知結果に基づいて警報を発する警報機能を制御する第1処理部と、
内蔵するソフトウェアに含まれる命令に従って動作して少なくとも前記警報機能以外の所定の機能を制御する第2処理部と、
手動操作を受け付ける受付部と、
を備える警報器であって、
所定の手動操作が前記受付部に対して行われることによって所定の初期化動作を実行して、前記警報器の稼働開始後のアップデートによって不具合状態に至っている前記ソフトウェアを正常に機能し得る状態に復帰させるように構成されている警報器。
a detection unit capable of detecting at least either fire or gas;
a first processing unit that controls an alarm function that issues an alarm based on the detection result of the detection unit;
a second processing unit that operates according to instructions included in built-in software to control at least a predetermined function other than the alarm function;
A reception department that accepts manual operations,
An alarm device comprising:
A predetermined initialization operation is performed by performing a predetermined manual operation on the reception unit, and the software, which has reached a malfunctioning state, is brought into a state where it can function normally due to an update after the alarm starts operating. An alarm configured to be reset.
前記第2処理部は、前記第1処理部の制御を受けるように構成されており、
前記不具合状態のために前記第1処理部の制御を受け付けない状態に至っている前記第2処理部が、前記所定の初期化動作によって前記第1処理部の制御を受ける状態に復帰する、請求項1記載の警報器。
The second processing section is configured to be controlled by the first processing section,
The second processing section, which has reached a state where it cannot accept control of the first processing section due to the defective state, returns to a state under control of the first processing section by the predetermined initialization operation. The alarm device described in 1.
少なくとも火災若しくはガスのいずれか一方を検知可能である検知部と、前記検知部の検知結果に基づいて警報を発する警報機能を制御する第1処理部と、内蔵するソフトウェアに含まれる命令に従って動作して少なくとも前記警報機能以外の所定の機能を制御する第2処理部と、手動操作を受け付ける受付部と、を備える警報器の初期化方法であって、
前記警報器に初期化以外の動作の実行を指示する操作とは異なる態様の所定の手動操作を前記受付部に行うことによって前記第2処理部の初期化を行って、前記警報器の稼働開始後のアップデートによって不具合状態に至っている前記ソフトウェアを正常に機能し得る状態に復帰させることを含んでいる、警報器の初期化方法。
a detection section capable of detecting at least either fire or gas; a first processing section that controls an alarm function that issues an alarm based on the detection result of the detection section; and a first processing section that operates according to instructions included in built-in software. A method for initializing an alarm device, comprising: a second processing section that controls at least a predetermined function other than the alarm function; and a reception section that receives manual operation.
The second processing unit is initialized by performing a predetermined manual operation on the reception unit that is different from the operation that instructs the alarm to perform an operation other than initialization, and the alarm starts operating. A method for initializing an alarm device, the method comprising restoring the software which has become malfunctioning due to a subsequent update to a state in which it can function normally.
JP2023128771A 2023-03-16 2023-08-07 Alarm device and how to initialize it Active JP7348425B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023128771A JP7348425B1 (en) 2023-03-16 2023-08-07 Alarm device and how to initialize it

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2023042329A JP7329712B1 (en) 2023-03-16 2023-03-16 Alarm and method of initializing the alarm
JP2023128771A JP7348425B1 (en) 2023-03-16 2023-08-07 Alarm device and how to initialize it

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2023042329A Division JP7329712B1 (en) 2023-03-16 2023-03-16 Alarm and method of initializing the alarm

Publications (1)

Publication Number Publication Date
JP7348425B1 true JP7348425B1 (en) 2023-09-20

Family

ID=87568960

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2023042329A Active JP7329712B1 (en) 2023-03-16 2023-03-16 Alarm and method of initializing the alarm
JP2023128771A Active JP7348425B1 (en) 2023-03-16 2023-08-07 Alarm device and how to initialize it

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2023042329A Active JP7329712B1 (en) 2023-03-16 2023-03-16 Alarm and method of initializing the alarm

Country Status (1)

Country Link
JP (2) JP7329712B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006350412A (en) 2005-06-13 2006-12-28 Hochiki Corp Alarm device
JP2009146232A (en) 2007-12-15 2009-07-02 Panasonic Electric Works Co Ltd Alarm

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006350412A (en) 2005-06-13 2006-12-28 Hochiki Corp Alarm device
JP2009146232A (en) 2007-12-15 2009-07-02 Panasonic Electric Works Co Ltd Alarm

Also Published As

Publication number Publication date
JP7329712B1 (en) 2023-08-18

Similar Documents

Publication Publication Date Title
US10032363B2 (en) Mobile user interface for event notifications arising from smart-home hazard detection devices
US20180158294A1 (en) Building security and automation system having user-defined screens and associated method
US8154381B2 (en) System and method for interactive appliance control
US20170004693A1 (en) Fire Alarm Controller Configuration Apparatus And Configuration Method Thereof
JP7348425B1 (en) Alarm device and how to initialize it
US20220221179A1 (en) Hvac control system
KR20190081593A (en) METHOD AND APPARATUS FOR CONTROLLING IoT DEVICES
CN105681888B (en) Presence simulation based on home entertainment system
CN112600975B (en) Detection method and detection device for target hole blockage and mobile terminal
JP7381792B1 (en) Notification device and notification method
JP2017011542A (en) Control system, control method and program
TWI483124B (en) Computer system and the method of using the computer system
JPH11220782A (en) Appliance equipment unit centralized management system and equipment unit appliance power controller used for the same
US20050049730A1 (en) Keypad for building automation
US20220353976A1 (en) Providing a notification for a lighting device without user-specified power-switch behavior
JP5478316B2 (en) Alarm and alarm system
TWI658438B (en) Full-automatic code finding method for universal remote control system and device
JP7381789B1 (en) Alarm device and alarm method
JP2000259959A (en) Fire alarming facility
JP7441257B2 (en) alarm
CN113965460B (en) Method and device for preventing error reset, intelligent device and storage medium
JP7439337B1 (en) Alarm and alarm control method
JP2002186067A (en) Electric apparatus controller and electric apparatus control method
Guide About this guide
JP6945465B2 (en) Receiver for disaster prevention monitoring system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230807

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20230807

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230907

R150 Certificate of patent or registration of utility model

Ref document number: 7348425

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150