WO2016084225A1 - Appareil de commande, système de communication, procédé de communication, et programme associé - Google Patents
Appareil de commande, système de communication, procédé de communication, et programme associé Download PDFInfo
- Publication number
- WO2016084225A1 WO2016084225A1 PCT/JP2014/081548 JP2014081548W WO2016084225A1 WO 2016084225 A1 WO2016084225 A1 WO 2016084225A1 JP 2014081548 W JP2014081548 W JP 2014081548W WO 2016084225 A1 WO2016084225 A1 WO 2016084225A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication
- control device
- communication device
- determined
- parameter
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
Definitions
- the present invention relates to a control device, a communication system, a communication method, and a program.
- HEMS Home Energy Management System
- communicable electrical devices are connected to a communication network and integratedly managed using a controller.
- a controller for controlling communicable electrical devices.
- electrical devices are manufactured by various manufacturers, and the performance, communication specifications, characteristics, etc. of the electrical devices are often different. Also, even if the manufacturer is the same, the communication environment may change depending on the place where it is installed. For this reason, simply applying one communication specification to communication with all electrical devices may result in poor communication efficiency. And even if there is a difference in performance or communication environment of electrical equipment, it is desired to be able to communicate efficiently.
- the present invention has been made under the above circumstances, and provides a control device, a communication system, a communication method, and a program that can efficiently cope with communication with communication partners having various performances. With the goal.
- a control device provides: A determination unit for determining communication parameters used for communication with a communication device by communicating with the communication device; A communication unit that communicates with the communication device using the determined communication parameter; Is provided.
- FIG. 1 is a diagram illustrating a configuration of a communication system according to a first embodiment. It is a figure which shows the example of a management screen. It is a figure which shows the example of a subscreen. It is a figure which shows the hardware constitutions of a control apparatus. It is a figure which shows the functional structure of a communication system. It is a figure which shows the structure of a packet. It is a figure which shows the time chart of transmission of a packet. It is a flowchart for demonstrating a communication process. It is a flowchart for demonstrating a packet size determination process. It is a flowchart for demonstrating transmission interval determination processing. It is a flowchart for demonstrating a timeout value determination process.
- 10 is a flowchart for explaining communication parameter determination processing according to the second embodiment.
- 10 is a flowchart for explaining communication parameter determination processing according to the third embodiment.
- 10 is a flowchart for explaining communication processing according to the fourth embodiment. It is an example of the definition data which defines a communication parameter in association with identification information of a communication device.
- 10 is a flowchart for explaining communication processing according to the fifth embodiment.
- 14 is a flowchart for explaining communication processing according to the sixth embodiment. It is a figure which shows the example of grouping about the maximum number of properties. It is a figure which shows the example of the maximum number of the properties set for every group. It is a figure which shows the example of grouping about the transmission interval of a packet.
- FIG. 29 is a diagram illustrating another display example of a message presented to the user according to the twelfth embodiment. It is a figure which shows the example of a display of a communication state.
- FIG. 1 shows a configuration of a communication system 1 according to the present embodiment.
- the control device 100 monitors the amount of power consumed by various communication devices 120 (three in FIG. 1, 120A, 120B, and 120C) installed in the house (inside the customer), and the operation of each communication device 120. To control.
- the number of communication devices 120 included in the communication system 1 is not limited by the present invention and is arbitrary.
- the control device 100 displays a management screen 200 that receives an instruction from the user, as shown in FIG.
- control device 100 transmits a command corresponding to the input instruction to communication device 120.
- the communication device 120 receives a command transmitted from the control device 100 and operates based on the received command.
- the control device 100 may be connected to an external communication network 140 such as the Internet and be able to communicate with other computers on the communication network 140.
- an external communication network 140 such as the Internet
- the communication device 120 operates with power supplied from outside the house, or power supplied from a power generation system or a power storage system installed in the house.
- the communication device 120 is specifically an air conditioner, a ventilation system, a lighting device, a hot water supply system, a floor heating system, an electric cooker, or the like that can communicate with the control device 100.
- the communication device 120 and the control device 100 are connected by a wireless LAN (Local Area Network), a wired LAN, a PLC (Power Line Communication), or the like.
- a wireless LAN Local Area Network
- a wired LAN a wired LAN
- PLC Power Line Communication
- the communication device 120 when the communication device 120 is an air conditioner, the communication device 120 receives a command from the control device 100, and based on the received command, the power is turned on or off, the target temperature is set, the air volume is set, and the operation time is Set up.
- the operation command is a command transmitted from the control device 100 to the communication device 120 mainly based on an instruction from the user.
- the control device 100 transmits an operation command corresponding to the input instruction to the communication device 120.
- the communication device 120 receives an operation command from the control device 100 and operates according to the operation command.
- the control device 100 may automatically transmit an operation command to the communication device 120 based on a predetermined algorithm regardless of an instruction from the user.
- FIG. 2 shows an example of the management screen 200.
- a list 250 of the communication devices 120 installed in the house and a floor plan 260 are displayed.
- the control apparatus 100 arranges the objects 210 (four in FIG. 2, 210A, 210B, 210C, and 210D) associated with the communication device 120 in the list 250. In association with the object 210, the name of the communication device 120 and the latest operation state acquired from the communication device 120 are displayed.
- the object 210 is a software button.
- the control device 100 can set a setting value that can be specified for the communication device 120 corresponding to the operated object 210.
- the sub screen 300 that accepts the input from the user is superimposed on the management screen 200 and displayed.
- the sub-screen 300 shown in FIG. 3 is displayed when the object 210B associated with “living air conditioner” is operated by the user.
- the sub screen 300 includes a button 301 associated with an instruction to start an operation, a button 302 associated with an instruction to stop the operation, a text box 303 in which a target temperature can be input, and a predetermined amount of target temperature ( A button 304 is provided that increases or decreases by (for example, once).
- the control device 100 transmits a start command for starting the operation of the communication device 120 (in this case, the air conditioner) to the communication device 120. However, if the communication device 120 is already operating, the control device 100 invalidates the operation on the button 301 or does not accept the operation on the button 301.
- communication device 120 receives a start command from control device 100, communication device 120 starts an operation (in this case, a heating operation in which the target temperature is set to 23 degrees).
- the control device 100 transmits a stop command for stopping the operation of the communication device 120 to the communication device 120. However, if the communication device 120 is already stopped, the control device 100 invalidates the operation on the button 302 or does not accept the operation on the button 302.
- the communication device 120 receives a stop command from the control device 100, the communication device 120 stops the operation (in this case, the heating operation in which the target temperature is set to 23 degrees).
- the control device 100 transmits a change command for changing the target temperature to the input numerical value to the communication device 120.
- the control device 100 invalidates the input value.
- the control device 100 does not permit the input of non-numeric characters or symbols in the text box 303.
- the communication device 120 changes the target temperature to the value indicated by the change command.
- the control device 100 When the button 304 is operated by the user, the control device 100 increases or decreases the value displayed in the text box 303 by a predetermined value (for example, 1 degree), and sets the target temperature to the changed value.
- the change command to be transmitted is transmitted to the communication device 120.
- the communication device 120 When receiving the change command from the control device 100, the communication device 120 changes the target temperature to the value indicated by the change command.
- the number, position, and shape of the objects 210 such as buttons and text boxes included in the sub screen 300, and the instruction contents associated with the objects 210 are different.
- the control device 100 has an icon 220 (220A, 220B, 220C, 220D, etc. in FIG. 2) indicating the communication device 120 at a position corresponding to the place where the communication device 120 is installed in the floor plan 260. ).
- the icon 220 is preferably an image that allows the user to easily determine the type of the communication device 120.
- the position where the icon 220 is arranged does not need to exactly match the place where the communication device 120 is actually installed, and at least the room where the communication device 120 is actually installed and the floor plan 260 corresponding to the room. It only needs to match the position.
- the control device 100 displays the icon 220 associated with the operated object 210 with emphasis by color change or blinking. Then, as described above, the control device 100 superimposes and displays on the management screen 200 the sub screen 300 that accepts input of parameters that can be set in the communication device 120 associated with the operated object 210 from the user. .
- the control device 100 displays the object 210 associated with the operated icon 220 in a highlighted manner by changing the color or blinking.
- the sub screen 300 is displayed. That is, the display of the list 250 and the display of the floor plan 260 are linked. The user may select the object 210 associated with the desired communication device 120 from the list 250 or direct the desired communication from the floor plan 260 if the user wants to instruct the specific communication device 120 to operate. The icon 220 associated with the device 120 may be selected.
- the status acquisition command is a command for the control device 100 to request transmission of the current operating status of the communication device 120.
- the control device 100 transmits a state acquisition command to the communication device 120 when a predetermined transmission condition is satisfied.
- the communication device 120 acquires and acquires the current state of the communication device 120 (for example, if the communication device 120 is an air conditioner, the set target temperature, the measured temperature and humidity, etc.).
- the transmitted information is transmitted to the control device 100.
- the control device 100 may transmit a status acquisition command to the communication device 120 based on an instruction from the user.
- the transmission condition is that a predetermined periodic timing arrives.
- the control device 100 transmits the status acquisition command to the communication device 120 again after a certain period (1 minute, 5 minutes, etc.) has elapsed since the last acquisition of the status acquisition command to the communication device 120.
- the control device 100 periodically acquires the latest state of the communication device 120 and updates the display of the management screen 200.
- the transmission condition may be that an instruction to display the latest state is input from the user.
- the control device 100 Upon receiving an instruction from the user to display the latest state on the management screen 200, the control device 100 transmits a state acquisition command to the communication device 120. When there is an instruction from the user, the control device 100 acquires and displays the latest state of the communication device 120.
- the communication unit 401 includes a NIC (Network Interface Card) and communicates with the communication device 120.
- the communication unit 401 communicates with the communication device 120 using a protocol compliant with ECHONET Lite (registered trademark).
- the image processing unit 402 displays the management screen 200, the sub screen 300, and the like on the display 451.
- the audio processing unit 403 acquires and reproduces audio data from the storage unit 405, and outputs audio from the speaker 452.
- the input unit 404 includes an input device that accepts input from the user, such as buttons and a touch panel.
- the control device 100 includes a so-called touch screen in which a touch panel is disposed so as to be superimposed on a display area of the display 451.
- the storage unit 405 includes a storage device such as a hard disk, and includes various programs for controlling the control device 100, data indicating the operating state received from the communication device 120, an operating system (OS), image data, audio data, text data, and the like.
- OS operating system
- the control unit 406 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory), and controls the entire control device 100.
- CPU Central Processing Unit
- ROM Read Only Memory
- RAM Random Access Memory
- FIG. 5 shows a functional configuration of the communication system 1. Although only one communication device 120 is illustrated in FIG. 5, the control device 100 can communicate with a plurality of communication devices 120.
- the control unit 406 of the control device 100 Upon receiving a connection request from a new communication device 120, the control unit 406 of the control device 100 matches the communication performance of the communication device 120 with the size of a packet that is a data transmission unit and the two consecutive packets. A transmission interval ⁇ T and a timeout value T OUT serving as a criterion for determining whether or not the communication is successful are determined.
- the control unit 406 of the control device 100 functions as a determination unit 501 that determines communication parameters used for communication with the communication device 120 by communicating with the communication device 120.
- the new communication device 120 is a communication device 120 in a state in which the communication specification when the control device 100 communicates with the communication device 120 has not yet been determined.
- the new communication device 120 is newly purchased and installed by the user. This corresponds to the communication device 120 with which the control device 100 communicates for the first time.
- the control unit 406 of the control device 100 transmits a command requesting a response from the communication device 120 to the communication device 120, and the communication between the time when the command is transmitted and the time indicated by the timeout value TOUT elapses. If no response is received from the device 120, it is determined that communication with the communication device 120 has failed.
- control unit 406 of the control device 100 does not receive a response from the communication device 120 between the time when the command is transmitted and the time indicated by the timeout value T OUT elapses, the control unit 406 transmits the command to the communication device 120 again. Transmission may be retried. The number of retries is arbitrary.
- Fig. 6 shows the packet structure.
- the packet includes a header portion having a fixed bit length including a destination address and a command identifier, and a data portion having a variable bit length (also referred to as a payload).
- the bit length of the data portion changes depending on the type of command or the like or the number N of properties included in the packet.
- the property includes, for example, a property indicating whether the communication device 120 is operating (on) or non-operation (off), a property indicating the installation location of the communication device 120, a property indicating the version of the standard, and identification information for identifying the communication device 120.
- FIG. 7 shows a time chart of packet transmission from the control device 100 to the communication device 120.
- the control unit 406 of the control device 100 starts issuing the first packet at time T1, waits until time T3 when time ⁇ T elapses from time T2 when the first packet has ended, and time T3.
- the third packet is started to be issued.
- the third packet is ended.
- control unit 406 of the control device 100 When the control unit 406 of the control device 100 detects a new communication device 120, the control unit 406 tries communication with the communication device 120, and the maximum number N MAX of properties that can be included in one packet, and a packet transmission interval. ⁇ T and timeout value T OUT are determined. If the maximum number N MAX of properties that can be included in one packet is determined, the maximum value of the amount of data that can be stored in one packet is determined.
- Fig. 8 shows the flow of communication processing for determining communication specifications.
- control unit 406 of the control device 100 determines whether or not a new communication device 120 has been detected (step S801).
- the communication device 120 transmits a connection request by broadcast that does not specify a transmission destination unless the control device 100 as its communication partner is determined.
- the control unit 406 of the control device 100 that has received the connection request determines that the communication device 120 that has transmitted the connection request is a new communication device 120.
- step S801; NO If no new communication device 120 is detected (step S801; NO), the control device 100 repeats the process of step S801.
- the control unit 406 of the control device 100 performs packet size determination processing (step S802), transmission interval determination processing (step S803), and timeout value determination processing (step S804). ).
- control unit 406 of the control device 100 may arbitrarily change the order of executing the packet size determination process, the transmission interval determination process, and the timeout value determination process. Further, the control unit 406 of the control device 100 may execute the packet size determination process, the transmission interval determination process, and the timeout value determination process simultaneously in parallel.
- control unit 406 of the control device 100 controls the communication unit 401 to determine the maximum number of properties N MAX determined by the packet size determination process, the packet transmission interval ⁇ T determined by the transmission interval determination process, Communication is performed with the communication device 120 using communication parameters including the timeout value T OUT determined by the timeout value determination process.
- the control unit 406 and the communication unit 401 of the control device 100 cooperate to function as the communication unit 502.
- the control unit 406 of the control device 100 communicates with the communication device 120
- the control unit 406 stores a communication history (hereinafter referred to as “communication log”) in the storage unit 405.
- the communication log includes, for example, the date and time when the packet was transmitted from the control device 100 or the communication device 120, the date and time when the packet was received by the control device 100 or the communication device 120, and information indicating whether the communication was successful or an error occurred. Etc. are included.
- the control unit 406 and the storage unit 405 of the control apparatus 100 cooperate to function as a recording unit 503 that records a history of communication with the communication device 120.
- control unit 406 of the control device 100 presents the management screen 200 and the sub screen 300 to the user by displaying them on the display 451, and receives a response to the command transmitted to the communication device 120 based on the determined communication parameters.
- Information that is a measure of the time it takes to obtain the information may be presented to the user, or information that includes the determined communication parameter may be presented to the user.
- the control unit 406 and the image processing unit 402 of the control device 100 cooperate to function as the presentation unit 504.
- control unit 406 of the control device 100 sets the maximum number of properties N MAX that can be included in one packet to a default value (step S901).
- the control unit 406 of the control device 100 generates a packet including a command storing N MAX properties and transmits the packet to the communication device 120.
- the default value is a provisional value before being determined by the packet size determination process.
- the command transmitted to the communication device 120 is a command that the received communication device 120 needs to return some response to the control device 100, such as a status acquisition command for requesting transmission of the current operation state of the communication device 120, for example. To do.
- the control unit 406 of the control device 100 determines whether or not the communication using the packet including the N MAX properties set in step S901 has been successful (step S902).
- control unit 406 of the control device 100 determines that the communication has been successful if the response data for the transmitted command is received, and determines that the communication has failed if the response data for the transmitted command is not received.
- control unit 406 of control device 100 receives response data including all responses to N MAX properties, control unit 406 determines that communication has been successful, and at least one of all responses to N MAX properties. If response data not including one response is received, it is determined that communication has failed. That is, if even one response to the N MAX inquiry is missing, it is determined that communication has failed.
- step S902 When it is determined in step S902 that the communication is successful (step S902; YES), the control unit 406 of the control device 100 sets the maximum number of properties N MAX that can be included in one packet to a predetermined number (for example, 1 packet) (step S903), a packet including a command storing N MAX properties (one more property than the previous time) is generated and transmitted to the communication device 120.
- a predetermined number for example, 1 packet
- the control unit 406 of the control device 100 determines whether or not the communication using the packet including the N MAX properties set in step S903 is successful (step S904).
- step S904 If it is determined in step S904 that the communication is successful (step S904; YES), the control unit 406 of the control device 100 sets the maximum number of properties N MAX that can be included in one packet to a predetermined number (for example, (1) is further increased (step S903), and a packet including a command storing N MAX properties (one more property than the previous one) is generated and transmitted to the communication device 120.
- a predetermined number for example, (1) is further increased (step S903)
- step S904 When it is determined in step S904 that the communication has failed (step S904; NO), the control unit 406 of the control device 100 determines the maximum number N MAX of properties that can be included in one packet in communication with the communication device 120. Finally, the number of properties when communication is successful is set (step S907).
- control unit 406 of the control device 100 increases the maximum number N MAX of properties that can be included in one packet until it is determined that communication has failed.
- the maximum number N MAX when it is determined that the communication is successful is returned.
- the maximum packet size that can be used for communication between the control device 100 and the communication device 120 in other words, the packet size that can be normally transmitted and received between the control device 100 and the communication device 120 at a time.
- the maximum value is known.
- step S902 when it is determined in step S902 that the communication has failed (step S902; NO), the control unit 406 of the control device 100 determines the maximum number N MAX of properties that can be included in one packet as a predetermined number.
- the packet is reduced by (for example, 1) (step S905), and a packet including a command storing N MAX properties (one less than the previous property) is generated and transmitted to the communication device 120.
- the control unit 406 of the control device 100 determines whether or not the communication using the packet including the N MAX properties set in step S905 is successful (step S906).
- step S906 When it is determined in step S906 that the communication is successful (step S906; YES), the control unit 406 of the control device 100 determines that the maximum number of properties N MAX that can be included in one packet is successful in the communication. It is set to the number of properties at the time (step S907).
- step S906 determines the maximum number N MAX of properties that can be included in one packet in communication with the communication device 120.
- the packet is further reduced by a predetermined number (for example, 1) (step S905), and a packet including a command storing N MAX properties (one property less than the previous time) is generated and transmitted to the communication device 120. .
- the control unit 406 of the control device 100 decreases the maximum number N MAX of properties that can be included in one packet until it is determined that the communication is successful.
- the maximum number N MAX when the communication is successful is used for communication with the communication device 120.
- the maximum packet size that can be used for communication between the control device 100 and the communication device 120 in other words, the maximum packet size that can be transmitted and received between the control device 100 and the communication device 120 at one time.
- the size of data that can be transmitted and received at one time by a packet may be adjusted by increasing or decreasing the amount of data in the packet.
- the flow for determining each communication parameter in the present embodiment is merely an example, and the communication parameter may be determined by, for example, binary tree search.
- control unit 406 of the control device 100 sets a packet transmission interval when transmitting packets in communication with the new communication device 120 to a default value (step S1001).
- the control unit 406 of the control device 100 transmits a command including at least two packets to the communication device 120 at a predetermined transmission interval.
- the default value is a provisional value before being determined by the transmission interval determination process.
- the command transmitted to the communication device 120 is a command that the received communication device 120 needs to return some response to the control device 100, such as a status acquisition command for requesting transmission of the current operation state of the communication device 120, for example. To do.
- the control unit 406 of the control device 100 determines whether or not the communication using the transmission interval set in step S1001 has succeeded (step S1002).
- step S1002 When it is determined in step S1002 that the communication is successful (step S1002; YES), the control unit 406 of the control device 100 shortens the packet transmission interval by a predetermined length (for example, 1 millisecond) (step S1002). In step S1003, at least two packets are transmitted to the communication device 120 at a shortened transmission interval.
- a predetermined length for example, 1 millisecond
- the control unit 406 of the control device 100 determines whether or not the communication using the transmission interval set in step S1003 is successful (step S1004).
- step S1004 When it is determined in step S1004 that the communication is successful (step S1004; YES), the control unit 406 of the control device 100 further shortens the transmission interval by a predetermined length (for example, 1 millisecond) (step S1003). ), At least two packets are transmitted to the communication device 120 at a shortened transmission interval.
- a predetermined length for example, 1 millisecond
- step S1004 When it is determined in step S1004 that communication has failed (step S1004; NO), the control unit 406 of the control device 100 sets the transmission interval ⁇ T in communication with the communication device 120 to the transmission interval when communication was last successful. Setting is performed (step S1007).
- control unit 406 of the control device 100 shortens the transmission interval until it determines that communication has failed, and if it determines that communication has failed, it determines the transmission interval when it has been determined that communication was successful immediately before. return. In this way, the minimum value of the transmission interval that can be used for communication between the control device 100 and the communication device 120, in other words, the transmission interval at which communication can be performed most efficiently is known.
- step S1002 determines whether communication has failed (step S1002; NO)
- the control unit 406 of the control device 100 increases the transmission interval by a predetermined length (for example, 1 millisecond) (step S1002).
- a predetermined length for example, 1 millisecond
- the control unit 406 of the control device 100 determines whether or not the communication using the transmission interval set in step S1005 is successful (step S1006).
- step S1006 When it is determined in step S1006 that the communication is successful (step S1006; YES), the control unit 406 of the control device 100 determines that the packet transmission interval ⁇ T in the communication with the communication device 120 is successful in the communication. (Step S1007).
- step S1006 If it is determined in step S1006 that the communication has failed (step S1006; NO), the control unit 406 of the control device 100 further increases the transmission interval by a predetermined length (for example, 1 millisecond) (step S1005). ) At least two packets are transmitted to the communication device 120 at a long transmission interval.
- a predetermined length for example, 1 millisecond
- control unit 406 of the control device 100 increases the packet transmission interval until it determines that the communication is successful.
- the transmission interval when the communication is successful is used for communication with the communication device 120. In this way, the minimum value of the transmission interval that can be used for communication between the control device 100 and the communication device 120, in other words, the transmission interval at which communication can be performed most efficiently is known.
- the commands transmitted from the control device 100 to the communication device 120 include the operation command (first command) and the state acquisition command (second command).
- the operation command is transmitted mainly based on a request from the user.
- the control unit 406 of the control device 100 transmits an operation command to the communication device 120 based on the input from the user.
- the status acquisition command is transmitted from the control device 100 to the communication device 120 regardless of the request from the user.
- the control unit 406 of the control device 100 transmits a state acquisition command to the communication device 120 when a predetermined transmission condition is satisfied.
- operation commands and status acquisition commands are classified as follows.
- Operation command (first command) ⁇ Command to start operations such as cooling, heating, dehumidification, and airflow ⁇ Command to end operations such as cooling, heating, dehumidification, and airflow ⁇ Command to set target temperature ⁇ Command to set airflow ⁇ Operation mode (cooling, Command to set heating, dehumidification, or air blowing mode
- the communication device 120 When the communication device 120 receives an operation command from the control device 100, the communication device 120 operates based on the operation command.
- the communication device 120 may return a signal (ACK) indicating that the operation command has been received.
- ACK a signal
- the communication device 120 returns response data including information indicating the requested operation state and the like.
- the control device 100 measures the time taken from the transmission of the status acquisition command to the communication device 120 from the control device 100 to the reception of response data for the transmitted status acquisition command.
- the control unit 406 of the control device 100 transmits a state acquisition command to the communication device 120 (step S1101).
- TA be the system time when the control device 100 transmits a status acquisition command to the communication device 120.
- the communication device 120 transmits response data to the status acquisition command to the control device 100.
- the control unit 406 of the control device 100 receives the response data (step S1102). Let TB be the system time when control device 100 receives response data for the status acquisition command from communication device 120.
- the control unit 406 of the control device 100 calculates an elapsed time from the system time TA at which the status acquisition command is transmitted to the communication device 120 to the system time TB at which the response data is received from the communication device 120 (step S1103).
- the control unit 406 of the control device 100 determines a value obtained by adding a predetermined value to the calculated elapsed time as the timeout value T OUT for determining whether or not the communication is successful (step S1104). ). A margin is given by this predetermined value.
- the control unit 406 of the control device 100 repeatedly executes steps S1101 to S1103 a plurality of times, transmits a status acquisition command from the control device 100 to the communication device 120, and then receives response data for the transmitted status acquisition command. It is also possible to measure the elapsed time taken until the time is reached and determine the timeout value T OUT based on the obtained elapsed time.
- control unit 406 of the control device 100 may determine the maximum value of a plurality of elapsed times, or a value obtained by adding a predetermined value to the maximum value as the timeout value T OUT .
- the maximum value an average value, a mode value, a median value, or the like may be used.
- control device 100 can determine an optimal communication parameter in accordance with the performance of the communication device 120.
- the size of the memory included in the communication device 120, the processing speed of the processor, and the like vary depending on the communication device 120.
- optimal communication parameters are determined for each communication device 120 each time. Can do.
- the maximum number N MAX of properties that can be included in one packet, the packet transmission interval ⁇ T, and the timeout value T OUT are determined based on the actual measurement value obtained by the control device 100 communicating with the communication device 120. Therefore, the communication device 120 with high reliability and any communication performance can be handled.
- the control device 100 acquires information indicating communication parameters used for communication with the communication device 120 from the communication device 120.
- control unit 406 of the control device 100 transmits a command requesting transmission of performance information including the maximum number N MAX of properties that can be included in one packet, a packet transmission interval ⁇ T, and a timeout value T OUT to the communication device. It transmits to 120 (step S1201).
- the communication device 120 transmits the performance information stored in advance in the memory to the control device 100.
- the control unit 406 of the control device 100 receives performance information from the communication device 120 (step S1202). Note that performance information is written in the memory of the communication device 120 at the time of shipment.
- control unit 406 of the control device 100 determines the maximum number N MAX of properties that can be included in one packet, the packet transmission interval ⁇ T, and the timeout value T OUT (step S1203).
- control device 100 can determine an optimal communication parameter in accordance with the performance of the communication device 120. Since the communication parameters are obtained directly from the communication device 120, the reliability is high.
- the control device 100 acquires information indicating communication parameters used for communication with the communication device 120 from a database or the like prepared in advance.
- control unit 406 of the control device 100 transmits a command for requesting transmission of device information that can identify the type of the communication device 120 to the communication device 120 (step S1301).
- the device information includes, for example, the type of the communication device 120 such as an air conditioner or lighting device, the manufacturer of the communication device 120, the model number of the communication device 120, the date of manufacture of the communication device 120, and the production lot number of the communication device 120. , Etc. are included.
- the communication device 120 transmits device information stored in the memory in advance to the control device 100.
- the control unit 406 of the control device 100 receives device information from the communication device 120 (step S1302). Note that device information is written in the memory of the communication device 120 at the time of shipment.
- the control unit 406 of the control device 100 acquires performance information associated with the received device information (step S1303). For example, performance information is stored in advance in the storage unit 405 of the control device 100 in association with various device information, and the control unit 406 reads the performance information from the storage unit 405.
- control unit 406 of the control device 100 connects to a server (not shown) that is installed on the communication network 140 and has a database that stores the device information and the performance information in association with each other. The performance information corresponding to the device information received in S1302 is received.
- control unit 406 of the control device 100 determines the maximum number N MAX of properties that can be included in one packet, the packet transmission interval ⁇ T, and the timeout value T OUT (step). S1304).
- control device 100 can determine an optimal communication parameter in accordance with the performance of the communication device 120.
- the communication parameters do not need to be stored in the control device 100 and the communication device 120 in advance.
- control device 100 communicates with a plurality of communication devices 120.
- the control device 100 uses different communication parameters for each communication partner.
- control unit 406 of the control device 100 determines a communication parameter for each of the plurality of communication devices 120 according to the procedure described in any of the first, second, and third embodiments (step S1401).
- the control unit 406 of the control device 100 stores the determined communication parameter in the storage unit 405 in association with identification information that can identify the communication device 120 (step S1402).
- FIG. 15 shows an example of definition data that is stored in the storage unit 405 and defines communication parameters in association with the identification information of the communication device 120.
- the storage unit 405 stores a maximum number of properties N MAX that can be stored in one packet, a packet transmission interval ⁇ T, and a timeout value T OUT in association with each piece of identification information of the plurality of communication devices 120.
- control unit 406 of the control device 100 detects a new communication device 120 and determines a communication parameter to be used for communication with the communication device 120, the control unit 406 adds a record including the determined communication parameter to the definition data illustrated in FIG. I will do it.
- the control unit 406 of the control device 100 determines whether or not to start communication with any one of the communication devices 120 (step S1403).
- step S1403 If the communication is not started (step S1403; NO), the communication process is terminated.
- the control unit 406 of the control device 100 uses the storage unit 405 to store communication parameters stored in association with identification information indicating the communication device 120 that is a communication start partner. Reading (step S1404), communication is performed using the read communication parameter (step S1405).
- the control device 100 can communicate with each of the plurality of communication devices 120 using an optimal communication method.
- the control unit 406 of the control device 100 may determine the information shown in FIG. 15 according to any of the procedures shown in the first, second, and third embodiments.
- communication parameters are determined based on the actual measurement values as shown in the first embodiment, and for the second communication device, acquired from the communication device 120 as shown in the second embodiment.
- the communication parameter determination procedure may be different for each communication device 120, such as determining communication parameters based on the performance information.
- the control device 100 communicates with a plurality of communication devices 120.
- the control device 100 uses the communication parameters determined for communication with the communication device 120 estimated to have the lowest performance for communication with all the communication devices 120.
- control unit 406 of the control device 100 determines a communication parameter for each of the plurality of communication devices 120 according to the procedure described in any of the first, second, and third embodiments (step S1601).
- the control unit 406 of the control device 100 stores the determined communication parameter in the storage unit 405, for example, as illustrated in FIG. 15, in association with identification information that can identify the communication device 120 (step S1602).
- the control unit 406 of the control device 100 has the smallest value among the maximum number N MAX of properties that can be stored in one packet from the data indicating the correspondence between the identification information and the communication parameters stored in the storage unit 405. Is acquired, the longest value of the packet transmission intervals ⁇ T is acquired, the longest value of the timeout value T OUT is acquired, and it is determined to use for communication with all the communication devices 120 (step S1603). .
- control device 100 matches the communication parameter with the communication device 120 having the lowest performance among the communication devices 120 capable of communication.
- the maximum number N MAX of the set of properties, the transmission interval ⁇ T, and the timeout value T OUT are used for communication with all the communication devices 120, thereby simplifying the communication processing and reducing the memory consumption. be able to.
- the control unit 406 of the control device 100 determines whether or not to start communication with any of the communication devices 120 (step S1604).
- step S1604 If the communication is not started (step S1604; NO), the communication process is terminated.
- step S1604; YES the control unit 406 of the control device 100 performs communication using the communication parameter determined in step S1601 (step S1605).
- control device 100 can communicate with each of the plurality of communication devices 120 using a common communication parameter, and communication processing can be simplified.
- the control unit 406 of the control device 100 uses any one or two of the maximum number of properties N MAX , the transmission interval ⁇ T, and the timeout value T OUT in common for all the communication devices 120, and the remaining one. One or two may be used for each communication device 120. For example, the control unit 406 of the control device 100 uses one timeout value T OUT in common for all the communication devices 120 and sets the maximum number of properties N MAX and the transmission interval ⁇ T for each communication device 120 individually. It may be used.
- the control device 100 communicates with a plurality of communication devices 120.
- the control device 100 groups the communication devices 120 based on the performance of the communication device 120, and uses the communication parameters for each group.
- control unit 406 of the control device 100 determines a communication parameter for each of the plurality of communication devices 120 according to the procedure described in any of the first, second, and third embodiments (step S1701).
- the control unit 406 of the control device 100 stores the determined communication parameter in the storage unit 405 in association with identification information that can identify the communication device 120, for example, as shown in FIG. 15 (step S1702).
- the control unit 406 of the control device 100 groups a plurality of communication devices based on communication performance (step S1703).
- the control unit 406 of the control device 100 determines that the maximum number N MAX of properties that can store a plurality of communication devices 120 in one packet is (a) the first value from the first value. A first group up to a second value greater than the value of (b), (b) a second group from a third value obtained by adding 1 to the second value to a fourth value greater than the third value; (C) The third group is classified into a third group larger than the fifth value obtained by adding 1 to the fourth value.
- control unit 406 of the control device 100 sets the maximum number of properties N MAX that can be stored in one packet for each group.
- control unit 406 of the control device 100 sets the smallest value among the maximum number of properties N MAX in the group as the maximum number of properties N MAX associated with the group.
- an average value, a median value, a mode value, or the like may be used instead of the smallest value.
- the maximum number N MAX of properties once the group communication apparatus 120 belongs, the maximum number N MAX of properties when the control apparatus 100 to communicate with the communication device 120 is determined. If the groups to which the two communication devices 120 belong are the same, the maximum number of properties N MAX is the same for both.
- the control unit 406 of the control device 100 allows the plurality of communication devices 120 to change the packet transmission interval ⁇ T from (a) the first value to the second greater than the first value.
- the control unit 406 of the control device 100 sets a packet transmission interval ⁇ T for each group, as shown in FIG. 19B.
- control unit 406 of the control device 100 sets the largest value among the packet transmission intervals ⁇ T in the group as the packet transmission interval ⁇ T associated with the group.
- an average value, a median value, a mode value, or the like may be used instead of the largest value.
- the packet transmission interval ⁇ T when the control device 100 communicates with the communication device 120 is determined. If the groups to which the two communication devices 120 belong are the same, the packet transmission interval ⁇ T is the same.
- the first, second, third, fourth, and fifth values when grouping with respect to the transmission interval ⁇ T are the first, second, third, and third values when grouping with respect to the maximum number of properties N MAX . It differs from the 4th and 5th values.
- the control unit 406 of the control device 100 allows the plurality of communication devices 120 to output a second timeout value T OUT that is greater than the first value from (a) the first value.
- the third group is classified into a third group that is larger than the fifth value obtained by adding a minimum unit (for example, 1 millisecond) to the fourth value.
- control unit 406 of the control device 100 sets a timeout value T OUT for each group.
- control unit 406 of the control device 100 sets the largest value among the timeout values T OUT in the group as the timeout value T OUT associated with the group.
- an average value, a median value, a mode value, or the like may be used instead of the largest value.
- the timeout value T OUT if the group to which the communication device 120 belongs is determined, the timeout value T OUT when the control device 100 communicates with the communication device 120 is determined. If the group to which the two communication devices 120 belong is the same, the timeout value is the same.
- the first, second, third, fourth, and fifth values when grouping for the timeout value T OUT are the first and second values when grouping for the maximum number of properties N MAX and the transmission interval ⁇ T.
- Third, fourth and fifth values are different.
- the communication device 120 with the identification information “A001” belongs to the first group for the maximum number N MAX of properties, belongs to the third group for the packet transmission interval ⁇ T, and the second group for the timeout value T OUT. Belonging to.
- the control unit 406 of the control device 100 communicates with the communication device 120 whose identification information is “A001”
- the value “10” associated with the first group is set to the transmission interval for the maximum number N MAX of properties.
- a value “1” associated with the third group is used for ⁇ T
- a value “1000” associated with the second group is used for the timeout value T OUT .
- the maximum number of properties N MAX , the transmission interval ⁇ T, and the timeout value T OUT are separately grouped. However, even if any two or three of these communication parameters are combined and grouped. Good.
- the control unit 406 of the control apparatus 100 groups the communication devices 120 using the maximum number of properties N MAX , the transmission interval ⁇ T, and the timeout value T OUT , and sets the property for each group.
- the maximum number N MAX , the transmission interval ⁇ T, and the timeout value T OUT may be set.
- control unit 406 of the control device 100 determines whether or not to start communication with any of the communication devices 120 (step S1704).
- step S1704 If communication is not started (step S1704; NO), the communication process is terminated.
- the control unit 406 of the control device 100 causes the communication parameter (specifically, the maximum number N of properties) associated with the group to which the communication device 120 that is the communication start partner belongs. MAX at least read any one) from the storage unit 405 of the transmission interval ⁇ T and timeout value T oUT (step S1705), communication using the communication parameters read (step S1706).
- the communication parameter specifically, the maximum number N of properties
- control device 100 can communicate with each of the plurality of communication devices 120 using communication parameters common to each group, and communication processing can be simplified.
- control device 100 restricts communication with the communication device 120 if there is a communication device that is relatively poor in performance among all the communication devices 120 capable of communication.
- the restriction may be that the control device 100 does not perform any communication with the communication device 120 or may or may not communicate depending on the type of command.
- FIG. 22 shows an example of definition data defining communication parameters for each communication device 120 determined in the procedure shown in the first, second, and third embodiments and stored in the storage unit 405.
- the control unit 406 of the control device 100 sets a threshold value used for determining whether or not the control device 100 is a communication target for each value of the determined communication parameter. Then, the control unit 406 defines a communication condition using a threshold value, and communicates with the communication device 120 associated with the communication parameter if the communication parameter satisfies the communication condition. On the other hand, if the communication parameter does not satisfy the communication condition, the control unit 406 determines not to communicate with the communication device 120 associated with the communication parameter.
- the communication condition is “the maximum number N MAX of properties that can be stored in one determined packet is equal to or greater than the first threshold value”.
- the control unit 406 of the control device 100 sets a first threshold value for the maximum number of properties N MAX that can be stored in one packet, and the determined maximum number of properties N MAX must be less than the first threshold value. For example, communication with the communication device 120 is restricted. That is, if the maximum number N MAX of properties is extremely small, the efficiency of communication with the communication device 120 is deteriorated, which may adversely affect the communication of the communication system 1 as a whole. Limits are set.
- the control unit 406 of the control device 100 performs communication with identification information “A004” that does not satisfy the communication condition. Restrict communication with the device 120.
- the communication condition is “the determined packet transmission interval ⁇ T is equal to or smaller than the second threshold value”.
- the control unit 406 of the control device 100 sets a second threshold value for the packet transmission interval ⁇ T, and if the determined transmission interval ⁇ T is longer than the second threshold value, performs communication with the communication device 120. Restrict. That is, if the packet transmission interval is extremely long, the efficiency of communication with the communication device 120 is deteriorated, and the communication of the communication system 1 as a whole may be adversely affected. It is provided.
- the control unit 406 of the control device 100 indicates that the identification information that does not satisfy this communication condition is “A003” and “A004”.
- the communication with the communication device 120 is restricted.
- the communication condition is “the determined timeout value T OUT is equal to or less than the third threshold value”.
- Control unit 406 of the control unit 100 sets the third threshold timeout value T OUT, if determined timeout value T OUT is greater than the third threshold value, the communication with the communication device 120 Restrict. That is, if the timeout value T OUT is extremely long, the efficiency of communication with the communication device 120 is deteriorated, which may adversely affect the communication of the communication system 1 as a whole. It is provided.
- the control unit 406 of the control device 100 indicates that the identification information that does not satisfy this communication condition is “A002” and “ The communication with the communication device 120 of “A003” and “A004” is restricted.
- the control unit 406 of the control device 100 can define a communication condition including at least one of the maximum number of properties N MAX , the transmission interval ⁇ T, and the timeout value T OUT .
- the control unit 406 determines that the communication condition “the maximum number N MAX of properties that can be stored in one determined packet is equal to or greater than the first threshold value and the transmission interval ⁇ T of the determined packet is the first 2 or less and the determined timeout value T OUT may be less than or equal to the third threshold value ”.
- the control unit 406 of the control device 100 may restrict all communication with the communication device 120 that does not satisfy the communication condition, and according to the situation, for example, according to the type of command, may the communication condition be satisfied? It may be determined whether or not.
- control unit 406 of the control device 100 may exclude the communication data from the communication target without storing the record corresponding to the communication device 120 in the definition data illustrated in FIG.
- FIG. 23 shows a flowchart for explaining communication processing in the present embodiment.
- the control device 100 defines in advance whether or not each type of command can be a restriction target.
- control unit 406 of the control device 100 determines whether a command to be transmitted to the communication device 120 can be a restriction target (step S2301).
- step S2301 When a command to be transmitted to the communication device 120 can be a restriction target (step S2301; YES), the control unit 406 of the control device 100 determines whether the communication parameter set in the communication device 120 serving as a transmission condition satisfies the communication condition. It is determined whether or not (step S2302).
- step S2302 If it is determined that the communication condition is satisfied (step S2302; YES), the control unit 406 of the control device 100 transmits a command to the communication device 120 (step S2303) and receives response data (step S2304). However, if response data for the command is not essential, step S2304 is omitted.
- step S2302 when it is determined that the communication condition is not satisfied (step S2302; NO), the control unit 406 of the control device 100 does not transmit the command to the communication device 120.
- the command is transmitted to the communication device 120 if the communication condition is satisfied. However, if the communication condition is not satisfied, the command is not transmitted to the communication device 120.
- step S2301 When it is determined in step S2301 that the command cannot be restricted (step S2301; NO), the control unit 406 of the control device 100 transmits the command to the communication device 120 regardless of the communication conditions.
- the control unit 406 of the control device 100 associates with all the communication devices 120. It is determined whether or not the communication condition is satisfied for each of the communication parameters. Then, the control unit 406 transmits a status acquisition command to the communication device 120 associated with the communication parameter that satisfies the communication condition, and transmits to the communication device 120 associated with the communication parameter that does not satisfy the communication condition. Do not send status acquisition commands.
- the control unit 406 desirably notifies the user by displaying that the communication condition is not satisfied or that communication is restricted.
- control device 100 can restrict communication according to the situation and prevent the communication efficiency of the entire communication system 1 from deteriorating. Further, the load on the control device 100 can be reduced.
- Embodiment 8 Next, Embodiment 8 will be described with reference to FIG. In this embodiment, communication parameters are used properly according to the type of command.
- the control device 100 communicates with the communication device 120 included in the communication system 1 using the operation command and the state acquisition command.
- the communication device 120 included in the communication system 1 using the operation command and the state acquisition command.
- various types of communication devices 120 and generally, there are various hardware performances such as processing speed and storage capacity.
- the manufacturer and communication specifications may differ between the control device 100 and the communication device 120.
- the control device 100 according to the present embodiment is configured to be compatible with various communication devices 120.
- the control unit 406 of the control device 100 determines whether the command transmitted to the communication device 120 is classified as an operation command or a status acquisition command (step S2401). If the control unit 406 of the control device 100 is classified as an operation command (step S2401; YES), the communication parameter is set to the first communication specification (step S2402) and is classified as a status acquisition command. If there is (step S2401; NO), the communication parameter is set to the second communication specification (step S2403).
- control unit 406 of the control apparatus 100 determines the maximum number N MAX of properties that can be stored in one packet, the packet transmission interval ⁇ T, and the timeout value T OUT according to the type of command. .
- the control unit 406 of the control device 100 sets the maximum number of properties N MAX stored in one packet to the first value VA, and transmits to the communication device 120. If the command to be executed is a status acquisition command, the maximum number N MAX of properties stored in one packet is set to the second value VB. The first value VA is set larger than the second value VB.
- the control unit 406 of the control device 100 sets the packet transmission interval ⁇ T to the first value VC, and the command to be transmitted to the communication device 120 acquires the status. If it is a command, the packet transmission interval ⁇ T is set to the second value VD. The first value VC is set shorter than the second value VD.
- the control unit 406 of the control device 100 sets the timeout value T OUT to the first value VE, and the command to be transmitted to the communication device 120 is a status acquisition command. If so, the timeout value T OUT is set to the second value VF.
- the first value VE is set shorter than the second value VF.
- control part 406 of the control apparatus 100 communicates with the communication apparatus 120 by the set communication specification (step S2404).
- the control device 100 Since the operation command is transmitted mainly based on a request from the user, if the response to the request is slow, the user may feel stress. Therefore, when transmitting / receiving an operation command, the control device 100 relatively increases the maximum amount of data transmitted / received at one time or relatively shortens the packet transmission interval ⁇ T, thereby enabling communication of the communication. Increase speed. On the other hand, the status acquisition command is often transmitted mainly for processing inside the control device 100, and even if the response is slow, it is difficult for the user to feel stress. Therefore, when transmitting / receiving the status acquisition command, the control device 100 performs control by relatively reducing the maximum amount of data transmitted / received at one time or relatively increasing the packet transmission interval ⁇ T. The load on the apparatus 100 and the load on the communication environment are reduced.
- communication specifications can be used properly according to the situation. If the command needs to present the result to the user, it communicates with a specification with relatively high performance, and if it is a command that does not necessarily present the result to the user, communicate with a specification with relatively low performance. As a result, the load on the control device 100 can be reduced.
- control device 100 optimizes communication parameters based on the communication result.
- control unit 406 of the control device 100 when the control unit 406 of the control device 100 detects a new communication device 120, the control unit 406 executes the communication parameter determination process shown in FIGS. 9, 10, and 11 to determine the communication parameter.
- the timing for determining the communication parameter may not be when a new communication device 120 is detected.
- control unit 406 of the control device 100 communicates with the communication device 120 (step S2501; YES)
- the control unit 406 records a communication log including the content of the communication (step S2502).
- the control unit 406 of the control device 100 does not record a communication log.
- the control unit 406 of the control device 100 determines whether or not to optimize communication parameters used when communicating with the communication device 120 (step S2503).
- control unit 406 of the control device 100 determines that the communication parameter is to be optimized at a predetermined date and time, such as a regular time every day.
- control unit 406 of the control device 100 determines that the communication parameter is optimized when the amount of the communication log added after the previous optimization of the communication parameter is increased by a predetermined amount or more.
- the timing for optimizing the communication parameters is arbitrary.
- step S2503 If it is determined that the communication parameter is optimized (step S2503; YES), the control unit 406 of the control device 100 determines the communication parameter based on the communication log recorded in the storage unit 405 (step S2504).
- the control unit 406 of the control device 100 transmits a state acquisition command including one or more packets including X properties (X is an integer of 1 or more) to the communication device 120, and then acquires the state. If the response data for the command is received, and X properties are included in the response data, and no error value is set for all X properties, the status acquisition command is sent and received. Determine that it was successful. The control unit 406 of the control device 100 determines the number X of properties stored in the packet when the communication with the communication device 120 is successful.
- control unit 406 of the control device 100 similarly has the number of properties Y (stored in one packet in communication with the communication device 120 ( Y is an integer equal to or greater than 1.
- control unit 406 of the control device 100 determines the largest number among the property numbers X and Y stored in one packet in communication with the communication device 120 in communication with the communication device 120.
- the maximum number of properties N MAX that can be stored in one packet is determined.
- the communication log is added. If the number of properties stored in one packet, determined based on the added communication log, is greater than the previously determined maximum number N MAX of properties, the control device 100 The control unit 406 determines the number of properties determined based on the added communication log as the maximum number N MAX of properties that can be stored in one packet in communication with the communication device 120. That is, each time communication occurs, the maximum number of properties N MAX can be updated.
- control unit 406 of the control device 100 transmits a status acquisition command including two or more consecutive packets having a transmission interval ⁇ T of ⁇ TA to the communication device 120, and then transmits response data that is not an error with respect to the status acquisition command. If it is received, it is determined that the status acquisition command has been successfully transmitted and received. The control unit 406 of the control device 100 determines a packet transmission interval ⁇ TA when communication with the communication device 120 is successful.
- the packet transmission interval ⁇ TA is the difference between the transmission time of the first packet and the transmission time of the second packet in two adjacent packets.
- control unit 406 of the control device 100 similarly determines a packet transmission interval ⁇ TB in communication with the communication device 120.
- control unit 406 of the control device 100 determines the smallest value of the packet transmission intervals ⁇ TA and ⁇ TB in communication with the communication device 120 as the packet transmission interval ⁇ T in communication with the communication device 120.
- the communication log is added. If the packet transmission interval when the communication is successful, determined based on the added communication log, is shorter than the previously determined transmission interval ⁇ T, the control unit 406 of the control device 100 may add the added communication log. Is determined as the packet transmission interval ⁇ T in the communication with the communication device 120. That is, every time communication occurs, the transmission interval ⁇ T can be updated.
- control unit 406 of the control device 100 calculates the difference between the time TA at which the state acquisition command is transmitted to the communication device 120 and the time TB at which the response data for the state acquisition command is received.
- control unit 406 of the control device 100 obtains the time TC at which the state acquisition command is transmitted and the response data in communication with the communication device 120. The difference from the received time TD is calculated.
- control unit 406 of the control device 100 sets the shortest value among the difference between the time TA and the time TB and the difference between the time TC and the time TD to the timeout value T OUT in the communication with the communication device 120. To decide.
- the communication log is added. If the timeout value determined based on the added communication log is shorter than the previously determined timeout value T OUT , the control unit 406 of the control device 100 determines the timeout value determined based on the added communication log. Is determined as the timeout value T OUT in the communication with the communication device 120. That is, the timeout value T OUT can be updated each time communication occurs.
- step S2503 If it is determined in step S2503 that the optimization is not performed (step S2503; NO), the control unit 406 of the control device 100 does not recalculate the communication parameters.
- the control device 100 can learn appropriate communication parameters from the result of communication with the communication device 120 and can optimize accordingly. Further, the control device 100 does not necessarily execute the communication parameter determination process when detecting a new communication device 120. Of course, the control device 100 may execute the communication parameter determination process as described above when a new communication device 120 is detected, and may optimize the communication parameter at an appropriate timing.
- control device 100 executes a communication parameter determination process when a predetermined start condition is satisfied.
- the start condition is, for example, that the control device 100 is restarted.
- Rebooting means restarting the operating system after terminating the processing being executed and disabling the operating system. For example, the control device 100 is restarted during maintenance of the communication system 1.
- the start condition may be that the date and time determined in advance by the schedule arrives.
- the schedule is set so as to periodically execute the communication parameter determination process, such as once a month or once a year.
- the start condition may be that an explicit instruction from the user is input.
- the control unit 406 of the control device 100 determines that the start condition is satisfied when an instruction to recalculate the communication parameters is input from the user.
- the start condition may be that the communication logs stored in the storage unit 405 reach a predetermined number or more.
- the control unit 406 of the control device 100 may optimize communication parameters as the number of communication increases.
- the control unit 406 of the control device 100 can arbitrarily set a start condition. If the start condition is defined as detecting a new communication device 120, the communication process of the present embodiment is the same as the communication process shown in FIG.
- the control unit 406 of the control device 100 determines whether or not the start condition is satisfied (step S2601).
- step S2601; NO When it is determined that the start condition is not satisfied (step S2601; NO), the control unit 406 of the control device 100 repeats the process of step S2601.
- step S2601; YES the control unit 406 of the control device 100 determines the packet size determination process (step S2602) illustrated in FIG. 9 and the transmission interval determination process (step S2603) illustrated in FIG. , The timeout value determination process (step S2604) shown in FIG. 11 is executed.
- control unit 406 of the control device 100 may arbitrarily change the order of executing the packet size determination process, the transmission interval determination process, and the timeout value determination process. Further, the control unit 406 of the control device 100 may execute the packet size determination process, the transmission interval determination process, and the timeout value determination process simultaneously in parallel.
- control device 100 can determine the communication parameter at an arbitrary timing.
- the control device 100 notifies the user of the time required for obtaining a response from the communication device 120, advice, and the like based on the determined communication parameter and the like.
- the control unit 406 of the control device 100 determines the communication parameter and stores it in the storage unit 405.
- the communication device uses the communication parameter stored in the storage unit 405. Communicate with 120.
- the communication parameter may be different for each communication device 120. Accordingly, when the user instructs an operation to the communication device 120 that may take a long time to respond, the user may wait for a relatively long time. Therefore, the control device 100 notifies the user of the time required to obtain a response for each communication device 120 so that the user does not feel stress.
- control unit 406 of the control device 100 updates the management screen 200 and deletes the message 2700.
- the operating state of all the communication devices 120 corresponding to all the objects 210 included in the list 250 or all the communication corresponding to all the icons 220 included in the floor plan 260.
- the control unit 406 of the control device 100 transmits a state acquisition command to all the communication devices 120.
- the communication device 120 As a transmission destination of the status acquisition command, the communication device 120 having the maximum number N MAX of properties smaller than a predetermined number, or the communication device 120 having a transmission interval ⁇ T longer than a predetermined value, or a timeout value T OUT If the communication device 120 is longer than a predetermined value, in other words, if the communication device 120 having relatively low communication performance is included in the transmission destination of the status acquisition command, the control unit of the control device 100 406 displays a message 2700 indicating that the response from the communication device 120 is slow after the transmission of the status acquisition command.
- the control unit 406 of the control device 100 immediately updates the display of the management screen 200 when receiving the response data to the status acquisition command. If response data for all status acquisition commands is received, message 2700 indicating that the response is slow is deleted.
- control unit 406 of the control device 100 receives response data for all status acquisition commands, and displays a message 2800 on the display 451 indicating that the management screen 200 has been updated, as shown in FIG.
- control device 100 can prevent the user from feeling as much stress as possible by notifying the user in advance that the response takes time due to the determined communication specification difference.
- the control unit 406 of the control device 100 displays response data for the state acquisition command without displaying the message 2700 if the communication device 120 having relatively low communication performance is not included in the transmission destination of the state acquisition command. As soon as it is received, the display on the management screen 200 is updated.
- Embodiment 12 Next, Embodiment 12 will be described with reference to FIG.
- the control device 100 displays a communication state for each communication device 120, a determined communication parameter, and the like on the display 451.
- the control unit 406 of the control device 100 sets the current communication state of the communication device 120 (whether the communication is normally performed or whether communication is performed) for each communication device 120 with which the control device 100 can communicate. Information such as whether or not an abnormality has occurred), the response speed in communication with the communication device 120, the set value of the time interval at which the control device 100 periodically communicates, and the like are displayed.
- control unit 406 of the control device 100 displays the communication parameters calculated as shown in the above embodiments on the display 451. Also good.
- the control unit 406 of the control device 100 may present advice to the user for improving communication efficiency based on the current communication state and the like.
- the user sees information on the communication performance of each communication device 120 displayed on the display 451, and causes the control device 100 to recalculate communication parameters or check whether a failure has occurred in the communication device 120. That's fine.
- control device 100 can present the state of communication with the communication device 120 and the determined communication specifications to the user, and can present advice to the user.
- the present invention is not limited to the above-described embodiment, and various modifications and applications are possible. Moreover, it is also possible to freely combine the constituent elements of the above-described embodiments.
- the control device 100 displays the management screen 200, the sub screen 300, and the like.
- the control device 100 transmits data constituting the management screen 200 and the sub screen 300 to a terminal device (not shown) connected to the control device 100 so as to be communicable.
- the screen 300 or the like may be displayed on the display device.
- the presentation unit 504 illustrated in FIG. 5 is included in a terminal device that is communicably connected to the control device 100, instead of being realized by the function of the control unit 406 and the image processing unit 402 of the control device 100 working together.
- the control unit and the image processing unit may function in cooperation.
- the terminal device stores in advance fixed data such as image data representing the object 210 and the icon 220, and receives only information that may change, such as the operating state of the communication device 120, from the control device 100.
- the management screen 200 and the sub screen 300 may be generated and displayed.
- the communication device 120 may be a device that adds a communication function to an electric device that does not have a communication function later, that is, a so-called communication adapter.
- the communication device 120 plays a role of relaying communication between the control device 100 and the electric device, and does not need to have an air conditioning function in the air conditioner, a lighting function in the lighting device, or the like.
- the control device 100 does not collectively manage the operation of the communication device 120 but comprehensively manages the operation of the electrical device to which the communication device 120 is connected.
- control device 100 and the communication device 120 of each of the embodiments described above communicate using a protocol that conforms to ECHONET Lite (registered trademark), but the protocol is not limited to this and is arbitrary.
- a computer such as a memory card, a CD-ROM (Compact Disc-ROM), a DVD (Digital Versatile Disk), or an MO (Magneto Optical Disk) is stored in a program for operating the computer as all or part of the control device 100 described above. It may be stored in a readable recording medium and distributed, installed in another computer and operated as the above-mentioned means, or the above-described steps may be executed.
- a computer such as a memory card, a CD-ROM (Compact Disc-ROM), a DVD (Digital Versatile Disk), or an MO (Magneto Optical Disk) is stored in a program for operating the computer as all or part of the control device 100 described above. It may be stored in a readable recording medium and distributed, installed in another computer and operated as the above-mentioned means, or the above-described steps may be executed.
- the program may be stored in a disk device or the like included in a server device on the Internet, and may be downloaded onto a computer by being superimposed on a carrier wave, for example.
- 1 communication system 100 control device, 120 communication device, 140 communication network, 200 management screen, 210 object, 220 icon, 250 list, 260 floor plan, 300 sub-screen, 401 communication unit, 402 image processing unit, 403 audio processing Unit, 404 input unit, 405 storage unit, 406 control unit, 451 display, 452 speaker, 501 determination unit, 502 communication unit, 503 recording unit, 504 presentation unit, 2700, 2800 message
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Selective Calling Equipment (AREA)
- Small-Scale Networks (AREA)
- Communication Control (AREA)
- Telephonic Communication Services (AREA)
Abstract
L'invention concerne un système de communication (1), dans lequel une unité de détermination (501) détermine des paramètres de communication qui sont à utiliser pour la communication avec un dispositif de communication (120), par communication avec le dispositif de communication (120). Ces paramètres de communication sont : par exemple, la quantité de données qui peut être stockée dans un seul paquet; un intervalle de transmission entre des paquets transmis successivement, d'un appareil de commande (100) au dispositif de communication (120); et une valeur de temporisation qui est un critère pour déterminer si l'appareil de commande (100) a communiqué avec succès avec le dispositif de communication (120). Une unité de communication (502) utilise les paramètres de communication déterminés pour communiquer avec le dispositif de communication (120).
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016543106A JP6130077B2 (ja) | 2014-11-28 | 2014-11-28 | 制御装置、通信システム、通信方法、及び、プログラム |
PCT/JP2014/081548 WO2016084225A1 (fr) | 2014-11-28 | 2014-11-28 | Appareil de commande, système de communication, procédé de communication, et programme associé |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2014/081548 WO2016084225A1 (fr) | 2014-11-28 | 2014-11-28 | Appareil de commande, système de communication, procédé de communication, et programme associé |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016084225A1 true WO2016084225A1 (fr) | 2016-06-02 |
Family
ID=56073840
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2014/081548 WO2016084225A1 (fr) | 2014-11-28 | 2014-11-28 | Appareil de commande, système de communication, procédé de communication, et programme associé |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6130077B2 (fr) |
WO (1) | WO2016084225A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018101835A (ja) * | 2016-12-19 | 2018-06-28 | 株式会社東芝 | 携帯可能電子装置、及びicカード |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000101504A (ja) * | 1998-09-21 | 2000-04-07 | Toshiba Corp | 通信端末装置およびその通信速度切換方法 |
JP2004159280A (ja) * | 2002-03-13 | 2004-06-03 | Matsushita Electric Ind Co Ltd | データ通信方法 |
JP2004201065A (ja) * | 2002-12-19 | 2004-07-15 | Panasonic Communications Co Ltd | 電化製品を電灯線通信により制御する管理装置及びその制御方法 |
JP2008219135A (ja) * | 2007-02-28 | 2008-09-18 | Mitsubishi Heavy Ind Ltd | 空調用通信システムおよび通信条件検出プログラム |
JP2014035558A (ja) * | 2012-08-07 | 2014-02-24 | Hitachi Ltd | データ取得時間算出装置、データ取得時間算出方法およびそのプログラム |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001168871A (ja) * | 1999-12-06 | 2001-06-22 | Nippon Telegr & Teleph Corp <Ntt> | データ転送方式 |
JP2003169090A (ja) * | 2001-11-30 | 2003-06-13 | Fujitsu Ltd | 伝送システム |
JP2013115719A (ja) * | 2011-11-30 | 2013-06-10 | Ricoh Co Ltd | 機器管理装置及びプログラム |
-
2014
- 2014-11-28 JP JP2016543106A patent/JP6130077B2/ja active Active
- 2014-11-28 WO PCT/JP2014/081548 patent/WO2016084225A1/fr active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000101504A (ja) * | 1998-09-21 | 2000-04-07 | Toshiba Corp | 通信端末装置およびその通信速度切換方法 |
JP2004159280A (ja) * | 2002-03-13 | 2004-06-03 | Matsushita Electric Ind Co Ltd | データ通信方法 |
JP2004201065A (ja) * | 2002-12-19 | 2004-07-15 | Panasonic Communications Co Ltd | 電化製品を電灯線通信により制御する管理装置及びその制御方法 |
JP2008219135A (ja) * | 2007-02-28 | 2008-09-18 | Mitsubishi Heavy Ind Ltd | 空調用通信システムおよび通信条件検出プログラム |
JP2014035558A (ja) * | 2012-08-07 | 2014-02-24 | Hitachi Ltd | データ取得時間算出装置、データ取得時間算出方法およびそのプログラム |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018101835A (ja) * | 2016-12-19 | 2018-06-28 | 株式会社東芝 | 携帯可能電子装置、及びicカード |
Also Published As
Publication number | Publication date |
---|---|
JP6130077B2 (ja) | 2017-05-17 |
JPWO2016084225A1 (ja) | 2017-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11927947B2 (en) | Building management system and method with timeseries sample feedback control | |
US11409514B2 (en) | Building management system with plug and play device registration and configuration | |
CN1848839B (zh) | 在网络中对装置可提供的任务区分优先次序的方法和系统 | |
US11368534B2 (en) | Building management system with device cloud registration and data adaptor | |
US11262741B2 (en) | Building management system with automatic binding of equipment data | |
JP5117625B1 (ja) | Dr対応策提案装置およびその方法 | |
US20190109725A1 (en) | Building management system with adapting iot hub | |
US20140129032A1 (en) | Genetic learning for environmental control automation | |
US20040034638A1 (en) | Method for analyzing and characterizing the usage pattern of a device | |
US20170167746A1 (en) | Adaptive trigger sequencing for site control automation | |
US20190107831A1 (en) | Building management system with gateway device status messaging and display | |
CN105573128B (zh) | 用户装置及其驱动方法、提供服务的设备及其驱动方法 | |
US10962947B2 (en) | Device for remotely controlling an appliance | |
WO2015174272A1 (fr) | Système de réseau, serveur, appareil de communication, procédé de traitement d'informations et programme | |
EP3692420A2 (fr) | Système de gestion de bâtiment avec plateforme de données en nuage | |
JP5214929B2 (ja) | ホームネットワークでデバイスのサービスを管理する方法及び装置 | |
JPWO2016147298A1 (ja) | 推薦装置、推薦決定方法、およびコンピュータプログラム | |
JP6419250B2 (ja) | 制御装置、通信システム、通信方法、及び、プログラム | |
JP6130077B2 (ja) | 制御装置、通信システム、通信方法、及び、プログラム | |
KR20190059419A (ko) | IoT 가전기기의 제어 방법 및 그 장치 | |
KR102075381B1 (ko) | 사물 협업 서비스 시스템, 방법 및 그 모델링 도구 | |
KR20150110877A (ko) | 사용자 기반 홈 오토메이션 수행 방법 및 장치와 이를 지원하는 방법 및 장치 | |
JP2007235559A (ja) | デジタル機器のリモート制御システムおよびそのサーバ装置、並びに、リモート制御方法 | |
US20210191345A1 (en) | Home automation (ha) system including virtual assistant audible notification based upon learned device operational pattern and related methods | |
US20200294380A1 (en) | Home automation system determining deviated operation device pattern and related methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2016543106 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14906663 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14906663 Country of ref document: EP Kind code of ref document: A1 |