Apparatus, proxy response method, and communication system

By employing a device to monitor and respond on behalf of unused communication addresses, the BACnet MS/TP protocol's communication efficiency is improved by reducing timeout periods and optimizing token passing, particularly in networks with fewer devices.

JP2024146268APending Publication Date: 2024-10-15DAIKIN INDUSTRIES LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023059065
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The BACnet MS/TP communication protocol experiences decreased communication efficiency due to frequent timeout periods for presence confirmation commands when fewer communication devices are connected to the network, as the device holding the token cannot make requests until a timeout elapses.

Method used

A device with a control unit monitors communication status, identifies unused communication addresses, and responds on behalf of these addresses to receive the token, thereby reducing timeout periods and optimizing token passing.

Benefits of technology

This approach enhances communication efficiency by minimizing timeout occurrences and improving the speed of token passing, especially in networks with fewer connected devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024146268000001_ABST
    Figure 2024146268000001_ABST
Patent Text Reader

Abstract

To provide an apparatus which improves communication efficiency in a network where a plurality of communication apparatuses to which communication addresses are set communicates according to a token passing system, a proxy response method, and a communication system.SOLUTION: An apparatus comprises a control unit. In a network where a plurality of communication apparatuses to which communication addresses are set communicates according to a token passing system, the control unit monitors a communication state between the plurality of communication apparatuses, collects communication addresses which are used for the plurality of communication apparatuses, determines communication addresses not used for the plurality of communication apparatuses as communication addresses of proxy response targets, acquires a presence confirmation command transmitted from a first communication apparatus having a transmission right, responds presence to the first communication apparatus in a case where a communication address of a transmission destination of the presence confirmation command is included in the communication addresses of the proxy response targets held by the apparatus per se, and receives the transmission right from the first communication apparatus.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an apparatus, a proxy response method, and a communication system. [Background technology]

[0002] For example, a communication protocol of a token passing method is used, in which a token (transmission right) is circulated to perform communication. In a conventional communication protocol of the token passing method, a technique is known for preventing a decrease in communication efficiency when an abnormality occurs (for example, see Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2007-318593 A Summary of the Invention [Problem to be solved by the invention]

[0004] For example, BACnet MS / TP is an example of a token passing communication protocol. BACnet is an abbreviation for Building Automation and Control Network. MS / TP is an abbreviation for two communication methods: master-slave and token passing.

[0005] The BACnet MS / TP communication protocol allows requests only from communication devices that have a token. In the BACnet MS / TP communication protocol, detection of communication devices connected to the network is achieved by a communication device that has a token sending an existence check command with a specific communication address as the destination, and other communication devices that have the specific communication address set responding to the existence check command.

[0006] If a communication device that sent a presence check command does not receive a response to the presence check command even after a specified timeout period has elapsed, it determines that the communication device with the specific communication address set in the presence check command is not connected to the network. Note that in the BACnet MS / TP communication protocol, the communication device that sent the presence check command continues to hold the token while waiting for the timeout period to elapse, so other communication devices cannot make requests.

[0007] Therefore, with the BACnet MS / TP communications protocol, the fewer the number of communications devices connected to the network, the more frequently timeouts occur in response to presence check commands, resulting in reduced communications efficiency.

[0008] An object of the present disclosure is to provide a device, a proxy response method, and a communication system that improve communication efficiency in a network in which multiple communication devices with assigned communication addresses communicate using a token passing method. [Means for solving the problem]

[0009] A first aspect of the present disclosure is an apparatus having a control unit, in a network in which multiple communication devices with set communication addresses communicate using a token passing method, the control unit monitors communication status between multiple communication devices, collects communication addresses used by the multiple communication devices, determines a communication address not used by the multiple communication devices as a communication address to be responded to on behalf of the multiple communication devices, obtains a presence confirmation command sent from a first communication device that has a transmission right, and if the communication address to which the presence confirmation command is to be sent is included in the communication addresses to be responded to on behalf of the multiple communication devices that the control unit holds, makes a presence confirmation response to the first communication device and receives the transmission right from the first communication device.

[0010] According to the first aspect of the present disclosure, it is possible to provide a device that improves communication efficiency in a network in which a plurality of communication devices, each having a set communication address, communicates using a token passing method.

[0011] A second aspect of the present disclosure is a device of the first aspect, wherein the control unit sends a presence confirmation command to a communication address of the proxy response target, and when a presence response to the presence confirmation command is received, deletes the communication address of the communication device that sent the presence response from the communication addresses of the proxy response target.

[0012] According to the second aspect of the present disclosure, the communication address of the communication device that has issued the presence response can be deleted from the communication addresses of the proxy response targets held by the own device.

[0013] A third aspect of the present disclosure is the device of the second aspect, wherein the control unit transmits the presence check command to a communication address with a smallest number among communication addresses that are targets for the proxy response.

[0014] According to the third aspect of the present disclosure, it is possible to transmit a presence check command to the communication address with the smallest number among the communication addresses to which a proxy response is to be sent.

[0015] A fourth aspect of the present disclosure is the device of the second aspect, wherein the control unit transmits the presence confirmation command to a communication address within a range assigned to a device type, among the communication addresses of the proxy response targets.

[0016] According to the fourth aspect of the present disclosure, it is possible to transmit a presence check command to a communication address within a range assigned to a device type, among communication addresses that are targets of a proxy response.

[0017] A fifth aspect of the present disclosure is the device of the second aspect, wherein the control unit transmits the presence confirmation command to communication addresses within a range of consecutive numbers among the communication addresses of the proxy response targets.

[0018] According to the fifth aspect of the present disclosure, it is possible to transmit a presence check command to communication addresses within a range of consecutive numbers among communication addresses that are targets of proxy response.

[0019] A sixth aspect of the present disclosure is an apparatus described in any one of the first to fifth aspects, wherein the control unit determines a communication apparatus to which the transmission rights are transferred based on a communication address of the proxy response target, and transfers the transmission rights.

[0020] According to the sixth aspect of the present disclosure, a communication device to which the transmission right is to be transferred is determined based on the communication address of the proxy response target, and the transmission right can be transferred.

[0021] A seventh aspect of the present disclosure is an apparatus described in any one of the first to sixth aspects, wherein the control unit uses the transmission right to transmit a data acquisition request or a setting change command to the multiple communication devices.

[0022] According to the seventh aspect of the present disclosure, a data acquisition request or a setting change command can be transmitted to a plurality of communication devices by utilizing a transmission right.

[0023] An eighth aspect of the present disclosure is an apparatus of the sixth aspect, wherein the control unit analyzes the communication conditions when the transmission right was acquired for each of the plurality of communication devices, and determines the communication device to which the transmission right is transferred.

[0024] According to the eighth aspect of the present disclosure, the communication situation when the transmission right was acquired for each of the multiple communication devices can be analyzed, and a communication device to which the transmission right is to be transferred can be determined.

[0025] A ninth aspect of the present disclosure is a device according to any one of the first to sixth aspects, which outputs a communication status in the network based on the transmission right received within a predetermined period.

[0026] According to the ninth aspect of the present disclosure, the communication status in the network can be output based on the transmission right received within a predetermined period.

[0027] A tenth aspect of the present disclosure is the device according to any one of the first to ninth aspects, wherein the communication device is an air conditioner.

[0028] According to the tenth aspect of the present disclosure, it is possible to provide a device that improves communication efficiency in a network in which multiple air conditioners, each having a set communication address, communicate using a token passing system.

[0029] An eleventh aspect of the present disclosure is a proxy response method executed by a control unit of a device having a control unit, which, in a network in which multiple communication devices with set communication addresses communicate using a token passing method, monitors communication status between the multiple communication devices, collects communication addresses used by the multiple communication devices, determines a communication address not used by the multiple communication devices to be a communication address to be a proxy response target, obtains a presence confirmation command sent from a first communication device that has a transmission right, and, if the communication address to which the presence confirmation command is to be sent is included in the communication addresses to be a proxy response held by the own device, makes a presence response to the first communication device and receives the transmission right from the first communication device.

[0030] According to the eleventh aspect of the present disclosure, it is possible to provide a proxy response method that improves communication efficiency in a network in which a plurality of communication devices, each having a set communication address, communicates using a token passing method.

[0031] A twelfth aspect of the present disclosure is a communications system in which a device having a control unit and a plurality of communication devices each having a set communication address communicate via a network using a token passing method, wherein the control unit monitors the communication status between the plurality of communication devices in the network in which the plurality of communication devices each having a set communication address communicate via a token passing method, collects communication addresses used by the plurality of communication devices, determines a communication address not used by the plurality of communication devices as a communication address to be a proxy response target, obtains a presence confirmation command sent from a first communication device that has the right to transmit, and if the communication address to which the presence confirmation command is to be sent is included in the communication addresses to be a proxy response held by the control unit, sends a presence confirmation response to the first communication device and receives the right to transmit from the first communication device.

[0032] According to the twelfth aspect of the present disclosure, it is possible to provide a communication system that improves communication efficiency in a network in which multiple communication devices, each having a set communication address, communicate using a token passing method. [Brief description of the drawings]

[0033] [Figure 1] FIG. 1 is a diagram illustrating an example of a topology of communication using BACnet MS / TP. [Diagram 2] FIG. 1 is a sequence diagram showing an example of communication using BACnet MS / TP. [Diagram 3] 2 is a diagram illustrating an example of a topology of communication using BACnet MS / TP according to the present embodiment. FIG. [Figure 4] FIG. 4 is a sequence diagram showing an example of communication by BACnet MS / TP according to the present embodiment. [Diagram 5] FIG. 1 is a diagram illustrating an example of a configuration of a communication system according to an embodiment of the present invention. [Figure 6] FIG. 2 is a diagram illustrating an example of a hardware configuration of a computer according to the present embodiment. [Figure 7] 10 is a flowchart illustrating an example of a process performed by a device making a proxy response according to the embodiment. [Figure 8] FIG. 1 is a configuration diagram of an example of an existing communication system that communicates using the BACnet MS / TP communication protocol. [Figure 9] FIG. 1 is a diagram illustrating an example of a communication topology of an existing communication system. [Figure 10] FIG. 1 is a diagram illustrating an example of a communication system incorporating a pseudo Master function. [Figure 11] FIG. 1 is a diagram illustrating an example of a communication topology of a communication system incorporating a pseudo Master function. [Figure 12] FIG. 1 is a diagram illustrating an example of a configuration of a communication system incorporating a pseudo Master. [Figure 13]FIG. 11 is an explanatory diagram of an example showing the frequency of requests issued by a certain communication device over time. [Figure 14] FIG. 11 is an explanatory diagram of an example of trend data shown as statistics on the number of times a proxy response device is handed over a token within a certain period of time. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0034] Next, the embodiments of the present disclosure will be described in detail. Note that "or" described in the present embodiments includes both "A only, B only" and "A and B".

[0035] <BACnet MS / TPについて> Fig. 1 is a diagram for explaining an example of a topology of communication using BACnet MS / TP. Fig. 2 is a sequence diagram showing an example of communication using BACnet MS / TP. BACnet MS / TP is an example of a communication protocol using a token passing method.

[0036] In Figures 1 and 2, a communication device that has been given a token in BACnet MS / TP and has the authority to make a request is referred to as a Master. Also, the numbers in parentheses in Figures 1 and 2 are communication addresses (address numbers) set in the communication device, and range from 0 to 127. With the BACnet MS / TP communication protocol, only a communication device that has a token can make a request. In Figures 1 and 2, a token is referred to as a Token. For example, when obtaining information from another communication device, a communication device that has a token sends a Read Property request. Also, when sending information to another communication device, a communication device that has a token sends a Write Property request.

[0037] In the BACnet MS / TP communication protocol, tokens are passed in ascending order of communication addresses. For example, a token is passed in ascending order of communication addresses from a communication device with communication address "0" to a communication device with communication address "1," and from a communication device with communication address "1" to a communication device with communication address "2."

[0038] In networks that communicate using the BACnet MS / TP communication protocol, some communication addresses may not be in use. Figures 1 and 2 show an example where communication addresses "5" to "127" are not in use. A communication device with communication address "4" knows that the next communication device has a communication address of "0", and can pass a token to the communication device with communication address "0".

[0039] The BACnet MS / TP communication protocol has a mechanism for detecting new communication devices that have been connected to the network. This mechanism detects new communication devices that have been connected to the network by sending a presence check command with a specific communication address as an argument to a communication device that has been passed a token a specified number of times (e.g. 50 times), and other communication devices that have the specific communication address set respond to the presence check command.

[0040] The presence check command is, for example, a Poll for Master request. The response to the presence check command is a presence response, for example, a Reply to Poll for Master response.

[0041] For example, in Figures 1 and 2, the communications device with communication address "4" transmits a presence check command to unused communications devices with communication addresses "5" to "127." If the communications device that transmitted the presence check command receives a response to the presence check command, it updates the communications address of the next communications device it knows to the communications address of the communications device that responded to the presence check command, and passes the token. For example, if the communications device with communication address "4" receives a response to the presence check command sent to the communications device with communication address "5," it updates its known communications address "0" to communications address "5," and passes the token to the communications device with communication address "5."

[0042] If the communication device that sent the presence check command does not receive a response to the presence check command, it passes the token to the communication device with the next known communication address. For example, the communication device with communication address "4" in Figures 1 and 2 does not receive a response to the presence check command, so it passes the token to the communication device with communication address "0" that it knows.

[0043] If the communication device that transmitted the presence check command does not receive a response to the presence check command even after a predetermined timeout period has elapsed, the communication device determines that there is no response to the presence check command. Also, if there is no response to the presence check command, the communication device that transmitted the presence check command can determine that the communication device with the specific communication address set in the presence check command is not connected to the network.

[0044] However, in the BACnet MS / TP communication protocol, the communication device that sent the presence check command keeps the token while waiting for the timeout time to elapse, so other communication devices cannot make requests. Therefore, in the BACnet MS / TP communication protocol, the fewer communication devices connected to the network, the more frequently the timeout time occurs for the presence check command, and the lower the communication efficiency.

[0045] Therefore, in this embodiment, in a network that communicates using the BACnet MS / TP communication protocol, the timeout period is reduced as follows, and the cycle in which a token is passed to a communication device is shortened, thereby improving communication efficiency.

[0046] Fig. 3 is a diagram for explaining an example of a topology of communication by BACnet MS / TP according to the present embodiment. Fig. 4 is a sequence diagram showing an example of communication by BACnet MS / TP according to the present embodiment.

[0047] In Figures 3 and 4, the timeout period for the presence check command is reduced by connecting a device to the network that responds to the presence check command with a communication address that is not used on the network as an argument. In Figures 3 and 4, the device that responds to the presence check command with a communication address that is not used on the network as an argument is called a pseudo Master. The communication address that is the argument of the presence check command is the destination of the presence check command.

[0048] The device that responds on behalf of the communication device collects information on communication addresses used by the multiple communication devices by monitoring the communication status between the multiple communication devices, and retains information on communication addresses that are not used by the multiple communication devices as communication addresses to be responded to on behalf of the communication devices.

[0049] The device that responds by proxy receives the presence check command sent from the communication device that has the token, and if the sending address of the presence check command is included in the communication addresses that the device holds as the proxy response target, it responds by proxy to the presence check command (proxy existence response). The communication device that sent the presence check command can receive a proxy response to the presence check command from the device that responds by proxy, even if the presence check command is for a communication address of a communication device that is not used on the network.

[0050] When the communication device that sent the presence check command receives a proxy response to the presence check command, it updates the communication address of the next communication device that it knows to the communication address of the device that responds on its behalf. For example, in Figures 3 and 4, the communication device with communication address "4" updates its known communication address "0" to the communication address "5" of the next communication device, and then transmits a token. The device that responds on its behalf receives the token from the communication device with communication address "4".

[0051] The communication device with communication address "4" knows that the device that will respond on its behalf is the communication device with the next communication address "5" after communication address "4." Therefore, it will no longer send the presence check command from the next time, thereby reducing the timeout period for the presence check command.

[0052] In addition, since the device responding on behalf of the other party holds a communication address that is not in use on the network as the communication address of the target device for the proxy response, it can ascertain the communication address "0" of the next communication device. Therefore, the device responding on behalf of the other party does not send an existence check command, and can pass the token to the communication device with communication address "0."

[0053] In this embodiment, the device performing the proxy response detects a new communication device connected to the network by transmitting an existence check command to the communication address of the proxy response target that it holds each time it receives a token a predetermined number of times (e.g., 50 times).When there is a response to the existence check command transmitted to the communication address of the proxy response target, the device performing the proxy response deletes the communication address from the communication addresses of the proxy response targets.

[0054] Therefore, the device making the proxy response can delete the communication address of the communication device that has newly connected to the network from the communication addresses for which proxy responses are made, and stop the proxy response that it has been making by masquerading as the responding communication device.

[0055] In addition, when a device responding by proxy sends a presence confirmation command to a communication address for which it holds a proxy response, it may send the presence confirmation command to a communication address with the smallest number, within the range assigned to the device type, or within a range of consecutive numbers.

[0056] <Communication system configuration> Fig. 5 is a configuration diagram of an example of a communication system 1 according to the present embodiment. The communication system 1 shown in Fig. 5 is an example of a communication system in which a device 10 having a control unit 12 and a plurality of communication devices 20-0 to 20-4 having set communication addresses communicate with each other via a network 30 by a token passing method.

[0057] In the communication system 1 in Fig. 5, a token is passed by BACnet MS / TP, and communication devices 20-0 to 20-4 that have the authority to make requests are described as Master(0) to (4). Note that the numbers "0" to "4" in parentheses in Fig. 5 are communication addresses (address numbers) set in the communication devices 20-0 to 20-4. The communication devices 20-0 to 20-4 are, for example, air conditioners.

[0058] 5, device 10 that responds on behalf of a presence check command that has an unused communication address as an argument is described as a pseudo Master. Device 10 that responds on behalf of a communication device collects information on communication addresses that are in use by monitoring the communication status of communication devices 20-0 to 20-4, and holds information on communication addresses that are not in use by communication devices 20-0 to 20-4 as communication addresses to which the proxy response is to be made.

[0059] The device 10 making a proxy response is realized by, for example, an information processing device such as a PC (Personal Computer). The device 10 making a proxy response has a control unit 12. The control unit 12 is a hardware configuration that executes a program, and is, for example, a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), or an FPGA (Field Programmable Gate Array). For example, the device 10 making a proxy response can perform various processes described below by the CPU executing a program.

[0060] The configuration of the proxy response device 10 in Fig. 5 is one example. For example, the proxy response device 10 may be realized by one or more computers. It goes without saying that there are various system configuration examples for the configuration of the communication system 1 in Fig. 5 depending on the application and purpose.

[0061] <Hardware configuration> The device 10 making a proxy response in Fig. 5 is realized by, for example, a computer 500 having a hardware configuration shown in Fig. 6. Fig. 6 is a diagram showing an example of the hardware configuration of the computer 500 according to this embodiment.

[0062] The computer 500 includes an input device 501, a display device 502, an external I / F 503, a RAM (Random Access Memory) 504, a ROM (Read Only Memory) 505, a CPU 506, a communication I / F 507, and a HDD (Hard Disk Drive) 508, all of which are connected to each other via a bus B. The input device 501 and the display device 502 may be connected and used when necessary.

[0063] The input device 501 is a touch panel, operation keys or buttons, a keyboard, a mouse, etc., which are used by the user to input various signals. The display device 502 is composed of a display such as a liquid crystal or organic EL display for displaying a screen, a speaker for outputting sound data such as voice and music, etc. The communication I / F 507 is an interface for the computer 500 to perform data communication via a network.

[0064] The HDD 508 is an example of a non-volatile storage device that stores programs and data. The stored programs and data include an OS (Operating System), which is basic software that controls the entire computer 500, and applications that provide various functions on the OS. Note that the computer 500 may use a drive device (such as a solid-state drive (SSD)) that uses a flash memory as a storage medium instead of the HDD 508.

[0065] The external I / F 503 is an interface with an external device. The external device may include a recording medium 503a. This allows the computer 500 to read and write data from and to the recording medium 503a via the external I / F 503. The recording medium 503a may include a flexible disk, a CD (Compact Disc), a DVD (Digital Versatile Disc), a SD (Secure Digital) memory card, a USB (Universal Serial Bus) memory, and the like.

[0066] The ROM 505 is an example of a non-volatile semiconductor memory (storage device) that can retain programs and data even when the power is turned off. The ROM 505 stores programs and data such as a basic input output system (BIOS) that is executed when the computer 500 is started, OS settings, and network settings. The RAM 504 is an example of a volatile semiconductor memory (storage device) that temporarily retains programs and data.

[0067] The CPU 506 is an arithmetic unit that realizes the overall control and functions of the computer 500 by reading programs and data from storage devices such as the ROM 505 and the HDD 508 onto the RAM 504 and executing processes.

[0068] <Processing> The device 10 making a proxy response in Fig. 5 performs processing in the procedure shown in Fig. 7. Fig. 7 is a flowchart of an example of processing performed by the device 10 making a proxy response according to this embodiment. In step S10, the control unit 12 of the device 10 making a proxy response monitors the communication status between the multiple communication devices 20-0 to 20-4. Specifically, the control unit 12 monitors the presence check command transmitted to the network 30. Note that any of the communication devices 20-0 to 20-4 may be simply referred to as communication device 20.

[0069] In step S12, the control unit 12 of the device 10 making a proxy response determines whether or not it has acquired the presence check command transmitted to the network 30. The control unit 12 repeats the processes of steps S10 to S12 until it determines that it has acquired the presence check command. If it determines that it has acquired the presence check command, the control unit 12 proceeds to the process of step S14.

[0070] In step S14, the control unit 12 of the device 10 making the proxy response refers to the communication address of the proxy response target held by the device itself. The communication address of the proxy response target held by the device itself is a communication address that is not used by the communication devices 20-0 to 20-4.

[0071] In step S16, the control unit 12 of the device 10 making the proxy response determines whether or not the communication address of the presence check command is included in the communication addresses of the proxy response targets referenced in step S14. If the communication address of the presence check command is not included in the communication addresses of the proxy response targets referenced in step S14, the control unit 12 returns to the process of step S10. If the communication address of the presence check command is included in the communication addresses of the proxy response targets referenced in step S14, the control unit 12 proceeds to the process of step S18.

[0072] In step S18, the control unit 12 of the device 10 making the proxy response makes a proxy presence response to the presence check command acquired in step S12. Therefore, even if the communication device 20 that transmitted the presence check command transmitted the presence check command to a communication address of the communication device 20 that is not used on the network 30, the communication device 20 can receive an presence response to the presence check command from the device 10 making the proxy response.

[0073] The communications device 20 that has received the presence response to the presence check command updates the communication address of the next communications device 20 that it knows in response to the received presence response, and then transmits the token to the device 10 that responds on its behalf. The control unit 12 of the device 10 that responds on its behalf receives the token from the communications device 20 that transmitted the presence check command.

[0074] In step S20, the control unit 12 of the device 10 making the proxy response determines whether or not it is necessary to transmit a presence check command to the communication device 20 that is the target of the proxy response. Specifically, the control unit 12 determines that it is necessary to transmit a presence check command to the communication device 20 that is the target of the proxy response if it is time to detect a communication device 20 that has newly connected to the network 30, for example, when a token has been passed a predetermined number of times (e.g., 50 times).

[0075] When the control unit 12 of the device 10 making the proxy response determines that it is necessary to transmit a presence check command to the communication device 20 that is the proxy response target, the control unit 12 proceeds to the process of step S22 and transmits the presence check command to the communication address of the proxy response target.

[0076] In step S24, when there is an existence response to the existence confirmation command transmitted to the communication address of the proxy response target, the control unit 12 of the device 10 performing the proxy response deletes the communication address of the existence response from the communication addresses of the proxy response targets. Therefore, the control unit 12 of the device 10 performing the proxy response can delete the communication address of the communication device 20 newly connected to the network 30 from the communication addresses of the proxy response targets, and stop the proxy response that has been performed by impersonating the communication device 20 that has responded to the existence response.

[0077] If it is not determined in step S20 that it is necessary to transmit a presence check command to the communication device 20 that is the proxy response target, the control unit 12 of the device 10 that makes the proxy response skips the processes of steps S22 and S24.

[0078] In step S26, the control unit 12 of the device 10 making the proxy response determines the communication address of the communication device 20 to which the token will be delegated based on the communication address of the proxy response target, and after delegating the token to the communication device 20 with that communication address, returns to the processing of step S10.

[0079] In this way, in the communication system 1 according to the present embodiment, it is possible to suppress an increase in the frequency of occurrence of a timeout period in response to a presence check command even if there are only a few communication devices connected to the network 30. According to the communication system 1 according to the present embodiment, it is possible to improve communication efficiency by reducing the timeout period in the network 30 and shortening the cycle in which a token is passed to the communication device 20.

[0080] Therefore, according to the present embodiment, it is possible to provide a device 10, a proxy response method, and a communication system 1 that improve communication efficiency in a network 30 in which a plurality of communication devices 20 communicate using the token passing method.

[0081] <Example of a service using proxy response> Fig. 8 is a configuration diagram of an example of an existing communication system 100 that communicates using the BACnet MS / TP communication protocol. Fig. 9 is a diagram for explaining an example of a communication topology of the existing communication system 100.

[0082] In the communication system 100 shown in FIG. 8, a plurality of communication devices 102-1 to 102-4 to be monitored and controlled communicate with a BAS 104 via a network 110. The BAS 104 is a building automation system, and manages and controls facility devices such as air conditioners in the building via the network 110. In addition, in FIG. 8 and FIG. 9, the plurality of communication devices 102-1 to 102-4 to be monitored and controlled are described as Master(1) to (4). The numbers "1" to "4" in parentheses in FIG. 8 and FIG. 9 are communication addresses (address numbers) set in the communication devices 102-1 to 102-4. The plurality of communication devices 102-1 to 102-4 to be monitored and controlled are facility devices such as air conditioners in the building. As shown in FIG. 9, the token is passed in the order of BAS → Master(1) → Master(2) → Master(3) → Master(4) → BAS.

[0083] For example, in order to extract information from the existing communication system 100 in Fig. 8, it is necessary to add a communication device. However, when a communication device is added to the existing communication system 100, the period during which the communication devices 102-1 to 102-4 receive tokens becomes longer. As a result, the opportunities for the communication devices 102-1 to 102-4 to make requests decrease.

[0084] Therefore, as shown in Figures 10 and 11, by incorporating a pseudo Master function into the added communication device 102-5, it is possible to suppress the occurrence of a timeout period for a presence confirmation command, thereby improving communication efficiency to the same level as or even higher than that of the existing communication system 100.

[0085] Fig. 10 is a configuration diagram of an example of a communication system 100 incorporating a pseudo Master function. Fig. 11 is a diagram for explaining an example of a communication topology of the communication system 100 incorporating a pseudo Master function. Therefore, according to this embodiment, data can be collected from objects to be monitored and controlled and utilized without increasing the load compared to the existing communication system 100.

[0086] For example, the communication system 100 shown in Figures 10 and 11 can perform data analysis based on detailed device information (e.g., sensor values, device on / off counts, internal device current values, etc.) acquired from a communication device 102-5 incorporating a pseudo-Master function, and can provide services such as failure prediction or optimal device control leading to energy-saving control. Also, the communication system 100 shown in Figures 10 and 11 can be expected to have the effect of shortening the time required to track down the cause of a failure by storing the acquired device information in the cloud and analyzing the stored device information in the event of a failure.

[0087] <Example of a service using proxy response and token sharing> By connecting a device 10 that responds on behalf of the network 110 as shown in Fig. 12, the existing communication system 100 shown in Fig. 8 and Fig. 9 can suppress the occurrence of a timeout period for a presence check command and improve communication efficiency to a level higher than that of the existing communication system 100. Fig. 12 is a configuration diagram of an example of a communication system 100 incorporating a pseudo Master.

[0088] 8 and 9, the period during which a token is required differs for each of the communication devices 102-1 to 102-4 of the network 110. The period during which a token is required corresponds to the frequency at which requests are issued.

[0089] Fig. 13 is an explanatory diagram of an example showing the frequency of requests issued by a certain communication device 102 by time. For example, Fig. 13 shows that more data is acquired from environmental monitoring sensors (such as temperature, humidity, or CO2) for system control during the day. Fig. 13 also shows that the frequency of system control decreases at night, and less data is acquired from the environmental monitoring sensors.

[0090] Existing communication system 100 passes tokens to communication devices 102-1 to 102-4 of network 110 regardless of the communication demand shown in Fig. 13. Therefore, device 10 that responds on behalf of and is connected to network 110 as shown in Fig. 12 grasps the communication demand of communication devices 102-1 to 102-4 (statistics on the frequency of making requests when a token is passed) by monitoring the communication status of network 110. Note that, hereinafter, any of communication devices 102-1 to 102-4 may be referred to simply as communication device 102.

[0091] The device 10 performing proxy response controls communication devices 102 with low communication demands so as to pass tokens less frequently, thereby increasing the frequency of passing tokens to other communication devices 102. Therefore, the device 10 performing proxy response can optimize the communication efficiency of the existing communication system 100.

[0092] In addition, in the existing communication system 100 shown in Fig. 8 and Fig. 9, the communication status may vary between daytime and nighttime, so that it is necessary to obtain trend data of the communication status when it is desired to grasp the daily communication status or when it is desired to check whether it is possible to add a new communication device 102. Therefore, the device 10 making a proxy response connected to the network 110 as shown in Fig. 12 monitors trend data indicated by statistics on the number of times a token is passed within a certain period as shown in Fig. 14, and can quantitatively grasp the communication status of the communication system 100. Fig. 14 is an explanatory diagram of an example of trend data indicated by statistics on the number of times a token is passed within a certain period to the device 10 making a proxy response.

[0093] Therefore, according to this embodiment, in a network 30 in which a plurality of communication devices 20 communicate using the token passing method, it is possible to monitor the communication status and improve communication efficiency.

[0094] [Effect] In this embodiment, the device 10 has a control unit 12, which monitors the communication status between multiple communication devices 20 in a network 30 in which multiple communication devices 20 with set communication addresses communicate using a token passing method, collects the communication addresses used by the multiple communication devices 20, determines a communication address not used by the multiple communication devices 20 as a communication address to be responded to on behalf of the device, obtains a presence confirmation command sent from a first communication device 20 that has the right to send, and if the communication address to which the presence confirmation command is to be sent is included in the communication addresses to be responded to on behalf of the device that it holds, responds to the first communication device 20 with a presence confirmation and receives the right to send from the first communication device 20.

[0095] According to this embodiment, even if the first communication device 20 transmits an existence check command to the communication address of a communication device 20 not being used in the network 30, it is possible to receive an existence response to the existence check command from the device 10 that responds on its behalf. Therefore, it is possible to provide a device 10 that improves communication efficiency in the network 30 in which a plurality of communication devices 20, each having a set communication address, communicate by a token passing method.

[0096] In addition, in this embodiment, the control unit 12 sends an existence confirmation command to the communication address that is the proxy response target, and when it receives an existence response to the existence confirmation command, it deletes the communication address of the communication device 20 that sent the existence response from the communication addresses that are the proxy response targets.

[0097] According to this embodiment, the device 10 making the proxy response can delete the communication address of the communication device that made the presence response from the communication addresses of the proxy response targets held by the own device.

[0098] Furthermore, in this embodiment, the control unit 12 transmits a presence check command to the communication address with the smallest number among the communication addresses to which a proxy response is to be sent.

[0099] According to this embodiment, it is possible to transmit the presence check command to the communication address with the smallest number among the communication addresses to which a proxy response is to be made.

[0100] Furthermore, in this embodiment, the control unit 12 transmits a presence check command to communication addresses within a range assigned to a device type, among communication addresses that are targets of a proxy response.

[0101] According to this embodiment, it is possible to transmit a presence check command to communication addresses within a range assigned to a device type, among communication addresses that are targets of a proxy response.

[0102] Furthermore, in this embodiment, the control unit 12 transmits a presence check command to communication addresses within a range of consecutive numbers among the communication addresses that are targets of the proxy response.

[0103] According to this embodiment, it is possible to transmit a presence check command to communication addresses within a range of consecutive numbers among the communication addresses that are targets of a proxy response.

[0104] Furthermore, in this embodiment, the control unit 12 determines the communication device 20 to which the transmission right is to be transferred based on the communication address of the proxy response target, and transfers the transmission right.

[0105] According to this embodiment, the communication device 20 to which the transmission right is to be transferred is determined based on the communication address of the proxy response target, and the transmission right can be transferred.

[0106] In this embodiment, the control unit 12 transmits data acquisition requests or setting change commands to a plurality of communication devices 20 using the transmission rights.

[0107] According to this embodiment, it is possible to transmit a data acquisition request or a setting change command to a plurality of communication devices 20 by utilizing the transmission right.

[0108] Furthermore, in this embodiment, the control unit 12 analyzes the communication situation when the transmission right was acquired for each of the multiple communication devices 20, and determines the communication device 20 to which the transmission right is to be transferred.

[0109] According to this embodiment, the communication situation when the transmission right was acquired for each of the multiple communication devices 20 can be analyzed, and the communication device 20 to which the transmission right is to be transferred can be determined.

[0110] In this embodiment, the communication status in the network 30 is output based on the transmission right received within a predetermined period.

[0111] According to this embodiment, the communication status in the network 30 can be output based on the transmission rights received within a predetermined period.

[0112] In this embodiment, the communication device 20 is an air conditioner.

[0113] According to this embodiment, it is possible to provide a device 10 that improves communication efficiency in a network 30 in which a plurality of air conditioners, each having a set communication address, communicate using a token passing system.

[0114] Furthermore, this embodiment is a proxy response method executed by the control unit 12 of a device 10 having a control unit 12, which is a proxy response method in a network 30 in which a plurality of communication devices 20 with set communication addresses communicate using a token passing method, monitors the communication status between the plurality of communication devices 20, collects the communication addresses used by the plurality of communication devices 20, determines a communication address not used by the plurality of communication devices 20 as a communication address to be the proxy response target, obtains a presence confirmation command sent from a first communication device 20 that has the right to send, and if the communication address to which the presence confirmation command is to be sent is included in the communication addresses to be the proxy response held by the device itself, makes a presence response to the first communication device 20 and receives the right to send from the first communication device 20.

[0115] According to this embodiment, even if the first communication device 20 transmits an existence check command to the communication address of a communication device 20 not being used in the network 30, it is possible to receive an existence response to the existence check command from the device 10 responding on its behalf. Therefore, it is possible to provide a proxy response method that improves communication efficiency in the network 30 in which a plurality of communication devices 20 with set communication addresses communicate by a token passing method.

[0116] Furthermore, in this embodiment, in a communication system 1 in which a device 10 having a control unit 12 and a plurality of communication devices 20 each having a set communication address communicate via a network 30 using a token passing method, the control unit 12 monitors the communication status between the plurality of communication devices 20 in the network 30 in which the plurality of communication devices 20 each having a set communication address communicate via a token passing method, collects communication addresses used by the plurality of communication devices 20, determines a communication address not used by the plurality of communication devices 20 as a communication address to be responded to on behalf of the device, obtains a presence confirmation command transmitted from a first communication device 20 having a transmission right, and, if the communication address to which the presence confirmation command is to be transmitted is included in the communication addresses to be responded to on behalf of the device held by the control unit 12, transmits a presence confirmation response to the first communication device 20 and receives the transmission right from the first communication device 20.

[0117] According to this embodiment, even if the first communication device 20 transmits an existence check command to the communication address of a communication device 20 not being used in the network 30, it is possible to receive an existence response to the existence check command from the device 10 responding on its behalf. Therefore, it is possible to provide a communication system 1 that improves communication efficiency in the network 30 in which a plurality of communication devices 20, each having a set communication address, communicate by a token passing method.

[0118] Although the present embodiment has been described above, it will be understood that various changes in form and details can be made without departing from the spirit and scope of the claims. [Explanation of symbols]

[0119] 1, 100 Communication Systems 10 Devices that respond on behalf of other users 12 Control section 20, 20-0~20-4, 102, 102-1~102-4 Communication equipment 506 CPU

Claims

1. A device having a control unit, The control unit is In a network in which multiple communication devices with assigned communication addresses communicate using a token passing method, Monitor communication status between the plurality of communication devices, and collect communication addresses used by the plurality of communication devices; determining a communication address that is not used by the plurality of communication devices as a communication address to be a proxy response target; Obtaining a presence confirmation command transmitted from a first communication device having a transmission right; If the communication address of the destination of the presence confirmation command is included in the communication addresses of the proxy response targets held by the own device, a presence response is made to the first communication device, receiving the transmission right from the first communication device; device.

2. The control unit transmits a presence confirmation command to the communication address of the proxy response target, and when an existence response to the presence confirmation command is received, deletes the communication address of the communication device that has made the presence response from the communication addresses of the proxy response target.

2. The device of claim 1.

3. The control unit transmits the presence confirmation command to the communication address with the smallest number among the communication addresses to which the proxy response is to be made.

3. The device of claim 2.

4. The control unit transmits the presence confirmation command to a communication address within a range assigned to a device type among the communication addresses of the proxy response targets.

3. The device of claim 2.

5. The control unit transmits the presence confirmation command to communication addresses within a range of consecutive numbers among the communication addresses of the proxy response targets.

3. The device of claim 2.

6. The control unit determines a communication device to which the transmission right is to be transferred based on the communication address of the proxy response target, Transfer said transmission rights 6. Apparatus according to any one of claims 1 to 5.

7. The control unit transmits a data acquisition request or a setting change command to the plurality of communication devices by using the transmission right.

6. Apparatus according to any one of claims 1 to 5.

8. the control unit analyzes a communication state when the transmission right is acquired for each of the plurality of communication devices; The communication device to which the transmission right is to be transferred is determined.

7. The apparatus of claim 6.

9. The control unit outputs a communication status in the network based on the transmission right received within a predetermined period.

6. Apparatus according to any one of claims 1 to 5.

10. The communication device is an air conditioner.

6. Apparatus according to any one of claims 1 to 5.

11. A proxy response method executed by a control unit of a device having a control unit, In a network in which multiple communication devices with assigned communication addresses communicate using a token passing method, Monitor communication status between the plurality of communication devices, and collect communication addresses used by the plurality of communication devices; determining a communication address that is not used by the plurality of communication devices as a communication address to be a proxy response target; Obtaining a presence confirmation command transmitted from a first communication device having a transmission right; If the communication address of the destination of the presence confirmation command is included in the communication addresses of the proxy response targets held by the own device, a presence response is made to the first communication device, receiving the transmission right from the first communication device; Proxy response method.

12. In a communication system in which a device having a control unit and a plurality of communication devices each having a communication address communicate with each other via a network using a token passing method, The control unit is In a network in which multiple communication devices with assigned communication addresses communicate using a token passing method, Monitor communication status between the plurality of communication devices, and collect communication addresses used by the plurality of communication devices; determining a communication address that is not used by the plurality of communication devices as a communication address to be a proxy response target; Obtaining a presence confirmation command transmitted from a first communication device having a transmission right; If the communication address of the destination of the presence confirmation command is included in the communication addresses of the proxy response targets held by the own device, a presence response is made to the first communication device, receiving the transmission right from the first communication device; Communication systems.

Citation Information

Patent Citations

  • Address automatic setting method and communication device

    JP2018085551A

  • Node and frame transmission control method

    JP2018196035A

  • System and method for transparent wireless bridging of communication channel segments

    WO2007143554A2

  • Token passing communication system

    JP2007318593A