Alarm unit and initialization method of alarm unit
The alarm device with separate processing units for alarm and communication functions, featuring manual initialization, addresses interference and malfunction issues, ensuring reliable operation and user-initiated restoration.
Patent Information
- Application Number
- JP2023128771
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-08-07
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-03-16
AI Technical Summary
Existing alarm devices with integrated signal processing circuits for both alarm and communication functions are vulnerable to interference and malfunction during software updates or communication, leading to potential failure of the alarm function.
The alarm device is designed with separate first and second processing units, where the second processing unit controls communication functions independently, and includes a reception section for manual initialization to restore normal operation by performing a predetermined manual operation.
Ensures the alarm function remains operational even if the second processing unit malfunctions, allowing users to manually restore the device to a functional state, preventing prolonged malfunction and ensuring safety.
Smart Images

Figure 2024132793000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an alarm device and an alarm device initialization method. [Background technology]
[0002] Conventionally, alarm devices that monitor the surrounding environment with temperature sensors or gas sensors and issue an alarm upon detection of an abnormal condition to warn users of danger have been used in ordinary homes, commercial facilities, factories, etc. Such alarm devices play an important role in ensuring the safety of users. In recent years, such alarm devices have been equipped with audio signal processing devices and voice generation means such as speakers so that they can issue not only a simple beep but also messages that convey a variety of information.
[0003] Furthermore, alarm devices with communication functions are becoming more widespread, so that the information obtained can be communicated not only to those in the vicinity of the alarm device, but also to related parties in distant locations. Some alarm devices with such communication functions can be connected to a network line such as the Internet, so that they can disseminate information widely, rather than just communicate with specific communication destinations, and so that a large amount of information can be obtained from outside to increase the convenience of users in the vicinity of the alarm device. For example, Patent Document 1 discloses an alarm device that is equipped with a speaker that issues an alarm message, and a LAN port that enables connection to the Internet. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2004-326360 A Summary of the Invention [Problem to be solved by the invention]
[0005] In the alarm device of Patent Document 1, the above-mentioned speaker and LAN port, as well as various sensors such as a CO sensor that monitors the surrounding environment and performs the alarm function, are connected to one signal processing circuit. This one signal processing circuit controls the communication function in addition to the alarm function, which is the main function of the alarm device. However, in such a configuration, since one signal processing circuit controls both the notification function and the communication function, the alarm function, which is the main function, may be impaired. 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 possible that the alarm function will stop functioning during software updates related to the communication function that are required in conjunction with such version upgrades, or that the entire signal processing circuit will become inoperable due to a malfunction of the update.
[0006] As a means of reducing such risks, it is conceivable to provide a main processor that controls the alarm function and a sub-processor that controls secondary functions such as a communication function, each independent of the other. However, if a processor is provided separately for each function and operated in this way, for example, communication with an external device may affect the alarm function, which is the main function, depending on the content of the communication. For example, if audio information is sent from an external device and the information is issued by a speaker shared with the alarm function, there is a risk that the audio alarm will be obstructed by the audio issued under the control of the sub-processor.
[0007] It is also possible to have the main processing device control the operation of the sub-processing device so that the alarm is not hindered, and to restrict the sounding by the sub-processing device when the alarm is issued. However, it is also possible that the sub-processing device, which should operate under the control of the main processing device, falls into a state in which it cannot operate according to the control of the main processing device. For example, if the alarm device is connected to an external device by communication as described above, the internal state of the sub-processing device that controls the communication, for example, the contents stored in the internal memory, may be changed by the communication. Also, as described above, the software in the sub-processing device that controls the communication may be updated via communication. There is no problem if such changes to the internal state of the sub-processing device or software updates are performed appropriately, but it is also possible that the state may be changed to one that may cause a hindrance to the control by the main processing device, or that the data for the update may contain a bug. In such a case, as described above, a state may occur 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 in an environment intended by the user, or in the case of a software bug, the alarm function may be fundamentally hindered and may not function at all.
[0008] In such cases, even though the user is aware that the alarm is not working as intended or not at all, there is no way to deal with the problem and the malfunction may continue for a long time until a professional can repair or replace the alarm. This situation puts the safety of the user and others at risk, which is undesirable for an alarm that plays a role in ensuring the safety of users and others.
[0009] The present invention has been made in consideration of the above problems, and has an object to provide an alarm device and a method for initializing an alarm device that can be restored to a state in which it functions normally, at the will of the user, even if a change in the internal state causes part of the alarm device to stop functioning. [Means for solving the problem]
[0010] The alarm of the present invention is an alarm comprising a detection unit capable of detecting at least either fire or gas, a first processing unit which controls an alarm function that issues an alarm based on the detection result of the detection unit, a second processing unit which operates in accordance with instructions contained in built-in software to control at least predetermined functions other than the alarm function, and a reception unit which accepts manual operation, and is configured so that when a predetermined manual operation is performed on the reception unit, a predetermined initialization operation is carried out, and the software that has become malfunctioning as a result of an update after the alarm has started up is restored to a state in which it can function normally.
[0011] The second processing unit may be configured to be controlled by the first processing unit, and the second processing unit, which has reached a state where it cannot accept control of the first processing unit due to the malfunction state, may be restored to a state where it is controlled by the first processing unit by the specified initialization operation.
[0012] The method for initializing an alarm of the present invention is a method for initializing an alarm device which comprises a detection unit capable of detecting at least either fire or gas, a first processing unit which controls an alarm function which issues an alarm based on the detection result of the detection unit, a second processing unit which operates in accordance with instructions contained in built-in software to control at least a specified function other than the alarm function, and a reception unit which accepts manual operation, and includes initializing the second processing unit by performing a specified manual operation on the reception unit which is different from an operation which instructs the alarm device to perform an operation other than initialization, and restoring the software which has become faulty due to an update after the alarm device started up to a state in which it is able to function normally. Effect of the Invention
[0013] According to the present invention, even if a change in the internal state causes part of the alarm device to become non-functional, it can be restored to a state in which it functions normally at the will of the user or the like. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 is a block diagram showing an outline of the configuration of an alarm device according to one embodiment of the present invention. [Diagram 2] 1A to 1C are schematic diagrams showing some examples of manual operations. [Diagram 3] FIG. 2 is a block diagram showing an example of the connection between the reception section and second processing device in an alarm device according to one embodiment, and an example of the processing of a predetermined initialization operation. [Figure 4] FIG. 13 is a block diagram showing another example of the connection configuration between the reception section and second processing device in an alarm device according to an embodiment. [Diagram 5] FIG. 13 is a block diagram showing yet another example of the connection configuration between the reception section and second processing device in an alarm device according to an embodiment. [Figure 6] 4 is a flowchart showing an example of the steps in a method for initializing an alarm device according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] An alarm device and an alarm device initialization method according to one embodiment of the present invention will be described below with reference to the attached drawings. However, the embodiment described below and the attached drawings merely show one example of an alarm device or an alarm device initialization method according to the present invention. The configurations and operations of the alarm device and alarm device initialization method according to the present invention are not limited to the configurations and operations exemplified in the embodiment described below and the attached drawings.
[0016] <Configuration and action of an alarm device according to one embodiment> FIG. 1 shows a block diagram of the main components of an alarm device 100 according to one embodiment of the present invention. The alarm device 100 according to one embodiment is installed in, for example, a residence or a factory, or carried by a user, and monitors the environment around the alarm device 100. The alarm device 100 detects a specific state of the surrounding environment and, for example, issues an alarm or sends a signal to notify surrounding people or specific devices that the surrounding environment is in a specific state, for example, an abnormal state that may cause harm to the human body or physical assets. The alarm device 100 detects at least one of the occurrence of a fire and a gas leak as a specific state. Other specific states that the alarm device 100 can detect include, for example, an increase in the concentration of carbon monoxide, smoke filling, and excessive temperature and humidity, but the specific states that the alarm device 100 can detect are not limited to these.
[0017] As shown in Figure 1, the alarm device 100 comprises 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 operation of the alarm device 100. The alarm device 100 in Figure 1 also comprises storage means 30 which is made up of various types of memory such as flash memory, and which stores any information required by the alarm device 100, and a power plug 61 which is connected to a commercial power source. The alarm device 100 has a housing 60, and components such as the first processing section 1, second processing section 2, and detection section 50 are contained within the housing 60.
[0018] The first processing unit 1 controls the alarm function which issues an alarm from the output unit 40, based on the detection results of the detection unit 50. The second processing unit 2 controls at least predetermined functions other than the alarm function controlled by the first processing unit 1. In the example of Figure 1, the second processing unit 2 controls the communications function of the alarm device 100. That is to say, in the example of Figure 1, the alarm device 100 has a communications function, and sends and receives signals with external device E. For this reason, the alarm device 100 in Figure 1 is also equipped with a communications unit 21 which sends and receives signals with external device E.
[0019] The detection unit 50 is composed of one or more various sensors that monitor physical phenomena in the monitoring target area around the alarm device 100 and output monitoring data. Since the detection unit 50 is disposed inside the housing 60 as described above, the various sensors that make up the detection unit 50 can monitor the area near the alarm device 100. The various sensors that make up the detection unit 50 may be, for example, various gas sensors that detect carbon monoxide gas (CO), methane gas (CH4) or propane gas (C3H8), temperature sensors consisting of thermistors or the like, humidity sensors, smoke sensors, odor sensors, or intrusion sensors that detect the entry of outsiders. The detection unit 50 may be composed of one or more of these sensors. In the alarm device 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 device 100 are detected by various gas sensors. Furthermore, the occurrence of a fire around the alarm device 100 is detected by temperature sensors, smoke sensors, and the like.
[0020] The output section 40, under the control of the first processing section 1, issues an alarm by emitting light or emitting 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 section 40 may operate to communicate to the user, etc., information regarding the state of the alarm device 100 and the environment of the monitored area that does not warrant an alarm. Furthermore, under the control of the second processing section 2, the output section 40 may emit light or sound required for the functions controlled by the second processing section 2. As described above, in the example of FIG. 1, the second processing section 2 controls the communication function, so that sound based on information sent from an external device E, for example, may be emitted from the output section 40. The output section 40 may include, for example, a sound generation device such as a speaker and / or a buzzer. In addition to a sound generation device, the output section 40 may also include a display device such as a light-emitting diode or a display that conveys an alarm or information obtained through communication through the visual sense of the user of the alarm device 100.
[0021] The storage means 30 stores any information that is acquired, processed, used or output in order for the alarm device 100 to perform a specified function. Information stored in the storage means 30 may be written by the first processing unit 1 and / or the second processing unit 2, and may be read by the first processing unit 1 and / or the second processing unit 2. The storage means 30 may store software such as a program in which instructions to be followed by the alarm device 100 are written. The storage means 30 is composed of, for example, a ROM, PROM (programmable ROM), EPROM (erasable PROM), EEPROM (electrically erasable PROM), or flash memory.
[0022] <First processing section> The first processing unit 1 includes a first processing device 10. The first processing unit 1 is mainly composed of the first processing device 10, and is composed of, for example, the first processing device 10 and its peripheral components (not shown). The first processing device 10 is composed of a semiconductor device such as a microcomputer or ASIC, and operates, for example, according to a built-in program. The first processing device 10 preferably has a calculation function, a comparison function, a storage function, etc., and controls the overall alarm function of issuing an alarm from the output unit 40 based on the detection information acquired by the detection unit 50.
[0023] The first processing device 10, for example, controls the start and stop of the monitoring operation of the surrounding environment by the detection unit 50. The first processing device 10 also judges whether or not the carbon monoxide or gas concentration, the surrounding temperature, the smoke concentration, and the like, indicated by the detection information sent from the detection unit 50, exceed a predetermined threshold. If the temperature, concentration, and the like exceed a threshold, the first processing device 10 determines the manner of the alarm (such as the manner of sounding or the manner of light emission in the above-mentioned light-emitting diode) according to the degree of the excess, for example, and causes the output unit 40 to issue an alarm in the determined manner. As an example, the first processing device 10 causes the output unit 40 to issue sounds conveying an alarm or various information.
[0024] <Second Processing Section> The second processing unit 2 includes a second processing device 20. The second processing unit 2 is mainly composed of the second processing device 20, and is composed of, for example, the second processing device 20 and its peripheral components (not shown). In the example of the second processing unit 2 in Fig. 1 which controls the communication function, the second processing device 20 controls the overall operation required for communication between the alarm device 100 and external device E. The second processing device 20 is composed of a semiconductor device such as a microcomputer or ASIC, and preferably has a calculation function, a memory function, a comparison function, etc. When the second processing device 20 receives information that should be transmitted by light or video, or information that should be transmitted by sound, from a communication destination such as the external device E, it causes the output unit 40 to emit light or sound to notify the received information.
[0025] 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 instructions related to the operation performed by the second processing device 20 are written. The second processing device 20 operates according to the instructions included in the software SW. The storage means 20a is composed of various types of memory, such as a ROM, a PROM, an EPROM, an EEPROM, or a flash memory.
[0026] The communication unit 21 sends and receives signals to and from the external device E via wireless communication or wired communication. The communication unit 21 is configured to send and receive electrical signals between the external device E and the alarm device 100, and is composed of 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, demodulation, link setting, and / or error control, which are necessary for communication with the external device E. The communication unit 21 may be composed of a communication control IC made up of an ASIC or the like 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.
[0027] 1 , communication controlled by the second processing unit 2 may be direct communication with external device E via a wireless or wired line, or it may be communication with external device E via a network N such as the Internet or a local area network (LAN) connected via a wireless or wired line. Examples of external device E include alarm devices of the same type other than the alarm device 100, or alarm devices with different detection targets, and information processing devices such as servers that monitor or control the operation of the alarm device 100, and / or collect and statistically process or analyze detection results or alarm issuance progress by the alarm device 100. Furthermore, for an alarm device 100 that can be connected to a network N such as the Internet, external device E may be a server, database, and / or information processing device installed in a manner connectable to the network N by any individual or institution that provides various information to various parties.
[0028] <Reception> The reception unit 70 accepts manual operations performed on the alarm device 100 by, for example, a user or administrator of the alarm device 100 (below, the person who performs manual operations on the reception unit 70 will be referred to simply as the "operator"). The reception unit 70 accepts manual operations performed by the operator to instruct the alarm device 100 to perform various specified operations. Instructions given through manual operations to the reception unit 70 are converted into electrical signals or the like, and transmitted to the first processing device 10 and / or the second processing device 20. The operations instructed by this manual operation are carried out by one or both of the processing devices. The alarm device 100 in Figure 1 is equipped with a single reception unit 70. However, the alarm device 100 of the present embodiment can be equipped with any number of reception units 70, one or more, that are capable of manual operation independent of each other.
[0029] <Initialization of the second processing section> In this way, the alarm device 100 of this embodiment is equipped with a reception section 70 that receives manual operation from the operator. The alarm device 100 of this embodiment is configured to execute a specified initialization operation of the second processing unit 2 when a specified manual operation is performed on the reception section 70. In this specification, "configured" for the alarm device 100, first processing device 10, or second processing device 20 to perform a specified operation or process (or not to perform a specified operation or process) includes the case where commands for causing the alarm device 100, first processing device 10, and / or second processing device 20 to perform (or not to perform) that specified operation or process are included in programs describing the operation or processing of each processing device.
[0030] In this embodiment, when a prescribed manual operation is performed on the reception unit 70 in this manner, a prescribed initialization operation is executed by the second processing unit 2. "Initialization" of the second processing unit 2 may mean returning some or all of the components of the second processing unit 2 to the state they were in when shipped from the alarm device 100's manufacturing factory, the state they were in when the alarm device 100 started up, or the state before the alarm device 100 was connected to the network N. Alternatively, "initialization" of the second processing unit 2 may mean returning some or all of the components of the second processing unit 2 to a specific state that is stored within the second processing unit 2 (for example, in the storage means 20a) or storage means 30 as the state after appropriate initialization of the second processing unit 2.
[0031] That is to say, initialization by a specified manual operation causes the second processing unit 2 to transition to the state it was in when the alarm device 100 was shipped from the factory until the start of operation, or to a state that has been prepared in advance as an appropriate state. For example, if the software SW built into the second processing device 20 has been updated (i.e. changed) with update data containing a bug, causing it to fall into a state in which it cannot operate normally, initialization will return the second processing device 20 to the state before the update (state before the change). Even if the alarm function provided by the first processing unit 1 is inhibited due to inappropriate operation of the second processing device 20, this inhibition will be resolved. As such, the alarm device 100 of this embodiment is configured so that the second processing unit 2 can be initialized by a specified manual operation by the operator, and so can return to a state in which the alarm function can be properly performed.
[0032] To go into more detail about the effects brought about by this type of alarm device of the present 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 which controls the alarm function. For this reason, when the software SW of the second processing device 20 is updated in response to, for example, an upgrade of the communications protocol, it is unlikely that the alarm function will be stopped as a direct result of a malfunction in the update. Furthermore, the first processing device 10 is freed from the burden of controlling functions other than the alarm function.
[0033] On the other hand, when the second processing device 20 operates independently, for example, the sound of an alarm or the like may be obstructed by the sound that the second processing unit 2 causes the output unit 40 to emit based on communication with the external device E. In a configuration in which the second processing device 20 is controlled by the first processing device 10, such a situation is easily avoided, but it is possible that the second processing device 20 may deviate from the control of the first processing device 10 due to, for example, a malfunction in an update as described above. In addition, in a second processing device 20 that can be connected to an external network N, such deviation from the control of the first processing device 10 may be brought about as a result of receiving undesirable information from any external device E connected to the network N. Furthermore, it is also possible that a specific input port of the second processing device 20 that is provided to accept the control of the first processing device 10 may break down.
[0034] In this manner, when the second processing device 20 is separated from the control of the first processing device 10, the processing on the second processing device 20 side may prevent the alarm function from being performed as intended, even though the first processing device 10 is normal. For example, as described above, an audio alarm may be drowned out by audio based on communication and not reach the user, or may be difficult to hear. In other words, even though the first processing device 10 and the second processing device 20 are provided separately, the alarm function may not be performed properly due to a change in the state of the second processing device 20 after the alarm device 100 starts operating. In particular, if the second processing device 20 has reached 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 an abnormality in the second processing device 20. Therefore, it is difficult for the alarm device 100 itself to restore to a state where it can perform the alarm function properly. As a result, it is often necessary to replace the alarm device or have it repaired by a professional, and until the replacement or repair is completed, the user is likely to be left in a substantially unmonitored environment.
[0035] In this way, even when the alarm device 100 itself does not realize that a malfunction has occurred in the alarm function, and is therefore unable to autonomously restore to normal, there are times when the user or others may become aware of the malfunction in the alarm function due to the sound or display from the output section 40. However, unless the user who notices the malfunction is provided with the means to resolve the malfunction, it remains difficult to quickly resolve the malfunction in the alarm function.
[0036] Therefore, the alarm device 100 of the present embodiment is equipped with a reception unit 70 that receives manual operations, and is configured to execute a predetermined initialization operation of the second processing unit 2, including the second processing device 20, when a predetermined manual operation is performed on the reception unit 70. An operator who notices that the alarm device 100 is not operating normally can perform a predetermined manual operation on the reception unit 70 to return the second processing unit 2 to a state before the alarm device 100 started operating, for example, or transition to a state that has been prepared in advance as an appropriate state. If the second processing device 20 was following the control of the first processing device 10 when the alarm device 100 started operating, then the alarm device 100 can be returned to a state in which the control of the first processing device 10 over the second processing device 20 is valid. For example, in a configuration in which the first processing device 10 controls the second processing device 20 so that no sound is emitted when an alarm is issued, the second processing device 20 will not cause the output unit 40 to emit sound when an alarm is issued.
[0037] Therefore, an audio alarm can be delivered to the user in an unobstructed and easily audible state. In other words, even if the alarm function is obstructed by the operation of the second processing unit 2, and even if the second processing unit 2 is in a state where it cannot return to a normal state either autonomously or under the control of the first processing unit 1, the obstruction can be resolved. As such, with the alarm device of this embodiment, because it is possible to initialize the second processing unit 2 by a specified manual operation, even if a part of the alarm device, such as the second processing unit 2, goes into a state where it does not function due to a change in the internal state, the alarm device can be restored to a state where it can function normally at the will of an operator such as a user.
[0038] <Manual operation> FIG. 2 shows a schematic diagram of manual operations on an alarm device 100 installed in a house as some examples of manual operations received by the reception unit 70. As an example, the reception unit 70 receives a physical operation M by an operator, such as touching the reception unit 70, as shown in FIG. 2. In this case, the reception unit 70 is provided, for example, in the housing 60, in a manner that allows physical operations such as contact, pushing or pulling out, or shifting by the operator. Examples of components of the reception unit 70 that receive physical manual operations in this way include various switches that are provided on the alarm device 100 so as to be visible and touchable from the outside. When the reception unit 70 is configured as a switch, the portion of the switch that is operated may be connected to an operation button that is provided exposed from the housing 60. Examples of switches used as the reception unit 70 include, but are not limited to, a push button switch and a toggle switch. For example, the reception unit 70 may be an input device such as a touch panel or a keypad.
[0039] The push button switch used as the reception unit 70 may preferably be a tactile switch that is pressed only during operation and automatically returns to its original position when operation ends. If the reception unit 70 is configured as a tactile switch, the alarm device 100 may be instructed to perform different operations depending on the length of time that it is pressed or the number of times it is pressed repeatedly within a certain period of time. Pressing for an arbitrarily selected specific period of time may be the "predetermined manual operation" that instructs the second processing unit 2 to perform an initialization operation, or pressing a specific number of times repeated within an arbitrarily selected specific period of time may be the "predetermined manual operation".
[0040] Furthermore, the reception section 70 may receive manual operation via a medium such as electromagnetic waves such as light, sound waves, or radio waves, rather than direct physical operation by the operator on the alarm device 100, such as directly touching the reception section 70. In other words, the reception section 70 may receive light, sound, radio waves, etc. emitted by manual operation performed on a device separate from the alarm device 100 in order to give instructions to the alarm device 100, as a manual operation instructing the execution of a specified operation. In this case, the reception section 70 may be made up of a photoelectric conversion element such as a photodiode that converts light into an electrical signal, a sound sense element such as a microphone that converts sound into an electrical signal, or a receiving element that has an antenna or the like that receives radio waves. The reception section 70 that receives radio waves may be substituted with the communication section 21 (see FIG. 1).
[0041] When the reception unit 70 receives a manual operation mediated by radio waves, light, or the like, the operator can, as that manual operation, perform direct manual operation on a dedicated terminal such as the alarm device 100's attached remote control, which is connected to the alarm device 100 via short-range communication. The operator can also perform direct manual operation on various general-purpose mobile terminals, such as a smartphone, which has been converted into a dedicated terminal by an application program and is connected to the alarm device 100 via short-range communication, as a manual operation on the reception unit 70 (hereinafter, dedicated terminals and general-purpose mobile terminals that have been converted into dedicated terminals are collectively referred to as "dedicated terminals", and are shown in Figure 2 with the reference symbol "Pn"). The short-range communication used by the dedicated terminals Pn can 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 of the reception unit 70, the operator can also perform direct manual operations on external device E that is linked to the communication unit 21 of the alarm device 100 by wired or wireless communication via the network N or the telecommunications carrier's base station B, or on a distant terminal Pr such as a smartphone.
[0042] In this way, a "manual operation" of the reception section 70 may be performed on a device separate from the alarm device 100. On the other hand, the generation of an instruction to cause the alarm device 100 to perform a specific operation, which occurs inside the alarm device 100 without the intervention of the operator, or which occurs externally and is sent to the alarm device 100, is not included in "manual operation". For example, the execution of a command written in a built-in program of the alarm device 100, or in a control program of external device E, that commands the alarm device 100 to perform a specific operation is not included in "manual operation".
[0043] <Prescribed manual operations> The "predetermined manual operation" that causes the second processing unit 2 to execute the initialization operation may be a specific mode of operation arbitrarily selected from the "manual operations" received by the reception unit 70 described above. As an example, when the reception unit 70 is the above-mentioned tactile switch, the "predetermined manual operation" may be, for example, pressing the tactile switch that is the reception unit 70 for 5 seconds or more, or may be pressing the switch 5 times or more within 5 seconds. As another example, when the reception unit 70 is a toggle switch, the "predetermined manual operation" may be placing the toggle switch in one of two states for a specific period of time or more, or may be switching the toggle switch between the two states a specific number of times or more within a specific period of time.
[0044] Furthermore, if the reception unit 70 is a touch panel, the "predetermined manual operation" may be touching a specific icon displayed on the touch panel, or drawing a specific, predetermined trajectory on the touch panel with a fingertip or a touch pen. Furthermore, if the reception unit 70 is a keypad, the "predetermined manual operation" may be typing a specific, predetermined pattern. Furthermore, if the predetermined manual operation is performed by direct manual operation of the dedicated terminals Pn described above, or external device E connected to the alarm device 100 via the Internet or the like, the "predetermined manual operation" may be sending a predetermined specific command, specific message, or specific protocol data unit to the alarm device 100 from the dedicated terminals Pn or external device E. When the reception unit 70 receives such a "predetermined manual operation", initialization is carried out in the second processing unit 2.
[0045] The alarm device 100 of the present embodiment may be configured to perform a predetermined initialization operation of the second processing device 2 not only when a "predetermined manual operation" is performed on the receiving section 70, but also when an operation other than an operation on the receiving section 70 is performed in conjunction with the "predetermined manual operation". In this case, it may be possible to prevent the initialization of the second processing device 2 from being unintentionally performed by mistake. For example, the alarm device 100 of the example of FIG. 1 which is equipped with a power plug 61 may be configured to perform a predetermined initialization operation of the second processing device 2 in response to a "predetermined manual operation" of the receiving section 70, and when the power plug 61 is connected to or disconnected from a commercial power source. In other words, the second processing device 2 may be initialized when the supply of power to the alarm device 100 is started or stopped in conjunction with a "predetermined manual operation" of the receiving section 70.
[0046] For example, when the power plug 61 is not connected to a plug socket (outlet, not shown) connected to a commercial power source, a predetermined initialization operation of the second processing unit 2 may be executed when a tactile switch provided as the reception unit 70 is pressed and the power plug 61 is inserted into the outlet in this state. Alternatively, a "predetermined manual operation" is performed with the power plug 61 connected to the plug socket. This alone does not cause the second processing unit 2 to be initialized, but when the power plug 61 is once disconnected from the outlet while the "predetermined manual operation" is being performed, and then reconnected after the "predetermined manual operation" is stopped (or continued), the predetermined initialization operation of the second processing unit 2 may be executed.
[0047] In this case, the alarm device 100 is equipped with a non-volatile memory such as an EEPROM that stores the state of the reception section 70 at the time the power supply was stopped, that is, that a "prescribed manual operation" was being performed when the power plug 61 was separated from the outlet. In the alarm device 100 of the example in Figure 1, the state of the reception section 70 at the time the power supply was stopped can be stored in the storage means 30, the storage means 20a within the second processing device 20, or, if the first processing device 10 is equipped with storage means such as an EEPROM, then in that storage means.
[0048] The reception section 70 in this embodiment may be configured to receive manual operations in a manner different from the "predetermined manual operations" in addition to the "predetermined manual operations" exemplified above. The alarm device 100 in this embodiment may be configured to execute an operation other than the "predetermined initialization operation" of the second processing unit 20 when a manual operation other than the "predetermined manual operation" is received by the reception section 70. With an alarm device 100 configured in this manner, it is possible to instruct the alarm device 100 to execute two or more types of operation, including initialization of the second processing unit 2, simply by providing a small number of reception sections 70. The operation that is executed when the reception section 70 receives a manual operation other than the "predetermined manual operation" may be, for example, a self-inspection of the alarm device 100, stopping an alarm that is being issued, switching operation modes (for example, between normal mode and power saving mode), changing the volume of the alarm sound, etc., but is not limited to these.
[0049] 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, the manual operation other than the "predetermined manual operation" may be pressing the tactile switch for a time shorter than the pressing time as the "predetermined manual operation" (e.g., less than 5 seconds). Alternatively, pressing a number of times less than the number of times as the "predetermined manual operation" within a specific time (e.g., 5 seconds) may be the manual operation other than the "predetermined manual operation". Even if the reception unit 70 is a toggle switch, switching the toggle switch between two states in a manner different from the switching manner between the two states of the toggle switch as the "predetermined manual operation" may be the manual operation other than the "predetermined manual operation".
[0050] Furthermore, if the reception unit 70 is a touch panel, a manual operation other than the "predetermined manual operation" may be touching an icon other than an icon displayed as the "predetermined manual operation", or may be drawing a trajectory with a fingertip or the like different from the trajectory to be drawn as the "predetermined manual operation", and if the reception unit 70 is a keypad, a manual operation other than the "predetermined manual operation" may be typing in a pattern different from the pattern typed as the "predetermined manual operation". Similarly, if the predetermined manual operation is performed by a direct manual operation on the above-mentioned dedicated terminals Pn or external device E, sending a command or message different from the command or message sent as the "predetermined manual operation" may be a manual operation other than the "predetermined manual operation".
[0051] As described above, when the reception unit 70 is also used to instruct the execution of an operation other than the predetermined initialization operation of the second processing unit 2 (for example, stopping an alarm during an alarm), the "predetermined manual operation" is preferably an operation that is more complicated or difficult than an operation for instructing an operation other than the predetermined initialization operation of the second processing unit 2. Also, unlike the above, when the reception unit 70 is configured to receive only a "predetermined manual operation" that instructs the predetermined initialization operation of the second processing unit 2, the reception unit 70 may be provided in a position on the housing 60 that is difficult for a user to operate. For example, when the housing 60 is provided with a plurality of reception units that can be operated by a user, including the reception unit 70, the reception unit 70 that receives only the "predetermined manual operation" is preferably provided in a position that is more difficult to operate than the other reception units. It may be possible to prevent the execution of an unintended initialization operation due to user carelessness, etc.
[0052] 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 not particularly limited, so long as the initialization returns the second processing unit 2 to the state it was in before the alarm device 100 started operating, or transitions it to a state that is prepared in advance as an appropriate state. As described above, the second processing unit 2 is mainly composed of the second processing device 20. Therefore, the second processing device 20 is preferably initialized as the "predetermined initialization operation" of the second processing unit 2. When the second processing device 20 is initialized, the internal state of the second processing device 20 is returned to the state it was in before the alarm device 100 started operating, or transitions it to a state that is prepared in advance as an appropriate state.
[0053] <An example of a predetermined initialization operation of the second processing unit: software initialization> As one example, the software SW built into the second processing unit 2 may be initialized by a predetermined initialization operation of the second processing unit 2, which is executed by a predetermined manual operation of the reception unit 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 in accordance with the instructions contained in the software SW stored in the storage unit 20a. By returning the software SW containing the instructions followed by the second processing device 20 to, for example, the state when the alarm device 100 was shipped from the factory or when the alarm device 100 started up, it may be possible to restore the second processing device 20, which has a malfunction due to a change in state after operation has started, to a normal state.
[0054] 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 having a function of controlling the internal circuits and devices of the second processing device 20, the second processing device 20 can be more reliably restored to a normal state from a defective state by the initialization. When the software SW is initialized, the storage unit 20a is preferably configured with an easily rewritable memory, such as an EEPROM or a flash memory.
[0055] <Another Example of Predetermined Initialization Operation of the Second Processing Unit: Reproduction of Internal State (Reset)> In the alarm device 100 of the present embodiment, in addition to initializing the software SW as described above, the predetermined initialization operation of the second processing unit 2 may also return the internal state of the components of the second processing unit 2 that was changed after the alarm device 100 started operating, such as the internal state of the second processing device 20, to the state it had at a specific point in time before the change was made. In other words, the state of each component within the second processing device 20, such as the contents of a specific memory area within the storage means 20a, the state of the input / output ports, and the value of the program counter indicating the address of the next command to be executed by the second processing device 20, are changed or changed as needed after the alarm device 100 starts operating. The states of these components are returned to the state they had at a specific point in time before the change or change was made, in the "predetermined initialization operation" of the second processing unit 2.
[0056] The "particular point in time" may be, for example, when the alarm device 100 is shipped from the factory, when the alarm device 100 starts up, a point in time before the alarm device 100 is connected to the network N, or any point in time before any of the changes made to the components of the second processing device 20. What state each component within the second processing device 20 is returned to is described in software SW in which instructions to be executed by the second processing device 20 are described, or may be stored in storage means 20a or storage means 30.
[0057] As an example, in a predetermined initialization operation of the second processing unit 2, the value of the program counter may be set (cleared) to zero or may be set to a specific predetermined value. In addition, in a predetermined initialization operation of the second processing unit 2, the contents of a temporary storage area such as a RAM or various registers provided in the second processing device 20 may be cleared, or predetermined information may be stored in the temporary storage area. Furthermore, in a predetermined initialization operation of the second processing unit 2, a timer or an input / output port provided in the second processing device 20 may be set to a predetermined state, or the second processing device 20 may transition to a mode in which all interrupt processing is prohibited. By having the second processing device 20 execute the above-mentioned program counter clearing or temporary storage area clearing, the internal state of the second processing device 20 may be restored to a state at a specific point in time before the change or modification made after the alarm device 100 started operating. As a result, it may be possible to restore the second processing device 20, which has a malfunction due to a state change after the start of operation, to a normal state.
[0058] 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 a predetermined initialization operation of the second processing device 2, the state at a specific point in time to which each component in the second processing device 20 is returned may be the same as the internal state of the second processing device 20 after execution of any of these various reset processes. In other words, in a predetermined initialization operation of the second processing device 2, any of the various reset processes provided in the second processing device 20 as described above may be executed.
[0059] The alarm device 100 of the present embodiment may be configured to select the processing to be performed as the prescribed initialization operation of the second processing unit 2, depending on the mode of a prescribed manual operation to the receiving unit 70. In other words, the "prescribed manual operation" received by the receiving unit 70 may include multiple types of manual operation, which are mutually different modes of operation. And the prescribed initialization operation of the second processing unit 2 may be executed in accordance with each of the multiple types of manual operation.
[0060] For example, the software SW built into the second processing unit 2 is initialized by a predetermined initialization operation performed in response to the execution of a first operation, which is one of a plurality of types of manual operations. Then, the internal state of the second processing device 20 that was changed after the alarm device 100 started operating may be returned to the state at a specific point in time before the change was made by a predetermined initialization operation performed in response to the execution of a second operation, which is one of a plurality of types of manual operations and different from the first operation. In this way, when the initialization operation of the second processing unit 2 is performed in response to each of a plurality of types of predetermined manual operations, the operator can select an appropriate initialization operation of the second processing unit 2 that is suited to, for example, the malfunction state currently being experienced by the alarm device 100.
[0061] As an example, if pressing the tactile switch that is the reception unit 70 for 5 seconds or more is the "predetermined manual operation" as described above, pressing for 5 to 10 seconds may be the first operation, and pressing for 10 seconds or more may be the second operation. If pressing the tactile switch that is the reception unit 70 5 or more times within 5 seconds is the "predetermined manual operation", pressing 5 or more times within 3 seconds may be the first operation, and pressing 5 or more times within 3 to 5 seconds may be the second operation. If the reception unit 70 is a touch panel, touching a first icon that is one of a plurality of icons displayed on the touch panel as the predetermined manual operation may be the first operation, and touching a second icon may be the second operation.
[0062] <Example of initialization operation of the second processing unit by manual operation of the reception unit> Referring to FIG. 3 which shows an extract of the reception unit 70, the second processing device 20, and the storage means 30, an example of the transmission of an instruction to execute an initialization operation from the reception unit 70 to the second processing device 20, and a specific processing performed as the initialization operation of the second processing device 20 will be described.
[0063] In the example shown in FIG. 3, the reception unit 70 is connected to an input port 200 provided in the second processing device 20. The second processing device 20 is configured to execute 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 GND potential). When the reception unit 70 receives a predetermined manual operation, a signal of a predetermined level is output from the reception unit 70. Since the input port 200 is set to the predetermined level, the second processing device 20 performs a predetermined initialization operation, for example, by returning the internal state of the second processing device 20 that was changed after the alarm device 100 started operating to the state at a specific point in time before the change was made. As described above, when an external reset is executed from among the various reset processes provided in the second processing device 20 in the predetermined initialization operation of the second processing unit 2, the input port 200 may be an external reset terminal provided in the second processing device 20 and that receives a request to execute a reset operation from outside.
[0064] In addition, when the power-on reset provided in the second processing device 20 is executed in the predetermined initialization operation of the second processing unit 2, as an example, the open / close state of the switch 10b is controlled by a predetermined manual operation to the reception unit 70, as shown by the two-dot chain line in FIG. 3. The switch 10b is disposed in a 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 controlled to a non-conductive state once. Since the supply of the power supply VDD is once cut off and then resumed, the power-on reset of the second processing device 20 is executed. In this case, the power-on reset is programmed in the software SW so that the changed internal state of the second processing device 20 is returned to the state at a specific time point before the change by a series of processes by the execution of the power-on reset. By executing the power-on reset, the changed internal state of the second processing device 20 is returned to the state at a specific time point before the change.
[0065] 3, the software SW followed by the second processing device 20 may contain a command to execute initialization of the software SW when a predetermined signal is input to the input port 200. In this case, when the reception unit 70 receives a predetermined manual operation, it sends a predetermined signal such as a high level, a low level, or a transition from one of the high level and the low level to the other. As a result, the software SW is initialized in the second processing device 20.
[0066] In the example of Figure 3, the second processing device 20 has software SW built into the first area A1, which is a specific storage area of the storage means 20a. Then, in an nth area, which is a specific storage area of the storage means 20a different from the first area A1, software SWi prepared as initialization data is stored. The software SWi includes, for example, a control program prepared so that the second processing device 20 follows when the alarm device 100 is shipped from the manufacturing factory or when operation is started. As an example, the software SWi may be the same software as the software stored in the first area A1 when the alarm device 100 is shipped from the manufacturing factory or when operation is started, or it may be software prepared separately for initialization.
[0067] When the second processing device 20 initializes the software SW upon receiving a predetermined signal input to the input port 200, the memory contents of the first area A1 may be rewritten with the software SWi in the n-th area An so that the software SWi is executed instead of the software SW. 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 manner.
[0068] The initialization of the software SW of the second processing device 20, which is performed as the specified initialization operation of the second processing device 2, does not have to be performed using initialization data stored within the second processing device 20. For example, in the example of FIG. 3, the software SWi prepared as initialization data is also stored in storage means 30 that the alarm device 100 is equipped with separately from the second processing device 20. When initialization of the software SW is performed as the specified initialization operation of the second processing device 2 by inputting a specified signal to the input port 200, the software SW within the second processing device 20 may be rewritten using the software SWi, which is the initialization data stored in the storage means 30. In this way, when initialization of the software SW is performed using initialization data stored in memory inside the alarm device 100, such as the storage means 20a or storage means 30, it may be possible to restore the second processing device 2 to a normal state more quickly than when initialization data is supplied from outside the alarm device 100.
[0069] The initialization of the software SW built in the second processing device 20 may be performed using a boot loader that is provided in the second processing device 20 and is controlled by a startup program of the second processing device 20. In this case, the second processing device 20 is configured to receive a reboot instruction from the outside, and is further configured to execute initialization of the software SW if a specific port is in a predetermined state when the reboot instruction is received. When the boot loader is used to initialize the software SW, the second processing device 20 in the example of FIG. 3 is configured to receive a predetermined signal (hereinafter referred to as a "reboot instruction signal") that instructs rebooting at the input port 201, and is configured to execute initialization of the software SW if the input port 200 is set to a predetermined reboot instruction level, such as a low level or a high level, when the reboot instruction signal is received.
[0070] When the reception unit 70 receives a predetermined manual operation, it sends a predetermined reboot instruction signal, for example, a signal that transitions from one of a high level and a low level to the other level, which is a reboot instruction level, to the input port 200. After the reboot instruction signal is input, the input port 200 is set to a reboot instruction level, which is the level after the transition of the reboot instruction signal. Meanwhile, a delay circuit 71 is provided between the input port 201 and the reception unit 70. The delay circuit 71 is composed of, for example, a capacitor and a resistor, and delays the timing of the level transition of the reboot instruction signal for 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 a reboot instruction level that causes initialization of the software SW. Therefore, the second processing device 20 executes initialization of the software SW. Even if the second processing device 20 falls into a state in which the software SW cannot be initialized by simply executing the software SW, it may be possible to execute initialization of the software SW by using a boot loader controlled by a startup program.
[0071] Note that the initialization of the software built in the second processing device 20, which is executed as the initialization of the second processing unit 2, may be performed by simply switching the program executed by the second processing device 20, without rewriting the contents stored in the storage means 20a. That is, in the example of Fig. 3, when the reception unit 70 receives a predetermined manual operation, the second processing device 20 may be configured to operate according to the command included in the software SWi stored in the n-th area An, instead of the software SW stored in the first area A1.
[0072] Fig. 4 shows another example of a transmission mode of an instruction to execute an initialization operation from the reception unit 70 to the second processing device 20. The example of Fig. 4 differs from the example of Fig. 3 in that an identification unit 72 is provided between the reception unit 70 and the second processing device 20. In Fig. 4 (and Fig. 5 to be referred to later), the same components as those in Fig. 3 are denoted by the same reference numerals in Fig. 3 (or Fig. 5), and repeated explanations of those similar components will be omitted.
[0073] As described above, when the reception unit 70 also receives 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. As an example, the identification unit 72 is composed of a timer that counts the 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 or the number of times it is pressed repeatedly within a specific time meets the requirements for the predetermined manual operation. The identification unit 72 may be composed of a comparison circuit that determines whether the signal sent from the reception unit 70 meets the requirements for the predetermined manual operation by comparing it with a reference signal.
[0074] When the requirements for a predetermined manual operation are met, the identification unit 72 identifies the manual operation performed on the reception unit 70 as the predetermined manual operation, and sets the input port 200 of the second processing device 20 to a predetermined level, sends a predetermined signal, or 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 operation are transmitted to the input port 202 of the second processing device 20, and an operation according to the manual operation is executed in the second processing device 20.
[0075] Fig. 5 shows yet another example of a transmission mode of an instruction to execute an initialization operation 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. Then, if the manual operation performed on the reception unit 70 is the predetermined manual operation, the first processing device 10 instructs the second processing device 20 to execute the predetermined initialization operation.
[0076] In the example shown in FIG. 5, the first processing device 10 has an output port 101 for initializing the second processing device 20, and the output port 101 is connected to an input port 200 of the second processing device 20 that functions in the same manner as in the example of FIG. 3. That is, the second processing device 20 is configured to execute 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 of a predetermined level from the output port 101 to the input port 200. Since the input port 200 is set to a predetermined level, the second processing device 20 performs a predetermined initialization operation, for example, by returning the internal state of the second processing device 20 that was changed after the alarm device 100 started operating to a state at a specific time before the change was made. Furthermore, the first processing device 20 may output an appropriate control signal from the output port 102 in response to a predetermined manual operation on the reception unit 70 to control the open / close state of the switch 10b. By controlling the open / closed state of the switch 10b in this way, a predetermined initialization operation of the second processing device 20 may be executed using a power-on reset function provided in the second processing device 20.
[0077] 5, if a command to instruct the second processing device 20 to execute initialization of the software SW when a predetermined signal is input to the input port 200 is written in the software SW, when the reception 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 second processing device 20 executes initialization of the software SW.
[0078] The first processing device 10 may use a boot loader provided in the second processing device 20 to cause the second processing device 20 to initialize the software SW built 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 is configured to receive a reboot instruction signal at the input port 200, and execute initialization of the software SW when the input port 201 is set to a predetermined reboot instruction level, such as a low level or a high level, when the reboot instruction signal is received. When the first processing device 10 executes initialization of the software SW as initialization of the second processing unit 2, it sends 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 a reboot instruction level at the same time as or prior to sending the reboot instruction signal. As a result, the initialization of the software SW is executed in the second processing device 20.
[0079] <Method of initializing an alarm device according to an embodiment> Referring again to FIG. 6 and FIG. 1 as appropriate, a method for initializing an alarm device according to one 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 flow chart showing one example of the procedures in the method for initializing an alarm device according to this embodiment. To the left of the two-dot chain line L1 in FIG. 6, the processing executed in each step of the method for initializing an alarm device according to this embodiment is shown. Furthermore, to the right of the two-dot chain line L1, the processing carried out by the second processing unit 2 is shown, including the processing carried out in relation to each step in the method for initializing an alarm device according to this embodiment. Note that the components of the alarm device 100 described with reference to FIGS. 1 to 5, and the functions and actions of each of these components, may also be possessed by an alarm device initialized by the method for initializing an alarm device according to this embodiment, and its components. Furthermore, the operations and processing carried out on the alarm device 100 described with reference to FIGS. 1 to 5 may be included in the method for initializing an alarm device according to this embodiment, as part of a series of procedures.
[0080] The method for initializing an alarm device of this embodiment is, as an example, a method for initializing an alarm device such as an alarm device 100 comprising a detection unit 50, a first processing unit 1, a second processing unit 2, and a reception unit 70 that receives manual operation, as shown in FIG. 1. Here, the detection unit 50 is capable of detecting 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 unit 2 controls at least a predetermined function other than the alarm function controlled by the first processing unit 1. Note that the initialization of the alarm device in the method for initializing an alarm device of this embodiment may specifically be the initialization of the second processing unit 2. And, as previously explained with reference to FIG. 1 and FIG. 2, the method for initializing an alarm device of this embodiment includes initializing the second processing unit 2 by performing a predetermined manual operation on the reception unit 70 in a manner different from an operation that instructs the execution of an operation other than the initialization of the alarm device (steps S11, S22 in FIG. 6).
[0081] According to the alarm device initialization method of the present embodiment, initialization of the second processing unit 2 of the alarm device is carried out by manual operation by the user of the alarm device, etc. Initialization of the second processing unit 2 may involve returning some or all of the components of the second processing unit 2 to the state they were in when the alarm device was shipped from the manufacturing factory, the state they were in when the alarm device started operating, or the state they were in before the alarm device was connected to an external communications network. Alternatively, "initialization" of the second processing unit 2 may involve placing some or all of the components of the second processing unit 2 in a specific state that is prepared as the state after appropriate initialization of the second processing unit 2. Therefore, even if part of the alarm device, such as the second processing unit 2, falls into a non-functioning state due to a change in the internal state, the alarm device can be restored to a state in which it can function normally at the will of an operator, such as a user.
[0082] Furthermore, in the method for initializing an alarm device of this embodiment, the second processing unit 2 is initialized by performing a specified manual operation on the acceptor 70 that is different to operations that instruct the execution of operations other than initialization. In other words, the acceptor of an alarm device that is initialized using the method for initializing an alarm device of this embodiment also accepts operations that instruct the execution of operations other than initialization of the second processing unit 2. Therefore, it is possible to issue instructions to perform two or more types of operations, including initialization of the second processing unit 2, to an alarm device that is equipped with only a small number of acceptors 70, for example just one acceptor 70.
[0083] The initialization of the second processing unit 2 performed in the alarm device initialization method of this embodiment may be, as an example, the initialization of the software SW built into the second processing unit 2, as described above for the alarm device 100 of one embodiment. The initialization of the second processing unit 2 may also be the return of the internal state of the second processing device 20 constituting the second processing unit 2, which was changed after the alarm device started operating, to the state at a specific point in time before the change was made. The "predetermined manual operation" performed in the alarm device initialization method of this embodiment may be similar to the "predetermined manual operation" exemplified for the alarm device 100 of one embodiment, and may be, for example, pressing the tactile switch, which is the reception unit 70, for a specific period of time or more, or pressing the switch a specific number of times or more within a specific period of time. In the alarm device initialization method of this embodiment, the "operation that instructs the execution of an operation other than the initialization of the alarm device" may be any type of operation on the reception unit 70 other than the "predetermined manual operation".
[0084] 6, in second processing unit 2, an operation other than initialization is performed by a manual operation on reception unit 70 in a manner different from the predetermined manual operation, for example communication with external device E and setting up a link with external device E as a voluntary inspection of the alarm device (step S21). When a user of the alarm device notices a malfunction of the alarm device, they perform a predetermined manual operation on reception unit 70 in a manner different from an operation that instructs the execution of an operation other than initialization of the alarm device (step S11). Initialization is carried out in second processing unit 2 by the predetermined manual operation (step S22).
[0085] As shown in Figure 6, the method for initializing an alarm device in this embodiment may further include connecting or disconnecting the power plug 61 of the alarm device from the commercial power source, in addition to performing a specified manual operation on the reception unit 70 (step S12). The power plug 61 may be connected or disconnected from the commercial power source before the specified manual operation on the reception unit 70, after the specified manual operation, or simultaneously with the specified manual operation. Preferably, the second processing unit 2 is initialized by connecting or disconnecting the power plug 61 from the commercial power source while the specified manual operation is being performed. This may prevent the second processing unit 2 from being initialized unintentionally and erroneously.
[0086] 6, unless step S11 is performed, or unless step S12 is performed together with step S11, the second processing unit 2 continues to exercise control functions other than the alarm function, such as a communications function or a voice output function based on received information. In addition, each time an operation is performed on the reception unit 70 to instruct the execution of an operation other than initialization of the alarm device, the second processing unit 2 executes the operation other than initialization instructed by that operation (step S21).
[0087] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is indicated by the claims, not by the description of the embodiments above, and further includes all modifications (variations) within the meaning and scope of the claims.
[0088] For example, as a variation of Figure 1, the alarm device 100 may be equipped with three processing devices, each of which is made up of a semiconductor device such as a microcomputer or ASIC. In this case, one of the three processing devices may be a first sub-processing device that is responsible for the alarm function, such as the first processing device 10, the other may be a second sub-processing device that is responsible for the communication function, such as the second processing device 20, and the remaining one may be a main processing device that controls the other two.
[0089] Furthermore, in a modified example, the alarm device 100 in Figure 1 may be equipped with means (not shown) for detecting a malfunction of the alarm function due to, for example, the second processing device 20 moving away from control of the first processing device 10, such that a sound is issued due to control of the second processing device 20 based on received information while a sound alarm is being issued. Then, when a malfunction is detected by such detection means, the first processing device 10 may notify the user of the malfunction, for example, from the output section 40, to prompt the user to take action. The user who receives this notification can perform a specified manual operation on the reception section 70 to execute a specified initialization operation of the second processing section 2 as means for resolving the malfunction.
[0090] Furthermore, in the above embodiment, for ease of explanation, the processing operation of the alarm device in the embodiment has been explained using a flow-driven flowchart in which processing is performed in sequence according to a 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 using event-driven processing in which processing is executed on an event-by-event basis. In this case, the processing may be performed completely event-driven, or may be a combination of event-driven and flow-driven. [Explanation of symbols]
[0091] 100 Alarm 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 Memory means 40 Output section 50 Detection unit 61 Power plug 70 Reception SW Software SWi software (initialization data)
Claims
1. A detection unit capable of detecting at least one of a fire and a gas; A first processing unit that controls an alarm function that issues an alarm based on a detection result of the detection unit; A second processing unit that operates according to instructions included in the built-in software to control at least a predetermined function other than the alarm function; A reception unit that receives a manual operation; An alarm comprising: An alarm device that is configured so that a specified initialization operation is carried out when a specified manual operation is performed on the reception section, thereby restoring the software that has become faulty as a result of an update after the alarm device has started operating to a state in which it can function normally.
2. The second processing unit is configured to be controlled by the first processing unit, 2. An alarm as claimed in claim 1, wherein the second processing section, which has reached a state in which it cannot accept control of the first processing section due to the malfunction state, is restored to a state in which it can accept control of the first processing section by the specified initialization operation.
3. A method for initializing an alarm device comprising 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 second processing section that operates in accordance with commands contained in built-in software to control at least predetermined functions other than the alarm function, and a reception section that receives manual operation, A method for initializing an alarm device, comprising initializing the second processing unit by performing a specified manual operation on the receiving unit that is different from an operation that instructs the alarm device to perform an operation other than initialization, thereby restoring the software that has become malfunctioning due to an update after the alarm device started up to a state in which it can function normally.
Citation Information
Patent Citations
alarm
JP2004326360A
