Information processing device, information processing method, and program
The monitoring device ensures compatibility and prompts users to update rules when external devices are replaced, preventing operational failures by associating node numbers with commands and adjusting settings as needed.
Patent Information
- Application Number
- JP2020158798
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-09-23
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2040-09-23
AI Technical Summary
When replacing external devices connected to a monitoring device, there is a risk that the new device may not be compatible with the pre-set rules, leading to operations not being performed according to the rules due to the lack of expertise in reconfiguring settings.
The monitoring device includes a memory to store settings associating node numbers with commands, determines compatibility with the new device, and changes commands as necessary to ensure compatibility, prompting users to adjust rules if needed.
Prevents the monitoring device from failing to perform operations according to pre-set rules by ensuring compatibility and allowing users to update rules when external devices are replaced.
Smart Images

Figure 0007577492000001 
Figure 0007577492000002 
Figure 0007577492000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, an information processing method, and a program. [Background technology]
[0002] There is known a monitoring device that can be controlled remotely via a network or a dedicated line. This type of monitoring device is configured to perform monitoring using an external device in addition to monitoring using a camera or the like provided in the device itself. The external device includes a detection device that detects a situation, such as a PIR (Passive Infrared Ray) sensor or a gas sensor. In addition, an operating device that operates a motor or an electric circuit according to an instruction from the outside, such as a smart outlet or a door lock, is also included in the external device. The monitoring device is an information processing device, and performs monitoring using an external device by sending and receiving commands to and from the external device. These commands include those sent from the external device to the monitoring device, and those sent from the monitoring device to the external device. The former commands are used to notify the monitoring device of a situation detected by the external device, and are hereinafter referred to as "notification commands." The latter commands are used to control the external device from the monitoring device, and are hereinafter referred to as "control commands."
[0003] Monitoring devices must always operate automatically without human intervention. For this reason, rules that associate events with actions are preset in the monitoring device. Events include the arrival of a set time and the receipt of a notification command from an external device. Actions include the operation of the monitoring device itself (starting recording, sending an e-mail, etc.) as well as the sending of a control command to a specific external device. Communication between the monitoring device and external devices is performed using a mesh network such as Z-wave, and external devices are identified within the rules by their node numbers. Once the rules are set in the monitoring device, the monitoring device can be operated automatically. Also, even if an external device is replaced due to a malfunction, the node number assigned to the previous external device can be assigned to the new external device, making it possible to continue automatic operation of the monitoring device without resetting the rules.
[0004] Patent document 1 discloses a multifunction peripheral that is configured so that, when replacing a PC connected to a network, the identification information of the PC to be replaced that is set in the address book can be easily updated to the identification information of the PC to be replaced. Patent document 2 discloses a technology for, when replacing a camera connected to a network, determining that the new camera is a replacement for a specific camera, and then configuring the new camera based on the configuration settings of that specific camera. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2007-199958 A [Patent Document 2] JP 2015-226324 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, when replacing an external device connected to a monitoring device, it may not be exactly the same as the previous external device, but may be replaced with an external device of a different product having similar functions. In that case, the replaced external device may not support the commands set in the rules for the previous external device, and the operation according to the rules may not be executed when the external device is replaced. Therefore, when replacing an external device with a different product, it is necessary to check the command support status and reset the rules as necessary. However, since the replacement of an external device is not always performed by an expert, the rule resetting may be left unset even though it is necessary, and as a result, the operation according to the rules may not be executed. The present invention has been made in consideration of such problems, and its purpose is to provide a technology for preventing a situation in which operations in accordance with rules set within an information processing device are not performed when an external device connected to the information processing device is replaced. [Means for solving the problem]
[0007] An information processing device according to one embodiment of the present invention is characterized in having a memory means for storing settings that correspond a node number assigned to a first external device with a first command that can be sent and received between the first external device, a determination means for determining whether a second command compatible with the first command can be sent and received between the second external device and a second external device that has inherited the node number of the first external device when the first command cannot be sent and received between the second external device and the second external device, and a control means for performing control to change the first command in the settings to the second command when the determination means determines that the second command can be sent and received between the second external device and the second external device. Effect of the Invention
[0008] According to the present invention, when an external device connected to an information processing device is replaced, it is possible to prevent a state in which operations in accordance with rules set in the information processing device are not performed. [Brief description of the drawings]
[0009] [Figure 1] 1 is a diagram showing an example of a configuration of a monitoring system 1 according to a first embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram showing a configuration of a monitoring device 2. [Diagram 3] 4 is a diagram showing a command correspondence table stored in advance in a storage unit 12. FIG. [Figure 4] 2 is a flowchart showing a process of the monitoring device 2 according to the first embodiment of the present invention. [Diagram 5] FIG. 5 is a diagram showing a display screen 21 for setting rules displayed on the client device 3 with respect to S102 shown in FIG. [Figure 6] 5 is a diagram showing a display screen 22 displayed on the client device 3 upon receiving the notification in S109 shown in FIG. 4. FIG. [Figure 7] 5 is a diagram showing a display screen 23 displayed on the client device 3 upon receiving the notification of S110 shown in FIG. 4. FIG. [Figure 8] FIG. 11 is a flowchart showing the processing of a monitoring device 2 according to a second embodiment of the present invention. [Figure 9] FIG. 11 is a flowchart showing the processing of a monitoring device 2 according to a second embodiment of the present invention. [Figure 10] FIG. 9 is a diagram showing a display screen 24 for setting rules displayed on the client device 3 with respect to S203 shown in FIG. [Figure 11] 10 is a diagram showing a display screen 25 displayed on the client device 3 upon receiving the notification of S211 shown in FIG. 9. FIG. [Figure 12] 10 is a diagram showing a display screen 26 displayed on the client device 3 upon receiving the notification of S214 shown in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment for carrying out the present invention will be described in detail with reference to the attached drawings. Note that the embodiment described below is one example of a means for realizing the present invention, and should be appropriately modified or changed depending on the configuration of the device to which the present invention is applied and various conditions, and the present invention is not limited to the following embodiment. Furthermore, not all of the combinations of features described in the present embodiment are necessarily essential to the solution of the present invention.
[0011] [First embodiment] Fig. 1 is a diagram showing an example of the configuration of a monitoring system 1 according to a first embodiment of the present invention. As shown in the figure, the monitoring system 1 includes a monitoring device 2, a client device 3, a detector 4b, and an operating device 5b. Of these, the detector 4b is a replacement for the detector 4a that was previously used, and the operating device 5b is a replacement for the operating device 5a that was previously used. Fig. 1 shows a state after the detector 4a has been replaced with the detector 4b, and the operating device 5a has been replaced with the operating device 5b. In this embodiment, a configuration will be described for preventing a situation in which, when the detector 4a is replaced with the detector 4b, an operation according to the rule set in the monitoring device 2 is not executed with respect to the above-mentioned notification command. A case in which the operating device 5a is replaced with the operating device 5b will be described in a second embodiment described later.
[0012] The monitoring device 2 is, for example, an information processing device (computer) having a function as a network camera, and is connected to the client device 3 via a wired or wireless network 6. The monitoring device 2 is also connected to the detection device 4b (or the detection device 4a) and the operating device 5b (or the operating device 5a) via a wired or wireless network 7. Through this connection, the monitoring device 2 monitors the status of the detection device 4b (or the detection device 4a) (i.e., receives a notification command) and issues an operation instruction to the operating device 5b (or the operating device 5a) (i.e., transmits a control command). In the following, the explanation will be continued assuming that the monitoring device 2 is a computer having a function as a network camera. The network 6 is configured to include multiple routers, switches, cables, etc. that satisfy various communication standards such as Ethernet (registered trademark). However, the network 6 may be any network that enables communication between the monitoring device 2 and the client device 3, and the communication standard, scale, and configuration of the network 6 are not particularly limited.
[0013] Furthermore, the network 7 may be based on various communication standards, such as Z-Wave, Zigbee (registered trademark), Bluetooth (registered trademark), WiFi (registered trademark), other wireless PANs (Personal Area Networks), wireless LANs (Local Area Networks), etc. However, the network 7 may be any network that enables communication between the monitoring device 2 and the detection devices 4a, 4b and the actuation devices 5a, 5b, and the communication standard, scale, and configuration of the network 7 are not particularly limited. In the following, the explanation will be continued on the assumption that the network 7 is configured by Z-Wave. In this case, when an external device is connected, the monitoring device 2 first assigns a node number as a management number to the connected external device and stores it as a device on the network 7. Then, the monitoring device 2 identifies the external device using this node number and monitors and controls each external device. When replacing an external device to which a node number has already been assigned with a new one, the monitoring device 2 can continue to use the node number assigned to the previous external device for the replaced external device. Details of this will be described later.
[0014] The detectors 4a and 4b are each a device having a sensor such as a PIR sensor or a gas sensor. The detectors 4a and 4b are configured to detect the surrounding situation using the sensor and transmit information indicating the detection result using a notification command. The detectors 4a and 4b have similar situation detection functions (sensors). The actuating devices 5a and 5b are devices having mechanisms including motors or electric circuits, such as smart outlets and door locks. The actuating devices 5a and 5b are configured to operate the motors or electric circuits in response to control commands received from the outside. The actuating devices 5a and 5b have similar actuating functions.
[0015] The client device 3 is an information processing device such as a PC (personal computer), and plays a role in controlling the operation of the monitoring device 2. The client device 3 has a display unit, and also functions as a display control device that controls the display unit. The client device 3 transmits various types of control information to the monitoring device 2. Upon receiving the control information, the monitoring device 2 performs an operation in accordance with the received control information and returns a response to the control information to the client device 3.
[0016] The control information that the client device 3 transmits to the monitoring device 2 includes information for setting rules in the monitoring device 2. The rules associate a predetermined action to be taken by the monitoring device 2 with an event that occurs in the monitoring device 2, and upon receiving this information, the monitoring device 2 sets the rules in accordance with the received information. The information transmitted from the monitoring device 2 to the client device 3 includes information including the contents to be displayed on the display unit of the client device 3. This information includes information for confirming whether the rules can be changed, information indicating that a part of the rules has been invalidated, etc. This point will be described in detail later with reference to Figs. 4 to 7.
[0017] The monitoring device 2 is configured to receive notification commands from the detection devices 4a, 4b indicating the detected situation, and to transmit control commands to the operation devices 5a, 5b to instruct the operation contents. The frame of each command is composed of a command class name, a command name, and one or more command data that differ for each command, and the contents represented by the command are specified by the combination of these. When the monitoring device 2 receives a notification command from the detection devices 4a and 4b, it executes an action according to the set rules and performs a process of notifying the client device 3 of the situation represented by the notification command. The action executed according to the set rules may include sending a control command to the operating devices 5a and 5b. Note that the monitoring device 2 may also send a control command to the operating devices 5a and 5b when it receives an operation instruction from the user from the client device 3.
[0018] The intrusion detection command shown below is an example of a notification command. The intrusion detection command is a command that is sent when a detection device with a PIR sensor detects an intruder passing in front of it, and has the following frame structure. Intrusion detection commands Command class name: Notification Command name: Notification Report Command Data 1: Notification Type = Homesecurity Command Data 2: Notification Name = Intrusion
[0019] The command class "Notification" is a command class that includes a series of commands used to notify events or states such as motion detection, door opening and closing, and system failure. The command name "Notification Report" indicates that the intrusion detection command is a type of command for transmitting a state detected by a detection device. The detection devices 4a and 4b are configured to transmit the intrusion detection command in response to a request from the monitoring device 2 or autonomously. The command data "Notification Type" and "Notification Name" are arguments of the intrusion detection command. The command data "Notification Type" being "Homesecurity" indicates that this notification is related to home security. Also, the command data "Notification Name" being "Intrusion" indicates that an intrusion has been detected. An actual intrusion detection command may include several other command data in addition to the above.
[0020] The switch-on command shown below is an example of a control command. The switch-on command is a command to turn on the smart outlet, and has the following frame structure: Switch on command Command class name:Binary Switch Command name:Binary Switch Set Command Data 1: Target Value = 0xFF
[0021] The command class "Binary Switch" is a command class that includes a series of commands used to control the on / off state of an operating device. The command name "Binary Switch Set" indicates that the switch on command (switch off command) is a type of command for setting the on (off) state of an operating device. The command data "Target Value" is an argument for the switch on command (switch off command), and when the value is 0x00 it indicates a setting to off, and when the value is other than 0x00 it indicates a setting to on. Note that, as specific values of the command class name, command name, and part of the command data, the above-mentioned character string data may be used, or a predefined identification number (e.g., Homesecurity is 0x07, etc.) may be used.
[0022] The monitoring device 2, the detectors 4a and 4b, and the actuators 5a and 5b are each configured to be able to transmit and receive one or more of these commands. The monitoring device 2, the detectors 4a and 4b, and the actuators 5a and 5b also transmit and receive control commands for establishing, maintaining, and terminating communication with each other as necessary. Note that there may be multiple detectors and multiple actuators on the network 7. Furthermore, the monitoring device 2, the detection devices 4a, 4b, and the actuation devices 5a, 5b are each configured to have a product identification number. The product identification number is a unique identification number defined for each product, and the same number is assigned to devices of the same type. As an example, the product identification number may be defined as a combination of multiple identification numbers, such as a manufacturer identification number indicating the manufacturer, a product type identification number defined by the manufacturer, and a product identification number defined by the manufacturer.
[0023] 2 is a diagram showing the configuration of the monitoring device 2. As shown in the figure, the monitoring device 2 is configured to include a control unit 11, a storage unit 12, a setting control unit 13, a communication unit 14, and an imaging unit 15. These units are connected via a bus 16. The control unit 11 is, for example, a CPU (Central Processing Unit) and has a function of controlling the entire monitoring device 2. The storage unit 12 is composed of storage devices including a main storage device and an auxiliary storage device, and serves to store various data. More specifically, the storage unit 12 is used as a storage area for programs executed by the control unit 11 or the setting control unit 13, etc., and as a work area during program execution. The storage unit 12 is also used as a storage area for various data, such as setting information such as rule settings used by the setting control unit 13, and a storage area for a command correspondence table described later.
[0024] The setting control unit 13 is a functional unit that controls settings related to notification commands received from the detection devices 4a and 4b, settings related to control commands transmitted to the operating devices 5a and 5b, and the like. The above-mentioned rule is one of these settings. In setting the rule, the setting control unit 13 can set the reception of a notification command from the detection devices 4a and 4b as an event, and can set the transmission of a control command to the operating devices 5a and 5b as an action. However, what is set in the rule as an event or action does not have to be the transmission or reception of a command. The rules set by the setting control unit 13 are stored in the storage unit 12 in the form of a setting file, and the setting control unit 13 refers to and updates the rules as needed through this setting file. The communication unit 14 communicates with the detection devices 4a, 4b and the operating devices 5a, 5b through the network 7. The above-mentioned various commands (notification commands indicating the status, control commands instructing operation, and other commands necessary for communication) are transmitted and received between the monitoring device 2 and the detection devices 4a, 4b or the operating devices 5a, 5b through this communication. The communication unit 14 also communicates with the client device 3 through the network 6. The above-mentioned control information and information including the contents to be displayed on the display unit of the client device 3 are transmitted and received between the monitoring device 2 and the client device 3 through this communication.
[0025] The imaging unit 15 is a functional unit that takes still images or videos under the control of the control unit 11. The control unit 11 may control the imaging unit 15 to take still images or videos constantly or periodically, or may cause the imaging unit 15 to start taking images as one of the actions set in the rule. The still images or videos taken by the imaging unit 15 are stored in the storage unit 12. 3 is a diagram showing a command correspondence table that is pre-stored in the storage unit 12. This table is for associating compatible notification commands, and each row stores a group of first and second commands that are compatible with each other.
[0026] For example, in the first line, the above-mentioned intrusion detection command is stored as the first command, and the following motion detection command is stored as the second command. The difference between the motion detection command and the intrusion detection command is that the content of the command data "Notification Name" is "Motion Detection". Motion detection commands Command class name: Notification Command name: Notification Report Command Data 1: Notification Type = Homesecurity Command Data 2: Notification Name = Motion Detection
[0027] In addition, in the second line, the following smoke detection command and carbon monoxide detection command are stored as the first and second commands, respectively. Smoke detection command Command class name: Notification Command name: Notification Report Command Data 1: Notification Type = Smoke Alarm Command Data 2: Notification Name=Smoke detected Carbon monoxide detection command Command class name: Notification Command name: Notification Report Command Data 1: Notification Type = CO Alarm Command Data 2: Notification Name=Carbon monoxide detected
[0028] In addition, on the third line, a charging state notification command and a low battery remaining amount notification command shown below are stored as the first and second commands, respectively. Charging status notification command Command class name: Battery Command name:Battery Report Command data 1: Replace / recharge status bitmask=now - Low battery notification command Command class name: Notification Command name: Notification Report Command Data 1: Notification Type = Power Management Command Data 2: Notification Name = Replace battery now
[0029] These groups are groups of commands that have similar content or usage. For example, in the case of the intrusion detection command and motion detection command in the first line, when a PIR sensor detects a moving object passing in front of the detector, it is difficult to determine whether the moving object is an intruder or not. Therefore, depending on the type of detector, either the intrusion detection command or the motion detection command can be used. Also, the charging status notification command and the low battery notification command in the third line are different command classes, but both indicate that the battery needs to be replaced immediately. In the command correspondence table of Fig. 3, only two commands are defined for each group, but three or more commands may be included in one group. Also, since a command is not always mutually replaceable with another command, the command correspondence table does not have to have the format shown in the example of Fig. 3, and the specific format of the command correspondence table is not limited. For example, the command correspondence table may be configured as a table in a format in which the command to be changed in the first column is listed, and one or more commands that can replace the command in the first column are listed in the second and subsequent columns.
[0030] Furthermore, commands grouped in the command correspondence table do not always have to be usable as substitute commands for each other.Whether a command can be substituted for another command in the group is ultimately determined by the user depending on the functions of the external device and the user's usage method (S109 to S111 in FIG. 4, which will be described later). Fig. 4 is a flow diagram showing the processing of the monitoring device 2 according to this embodiment. The processing shown in the figure is realized by the control unit 11 and setting control unit 13 of the monitoring device 2 executing a program stored in the storage unit 12. Hereinafter, with reference to Fig. 4 and Figs. 5 to 8 described later, the processing of the monitoring device 2 when the detector 4a is replaced with the detector 4b will be described in detail.
[0031] First, the control unit 11 executes a process for registering the detector 4a, which is the device before replacement, on the network 7 (S101). More specifically, the control unit 11 transmits and receives commands to exchange various information required to register the detector 4a as a device on the network 7 with the detector 4a through the communication unit 14. The various information required includes basic information for controlling the detector 4a, such as information on commands available for the detector 4a, information for encrypting the communication path, setting information on the operation time of the detector 4a, the node number, and the product identification number. The control unit 11 stores the information acquired in step S101 in the storage unit 12, thereby completing the registration of the detector 4a. In the following, the explanation will be continued assuming that the node number of the detector 4a is "6".
[0032] Next, the setting control unit 13 receives the content of the rule to be set for the detector 4a from the client device 3, and executes a process of setting the content in the storage unit 12 (S102). After this, the control unit 11 executes a specified action when an event occurs, based on the rule thus stored in the storage unit 12. 5 is a diagram showing the display screen 21 for setting rules displayed on the client device 3 in relation to S102. The display screen 21 is displayed by the control unit of the client device 3 executing a program stored in the storage unit of the client device 3 in response to a request for setting a rule input by the user to the client device 3. The client device 3 is configured to transmit the contents of the rule set by the user on the display screen 21 to the monitoring device 2.
[0033] The display screen 21 is a screen displayed for setting one of a plurality of rules that can be set in the monitoring device 2. The display screen 21 in the example of Fig. 5 is a screen for setting a rule identified by an identification number #1. The display screen 21 has a selection list 211 for setting an event that will be a trigger for executing an action, and a selection list 212 for setting an action to be executed when an event occurs. In addition, the display screen 21 displays a save button 213 for saving the setting, and a cancel button 214 for canceling the setting. The options of the selection lists 211 and 212 may be provided by the setting control unit 13 of the monitoring device 2. In this case, the setting control unit 13 transmits the options of the selection lists 211 and 212 to the client device 3 through the communication unit 14 based on information on events and actions available on the monitoring device 2. In this embodiment, the selection list 211 includes an option for a node number indicating the source of the command. If necessary, parameter information of the event or action, schedule information, and a selection list for specifying an action at the end of the event when the event is a continuous event may be displayed in the display screen 21.
[0034] The user operates the client device 3 to select from each list in the display screen 21. In the example of FIG. 5, receiving the above-mentioned intrusion detection command (Intrusion) from the device with node number 6 on the network 7 is selected in the selection list 211. Also, sending e-mail (Send e-mail) is selected in the selection list 212. Note that the action that can be selected in the selection list 212 is not particularly limited as long as it is an action that can be executed by the monitoring device 2. For example, saving the video, images, audio, etc. acquired by the imaging unit 15 in the storage unit 12 or an external storage device (not shown) may be set as an action. When the user presses the save button 213, the control unit of the client device 3 saves the rule setting information in the memory unit of the client device 3. On the other hand, when the user presses the cancel button 214, this saving is not performed and the setting is canceled. The control unit of the client device 3 transmits the rule setting information saved in the memory unit to the monitoring device 2. The setting control unit 13 of the monitoring device 2 receives this information via the communication unit 14, generates rules based on the received rule setting information, and stores them in the memory unit 12, for example, as a setting file.
[0035] Returning to FIG. 4, next, a process for replacing the detector 4a with the detector 4b is executed (S103). Specifically, the detector 4a is replaced with the detector 4b by the user. Then, the control unit 11 detects that the detector 4a has stopped responding. The detector 4b also transmits information to the surrounding devices informing them that it has entered a mode for joining the network. The user operates a device operation screen (not shown) of the client device 3 to transmit a control instruction to the monitoring device 2 indicating that the new device is to be incorporated into the network 7 by reusing the same node number "6". Then, the control unit 11 transmits a command for executing this control instruction to the detector 4b through the communication unit 14. However, the control unit 11 may transmit a command for executing this control instruction to the detector 4b when the control unit 11 detects that the detector 4a has stopped responding and that the detector 4b has entered a mode for joining the network. Thereafter, the control unit 11 transmits and receives commands to exchange various information required to register the detection device 4b as a device on the network 7 with the node number "6" with the detection device 4b that received the command. The various information required includes the node number, information required to establish communication such as information for encrypting the communication path, and a product identification number. The control unit 11 may further transmit and receive information about the detection device 4b itself with the detection device 4b. The detection device 4a may be in a state where it does not return a response to the communication, or may be configured so that the control unit 11 and the detection device 4a communicate with each other as necessary. The control unit 11 stores the information acquired in step S103 in the storage unit 12, thereby completing the registration of the detection device 4b. Next, the control unit 11 compares the product identification number of the detector 4a and the product identification number of the detector 4b stored in the memory unit 12 (S104). If the product identification numbers of the detector 4a and the detector 4b are different, the process proceeds to S105, and if not, the process for registering the detector 4b is completed without performing the processes in and after S105.
[0036] In S105, the control unit 11 acquires a command set indicating a list of commands that can be transmitted and received between the detection device 4b and the detection device 4b by transmitting and receiving commands for exchanging information on commands that can be transmitted and received between the detection device 4b and the detection device 4b. Then, the control unit 11 stores the acquired information on the command set in the storage unit 12. Note that the control unit 11 may acquire the information on the command set from the detection device 4b in S103. Next, the setting control unit 13 refers to the rules (set in S102) stored in the storage unit 12 and judges whether or not each of the one or more notification commands set in the event for node number "6" is included in the command set (S106). If it is judged that there is a command not included in the command set, the setting control unit 13 executes the processes of S108 to S112 for each of the one or more commands not included in the command set (S107). On the other hand, if it is judged that there is no command not included in the command set, the setting control unit 13 completes the process for registering the detected device 4b without executing the processes after S107.
[0037] In S108, the setting control unit 13 refers to the command correspondence table illustrated in Fig. 3 and determines whether or not there is a command compatible with the command to be processed. For example, if the command to be processed is an intrusion detection command, the intrusion detection command and the motion detection command belong to the same group in the table in Fig. 3, so the motion detection command is the compatible command. If there is a compatible command, the setting control unit 13 proceeds to S109, and if not, the setting control unit 13 proceeds to S112. In S109, the setting control unit 13 transmits to the client device 3 a notification prompting the client device 3 to change the rule (information for confirming whether or not the rule can be changed).
[0038] Fig. 6 is a diagram showing a display screen 22 displayed on the client device 3 that has received the notification of S109. The display screen 22 is displayed when the control unit of the client device 3 that has received the notification of S109 executes a program stored in the storage unit of the client device 3. Fig. 6 shows a case where the event of rule setting #1 shown in Fig. 5 is to be changed, and a motion detection command is presented as an alternative rule. The display screen 22 has a display area 221 for notifying a rule that cannot be used in the replaced device, and a display area 222 for notifying an alternative rule that is compatible with the rule. Also displayed on the display screen 22 are a button 223 for deciding to change to the alternative rule, and a button 224 for deciding not to change the setting.
[0039] The user checks the contents of display area 221 and display area 222 by looking at display screen 22 displayed on the display unit of client device 3. Then, the user decides whether or not to change to the alternative rule, and operates client device 3 based on the result. Specifically, if the rule is to be changed to the alternative rule, button 223 is pressed, whereas if the rule is not to be changed, button 224 is pressed. When button 223 is pressed, the control unit of client device 3 transmits information to monitoring device 2 via network 6 indicating that the current setting is to be changed to the alternative rule. On the other hand, when button 224 is pressed, the control unit of client device 3 transmits information to monitoring device 2 via network 6 indicating that the current setting is not to be changed to the alternative rule. When there are multiple options for which settings can be changed, the display screen 22 may be configured to display all the options for the user to select one.
[0040] Returning to Fig. 4, the setting control unit 13 receives the information transmitted by the client device 3 via the communication unit 14 and checks the contents of the information to determine whether or not the user has selected to change to an alternative rule (S110). If it is determined that a selection has been made, the setting control unit 13 changes the rule in the storage unit 12 based on the alternative rule (S111) and proceeds to the next command. On the other hand, if it is determined that no selection has been made, the setting control unit 13 proceeds to the next command without executing S111. The setting control unit 13, which has proceeded from S108 to S112, transmits a notification that the rule is invalid to the client device 3, and moves to the process of the next command.
[0041] Fig. 7 is a diagram showing the display screen 23 displayed on the client device 3 that has received the notification of S110. The display screen 23 is displayed when the control unit of the client device 3 that has received the notification of S110 executes a program stored in the storage unit of the client device 3. Fig. 7 shows a case where the rule setting #1 shown in Fig. 5 is invalidated. The display screen 23 has a display area 231 that notifies the user of rules that cannot be used in the replaced device, and a display area 232 that specifies rules that will be in an invalid state. The display screen 23 also displays a button 233 for closing the display screen 23 after checking the notification. The user checks the rules that will be in an invalid state by looking at the display screen 23 displayed on the display unit of the client device 3. Then, the user closes the display screen 23 by pressing the button 233.
[0042] As described above, according to this embodiment, when the detector 4a is replaced with the detector 4b, the monitoring device 2 checks whether the two devices are the same product. If they are not the same product, the monitoring device 2 checks whether the notification command set in the event of the rule stored in the storage unit 12 can be received from the detector 4b. If the notification command set in the event of the rule cannot be received from the detector 4b, a notification is sent to the user to prompt the user to change the rule if a compatible notification command can be received from the detector 4b, and the rule is changed if the user selects the change. Therefore, when the detector 4a is replaced with the detector 4b, it is possible to prevent the operation according to the rule set in the monitoring device 2 from being executed.
[0043] In the present embodiment, an example has been described in which the display screen 22 is displayed for each rule, but a display may be provided to prompt a selection for each of a plurality of rule settings within one display screen 22. Similarly, in the above embodiment, an example has been described in which the display screen 23 is displayed for each rule, but information may be displayed for each of a plurality of rule settings within one display screen 23.
[0044] [Second embodiment] In the second embodiment of the present invention, a configuration will be described for preventing a state in which an operation according to a rule set in the monitoring device 2 is not executed with respect to a control command, not a notification command. The configuration of the monitoring system according to this embodiment is similar to that of the monitoring system 1 of the first embodiment. In this embodiment, a device type is used to specify the function of the device. The monitoring device 2, the detector devices 4a and 4b, and the actuator devices 5a and 5b each have this device type as one of their attributes. Specific examples of device types include an On / Off Power Switch type that operates with two values, ON / OFF, and a Sensor-Notification type that notifies of an event that has occurred. The former is the device type of the actuator devices 5a and 5b, and the latter is the device type of the detector devices 4a and 4b.
[0045] Figures 8 and 9 are flow charts showing the processing of the monitoring device 2 according to this embodiment. The processing shown in these figures is realized by the control unit 11 and setting control unit 13 of the monitoring device 2 executing a program stored in the storage unit 12. Below, with reference to Figures 8 and 9 as well as Figures 10 to 12, the processing of the monitoring device 2 when the operating device 5a is replaced with the operating device 5b will be described in detail. First, the control unit 11 executes a process for registering the operating device 5a, which is the device before replacement, in the network 7 (S201). More specifically, the control unit 11 transmits and receives commands to exchange various information required to register the operating device 5a as a device on the network 7 with the operating device 5a through the communication unit 14. The various information required includes basic information for controlling the operating device 5a, such as information on commands available for the operating device 5a, information for encrypting the communication path, setting information on the operating time of the operating device 5a, a node number, and a product identification number. The control unit 11 stores the information acquired in step S201 in the storage unit 12, thereby completing the registration of the operating device 5a. In the following, the explanation will be continued assuming that the node number of the operating device 5a is "7".
[0046] Next, the control unit 11 acquires information on the device type of the activated device 5a from the activated device 5a through the communication unit 14 (S202). The device type of the activated device 5a acquired here is the above-mentioned On / Off Power Switch type. Then, the control unit 11 stores the transmitted and received information in the storage unit 12. Next, the setting control unit 13 receives the content of the rule to be set for the operating device 5a from the client device 3, and executes a process of setting the content in the storage unit 12 (S203). After this, the control unit 11 executes a specified action when an event occurs, based on the rule thus stored in the storage unit 12.
[0047] 10 is a diagram showing the display screen 24 for setting rules displayed on the client device 3 in relation to S203. The display screen 24 is displayed by the control unit of the client device 3 executing a program stored in the storage unit of the client device 3 in response to a request for setting a rule input by the user to the client device 3. The client device 3 is configured to transmit the contents of the rule set by the user on the display screen 24 to the monitoring device 2. The display screen 24 is a screen displayed for setting one of a plurality of rules that can be set in the monitoring device 2. The display screen 24 in the example of Fig. 10 is a screen for setting a rule identified by an identification number #2.
[0048] Display screen 24 displays a selection list 241 for setting an event, a selection list 242 for setting an action to be executed when an event occurs, a save button 243, and a cancel button 244. The functions of each are the same as selection list 211, selection list 212, save button 213, and cancel button 214 on display screen 21 in Fig. 5. However, on display screen 24, selection list 241 does not include options for node numbers, and selection list 242 includes options for node numbers indicating the destination of a command. The user operates the client device 3 to select from each list in the display screen 24. In Fig. 10, the time becoming 8:00 AM is selected in the selection list 241. However, the event that can be selected in the selection list 241 is not particularly limited as long as it is an event that can be set on the monitoring device 2. Also, in the selection list 242, sending the above-mentioned switch-on command (Binary Switch Set 0xFF) to the operating device at node number 7 on the network 7 is selected.
[0049] Returning to FIG. 8, a process for replacing the actuated device 5a with the actuated device 5b is then executed (S204). The details of this process are the same as the process of S103 in FIG. 4, and finally, the information of the actuated device 5b is stored in the memory unit 12. After S204 ends, the control unit 11 executes a process for comparing the product identification number of the actuated device 5a stored in the memory unit 12 with the product identification number of the actuated device 5b, as shown in FIG. 9 (S205). Then, if the product identification numbers of the actuated device 5a and the actuated device 5b are different, the process proceeds to S206, and if not, the process for registering the actuated device 5b is completed without executing the processes in and after S206. In S206, the control unit 11 acquires a command set indicating a list of commands that can be transmitted and received between the operating device 5b and the operating device 5b by transmitting and receiving commands for exchanging information on commands that can be transmitted and received between the operating device 5b and the operating device 5b. Then, the control unit 11 stores the acquired information on the command set in the storage unit 12. Note that the control unit 11 may acquire the information on the command set from the operating device 5b in S204.
[0050] Next, the setting control unit 13 refers to the rules (set in S203) stored in the storage unit 12 and judges whether or not each of the one or more control commands set in the action for node number "7" is included in the command set (S207). If it is judged that there is a command not included in the command set, the setting control unit 13 executes the processes of S209 to S214 for each of the one or more commands not included in the command set (S208). On the other hand, if it is judged that there is no command not included in the command set, the setting control unit 13 completes the process for registering the operating device 5b without executing the processes after S208. In S209, the setting control unit 13 acquires information on the device type of the actuated device 5b from the actuated device 5b via the communication unit 14, and compares it with the device type of the actuated device 5a stored in the memory unit 12 (acquired in S202). If it is determined that the device types are the same, the process proceeds to S210, and if not, the process proceeds to S214. Note that if the versions of the communication standards of the networks 7 are different, the device type identification numbers may be different even if the devices have the same device type. Therefore, even if the device types are different, the process may proceed to S210 if the versions of the communication standards are confirmed and found to be different.
[0051] In S210, the setting control unit 13 judges whether or not the command set acquired in S206 includes a command for generically transmitting a numerical value such as 0xFF (for example, a Basic Set command of Z-Wave, hereinafter referred to as a "numerical value transmission command"). For example, even if the operating device 5b does not support the above-mentioned switch-on command, it may be possible to replace it with a Basic Set (Value=0xFF) command, which is a type of numerical value transmission command. Therefore, the setting control unit 13 proceeds to S211 if a numerical value transmission command is included in the commands that can be transmitted and received to the operating device 5b, and proceeds to S214 if not. In S211, the setting control unit 13 transmits to the client device 3 a notification prompting the client device 3 to change the rule (information for confirming whether or not the rule can be changed).
[0052] Fig. 11 is a diagram showing a display screen 25 displayed on the client device 3 that has received the notification of S211. The display screen 25 is displayed when the control unit of the client device 3 that has received the notification of S109 executes a program stored in the storage unit of the client device 3. Fig. 11 shows a case where the action of rule setting #2 shown in Fig. 10 is to be changed, and a Basic Set (Value=0xFF) command is presented as an alternative rule. Display screen 25 has display area 251 which notifies the user of a rule that cannot be used with the replaced device, and display area 252 which notifies the user of an alternative rule that is compatible with this rule. Display screen 25 also displays button 253 for deciding to change to the alternative rule, and button 254 for deciding not to change the setting. The functions of each are similar to display areas 221, 222 and buttons 223, 224 in FIG. 6.
[0053] Returning to Fig. 9, the setting control unit 13 receives the information transmitted by the client device 3 via the communication unit 14, and by checking the contents of the information, judges whether or not the user has selected to change to an alternative rule (S212). If it is judged that a selection has been made, the setting control unit 13 changes the rule in the storage unit 12 based on the alternative rule (S213), and proceeds to the next command. On the other hand, if it is judged that no selection has been made, the setting control unit 13 proceeds to the next command without executing S213. The setting control unit 13, which has proceeded to S214 from S209 or S210, transmits a notification that the rule is invalid to the client device 3, and moves to the next command.
[0054] Fig. 12 is a diagram showing a display screen 26 displayed on the client device 3 that has received the notification of S214. The display screen 26 is displayed when the control unit of the client device 3 that has received the notification of S214 executes a program stored in the storage unit of the client device 3. Fig. 12 shows a case where the rule setting #2 shown in Fig. 10 is invalidated. Display screen 26 displays display area 261 notifying rules that cannot be used in the replaced device, display area 262 specifying rules that will be in an invalid state, and button 263 for closing display screen 23. The user confirms the rules that will be in an invalid state by looking at display screen 26 displayed on the display unit of client device 3. Then, display screen 26 is closed by pressing button 263.
[0055] As described above, according to this embodiment, the monitoring device 2 checks whether the two devices are the same product when the operating device 5a is replaced with the operating device 5b. If they are not the same product, the monitoring device 2 checks whether the control command set in the action of the rule stored in the storage unit 12 can be transmitted to the operating device 5b. If the control command set in the action of the rule cannot be transmitted, the monitoring device 2 determines whether the operating devices 5a and 5b are the same device type (i.e., operating devices with similar operating functions) and whether a numerical transmission command can be transmitted to the operating device 5b. If they are the same and can be transmitted, a notification is sent to the user to prompt the user to change the rule, and if the user selects the change, the rule is changed. Therefore, it is possible to prevent a state in which an operation according to the rule set in the monitoring device 2 is not executed when the operating device 5a is replaced with the operating device 5b.
[0056] In the present embodiment, an example has been described in which the display screen 25 is displayed for each rule, but a display may be provided to prompt a selection for each of a plurality of rule settings within one display screen 25. Similarly, in the above embodiment, an example has been described in which the display screen 26 is displayed for each rule, but information may be displayed for each of a plurality of rule settings within one display screen 26.
[0057] [Other embodiments] Although the preferred embodiments of the present invention have been described in detail above, the present invention is not limited to such specific embodiments, and modifications and the like are possible within the scope of the present invention, and the above-described embodiments may be combined as appropriate. For example, some or all of the functional configuration of the above-described monitoring system may be implemented in the monitoring device 2, the client device 3, the detectors 4a and 4b, and the actuators 5a and 5b as hardware rather than software.
[0058] In the first embodiment, an example in which a command is used as an event for rule setting has been described, but the present invention can be applied to other types of rule setting. For example, the present invention can be applied to any setting that uses a command, such as a rule setting for when the monitoring device 2 receives a command from a detection device and transmits the contents of the command to the client device 3. In the second embodiment, an example has been described in which the control command is replaced with a numerical value transmission command, but the rule change for the control command may also be performed in the same manner as in the first embodiment.
[0059] In addition, in the process of S104 in FIG. 4 or S205 in FIG. 9, in addition to the product identification number, it may be confirmed whether the software version is different, and if the software version is different, the process may proceed to S105 or S206. 4 or S205 in Fig. 9, it may be further determined whether or not one or more of the manufacturer identification number, product type, device type, and role type on the network are different between the pre-replacement and post-replacement devices. If it is determined that they are different, the process may be terminated without performing the process after S105 or S206. Also, although the command name is directly displayed on the display screen 21 in Fig. 5 and the display screen 24 in Fig. 10, some commands may be difficult to understand. Therefore, instead of directly displaying the command name, it is also possible to display something that is easier for the user to understand, such as "Node number 7 Switch ON" for the action in Fig. 10.
[0060] Furthermore, if some of the commands that can be sent and received to the replaced external device have the same command data as the command used for setting, but other command data is unknown, that command may be added to the options on the display screens 22, 25, etc. Furthermore, the configurations and processes of the above-described embodiments may be applied to computers, service devices, etc. other than the monitoring device 2, client device 3, detector devices 4a and 4b, and actuator devices 5a and 5b.
[0061] At least a part of the configuration of the monitoring device 2 may be realized by hardware. When it is realized by hardware, for example, a specific compiler may be used to automatically generate a dedicated circuit on an FPGA (Field Programmable Gate Array) from a program for realizing each step. Also, a gate array circuit may be formed in the same manner as an FPGA, and realized as hardware. Also, it may be realized by an ASIC (Application Specific Integrated Circuit). The present invention can also be realized by executing the following process. That is, a program that realizes the functions of the above-mentioned embodiment is supplied to a system or device via a network or various recording media, and a computer (CPU, MPU, etc.) of the system or device reads and executes the program code. In this case, the program and the recording media storing the program constitute the present invention. [Explanation of symbols]
[0062] 1... monitoring system, 2... monitoring device, 3... client device, 4a, 4b... detection devices, 5a, 5b... actuation devices, 6, 7... network, 11... control unit, 12... storage unit, 13... setting control unit, 14... communication unit, 15... imaging unit, 16... bus, 21 to 26... display screen
Claims
1. a storage means for storing a setting that associates a node number assigned to a first external device with a first command that can be transmitted and received between the first external device and the first external device; a determination means for determining whether a second command compatible with the first command can be transmitted to and received from the second external device when the first command cannot be transmitted to and received from the second external device which has inherited the node number of the first external device; a control means for performing control to change the first command in the setting to the second command when the determination means determines that the second command can be transmitted and received between the second external device and the first external device; 13. An information processing device comprising:
2. the information processing device is a monitoring device, the setting is a rule that associates a predetermined action by the monitoring device with an event that occurs in the monitoring device; The first command is set in the rule as the event or the action.
2. The information processing apparatus according to claim 1,
3. when the determination means determines that the second command can be transmitted and received between the second external device and the client device, the control means transmits, to the client device, information for prompting a user to confirm whether or not the first command in the setting can be changed to the second command.
3. The information processing apparatus according to claim 1, wherein the information processing apparatus is a computer.
4. the control means performs a process of changing the first command in the setting to the second command in response to receiving information from the client device indicating a decision to change the first command in the setting to the second command.
4. The information processing apparatus according to claim 3.
5. the control means transmits, when the determination means determines that the second command cannot be transmitted or received between the second external device and the client device, information for notifying a user that the setting is invalid.
5. The information processing apparatus according to claim 1, wherein the information processing apparatus is a computer.
6. the control means does not perform the control when the product identification number of the first external device and the product identification number of the second external device are the same.
6. The information processing apparatus according to claim 1,
7. the control means does not perform the control when one or more of a manufacturer identification number, a product type, a device type, and a role type on a network are different between the first external device and the second external device; 7. The information processing apparatus according to claim 1, wherein the information processing apparatus further comprises: a first input section;
8. the storage means further stores a command correspondence table that associates the first command with the second command; the control means acquires the second command by referring to the command correspondence table.
8. The information processing apparatus according to claim 1,
9. the control means, when a command which can be transmitted / received between the second external device and which has a part of command data identical to that of the first command and a remaining part of command data which is unknown, acquires the command as the second command; 9. The information processing apparatus according to claim 1,
10. the control means, when the first external device and the second external device are of the same device type and when a command for transmitting a numerical value is included in commands that can be transmitted / received between the first external device and the second external device, acquires the command as the second command; 10. The information processing apparatus according to claim 1,
11. A method for storing a setting that associates a node number assigned to a first external device with a first command that can be transmitted and received between the first external device and a storage step; a determining step of determining whether a second command compatible with the first command can be transmitted to and received from the second external device when the first command cannot be transmitted to and received from the second external device that has inherited the node number of the first external device; a control step of performing control for changing the first command in the setting to the second command when it is determined in the determination step that the second command can be transmitted and received between the second external device and the second external device; 13. An information processing method comprising:
12. A program for causing a computer to function as each of the means of the information processing apparatus according to any one of claims 1 to 10.
Citation Information
Patent Citations
Communication system
JP2006038369A
Image processor and control method for image processor
JP2007199958A
Remote controller and remote control method
JP2014036382A
Verification program and verification device
JP2015002362A
Automatic configuration of replacement camera
JP2015226324A
