Remote operation control system, instruction device, control device and program
The remote operation control system improves safety by implementing dual authentication and mode switching with count value verification, ensuring secure remote operation of water treatment devices.
Patent Information
- Application Number
- JP2023059853
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2043-04-03
AI Technical Summary
Existing remote control systems lack sufficient safety measures for controlling devices from a remote location, allowing unauthorized access and operation.
A remote operation control system with dual authentication mechanisms, mode switching, and count value verification to ensure secure remote operation of water treatment devices.
Enhances the safety and security of remote control operations by preventing unauthorized access and maintaining communication integrity.
Smart Images

Figure 2024147078000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a remote operation control system, an instruction device, a control device, and a program. [Background technology]
[0002] Conventionally, there has been provided a management system that includes a device (storage) installed at a designated location within a building and a main controller that remotely manages the device, where the administrator logs into the main controller through authentication based on the administrator's registration information, and receives an authorization signal from the main controller to permit the user to operate the device (storage) (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-138027 A Summary of the Invention [Problem to be solved by the invention]
[0004] According to the management system disclosed in the above-mentioned Patent Document 1, a user is permitted to operate a repository when permission is given by an administrator, so that a certain level of safety is ensured in the management of the device.
[0005] However, the management system disclosed in Patent Document 1 above allows a user at the location where the device is installed to operate the device, but does not allow operation or control by a person at a location away from the device's installation location.
[0006] Therefore, the prior art of the above-mentioned Patent Document 1 has room for improvement in terms of allowing an operator in a remote location to remotely control the device.
[0007] SUMMARY OF THE PRESENT EMBODIMENT In order to solve the above-mentioned problems, an object of the present invention is to provide a remote operation control system, an instruction device, a control device, a program, and a storage medium that improve the safety of remote control by an operator in a remote location. [Means for solving the problem]
[0008] In order to achieve the above object, the present invention provides a remote operation control system having a control device that controls an operation of a water treatment device, and an instruction device capable of instructing the control device to set an operation of the water treatment device via a network, the instruction device comprising: a first authentication means for authenticating a login request by a user; a second authentication means for authenticating an operation request of the water treatment device by the user authenticated by the first authentication means based on authority information; a remote operation instruction means for transmitting to the control device a remote operation instruction for prohibiting control of the water treatment device by operation of the user of the control device when authentication by the second authentication means is successful; a command transmission means for transmitting to the control device a control command for controlling the water treatment device; and a count value transmission means for transmitting to the control device a count value that is incremented each time a predetermined timing arrives when the remote operation instruction is transmitted, and the control device comprises an operation reception means for receiving a setting instruction of the water treatment device that is set by operation of the user; and a normal operation means capable of controlling the water treatment device based on the setting instruction received by the operation reception means. The remote control system comprises a mode switching means that can set the water treatment device to one of an operation state and a remote operation state in which the water treatment device can be controlled based on the control command received from the instruction device, an apparatus control means that controls the operation of the water treatment device according to the state set by the mode switching means, a count value reading means that reads out the count value stored in a memory means each time a predetermined timing occurs when the remote operation state is set, and a judgment means that judges whether communication with the instruction device has been established based on the count value read by the count value reading means, wherein the apparatus control means controls the operation of the water treatment device based on the setting instruction accepted by the operation accepting means when the normal operation state is set, and controls the operation of the water treatment device based on the control command received from the instruction device when the remote operation state is set, and the mode switching means switches from the remote operation state to the normal operation state when the judgment means judges that communication with the instruction device has not been established. Effect of the Invention
[0009] According to the remote operation control system of the present invention, it is possible to improve the safety of remote control by an operator at a remote location. [Brief description of the drawings]
[0010] [Figure 1] 1 is a diagram showing an example of an overall configuration of a remote operation control system according to a first embodiment of the present invention. [Diagram 2] 1 is a block diagram showing an example of a functional configuration of an instruction device according to a first embodiment of the present invention. [Diagram 3] FIG. 2 is a diagram showing an example of a display form of a main screen in the first embodiment of the present invention. [Figure 4] FIG. 2 is a diagram showing an example of a display aspect of an operation screen in the first embodiment of the present invention. [Diagram 5] 2 is a block diagram showing an example of a functional configuration of a control device in the first embodiment of the present invention. FIG. [Figure 6] FIG. 2 is a sequence diagram showing an example of a processing mode in the remote control system in the first embodiment of the present invention. [Figure 7] FIG. 2 is a sequence diagram showing an example of a processing mode in the remote control system in the first embodiment of the present invention. [Figure 8] FIG. 2 is a sequence diagram showing an example of a processing mode in the remote control system in the first embodiment of the present invention. [Figure 9] 5 is a flowchart showing an example of a processing procedure executed in the instruction device in the first embodiment of the present invention. [Figure 10] 5 is a flowchart showing an example of a processing procedure executed in the instruction device in the first embodiment of the present invention. [Figure 11] 5 is a flowchart showing an example of a processing procedure executed in the instruction device in the first embodiment of the present invention. [Figure 12] 5 is a flowchart showing an example of a processing procedure executed in the instruction device in the first embodiment of the present invention. [Figure 13]5 is a flowchart showing an example of a processing procedure executed in the instruction device in the first embodiment of the present invention. [Figure 14] 5 is a flowchart showing an example of a processing procedure performed in the control device in the first embodiment of the present invention. [Figure 15] 5 is a flowchart showing an example of a processing procedure performed in the control device in the first embodiment of the present invention. [Figure 16] 5 is a flowchart showing an example of a processing procedure performed in the control device in the first embodiment of the present invention. [Figure 17] 5 is a flowchart showing an example of a processing procedure performed in the control device in the first embodiment of the present invention. [Figure 18] 10 is a flowchart showing an example of a processing procedure performed in an instruction device according to a second embodiment of the present invention. [Figure 19] 10 is a flowchart showing an example of a processing procedure performed in an instruction device according to a second embodiment of the present invention. [Figure 20] 10 is a flowchart showing an example of a processing procedure performed in an instruction device according to a second embodiment of the present invention. [Figure 21] FIG. 11 is a block diagram showing an example of a functional configuration of a control device according to a third embodiment of the present invention. [Figure 22] 13 is a flowchart showing an example of a main processing procedure performed in a control device according to a third embodiment of the present invention. [Figure 23] 13 is a flowchart showing an example of a processing procedure performed in a control device in a third embodiment of the present invention. [Figure 24] 13 is a flowchart showing an example of a processing procedure performed in a control device in a third embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] (First embodiment) Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings. Note that the same components or members are designated by the same reference numerals, and duplicated descriptions thereof will be omitted.
[0012] (Overall system configuration) 1 is a diagram showing an example of the overall configuration of a remote operation control system 1 in the first embodiment. The remote operation control system 1 in the first embodiment includes a control device 2 that controls the operation of a pump device 5, which is an example of a water treatment device, and a temperature control device 6, and a service server 3 that can communicate with the control device 2 via a network 100.
[0013] The water treatment device may be a pump device 5 and a temperature control device 6, as well as a water purification device and a water storage device.
[0014] A user can control the pump device 5 and the temperature control device 6 by operating the control device 2. In addition, a user can transmit a control command from the service server 3 to the control device 2 by operating an information processing terminal 4 capable of communicating with the service server 3, and control the pump device 5 and the temperature control device 6 from a remote location.
[0015] The control device 2 is located near the pump device 5 and the temperature control device 6, and is configured with a PLC (Programmable Logic Controller) or the like. The control device 2 has an operation unit (not shown) and can control the controlled devices such as the pump device 5 and the temperature control device 6 in response to a user's operation.
[0016] The control device 2 can control target devices such as the pump device 5 and the temperature control device 6 based on control commands received from the service server 3 via the network 100. The control device 2 can be set to either a normal operation mode in which the control target devices are controlled in response to input from an operation unit, or a remote operation mode in which the control target devices are controlled in response to setting change commands received from the service server 3.
[0017] The service server 3 functions as an instruction device capable of instructing the control device 2 to set the operation of devices to be controlled, such as the pump device 5 and the temperature control device 6, via the network 100. The network 100 illustrated in the first embodiment is the Internet. However, the network 100 is not limited to this and may be a dedicated line or a LAN (Local Area Network).
[0018] The service server 3 is capable of communicating with an information processing terminal 4 operated by a user. The service server 3 and the information processing terminal 4 may be capable of communicating with each other via the Internet, or may be capable of communicating with each other via wireless communication such as Wi-Fi or BLUETOOTH.
[0019] The information processing terminal 4 is a terminal equipped with an image display unit, and is an information processing device that can transmit, by a user's operation, an instruction related to the control of a control target device to the service server 3. As an example, the information processing terminal 4 may be a personal computer or a smartphone.
[0020] The service server 3 is capable of acquiring information on the controlled devices from the control device 2 and displaying the information on the controlled devices on the information processing terminal 4. The service server 3 is capable of generating setting change commands for controlling the controlled devices such as the pump device 5 and the temperature control device 6, based on setting requests related to the operation of the controlled devices received from the information processing terminal 4.
[0021] The service server 3 authenticates access from the information processing terminal 4 and accepts operation input from the authenticated user. The authenticated user can operate the information processing terminal 4 to remotely control devices to be controlled, such as the pump device 5 and the temperature control device 6.
[0022] If the user is successfully authenticated, the service server 3 transmits a mode switching command to the control device 2 to switch from the normal operation mode to the remote operation mode.
[0023] When the control device 2 is set to the normal operation mode, it switches from the normal operation mode to the remote operation mode upon receiving a mode switching command from the service server 3. When switched to the remote operation mode, control of the controlled device based on an input from the operation unit of the control device 2 is prohibited.
[0024] When the service server 3 transmits a mode switching command to switch from the normal operation mode to the remote operation mode, the service server 3 transmits to the control device 2 a count value that is incremented each time a predetermined timing arrives.
[0025] The service server 3 increments the count value by one every time the first interval time t1 elapses, and stores the incremented count value in the first storage unit 12. Then, the service server 3 transmits the incremented count value to the control device 2.
[0026] The control device 2 stores the count value received from the service server 3 in the second storage unit 82. The control device 2 reads the count value from the second storage unit 82 every time the second interval time elapses, and if the count value is incremented by one, determines that communication with the service server 3 has been established. In other words, the count value is read at every predetermined time, and if the read count value is correct, it can be said that the count value has been normally received from the service server 3, and therefore it is determined that the communication state is maintained.
[0027] This makes it possible for the remote operation control system 1 in the first embodiment to monitor the state of communication between the control device 2 and the service server 3, and to improve the security of the communication.
[0028] (Service server functional configuration) 2 is a block diagram showing an example of a functional configuration of the service server 3 constituting the remote operation control system 1 in the first embodiment. The service server 3 executes a first control program 200 (not shown) to cause the CPU to function as the control unit 10.
[0029] The first control program 200 may be stored in a storage medium, or may be stored in a storage device such as a hard disk drive (HDD) or a solid state drive (SSD) of the service server 3. Alternatively, the first control program 200 may be downloadable or streamable via the network 100.
[0030] The service server 3 includes a control unit 10 and a first storage unit 12. The first storage unit 12 may be configured with a RAM (Random Access Memory), a hard disk drive (HDD), or a solid state drive (SSD).
[0031] The control unit 10 includes an authentication unit 16 that executes authentication processing, a command control unit 18 that controls commands to be sent to the control device 2, a first counter control unit 20 that controls the count value, and a display control unit 22 that controls the display image to be displayed on the information processing terminal 4.
[0032] The authentication unit 16 is a processing unit that functions when detecting access from the information processing terminal 4. The authentication unit 16 further includes a first authentication unit 30 that authenticates a login request from a user, and a second authentication unit 32 that authenticates an operation request for a controlled device such as the pump device 5 or the temperature control device 6.
[0033] The first authentication unit 30 further includes a password generation unit 36 and a first determination unit 38. The password generation unit 36 is a processing unit that generates a one-time password and transmits it to the information processing terminal 4. In the first embodiment, the one-time password is a temporary password that is generated with a login request as a trigger, has a predetermined validity period, and loses its validity in the authentication process when the validity period has elapsed.
[0034] When the password generating unit 36 detects a login request from a user who operates the information processing terminal 4 , the password generating unit 36 generates a one-time password and transmits the generated one-time password to the information processing terminal 4 .
[0035] The first determination unit 38 is a processing unit that determines whether or not the input by the user matches the one-time password. Upon receiving a password input by the user from the information processing terminal 4, the first determination unit 38 determines whether or not the input password matches the one-time password.
[0036] If the input password matches the one-time password, the first judgment unit 38 authenticates the user's login. On the other hand, if the input password does not match the one-time password, the first judgment unit 38 does not authenticate the user's login.
[0037] If the first authentication by the first authentication unit 30 is successful, a main screen G1 indicating the status of the controlled devices such as the pump device 5 and the temperature control device 6 is displayed on the information processing terminal 4. If the first authentication by the first authentication unit 30 is successful, the user can recognize the status of the controlled devices. The configuration and functions of the main screen G1 will be described later.
[0038] The second authentication unit 32 is a processing unit that authenticates an operation request for a controlled device by a user authenticated by the first authentication unit 30. In the first embodiment, the operation request by the user indicates a request to have the control device 2 control a controlled device such as the pump device 5 or the temperature control device 6 in response to an operation by the information processing terminal 4.
[0039] The second authentication unit 32 authenticates the operation request for the controlled device based on the authority information 74. The authority information 74 is information of a user who has the authority to operate the controlled device. As an example, the authority information 74 indicates information that links the device identification information of the information processing terminal 4 corresponding to the user with the controlled device that the user has the authority to operate. The authority information 74 may be stored in advance in the first storage unit 12.
[0040] The second authentication unit 32 further includes an authority information acquisition unit 40 that acquires authority information 74, and a second determination unit 42. In the example shown in Fig. 2, the authority information acquisition unit 40 acquires the authority information 74 that is pre-stored in the first storage unit 12. Alternatively, the authority information acquisition unit 40 may acquire the authority information 74 stored in an authentication server (not shown) different from the service server 3, via the network 100.
[0041] The second determination unit 42 determines whether or not the user making the operation request has the operation authority of the controlled device by referring to the authority information 74. If it is determined that the user has the operation authority, the display control unit 22 erases the main screen G1 from the display unit of the information processing terminal 4 and displays the operation screen G2.
[0042] The command control unit 18 is a processing unit that generates and transmits commands to be transmitted to the control device 2. The command control unit 18 further includes a command generation unit 46 and a command transmission unit 48.
[0043] The command generation unit 46 is a processing unit that generates a command to be transmitted to the control device 2. In response to a remote operation instruction from a user received from the information processing terminal 4, the command generation unit 46 generates a mode switching command for causing the control device 2 to switch from a normal operation mode to a remote operation mode.
[0044] The command generation unit 46 generates a control command for controlling the operation of a controlled device such as the pump device 5 or the temperature control device 6 in response to an input received from the information processing terminal 4. In the example shown in the first embodiment, when the command generation unit 46 receives an instruction to change the setting of the controlled device from the information processing terminal 4, it generates a setting change command for setting the operation of the controlled device.
[0045] The command transmitting unit 48 is a processing unit that transmits the command generated by the command generating unit 46 to the control device 2. In the example shown in the first embodiment, the command transmitting unit 48 transmits the mode switching command or the setting change command generated by the command generating unit 46 to the control device 2.
[0046] The first counter control unit 20 is a processing unit that controls processing related to the count value. The first counter control unit 20 further includes a first interval setting unit 52 that sets a first interval time t1, a count value updating unit 54 that adds the count value, and a counter information transmitting unit 56 that transmits the updated count value, etc. to the control device 2.
[0047] The first interval setting unit 52 is a processing unit that sets a first interval time t1 for generating a count value. The first interval setting unit 52 sets the first interval time t1 by referring to the first interval information 66 stored in the first storage unit 12.
[0048] When the command transmitting unit 48 transmits a mode switching command to the control device 2, the first interval setting unit 52 refers to the first interval information 66 from the first storage unit 12. The first interval setting unit 52 sets the first interval time t1 based on the initial value 68 of the first interval information 66.
[0049] Alternatively, the first interval setting unit 52 can set a first interval time t1 different from the initial value 68. When the first interval time t1 is set by the first interval setting unit 52, a count value is generated and updated in accordance with a set value 70. The first interval setting unit 52 stores the set value 70 in the first storage unit 12.
[0050] The count value update unit 54 is a processing unit that generates and updates the count value. When measurement of the first interval time t1 set by the first interval setting unit 52 starts, the count value update unit 54 generates a count value and stores it in the first storage unit 12 as count value information 72.
[0051] When the first interval time t1 arrives, the count value updater 54 increments the count value by one and updates the count value information 72 based on the incremented count value.
[0052] The counter information transmitting unit 56 is a processing unit that transmits the count value and the like to the control device 2. When the first interval setting unit 52 sets the first interval time t1 and the count value updating unit 54 generates the count value, the counter information transmitting unit 56 transmits the first interval time t1 and the count value to the control device 2.
[0053] As will be described later, a second interval time t2 during which the control device 2 reads out the count value is set in accordance with the first interval time t1 transmitted by the counter information transmitting unit 56.
[0054] When the first interval time t1 arrives and the count value is incremented and updated, the counter information transmission unit 56 transmits the updated count value to the control device 2. With this configuration, in a state in which communication between the control device 2 and the service server 3 is established, the updated count value is transmitted from the service server 3 to the control device 2 at predetermined time intervals.
[0055] The display control unit 22 controls the display image in the information processing terminal 4. The display control unit 22 further includes a device information request unit 60 and a display update unit 62.
[0056] The device information requesting unit 60 is a processing unit that requests information on controlled devices such as the pump device 5 and the temperature control device 6 from the control device 2. When the authentication unit 16 has successfully authenticated the user, the device information requesting unit 60 requests current setting information of the controlled devices from the control device 2. In response to a request from the service server 3, the control device 2 transmits information on the controlled devices such as the pump device 5 and the temperature control device 6 to the service server 3. The device information requesting unit 60 may request current setting information of the controlled devices from the control device 2 every time a predetermined time has elapsed.
[0057] When the display update unit 62 receives current setting information of the controlled device from the control device 2, it uses the setting information to generate a screen to be displayed on the information processing terminal 4. When the user operating the information processing terminal 4 succeeds in the first authentication by the first authentication unit 30, the display update unit 62 generates a main screen G1 and transmits it to the information processing terminal 4.
[0058] 3 is a diagram showing an example of the screen configuration of the main screen G1. The main screen G1 has a setting value display R1 that displays the setting values of the controlled device, and a switching button display R3 for switching the control device 2 from a remote operation mode to a normal operation mode.
[0059] The setting value display R1 further includes a transition button display R6 for transitioning from the main screen G1 to an operation screen G2 for setting the operation of the controlled device. When the operation of the transition button display R6 by the user is detected while the main screen G1 is displayed on the information processing terminal 4, the display update unit 62 erases the main screen G1 and displays the operation screen G2.
[0060] 4 is a diagram showing an example of the screen configuration of the operation screen G2. The operation screen G2 has an operation acceptance display R5 that displays the settings of the controlled device that is the target of remote operation. The operation acceptance display R5 has a mode display that indicates whether the controlled device is set to a remote operation mode or a normal operation mode. The operation acceptance display R5 also has a current value display of the controlled device and a setting value display set by the user.
[0061] The user can set the operation of the control target device by operating the setting value display while the operation screen G2 is displayed on the information processing terminal 4. When the operation of the setting value display is detected, the information processing terminal 4 transmits an operation input to the service server 3.
[0062] Returning to Figure 2, when the service server 3 receives operational input from the information processing terminal 4, the command generation unit 46 generates a setting change command in accordance with the operational input, and the command transmission unit 48 transmits the setting change command generated by the command generation unit 46 to the control device 2.
[0063] When the control device 2 receives the setting change command from the service server 3, the control device 2 executes the setting change command. By executing the setting change command, the operation of the controlled devices such as the pump device 5 and the temperature control device 6 is controlled.
[0064] (Functional configuration of the control device) 5 is a block diagram showing an example of a functional configuration of the control device 2 in the first embodiment. The control device 2 causes the CPU to function as a control unit 80 by executing a second control program 202 (not shown).
[0065] The second control program 202 may be stored in the storage medium 300, or may be stored in a storage device such as a hard disk drive (HDD) or a solid state drive (SSD) of the service server 3. Alternatively, the second control program 202 may be downloadable or streamable via the network 100.
[0066] The control unit 80 includes a reception unit 84 that receives various commands received from the service server 3, a mode switching unit 86 that sets the operation mode, a command control unit 88 that executes the commands, a device control unit 90 that controls the controlled equipment, and a second counter control unit 92 that performs processing related to the count value.
[0067] The reception unit 84 is a processing unit that receives a command from the service server 3. When the reception unit 84 receives a mode switching command transmitted from the service server 3, the mode switching unit 86 functions. When the reception unit 84 receives a setting change command transmitted from the service server 3, the command control unit 88 functions.
[0068] The mode switching unit 86 is a processing unit that sets either the normal operation mode or the remote operation mode. When the mode switching unit 86 receives a mode switching command transmitted from the service server 3, it switches to the operation mode.
[0069] When the control device 2 is set to a normal operation mode that can be controlled by operating the operation unit, when a mode switching command sent from the service server 3 is accepted, the mode switching unit 86 switches from the normal operation mode to the remote operation mode.
[0070] When the remote operation mode is switched to, control of the control target device by operating the operation unit is prohibited. Then, the control unit 80 controls the operation of the control target device in response to a setting change command transmitted from the service server 3.
[0071] The command control unit 88 further includes an operation receiving unit 110 that receives input from the operation unit, a command generating unit 112 that generates a command, and a command executing unit 114 that executes the generated command.
[0072] The operation reception unit 110 is a processing unit that receives the contents of an input made by a user operating an operation unit of the control device 2. A user near the control device 2 may operate the operation unit arranged on the control device 2 to set the operation of a controlled device such as the pump device 5 or the temperature control device 6.
[0073] The operation reception unit 110 accepts input from the operation unit when the normal operation mode is set by the mode switching unit 86. On the other hand, when the operation reception unit 110 is set to the remote operation mode by the mode switching unit 86, it does not accept input from the operation unit.
[0074] That is, when the control device 2 is set to the remote operation mode, control by a user close to the control device 2 is prohibited, and the user operating the information processing terminal 4 controls the operation of the control target device.
[0075] When the operation reception unit 110 receives an input from the operation unit, the command generation unit 112 generates a command for controlling the operation of a device to be controlled, such as the pump device 5 or the temperature control device 6.
[0076] The command execution unit 114 is a processing unit that executes commands to control the operations of devices to be controlled, such as the pump device 5 and the temperature control device 6. When the normal operation mode is set by the mode switching unit 86, the command execution unit 114 executes the commands generated by the command generation unit 112.
[0077] When the remote operation mode is set by the mode switching unit 86, the reception unit 84 receives a setting change command transmitted from the service server 3. When the reception unit 84 receives the setting change command, the command execution unit 114 executes the setting change command.
[0078] When the command execution unit 114 executes the setting change command, the operation of the devices to be controlled, such as the pump device 5 and the temperature control device 6, is controlled.
[0079] The device control unit 90 is a processing unit that controls the operation of controlled devices such as the pump device 5 and the temperature control device 6. The device control unit 90 further includes a pump control unit 118 that controls the operation of the pump device 5 and a temperature control unit 120 that controls the operation of the temperature control device 6.
[0080] The pump control unit 118 operates the pump device 5 in response to the command executed by the command execution unit 114. The temperature control unit 120 operates the temperature control device 6 in response to the command executed by the command execution unit 114.
[0081] The pump control unit 118 may acquire parameters indicating the operating status of the pump device 5. The temperature control unit 120 may acquire parameters indicating the operating status of the temperature control device 6. The parameters acquired by the pump control unit 118 and the temperature control unit 120 may be transmitted to the service server 3.
[0082] With this configuration, the service server 3 can use parameters received from the control device 2 to generate a main screen G1 and an operation screen G2 that reflect the operating status of controlled equipment such as the pump device 5 and the temperature control device 6.
[0083] The second counter control unit 92 further includes a second interval setting unit 124 that sets a second interval time t2 for reading out the count value, a count value reading unit 126 that reads out the count value, a third judgment unit 128 that makes a judgment based on the read count value, and a reporting unit 130 that reports an error.
[0084] In the example shown in FIG. 5, the second counter control unit 92 includes the reporting unit 130, but this is not limited thereto, and the second counter control unit 92 does not have to include the reporting unit 130.
[0085] The second interval setting unit 124 is a processing unit that sets a second interval t2 for reading out a count value in correspondence with the first interval t1. Upon receiving the first interval t1 from the service server 3, the second interval setting unit 124 sets the second interval t2 corresponding to the first interval t1.
[0086] The second interval setting unit 124 may set the second interval t2 to be the same length as the first interval t1. With this configuration, the timing at which the count value is incremented in the service server 3 and the timing at which the count value received from the service server 3 is read out are set to be the same.
[0087] The second interval setting unit 124 may set a second interval time t2 longer than the first interval time t1. With this configuration, the count value is read out after the second interval time t2 has elapsed after the count value is acquired from the service server 3. This enables the count value reading unit 126 to accurately read out the updated count value acquired from the service server 3.
[0088] The second interval setting unit 124 may set a second interval time t2 that is shorter than the first interval time t1. The count value reading unit 126 can accurately read the updated count value obtained from the service server 3 by reading the count value every time the second interval time t2 elapses.
[0089] The count value reading unit 126 is a processing unit that, when the remote operation mode is set by the mode switching unit 86, reads out the count value information 132 stored in the second storage unit 82 every time the second interval time t2 arrives.
[0090] When receiving the count value from the service server 3, the accepting unit 84 stores the count value in the second storage unit 82 as count value information 132. The count value reading unit 126 reads the count value from the second storage unit 82 when the second interval time t2 has elapsed.
[0091] The third determination unit 128 is a processing unit that determines whether or not communication with the service server 3 has been established, based on the count value read by the count value reading unit 126. The third determination unit 128 may determine that communication with the service server 3 has not been established, if the second interval time t2 has elapsed without the count value read by the count value reading unit 126 being incremented.
[0092] The service server 3 adds to and updates the count value every time the first interval time t1 elapses, and transmits the updated count value to the control device 2. The control device 2 stores the count value received from the service server 3 in the second storage unit 82 as count value information 132.
[0093] The count value reading unit 126 reads out the count value stored in the second storage unit 82 every time the second interval time t2 elapses. If the count value read out by the count value reading unit 126 is incremented from the previous count value, the third determination unit 128 determines that communication with the service server 3 has been established and that the updated count value has been received correctly.
[0094] Alternatively, differently from this, the third determination unit 128 may determine that communication with the service server 3 has not been established if a plurality of second interval times t2 have elapsed without an increment of the count value.
[0095] When the count value read by the count value reading unit 126 has not been added when the first second interval time t2 has elapsed, the third judgment unit 128 makes a judgment based on the count value read by the count value reading unit 126 every time a predetermined number of second interval times t2 have elapsed.
[0096] If the count value is not incremented while a predetermined number of second interval times t2 have elapsed, it is determined that communication with the service server 3 has not been established. In other words, if the count value is not incremented while multiple second interval times t2 have elapsed, there is a high possibility that communication between the service server 3 and the control device 2 has been cut off.
[0097] Therefore, the third determination unit 128 may determine that communication with the service server 3 has not been established when the second interval time t2 has elapsed multiple times without an increment of the count value.
[0098] When the third determination unit 128 determines that communication with the service server 3 has not been established, the mode switching unit 86 switches from the remote operation mode to the normal operation mode. With this configuration, the control device 2 can end the remote operation mode when communication with the service server 3 is unstable. This makes it possible to appropriately control the operation of the controlled device.
[0099] The reporting unit 130 is a processing unit that transmits an error report to the service server 3. The reporting unit 130 generates an error report when the third determination unit 128 determines that communication with the service server 3 has not been established. The reporting unit 130 transmits the generated error report to the service server 3.
[0100] (Remote control system processing) 6 to 8 are sequence diagrams showing an example of a processing procedure between the devices in the first embodiment. In Fig. 6, when the control device 2 is set to the normal operation mode, upon detecting an input by operating the operation unit (process P1), the control device 2 executes a command to change the setting of the controlled device in response to the input (process P3).
[0101] On the other hand, when input of a login request by the user operating the information processing terminal 4 is detected (process P5), the information processing terminal 4 transmits the login request to the service server 3 (process P7). Upon receiving the login request, the service server 3 generates a one-time password (process P9) and transmits it to the information processing terminal 4 (process P11).
[0102] When the same one-time password received from the service server 3 is entered into the information processing terminal 4 (process P13), the entered password is transmitted from the information processing terminal 4 to the service server 3 (process P15).
[0103] Upon receiving the password, the service server 3 judges whether the received password is the same as the one-time password (process P17). If it is judged to be the same, the service server 3 generates a main screen G1 (process P19) and transmits screen information of the main screen G1 to the information processing terminal 4 (process P21). The information processing terminal 4 uses the screen information received from the service server 3 to display the main screen G1 on the display unit (process P23).
[0104] When the information processing terminal 4 detects an input of a remote operation instruction (process P25) while the main screen G1 is displayed, the information processing terminal 4 transmits the remote operation instruction to the service server 3 (process P27). Upon receiving the remote operation instruction from the information processing terminal 4, the service server 3 refers to the authority information 74 indicating the operation authority of the controlled device (process P29).
[0105] When it is determined by referring to the authority information 74 that the user of the information processing terminal 4 has the authority to operate the controlled device, the service server 3 generates a mode switching command (process P31) and transmits it to the control device 2 (process P33). Upon receiving the mode switching command, the control device 2 switches the operation mode from the normal operation mode to the remote operation mode (process P35).
[0106] After transmitting the mode switching command to the control device 2, the service server 3 generates an operation screen G2 (process P37) and transmits the screen information to the information processing terminal 4 (process P39). Upon receiving the screen information from the service server 3, the information processing terminal 4 erases the main screen G1 and displays the operation screen G2 on the display unit (process P41).
[0107] The service server 3 transmits the screen information to the information processing terminal 4 (process P39), sets the first interval time t1 (process P43), and starts measuring the first interval time t1 (process P45). After starting to measure the first interval time t1 (process P45), the service server 3 generates a count value (process P47), and transmits the first interval time t1 and the count value to the control device 2 (process P49).
[0108] When the control device 2 receives the first interval time t1 and the count value from the service server 3, it stores the count value in the second storage unit 82 (process P51). The control device 2 sets the second interval time t2 according to the first interval time t1 received from the service server 3 (process P53) and starts measuring the second interval time t2 (process P55).
[0109] When the information processing terminal 4 detects a setting change instruction input by the user while the operation screen G2 is displayed on the display unit (process P57), the information processing terminal 4 transmits the setting change instruction to the service server 3 (process P59). Upon receiving the setting change instruction, the service server 3 generates a setting change command (process P61) and transmits it to the control device 2 (process P63). Upon receiving the setting change command from the service server 3, the control device 2 executes the setting change command (process P65).
[0110] When the first interval time t1 has elapsed, the service server 3 increments the count value (process P67) and transmits the incremented count value to the control device 2 (process P69). The service server 3 resets the first interval time t1 (process P71) and starts measuring the first interval time t1 (process P73).
[0111] When the control device 2 receives the incremented count value from the service server 3, it stores it in the second storage unit 82 (process P75). When the second interval time t2 has elapsed, it reads the count value from the second storage unit 82 (process P77) and determines whether the read count value has been added to the previous count value (process P79).
[0112] If it is determined that the read count value has been incremented, the control device 2 resets the second interval time t2 (process P81) and starts measuring the second interval time t2 (process P83).
[0113] When the first interval time t1 has elapsed, the service server 3 increments the count value (process P85), resets the first interval time t1 (process P87), and then starts measuring the first interval time t1 again (process P89).
[0114] Here, the service server 3 normally transmits the incremented count value to the control device 2, but a situation may occur in which communication between the service server 3 and the control device 2 is not established due to a communication failure or the like.
[0115] In this way, when communication between the service server 3 and the control device 2 is not established, the count value stored in the second memory unit 82 is read (process P91) and it is determined whether the count value has been added to the previous count value (process P93). Since the count value has not been added, it is determined that communication has not been established.
[0116] If it is determined that communication between the service server 3 and the control device 2 has not been established, the control device 2 switches from the remote operation mode to the normal operation mode (process P95), generates an error report (process P97), and transmits it to the service server 3 (process P99).
[0117] If communication between the service server 3 and the control device 2 is not established, the error report is usually not received by the service server 3. When the error report is received by the service server 3 due to, for example, recovery of communication between the service server 3 and the control device 2, the service server 3 generates a main screen G1 (process P101) and transmits the screen information to the information processing terminal 4 (process P103).
[0118] When the information processing terminal 4 receives the screen information of the main screen G1, it erases the operation screen G2 and displays the main screen G1 on the display unit (process P105).
[0119] (Service Server 3 Processing Procedure) Next, a description will be given of an example of a processing procedure executed in the remote operation control system 1 in the first embodiment. Fig. 9 to Fig. 13 are flowcharts showing an example of a processing procedure executed in the service server 3 constituting the remote operation control system 1.
[0120] 9 is a flowchart showing an example of main processing steps executed by the service server 3. When the service server 3 is started, it first determines whether or not a login request is detected from the information processing terminal 4 (step S1). If a login request is detected (YES in step S1), a first authentication process (step S3) is executed. Specific processing steps of the first authentication process (step S3) will be described later. On the other hand, if a login request is not detected (NO in step S1), the first authentication process (step S3) is skipped.
[0121] Next, the service server 3 determines whether or not the main screen G1 is being displayed on the display unit of the information processing terminal 4 (step S5). If it is determined that the main screen G1 is being displayed on the information processing terminal 4 (YES in step S5), a second authentication process (step S7) is executed. A specific processing procedure of the second authentication process (step S7) will be described later. On the other hand, if it is determined that the main screen G1 is not being displayed on the information processing terminal 4 (NO in step S5), the second authentication process (step S7) is skipped.
[0122] Next, the service server 3 judges whether or not the operation screen G2 is being displayed on the display unit of the information processing terminal 4 (step S9). If it is judged that the operation screen G2 is being displayed (YES in step S9), the remote operation process (step S11) is executed, the process returns to step S1, and steps S1 to S11 are executed repeatedly. A specific procedure of the remote operation process will be described later. On the other hand, if it is judged that the operation screen G2 is not being displayed (NO in step S9), the remote operation process (step S11) is skipped, the process returns to step S1, and steps S1 to S11 are executed repeatedly.
[0123] 10 is a flowchart showing an example of a specific processing procedure of the first authentication process (step S3 in FIG. 9). The service server 3 transmits a one-time password to the information processing terminal 4 (step S20). Next, it is determined whether or not input of a password has been detected from the information processing terminal 4 (step S22).
[0124] If the input of a password is detected (YES in step S22), it is further judged whether or not the input password is correct (step S24). If it is judged that the input password is correct (YES in step S24), that is, if the one-time password transmitted to the information processing terminal 4 in step S20 is the same as the input password, the service server 3 causes the information processing terminal 4 to display the main screen G1, and ends the first authentication process (step S3).
[0125] On the other hand, if no password input is detected from the information processing terminal 4 (NO in step S22), it is further determined whether a predetermined waiting time has elapsed (step S28), and if the waiting time has not elapsed (NO in step S28), the process returns to step S22 and waits until password input is detected.
[0126] If it is determined that the waiting time has elapsed (YES in step S28), a message indicating that the login has failed is displayed on the display unit of the information processing terminal 4 (step S30), and the first authentication process (step S3) is terminated. If it is determined in step S24 that the password detected from the information processing terminal 4 is incorrect (NO in step S24), the above step S30 is executed, and the first authentication process (step S3) is terminated.
[0127] 11 is a flowchart showing an example of a specific processing procedure of the second authentication process (step S7 in FIG. 9). First, the service server 3 determines whether or not a remote operation instruction is detected from the information processing terminal 4 (step S36). If a remote operation instruction is detected (YES in step S36), the service server 3 refers to the authority information 74 (step S38).
[0128] Next, it is determined whether or not the service server 3 has the operation authority (step S40). If it is determined that the service server 3 has the operation authority (YES in step S40), the service server 3 generates a mode switching command (step S42) and transmits the generated mode switching command to the control device 2 (step S44).
[0129] Furthermore, the service server 3 causes the display unit of the information processing terminal 4 to display the operation screen G2 (step S46), and transmits a switching notification message to a pre-registered destination notifying the destination that the operation mode will be switched (step S48), thereby terminating the second authentication process (step S7).
[0130] On the other hand, in step S36, if a remote operation instruction is not detected from the information processing terminal 4 (NO in step S36), it is further determined whether or not a predetermined waiting time has elapsed (step S50). If it is determined that the waiting time has not elapsed (NO in step S50), the second authentication process (step S7) is terminated.
[0131] On the other hand, if it is determined that the waiting time has elapsed (YES in step S50), and if it is determined by referring to the authority information 74 that there is no operating authority (NO in step S40), a message indicating that switching to the remote operation mode has failed is displayed on the display unit of the information processing terminal 4 (step S52), and the second authentication process (step S7) is terminated.
[0132] 12 is a flowchart showing an example of a specific processing procedure of the remote operation process (step S11 in FIG. 9). When the operation screen G2 is displayed on the information processing terminal 4 (YES in step S9 in FIG. 9), that is, in the remote operation mode, the service server 3 determines whether or not a setting change operation on the information processing terminal 4 is detected (step S56).
[0133] If it is determined that a setting change operation has been detected (YES in step S56), the service server 3 generates a setting change command (step S58) and transmits the generated setting change command to the control device 2 (step S60). Finally, the service server 3 executes a first count process (step S62) for controlling the count value and ends the remote control process (step S11).
[0134] On the other hand, if a setting change operation has not been detected (NO in step S56), it is determined whether or not a predetermined waiting time has elapsed (step S64).If it is determined that the waiting time has not elapsed (NO in step S64), it is further determined whether or not an operation to end the remote control mode has been detected (step S66).
[0135] If an operation to end the remote operation mode is not detected (NO in step S66), the service server 3 executes a first counting process (step S62). On the other hand, if an operation to end the remote operation mode is detected (YES in step S66), the service server 3 generates a mode switching command (step S68) and transmits the generated switching command to the control device 2 (step S70).
[0136] Finally, the service server 3 resets the count value (step S72), and causes the information processing terminal 4 to erase the operation screen G2 and display the main screen G1 (step S74).
[0137] 13 is a flowchart showing an example of a specific processing procedure of the first counting process (step S62 in FIG. 12). The service server 3 determines whether or not the first interval time t1 is being measured (step S80), and if it is being measured (YES in step S80), it next determines whether or not the first interval time t1 has elapsed (step S82). If the first interval time t1 has not elapsed (NO in step S82), the first counting process (step S62 in FIG. 12) is terminated.
[0138] On the other hand, if the first interval time t1 has elapsed (step S82), the first interval time t1 is reset (step S84), the count value is incremented (step S86), and then a transmission process (step S88) is executed to transmit the count value to the control device 2.
[0139] Finally, the service server 3 restarts measuring the first interval time t1 (step S90) and ends the first counting process (step S62 in FIG. 12).
[0140] (Processing procedure of control device 2) Next, a process procedure executed by the control device 2 in the first embodiment will be described. Fig. 14 to Fig. 17 are flowcharts showing an example of the process procedure executed by the control device 2.
[0141] 14 is a flowchart showing an example of the main process executed by the control device 2. First, the control device 2 determines whether or not a count value has been received from the service server 3 (step S100).
[0142] If the count value has been received (YES in step S100), the control device 2 stores the count value in the second storage unit 82 (step S101). On the other hand, if the count value has not been received (NO in step S100), step S101 is skipped.
[0143] Next, the control device 2 judges whether or not a mode switching command has been received from the service server 3 (step S103). If a mode switching command has been received (YES in step S103), the control device 2 executes a mode switching process (step S105).
[0144] On the other hand, if the control device 2 has not received the mode switching command from the service server 3 (NO in step S103), the control device 2 executes a device control process (step S107).
[0145] Next, the control device 2 judges whether the second interval time t2 is being measured (step S109). If the second interval time t2 is being measured (YES in step S109), a second count process (step S110) is executed for the count value, and the process returns to step S100, and the following process is executed repeatedly. The specific process procedure of the second count process (step S110) will be described later.
[0146] If the second interval time t2 is not being measured (NO in step S109), the second count process (step S110) is skipped and the process returns to step S100, and the following processes are repeatedly executed.
[0147] 15 is a flowchart showing an example of a specific processing procedure of the mode switching process (step S105 in FIG. 14). First, the control device 2 determines whether or not the remote operation mode is set (step S113).
[0148] If it is determined that the remote operation mode is not set (NO in step S113), the control device 2 ends the normal operation mode and sets the remote operation mode in response to the mode switching command (step S115). Next, with reference to the first interval time t1 received from the service server 3 (step S117), it sets the second interval time t2 (step S119), starts measuring the second interval time t2 (step S121), and ends the mode switching process (step S105).
[0149] On the other hand, if it is determined that the remote operation mode is set (YES in step S113), the remote operation mode is ended and the normal operation mode is set (step S123). Next, the control device 2 stops measuring the second interval time t2 (step S125), clears the count value stored in the second storage unit 82 (step S105), and ends the mode switching process (step S105).
[0150] 16 is a flowchart showing an example of a specific processing procedure of the device control process (step S107 in FIG. 14). The control device 2 determines whether or not a setting change command for controlling the operation of a control target device has been received from the service server 3 (step S131).
[0151] If it is determined that the setting change command has been received (YES in step S131), then it is determined whether or not the remote operation mode has been set (step S133). If it is determined that the remote operation mode has been set (YES in step S133), the received setting change command is executed (step S135). On the other hand, if it is determined that the remote operation mode has not been set (NO in step S133), the control device 2 transmits an error report to the service server 3 (step S137).
[0152] Next, it is determined whether or not a setting instruction operation by operating the operation unit is detected (step S139). The setting instruction operation is performed by operating the operation unit (not shown) of the control device 2. If a setting instruction operation is detected (YES in step S139), it is next determined whether or not the normal operation mode is set (step S141).
[0153] If it is determined that the normal operation mode is set (YES in step S141), the control device 2 generates a command to control the operation of the controlled device in response to the setting operation instruction (step S143), and executes the generated command (step S145) to control the operation of the controlled device.
[0154] On the other hand, if it is determined that the normal operation mode is not set (NO in step S141), an error message is displayed to the user operating the operation unit (step S147), and the operation control process (step S107) is terminated.
[0155] If a setting instruction operation is not detected (NO in step S139), the following process is skipped and the device control process (step S107) is terminated.
[0156] 17 is a flowchart showing an example of a specific processing procedure of the second counting process (step S110 in FIG. 14). While measuring the second interval time t2, the control device 2 determines whether the second interval time t2 has elapsed (step S151). If the second interval time t2 has not elapsed (NO in step S151), the control device 2 skips the following processing and ends the second counting process (step S110).
[0157] If the second interval time t2 has elapsed (YES in step S151), the control device 2 reads out the count value from the second storage unit 82 (step S153), and determines whether the read out count value is correct (step S155).
[0158] As an example of a method for determining whether the count value is correct or not, the control device 2 determines whether the count value read out from the second storage unit 82 is incremented compared to the previous count value.
[0159] If it is determined that the count value is correct (YES in step S155), the control device 2 erases the count value stored in the second storage unit 82 and updates it with the new count value (step S157).
[0160] Then, the control device 2 resets the second interval time t2 (step S159), starts measuring the second interval time t2 again (step S161), and ends the second counting process (step S110).
[0161] If it is determined in step S155 that the count value is incorrect (step S155), it is further determined whether the number of times the second interval time t2 has been measured has reached a predetermined number (step S163).
[0162] If the number of times the second interval time t2 has been measured reaches a predetermined number (YES in step S163), the control device 2 ends the remote operation mode and sets the normal operation mode (step S165). With this configuration, if the second interval time t2 has elapsed multiple times and the count value is incorrect, the control device 2 determines that communication with the service server 3 has not been established and sets the normal operation mode.
[0163] The control device 2 further resets the second interval time t2 (step S167), clears the count value (step S169), and then transmits an error notification to the service server 3 (step S171) to end the second count process (step S110).
[0164] In step S163, if it is determined that the number of times the second interval time t2 has been measured has not reached the predetermined number (NO in step S163), the following process is skipped and the second count process (step S110) is ended.
[0165] Second embodiment Next, a second embodiment of the present invention will be described. In the second embodiment, the control device 2 constituting the remote control system 1 measures a preset grace time when the second interval time t2 has elapsed without incrementing the count value.
[0166] In the second embodiment, if the second interval time t2 has elapsed without the count value stored in the second memory unit 82 being added, the count value reading unit 126 reads out the count value stored in the second memory unit 82 after a pre-set grace period has further elapsed.
[0167] If the grace time elapses without incrementing the count value, the third determination unit 128 determines that communication with the service server 3 has not been established. By further measuring the grace time after the second interval time t2 and reading out the count value after the grace time has elapsed, it becomes possible to continue setting the remote control mode without being affected by slight communication problems.
[0168] (Control device processing procedure) A description will be given of a processing procedure performed by the control device 2 in the second embodiment. Figures 18 to 20 are flowcharts showing an example of a processing procedure executed by the control device 2 shown in the second embodiment.
[0169] 18 is a flowchart showing an example of a main process executed by the control device 2 in the second embodiment. The control device 2 determines whether or not a count value has been received from the service server 3 (step S200), and if a count value has been received (YES in step S200), stores the received count value in the second storage unit 82 (step S201). If a count value has not been received (NO in step S200), step S201 is skipped.
[0170] Next, the control device 2 judges whether or not a mode switching command has been received from the service server 3 (step S203). If a mode switching command has been received (YES in step S203), the control device 2 executes a mode switching process (step S205). On the other hand, if a mode switching command has not been received (NO in step S203), the control device 2 executes a device control process (step S207) for controlling the operation of the controlled device. The specific process procedures of the mode switching process (S205) and the device control process (step S207) are similar to the process procedures exemplified in the first embodiment.
[0171] Next, the control device 2 judges whether or not the second interval time t2 is being measured (step S209). If the second interval time t2 is being measured (YES in step S209), the control device 2 executes a second counting process (step S211) and then returns to step S200 to repeatedly execute the following process steps. The specific process steps of the second counting process (step S211) will be described later.
[0172] On the other hand, if the second interval time t2 is not being measured (NO in step S209), the control device 2 further judges whether or not the grace period is being measured (step S213). If the grace period is being measured (YES in step S213), grace period count processing (step S215) is executed. The specific processing procedure of the grace period count processing (step S215) will be described later.
[0173] If the grace period is not being measured (NO in step S213), the grace period count process (step S215) is skipped and the process returns to step S200, and the following process steps are repeatedly executed.
[0174] Fig. 19 is a flowchart showing an example of a specific processing procedure of the second counting process (step S201 in Fig. 18). The control device 2 determines whether or not the second interval time t2 has elapsed (step S220), and ends the second counting process (step S201) if the second interval time t2 has not elapsed (NO in step S220).
[0175] On the other hand, if the second interval time t2 has elapsed (YES in step S220), the control device 2 reads the count value from the second storage unit 82 (step S222), and determines whether the read count value is correct (step S224).
[0176] As an example, if the count value is incremented from the immediately preceding count value, it is determined to be correct, and otherwise it is determined to be incorrect.
[0177] If it is determined that the read count value is correct (YES in step S224), the control device 2 updates the count value (step S226), resets the second interval time t2 (step S228), and starts measuring the second interval time t2 (step S230) and ends the second count process (step S201).
[0178] On the other hand, if it is determined that the read count value is incorrect (NO in step S224), the control device 2 resets the second interval time t2 (step S232), starts measuring the grace period (step S234), and ends the second count process (S201).
[0179] With this configuration, when the second interval time t2 has elapsed, the control device 2 measures a preset grace period, and immediately avoids determining that a communication error or the like has occurred.
[0180] 20 is a flowchart showing an example of a specific processing procedure of the grace count process (step S215 in FIG. 18). The control device 2 determines whether the grace time has elapsed (step S240), and if the grace time has not elapsed (NO in step S240), ends the grace count process.
[0181] If it is determined in step S240 that the grace period has elapsed (YES in step S240), the control device 2 reads the count value from the second storage unit 82 (step S242), and determines whether the read count value is correct (step S244).
[0182] The method for determining whether the count value is correct or not is the same as that described above in the second count process (step S201 in FIG. 18).
[0183] If it is determined that the count value is correct (YES in step S244), the count value in the count value information 132 is updated (step S246). Then, the grace period is reset (step S248), measurement of the second interval time t2 is started (step S250), and the grace period count process (step S215) is terminated.
[0184] If it is determined in step S244 that the read count value is incorrect (NO in step S244), the control device 2 ends the remote operation mode and sets the normal operation mode (step S252).
[0185] Then, the control device 2 resets the grace period (step S254), clears the count value (step S256), transmits an error notification to the service server 3 (step S258), and ends the grace period count process.
[0186] Third embodiment Next, a third embodiment of the present invention will be described. In the third embodiment, the control device 2 includes a count value detection unit 152 that detects receipt of a count value transmitted from the service server 3 when the control device 2 is set to the remote operation mode.
[0187] (Functional configuration of control device 2) 21 is a block diagram showing an example of a functional configuration of the control device 2 in the third embodiment. The control device 2 causes the CPU to function as a control unit 80 by executing a second control program 202 (not shown).
[0188] The control unit 80 includes a mode control unit 150. The mode control unit 150 sets the control device 2 to either a normal operation mode or a remote operation mode. The mode control unit 150 further includes a count value detection unit 152, a third determination unit 128, and a mode switching unit 86.
[0189] The count value detection unit 152 is a processing unit that detects receipt of a count value transmitted from the service server 3. When the count value is accepted by the acceptance unit 84, the count value detection unit 152 detects receipt of the count value.
[0190] When the count value detection unit 152 detects the reception of a count value, the third determination unit 128 determines whether or not the received count value is correct. That is, the third determination unit 128 reads the count value information 132 stored in the second storage unit 82, and determines whether or not the received count value is the value added to the count value information 132.
[0191] If it is determined that the count value is correct, the third determination unit 128 updates the count value information 132 with the received count value. If the count value is correct, the third determination unit 128 determines that the communication state with the service server 3 has been normally established.
[0192] On the other hand, when the count value is incorrect, the third determination unit 128 determines that the communication state with the service server 3 is not normally established. When the third determination unit 128 determines that the communication state with the service server 3 is not normally established, the mode switching unit 86 switches from the remote operation mode to the normal operation mode.
[0193] If the received count value is incorrect, it is highly likely that the count value transmitted from the service server 3 at predetermined time intervals has not been properly received by the control device 2. In other words, it can be inferred that the count value was not received by the control device 2 despite being transmitted from the service server 3 because the communication state between the service server 3 and the control device 2 has not been properly established.
[0194] Therefore, the third determination unit 128 refers to the read count value information 132, and if the received count value is incorrect, determines that the communication state with the service server 3 has not been properly established.
[0195] In the third embodiment, the third determination means determines that communication with the service server 3 has not been established when the count value detection unit 152 does not detect receipt of a count value before a predetermined time has elapsed.
[0196] The control unit 80 starts a timer (not shown) when it updates the count value information 132. When the third determination unit 128 determines that the count value detected by the count value detection unit 152 is correct, the control unit 80 stops the timer and resets the timer.
[0197] When the timer measures the predetermined time without the count value detection unit 152 detecting the reception of a count value, the third determination unit 128 determines that communication with the service server 3 has not been established.
[0198] The measurement time at which the third determination unit 128 determines that communication has not been established is set to a time longer than the first interval time t1. With this configuration, when there is a slight delay in receiving the count value from the service server 3, the third determination unit 128 does not determine that communication has not been established, but determines that communication is still established. Therefore, it is possible to prevent the remote operation mode from being terminated due to a slight delay in communication.
[0199] (Processing procedure of control device 2) Next, a description will be given of an example of a process procedure executed by the control device 2 in the third embodiment. Fig. 22 is a flowchart showing an example of a main process procedure executed by the control device 2 in the third embodiment.
[0200] The control device 2 judges whether or not a mode switching command has been received from the service server 3 (step S304). If it is judged that a mode switching command has been received (YES in step S304), the control device 2 executes a mode switching process (step S306). A specific processing procedure of the mode switching process (step S306) will be described later.
[0201] If it is determined that the mode switching command has not been received (NO in step S304), the control device 2 executes the device control process (step S107). The device control process (step S107) is the same processing procedure as that described in the first embodiment.
[0202] Next, the control device 2 determines whether or not the timer is measuring (step S308), and if the timer is measuring (YES in step S308), executes a second count process (step S310). A specific processing procedure of the second count process (step S310) will be described later. On the other hand, if the timer is not measuring (NO in step S308), the second count process (step S310) is skipped and the process returns to step S304, and thereafter the above-mentioned processing procedure is repeatedly executed.
[0203] 23 is a flowchart showing an example of a specific processing procedure of the mode switching process (step S306 in FIG. 22). The control device 2 determines whether or not the remote operation mode is set (step S320).
[0204] If the remote operation mode is set (YES in step S320), the remote operation mode is switched to the normal operation mode (step S326).Then, the control device 2 stops the timer (step S328), clears the count value information 132 stored in the second storage unit 82 (step S330), and ends the mode switching process.
[0205] If the remote operation mode is not set (NO in step S320), the normal operation mode is switched to the remote operation mode (step S322), a timer is started (step S324), and the mode switching process is terminated.
[0206] 24 is a flowchart showing an example of a specific processing procedure of the second counting process (step S310 in FIG. 22). The control device 2 determines whether or not reception of a count value is detected (step S334).
[0207] If reception of a count value is detected (YES in step S334), then it is determined whether or not the count value is correct (step S336). If the received count value is correct (YES in step S336), the count value information 132 is updated (step S338). Furthermore, the control device 2 resets the timer (step S340), and then starts measuring the timer (step S342), terminating the second count process.
[0208] On the other hand, returning to step S334, if it is determined that reception of a count value has not been detected (NO in step S334), or if it is determined that the received count value is incorrect (NO in step S336), the control device 2 determines whether the time measured by the timer has elapsed a predetermined time (step S344).
[0209] If the predetermined time has not elapsed (NO in step S344), the second counting process is terminated. On the other hand, if the predetermined time has elapsed (YES in step S344), the control device 2 switches from the remote operation mode to the normal operation mode (step S346), resets the timer (step S348), clears the count value information 132, and terminates the second counting process.
[0210] (Initial setting mode) Next, an example of a setting aspect of the initial settings that can be applied to any of the first to third embodiments of the present invention will be described.
[0211] The service server 3 may generate an initial setting screen for setting the display mode of both or either one of the main screen G1 and the operation screen G2 in response to a user's operation, and cause the information processing terminal 4 to display the initial setting screen.
[0212] On the initial setting screen, the user can set the button display mode of these screens. The initial setting screen may be capable of setting initial values of devices to be controlled, such as the pump device 5 and the temperature control device 6.
[0213] With the initial setting screen displayed, the user may be able to set initial values of parameters of the controlled device by operating the information processing terminal 4. In response to the user's setting, the setting value is transmitted from the service server 3 to the control device 2, and the control device 2 sets the initial values of the controlled device in response to the user's setting.
[0214] The initial setting screen generated by the service server 3 may have a screen configuration generated in CSV (Comma Separated Values) format, or may have a screen configuration generated in XML (Extensible Markup Language) format.
[0215] This enables the user to efficiently set the initial display mode of the screen and the initial values of the controlled devices.
[0216] (Modification) Although one embodiment of the present invention has been described above, the present invention is not limited to the contents described in the above embodiment, and various modified examples are applicable.
[0217] In each of the above embodiments, a case has been exemplified in which a user operates the information processing terminal 4 to transmit a setting change instruction to the service server 3 in the remote operation control system 1, but the present invention is not limited to this. The user may operate the operation unit of the service server 3 to control the operation of a control target device such as the pump device 5 or the temperature control device 6. In this case, the service server 3 transmits a setting change command to the control device 2 in response to the user's operation.
[0218] In each of the above embodiments, the pump device 5 and the temperature control device 6 are given as examples of the controlled device, but the present invention is not limited to this, and various types of mechanical devices may be used as the controlled device.
[0219] In each of the above embodiments, the timing at which the count value is transmitted from the service server 3 to the control device 2 is different from the timing at which the count value is read out by the control device 2, but the present invention is not limited to this. For example, the service server 3 may transmit the count value to the control device 2 at every predetermined time t3, and the control device 2 may determine that communication with the service server 3 is established as long as the interval at which the control device 2 receives the count value is within the predetermined time t4. The predetermined time t4 is set to be longer than the predetermined time t3. [Explanation of symbols]
[0220] 1 Remote operation control system 2. Control device 3 Service server (instruction device) 4. Information processing terminal 5. Pump equipment (water treatment equipment) 6 Temperature control device (water treatment device) 20 First counter control unit (count value transmission means) 30 First authentication unit (first authentication means) 32 Second authentication unit (second authentication means) 48 Command transmission unit (remote operation instruction means, command transmission means) 52 First interval setting unit (first interval setting means) 54 Count value update unit (count value update means) 56 Counter information transmission unit (count value transmission means) 86 Mode switching unit (mode switching means) 90 Device control section (device control means) 100 Network 110 Reception unit (operation reception means) 124 Second interval setting unit (second interval setting means) 126 Count value reading unit (count value reading means) 128 Third judgment unit (judgment means) 152 Count value detection unit (detection means) 300 Storage medium t1 First interval time t2 Second interval time
Claims
1. A remote control system having a control device that controls an operation of a water treatment device and an instruction device that can instruct the control device to set an operation of the water treatment device via a network, The indicating device is a first authentication means for authenticating a login request by a user; a second authentication means for authenticating a request to operate the water treatment device by a user authenticated by the first authentication means based on authority information; a remote operation instruction means for transmitting, to the control device, a remote operation instruction for prohibiting control of the water treatment device by an operation of the control device by a user when authentication by the second authentication means is successful; a command transmission means for transmitting a control command for controlling the water treatment device to the control device; a count value transmission means for transmitting a count value, which is incremented at each predetermined timing, to the control device when the remote operation instruction is transmitted; Equipped with The control device includes: an operation receiving means for receiving a setting instruction of the water treatment device set by a user operation; A mode switching means for switching between a normal operation state in which the water treatment device can be controlled based on the setting instruction received by the operation receiving means and a remote operation state in which the water treatment device can be controlled based on the control command received from the instruction device; A device control means for controlling the operation of the water treatment device according to the state set by the mode switching means; a count value reading means for reading out the count value stored in the storage means at each predetermined timing when the remote control state is set; a determination means for determining whether or not communication with the instruction device has been established based on the count value read by the count value reading means; Equipped with When the device control means is set to the normal operation state, the device control means controls the operation of the water treatment device based on the setting instruction received by the operation receiving means, and when the device control means is set to the remote operation state, the device control means controls the operation of the water treatment device based on the control command received from the instruction device; The mode switching means switches from the remote operation state to the normal operation state when the determining means determines that communication with the instruction device has not been established.
2. The indicating device is a first interval setting means for setting a first interval time for generating the count value; a count value update means for updating the count value by adding the count value when the first interval time has elapsed; Further equipped with 2. The remote operation control system according to claim 1, wherein the count value transmitting means transmits the updated count value when the count value is updated.
3. The control device includes: a second interval setting means for setting a second interval for reading out the count value in response to the first interval acquired from the instruction device; Further equipped with 3. The remote control system according to claim 2, wherein the count value reading means reads out the count value every time the second interval time elapses.
4. 4. The remote control system according to claim 3, wherein the determining means determines that communication with the instruction device has not been established when the second interval time has elapsed without the count value being incremented.
5. 4. The remote control system according to claim 3, wherein the determining means determines that communication with the instruction device has not been established when the second interval time has elapsed multiple times without the count value being incremented.
6. 6. The remote control system according to claim 3, wherein the second interval setting means sets the second interval time longer than the first interval time.
7. the count value reading means, when the second interval time has elapsed without the count value being incremented, reads out the count value after a preset grace time has further elapsed; 4. The remote operation control system according to claim 3, wherein the determining means determines that communication with the instruction device has not been established if the grace period has elapsed without the count value being incremented.
8. An instruction device that instructs a control device that controls an operation of a water treatment device to set an operation of the water treatment device via a network, a first authentication means for authenticating a login request by a user; a second authentication means for authenticating a request to operate the water treatment device by a user authenticated by the first authentication means based on authority information; a remote operation instruction means for transmitting, to the control device, a remote operation instruction for prohibiting control of the water treatment device by an operation of the control device by a user when authentication by the second authentication means is successful; a count value transmission means for transmitting a count value, which is incremented at each predetermined timing, to the control device when the remote operation instruction is transmitted to the control device; An indicating device comprising:
9. a first interval setting means for setting a first interval time for generating the count value; a count value update means for updating the count value by adding the count value when the first interval time has elapsed; Further equipped with 9. The indicating device according to claim 8, wherein the count value transmitting means transmits the updated count value when the count value is updated.
10. A control device capable of communicating with an instruction device that instructs settings for an operation of the water treatment device and controls the operation of the water treatment device, an operation receiving means for receiving a setting instruction of the water treatment device set by a user operation; a mode switching means for switching between a normal operation state in which the water treatment device can be controlled based on the setting instruction received by the operation receiving means and a remote operation state in which the water treatment device can be controlled based on a control command related to the operation of the water treatment device received from the instruction device; A device control means for controlling the operation of the water treatment device according to the state set by the mode switching means; a count value reading means for reading out the count value stored in the storage means at each predetermined timing when the remote control state is set; a determination means for determining whether or not communication with the instruction device has been established based on the count value read by the count value reading means; Equipped with When the device control means is set to the normal operation state, it controls the operation of the water treatment device in response to the setting instruction received by the operation receiving means, and when the device control means is set to the remote operation state, it controls the operation of the water treatment device in response to the control command received from the instruction device; The mode switching means switches the control device from the remote operation state to the normal operation state when the determination means determines that communication with the instruction device has not been established.
11. a second interval setting means for setting a second interval for reading out the count value in accordance with a first interval when the first interval for generating the count value is acquired from the instruction device; Further equipped with 11. The control device according to claim 10, wherein the count value reading means reads out the count value every time the second interval time elapses.
12. The control device according to claim 11 , wherein the determination means determines that communication with the instruction device has not been established when the second interval time has elapsed without the count value being incremented.
13. The control device according to claim 11 , wherein the determining means determines that communication with the instruction device has not been established when the second interval time has elapsed multiple times without the count value being incremented.
14. 14. The control device according to claim 11, wherein the second interval setting means sets the second interval time longer than the first interval time.
15. the count value reading means, when the second interval time has elapsed without the count value being incremented, reads out the count value after a preset grace time has further elapsed; The control device according to claim 11 , wherein the determining means determines that communication with the instruction device has not been established if the grace period has elapsed without the count value being incremented.
16. A program for causing a computer to function as an instruction device that instructs a control device that controls an operation of a water treatment device to set an operation of the water treatment device, the program being executed on the computer, The computer, A first authentication means for authenticating a login request by a user; a second authentication means for authenticating a request to operate the water treatment device by a user authenticated by the first authentication means based on authority information; a remote operation instruction means for transmitting, to the control device, a remote operation instruction for prohibiting control of the water treatment device by an operation of the control device by a user when authentication by the second authentication means is successful; and, a count value transmitting means for transmitting a count value, which is incremented every time a predetermined timing occurs, to the control device when the remote operation instruction is transmitted to the control device; A program that functions as a
17. The computer, a first interval setting means for setting a first interval time for generating the count value; and, a count value update means for updating the count value by adding the count value when the first interval time has elapsed; It also functions as 17. The program according to claim 16, wherein the count value transmitting means transmits the updated count value when the count value is updated.
18. A program that, when executed on a computer, causes the computer to communicate with an instruction device that instructs settings for an operation of a water treatment device and to function as a control device that controls the operation of the water treatment device, The computer, an operation receiving means for receiving a setting instruction of the water treatment device set by a user operation; a mode switching means for switching between a normal operation state in which the water treatment device can be controlled based on the setting instruction received by the operation receiving means and a remote operation state in which the water treatment device can be controlled based on a control command related to the operation of the water treatment device received from the instruction device; a device control means for controlling an operation of the water treatment device in accordance with the state set by the mode switching means; a count value reading means for reading, at a predetermined timing, the count value received from the instruction device and stored in the storage means when the remote control state is set; and, a determination means for determining whether or not communication with the instruction device has been established based on the count value read by the count value reading means; Function as a When the device control means is set to the normal operation state, it controls the operation of the water treatment device in response to the setting instruction received by the operation receiving means, and when the device control means is set to the remote operation state, it controls the operation of the water treatment device in response to the control command received from the instruction device; The mode switching means is a program for switching from the remote operation state to the normal operation state when the determination means determines that communication with the instruction device has not been established.
19. The computer, a second interval setting means for setting a second interval for reading out the count value in accordance with a first interval when the first interval for generating the count value is acquired from the instruction device; It also functions as 20. The program according to claim 18, wherein the count value reading means reads the count value every time the second interval time elapses.
20. 20. The program according to claim 19, wherein the determining means determines that communication with the instruction device has not been established when the second interval time has elapsed without the count value being incremented.
21. 20. The program according to claim 19, wherein the determining means determines that communication with the instruction device has not been established when the second interval time has elapsed multiple times without the count value being incremented.
22. 22. The program according to claim 19, wherein the second interval setting means sets the second interval time longer than the first interval time.
23. the count value reading means, when the second interval time has elapsed without the count value being incremented, reads out the count value after a preset grace time has further elapsed; 20. The program according to claim 19, wherein the determining means determines that communication with the instruction device has not been established if the grace period has elapsed without the count value being incremented.
24. A storage medium storing the program according to any one of claims 16 to 21.
25. A remote control system having a control device that controls an operation of a water treatment device and an instruction device that can instruct the control device to set an operation of the water treatment device via a network, The indicating device is a first authentication means for authenticating a login request by a user; a second authentication means for authenticating a request to operate the water treatment device by a user authenticated by the first authentication means based on authority information; a remote operation instruction means for transmitting, to the control device, a remote operation instruction for prohibiting control of the water treatment device by an operation of the control device by a user when authentication by the second authentication means is successful; a command transmission means for transmitting a control command for controlling the water treatment device to the control device; a count value transmission means for transmitting a count value, which is incremented at each predetermined timing, to the control device when the remote operation instruction is transmitted; Equipped with The control device includes: an operation receiving means for receiving a setting instruction of the water treatment device set by a user operation; A mode switching means for switching between a normal operation state in which the water treatment device can be controlled based on the setting instruction received by the operation receiving means and a remote operation state in which the water treatment device can be controlled based on the control command received from the instruction device; A device control means for controlling the operation of the water treatment device according to the state set by the mode switching means; a detection means for detecting reception of the count value transmitted from the instruction device when the remote control state is set; a determination means for determining whether or not communication with the instruction device has been established based on the received count value when the detection means detects that the count value has been received; Equipped with When the device control means is set to the normal operation state, the device control means controls the operation of the water treatment device based on the setting instruction received by the operation receiving means, and when the device control means is set to the remote operation state, the device control means controls the operation of the water treatment device based on the control command received from the instruction device; The mode switching means switches from the remote operation state to the normal operation state when the determining means determines that communication with the instruction device has not been established.
26. The remote control system according to claim 25, wherein the determination means determines that communication with the instruction device has not been established if the detection means does not detect receipt of the count value before a predetermined time has elapsed.
27. A program that, when executed on a computer, causes the computer to communicate with an instruction device that instructs settings for an operation of a water treatment device and to function as a control device that controls the operation of the water treatment device, The computer, an operation receiving means for receiving a setting instruction of the water treatment device set by a user operation; a mode switching means for switching between a normal operation state in which the water treatment device can be controlled based on the setting instruction received by the operation receiving means and a remote operation state in which the water treatment device can be controlled based on the control command received from the instruction device; a device control means for controlling an operation of the water treatment device in accordance with the state set by the mode switching means; and, a determination means for determining, when the detection means detects receipt of the count value, whether or not communication with the instruction device has been established based on the received count value; Function as a When the device control means is set to the normal operation state, the device control means controls the operation of the water treatment device based on the setting instruction received by the operation receiving means, and when the device control means is set to the remote operation state, the device control means controls the operation of the water treatment device based on the control command received from the instruction device; The mode switching means is a program for switching from the remote operation state to the normal operation state when the determination means determines that communication with the instruction device has not been established.
Citation Information
Patent Citations
Cabinet management device
JP2019138027A
