Communication device, program, and communication method

By synchronizing communication timing and calculating response times using serial numbers, the communication device accurately detects anomalies in wireless multi-hop networks, enhancing fault location detection and reliability.

JP2024117497AActive Publication Date: 2024-08-29KK TOSHIBA
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023023628
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-17
Publication Date
2024-08-29
Estimated Expiration
2043-02-17

AI Technical Summary

Technical Problem

In communication devices requiring TSCH technology and high power savings, the time required for communication varies greatly depending on the communication path, making it difficult to accurately detect when a failure occurs between devices.

Method used

A communication device that synchronizes communication timing and includes a transmitter to send packets with a serial number indicating timing, a receiver to receive these packets, and calculation units to determine uplink, downlink, and internal processing times, allowing for accurate detection of anomalies by comparing theoretical and measured response times.

Benefits of technology

Enables precise detection of fault locations in wireless multi-hop networks by calculating and comparing response time values, thereby improving communication reliability and fault detection accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024117497000001_ABST
    Figure 2024117497000001_ABST
Patent Text Reader

Abstract

To provide a communication device, program, and communication method that can accurately detect a fault location between communication devices constituting a wireless multi-hop network.SOLUTION: A communication device that synchronizes communication timing includes: a transmitting unit that transmits a packet including a serial number indicating the communication timing and a transmission / reception time; a receiving unit that receives the packet transmitted from a communication partner; a calculation unit that calculates upstream communication time, downstream communication time, and internal processing time to the communication partner on the basis of the received packet and the received serial number and transmission time to calculate a measured response time from the communication partner; a theoretical value calculation unit that calculates a theoretical value of the response time with the communication partner; and an abnormality detection unit that compares the measured response time with the theoretical response time to detect an abnormality in the communication state with the communication partner.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication device, a program, and a communication method. [Background technology]

[0002] In recent years, there has been a growing need in society for communication devices that can realize long-distance communication and power-saving wireless multi-hop networks. This technology transmits sensor data and other data between communication devices using a bucket brigade method, making it possible to collect data from remote locations. This technology is advantageous in that it can collect data even in places where there is no power source, power line, or communication line. Such communication devices are required to have a function for confirming receipt and response in two-way communication.

[0003] Patent Document 1 discloses a communication device that performs congestion control while reducing the load on a computer by utilizing a confirmation function of receipt responses in two-way communication. Patent Document 2 discloses a communication device that notifies an appropriate ACK bit when transmitting data in both uplink and downlink directions in a wireless multi-hop network. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2006-254383 A [Patent Document 2] JP 2020-39038 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, for communication devices that require TSCH (Time Synchronized Channel Hopping) technology or high power saving, the communication time varies greatly depending on the communication path, making it difficult to accurately detect when a failure occurred between which communication devices.

[0006] The present invention has been made in view of the above, and has an object to accurately detect a fault location between communication devices constituting a wireless multi-hop network. [Means for solving the problem]

[0007] A communication device of an embodiment is a communication device that synchronizes communication timing, and includes a transmitting unit that transmits a packet including a serial number indicating the communication timing and a transmission and reception time, a receiving unit that receives the packet transmitted from a communication partner, a calculation unit that calculates the upstream communication time, downstream communication time and internal processing time to the communication partner based on the received packet and the received serial number and transmission time, and calculates a measured value of the response time from the communication partner, a theoretical value calculation unit that calculates a theoretical value of the response time between the communication partner, and an abnormality detection unit that compares the measured response time with the theoretical response time and detects an abnormality in the communication status with the communication partner. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 illustrates an example of a configuration of a communication system according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram showing a functional configuration of the communication device. [Diagram 3] FIG. 3 is a sequence diagram showing the flow of an anomaly detection process relating to packet communication between communication devices. [Figure 4] FIG. 4 is a flowchart showing the flow of the abnormality detection process in step S30. [Diagram 5] FIG. 5 is a sequence diagram showing the flow of an abnormality detection process relating to packet communication between communication devices in the second embodiment. [Figure 6] FIG. 6 is a flowchart showing the flow of the reception process in step S50. [Figure 7] FIG. 7 is a flowchart showing the flow of the abnormality detection process in step S60. [Figure 8] FIG. 8 is a sequence diagram showing the flow of an abnormality detection process relating to packet communication between communication devices in the third embodiment. [Figure 9] FIG. 9 is a flowchart showing the procedure of the abnormality detection process in step S80. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] (First embodiment) 1 is a diagram illustrating an example of a configuration of a communication system according to a first embodiment. As illustrated in FIG. 1, the communication system according to the present embodiment includes a concentrator 200 (an example of an aggregation device) and a plurality of communication devices 100. 1 ~100 13 It is equipped with the following:

[0010] A plurality of communication devices 100 1 ~100 13 Each of the communication devices 100 transmits sensor data acquired by a sensor connected thereto (or a built-in sensor) via a data logger to the concentrator 200. 1 ~100 13 Since the communication devices 100 and 13 can have the same configuration, when there is no need to distinguish between them, they may be simply referred to as the communication device 100. The number of communication devices 100 is not limited to 13, and may be any number.

[0011] The concentrator 200 is a device (aggregation device) that aggregates sensor data transmitted from each of the multiple communication devices 100.

[0012] Concentrator 200 and communication device 100 1 ~100 13 The above-mentioned wireless multi-hop networks constitute a wireless multi-hop network. Communications within the wireless multi-hop network are controlled, for example, by a time division multiplexing system. Any wireless communication system may be used, but wireless communication systems such as IEEE 802.11 and IEEE 802.15.4 can be applied.

[0013] The concentrator 200 may be connected to a network 300 in addition to a wireless multi-hop network. The network 300 may be any type of network, for example, a wide area network such as the Internet, a wide area closed network, or a local network such as an in-house network.

[0014] The connection between the concentrator 200 and the network 300 may be a wired connection using an Ethernet cable or optical fiber, or a wireless connection using a mobile phone network or a satellite line. 1 ~100 13 The communication system may be configured only by a wireless multi-hop network configured by the above.

[0015] The network 300 may be connected to a server device that collects sensor data from a plurality of concentrators 200 and executes processing using the collected sensor data.

[0016] Here, an overview of the sensor data collection process performed by the communication system of this embodiment will be described.

[0017] A data logger is connected to the communication device 100. A sensor is further connected to the data logger. The communication device 100 obtains new sensor data from the data logger, for example, by a method such as polling. At this time, the communication device 100 obtains the sensor data itself and data on the sensing time of the sensor data. The sensing time is, for example, the time when the sensor data is stored in the data logger, but is not limited to this. For example, when the sensor is preheated, the sensing time may be the time when the preheating is started. The preheating is, for example, a process of warming the sensor for a certain period of time with power being supplied to the sensor before data is obtained from the sensor. For example, it is assumed that the preheating starts at 10:00:00, the preheating is completed at 10:00:20, and the time when the sensor data is stored in the data logger is 10:00:20. In this case, 10:00:00 is stored as the sensing time in the data logger.

[0018] The communication device 100 needs to wirelessly transmit data corresponding to these two pieces of data (sensor data, sensing time), but it is desirable to reduce the amount of data as much as possible. For example, it is desirable to reduce the amount of data indicating the sensing time. Note that, hereinafter, data in a format that indicates the time used in daily life (actual time described below), such as "2021 / 08 / 23 11:30:00.000", may be referred to as time data.

[0019] In this embodiment, the communication device 100 transmits, instead of time data, a serial number (a number indicating communication timing) already used within the wireless multi-hop network to realize time division multiplexing communication, as data indicating the sensing time.

[0020] An example of a time division multiplexing method that can be used is Time-Slotted Channel Hopping (TSCH). The serial number indicating the communication timing is, for example, a time slot number (Absolute Slot Number (ASN)), a slot frame number, or a super frame number.

[0021] For example, at the beginning of every time slot, the communication device 100 polls the data logger to see if new sensor data is available, and if so, the communication device 100 wirelessly transmits the available sensor data along with the current serial number.

[0022] Furthermore, when relaying sensor data transmitted from another communication device 100 (an example of an external communication device) to the concentrator 200, the communication device 100 may transmit sensor data with the same serial number together. Specifically, the serial number is included only once in a message transmitted wirelessly, and a message is generated in which multiple pieces of sensor data correspond to the serial number. This can further reduce the amount of data to be transmitted.

[0023] If the time on the data logger deviates significantly for some reason, the correct time when the sensor data was stored may become unclear if the time data is transmitted as is. In the present embodiment, if a serial number is transmitted as data representing the sensing time, the received serial number can be converted to time to determine the correct time when the sensor data was stored.

[0024] For example, a data logger is set to perform sensing at 0 minutes and 30 minutes past the hour every hour, and store the sensor data in an internal storage medium (hereinafter referred to as "internal memory"). Even if sensing actually occurs at 2 minutes and 32 minutes past the hour because the time managed by the data logger is shifted by 2 minutes, the data logger cannot know that the time has shifted. For this reason, the data logger transmits time data indicating 0 minutes or 30 minutes past the hour in association with the sensor data. A device that receives sensor data associated with time data indicating 0 minutes or 30 minutes past the hour cannot know that the actual sensing time is 2 minutes or 32 minutes past the hour.

[0025] On the other hand, according to this embodiment, a serial number indicating the communication timing according to the communication method used in the wireless multi-hop network is transmitted instead of time data. Therefore, if the polling interval (one example of a specified time interval) or the time interval indicated by the serial number indicating the communication timing (e.g., the time slot length) is appropriately set, the error between the time corresponding to the serial number and the actual sensing time can be minimized. For example, if the polling interval or the time interval indicated by the serial number indicating the communication timing is 30 seconds, the error between the transmitted sensing time and the actual sensing time can be kept within 30 seconds.

[0026] Next, the functional configuration of the communication device 100 will be described.

[0027] 2 is a block diagram showing a functional configuration of the communication device 100. The communication device 100 includes a transmission unit 101, a reception unit 102, a storage unit 103, and a control unit 107, as illustrated in FIG.

[0028] The transmitting unit 101 transmits data to and from other communication devices 100 and the concentrator 200 using a predetermined communication interface. The transmitting unit 101 transmits a packet including a serial number and a transmission / reception time to the other communication device 100 or the concentrator 200 that is the communication partner. In addition, the transmitting unit 101 also transmits additional information such as network information (such as the ID of the communication device 100) and sensor data.

[0029] The receiving unit 102 receives data transmitted from another communication device 100 using a predetermined communication interface. The receiving unit 102 receives packets transmitted from another communication device 100 that is to be a communication partner.

[0030] The predetermined communication interface is a communication interface that communicates via a wireless multi-hop network having a communication method including at least one of a 920 MHz band wireless communication method, a PLC communication method, a 4G / LTE communication method, a 5G communication method, a WiMAX communication method, etc. The predetermined communication interface is realized by, for example, a wireless chip. The predetermined communication interface enables communication between the communication device 100 and another communication device 100 or the concentrator 200.

[0031] The storage unit 103 stores various information (various programs, various data) and is realized by, for example, a semiconductor memory element such as a RAM (Random Access Memory), a ROM (Read Only Memory), or a flash memory, a hard disk, etc. This storage unit 103 stores a serial number and a transmission time when the transmission unit 101 transmits. The storage unit 103 also stores a program for the communication device 100.

[0032] The control unit 107 executes various arithmetic processes and is realized by, for example, a CPU (Central Processing Unit). The control unit 107 includes, as functional components, a calculation unit 104, a theoretical value calculation unit 105, and an anomaly detection unit 106, as a result of the CPU operating according to a program.

[0033] Based on the received packet and the data stored in the memory unit 103, the calculation unit 104 calculates three items: the upstream communication time to the communication partner, the downstream communication time, and the internal processing time of the communication device 100, and calculates a measured value of the response time from the communication partner.

[0034] The theoretical value calculation unit 105 calculates the theoretical value of the response time.

[0035] The anomaly detection unit 106 compares the theoretical response time with the measured response time, and detects that some anomaly has occurred in the communication state if, for example, there is a large discrepancy between the theoretical response time and the measured response time.

[0036] Next, the flow of an anomaly detection process relating to packet communication between the communication devices 100 will be described.

[0037] 3 is a sequence diagram showing the flow of an anomaly detection process for packet communication between the communication devices 100. As an example, FIG. 3 shows the flow of an anomaly detection process for the communication device 100 serving as the root communication device. 2 and the communication device 100 6 1 shows a sequence between

[0038] First, the communication device 100 that will be the root communication device 2 The communication device 100 6 In step S201, the communication device 100 2 In addition to the serial number 1, the device 100 also transmits additional information such as network information (such as the ID of the communication device 100) and sensor data.

[0039] Communication device 100 2 Before or after the transmission of packet 1, the communication device 100 associates the serial number 1 with the transmission time t0. 2 The packet 1 is stored in the storage unit 103 (step S202). Note that the transmission timing of the packet 1 may be a timing (slot) that each communication device 100 has mutually agreed upon, as disclosed in Patent Document 2, for example.

[0040] Communication device 100 6 The communication device 100 2 When packet 1 is received from the communication device 100, the serial number is set to 1. 6 A packet 2 including data of the reception time t1 and the transmission time t2 is created, and the communication device 100 2 In step S203, the communication device 100 6 In addition to the serial number 1, the device 100 also transmits additional information such as network information (such as the ID of the communication device 100) and sensor data.

[0041] Communication device 100 6Before or after the transmission of packet 2, the serial number 1 is set to the communication device 100. 6 The transmission time t2 of the communication device 100 6 The result is stored in the storage unit 103 (step S204).

[0042] Communication device 100 2 The communication device 100 6 When packet 2 is received from the host, an abnormality detection process is executed (step S30).

[0043] Next, the flow of the abnormality detection process in step S30 will be described.

[0044] 4 is a flowchart showing the flow of the abnormality detection process in step S30. As shown in FIG. 4, the communication device 100 serving as the root communication device 2 The communication device 100 6 When packet 2 is received from the UE, the process flow shown in FIG. 4 starts (step S301).

[0045] Communication device 100 2 After receiving the signal, the calculation unit 104 of the communication device 100 2 The transmission time t0 associated with the serial number 1 is obtained from the storage unit 103 (step S302).

[0046] Communication device 100 2 If the calculation unit 104 of the communication device 100 succeeds in acquiring the transmission time t0 (Yes in step S302), 6 From the reception time t1 and the transmission time t2 of 6 The internal processing time d0 (d0=t2-t1) is calculated (step S303).

[0047] In addition, the communication device 100 2 If the calculation unit 104 fails to acquire the transmission time t0 (No in step S302), the process in step S30 is terminated.

[0048] Next, the communication device 100 2 The calculation unit 104 calculates the obtained transmission time t0 and the communication device 1006 Using the reception time t1 from the UE, the downstream communication time d1 (d1=t1-t0) is calculated (step S304).

[0049] In addition, the communication device 100 2 The calculation unit 104 of the communication device 100 6 The transmission time t2 and the communication device 100 6 Using the time t3 when packet 2 was received from the node 1, the upstream communication time d2 (d2=t3-t2) is calculated (step S305).

[0050] And the communication device 100 2 The calculation unit 104 calculates the downstream communication time d1 and the upstream communication time d2 and the communication device 100 6 By adding up the internal processing time d0 of the communication device 100 2 and communication device 100 6 A measured response time r0 (r0=d0+d1+d2) between the two is calculated (step S306).

[0051] Thereafter, the communication device 100 2 The theoretical value calculation unit 105 of the communication device 100 2 and communication device 100 6 A theoretical value s0 of the response time between is calculated (step S307).

[0052] Finally, the communication device 100 2 The abnormality detection unit 106 compares the theoretical response time value s0 with the measured response time value r0 (step S308).

[0053] Communication device 100 2 The anomaly detection unit 106 compares the theoretical response time s0 with the measured response time r0, and can detect that some anomaly has occurred in the communication state if there is a large discrepancy, for example.

[0054] In this way, according to the communication device of the first embodiment, if the communication device can uniquely determine the transmission timing, the theoretical response time s0 can be calculated in advance, and by comparing the calculated response time with the measured response time r0, it is possible to detect that some abnormality has occurred in the communication state, for example, if there is a large deviation. In other words, according to this embodiment, it is possible to accurately detect the location of a fault between communication devices constituting a wireless multi-hop network.

[0055] In this embodiment, the theoretical response time s0 is calculated, but the present invention is not limited to this, and instead of the theoretical response time s0, a previously measured response time may be compared with the calculated response time r0. This also makes it possible to detect changes in the communication situation.

[0056] (Second embodiment) Next, a second embodiment will be described.

[0057] The second embodiment differs from the first embodiment, which is a sequence for two-way communication (when the hop count is 1), in that the second embodiment is a sequence applied to uplink and downlink communication (when the hop count is 2). In the following description of the second embodiment, the description of the same parts as in the first embodiment will be omitted, and only the differences from the first embodiment will be described.

[0058] 5 is a sequence diagram showing the flow of an anomaly detection process for packet communication between the communication devices 100 in the second embodiment. 2 and the communication device 100 6 and the communication device 100 10 4 shows a sequence between and Note that, in this embodiment, a case where the number of hops is two will be described, but the number of hops may be two or more.

[0059] First, the communication device 100 that will be the root communication device 2 As in the first embodiment, the communication device 1006 In step S201, the communication device 100 2 In addition to the serial number 1, the device 100 also transmits additional information such as network information (such as the ID of the communication device 100) and sensor data.

[0060] Communication device 100 2 In the same manner as in the first embodiment, before or after the transmission of packet 1, the communication device 100 associates the serial number 1 with the transmission time t0. 2 The packet 1 is stored in the storage unit 103 (step S202). Note that the transmission timing of the packet 1 may be a timing (slot) that each communication device 100 has mutually agreed upon, as disclosed in Patent Document 2, for example.

[0061] Communication device 100 6 The communication device 100 2 When packet 1 is received from the communication device 100, the serial number is set to 1. 6 A packet 2 including data of the reception time t1 and the transmission time t2 is created, and the communication device 100 2 and the communication device 100 10 In step S203, the communication device 100 6 In addition to the serial number 1, the device 100 also transmits additional information such as network information (such as the ID of the communication device 100) and sensor data.

[0062] As in the first embodiment, the communication device 100 6 Before or after the transmission of packet 2, the serial number 1 is set to the communication device 100. 6 The transmission time t2 of the communication device 100 6 The result is stored in the storage unit 103 (step S204).

[0063] Communication device 100 2 As in the first embodiment, the communication device 100 6When packet 2 is received from the packet receiving unit 10, an abnormality detection process is executed (step S30). Note that the abnormality detection process in step S30 is the same as that in the first embodiment, and therefore a detailed description thereof will be omitted.

[0064] On the other hand, the communication device 100 10 The communication device 100 6 When packet 2 is received from the communication device 100, the serial number is set to 1. 10 The communication device 100 creates a packet 3 including data of the reception time t4 and the transmission time t5. 6 In step S401, the communication device 100 10 In addition to the serial number 1, the device 100 also transmits additional information such as network information (such as the ID of the communication device 100) and sensor data.

[0065] Communication device 100 10 Before or after the transmission of packet 3, the serial number 1 is set to the communication device 100. 10 The transmission time t5 of the communication device 100 10 The result is stored in the storage unit 103 (step S402).

[0066] Communication device 100 6 The communication device 100 10 When packet 3 is received from the UE, a receiving process is executed (step S50).

[0067] Next, the flow of the reception process in step S50 will be described.

[0068] 6 is a flowchart showing the flow of the reception process in step S50. As shown in FIG. 6 The communication device 100 10 When packet 3 is received from the UE 1, the process flow shown in FIG. 6 starts (step S501).

[0069] Communication device 100 6 After receiving the signal, the calculation unit 104 of the communication device 100 6The transmission time t2 associated with the serial number 1 is obtained from the storage unit 103 (step S503).

[0070] Communication device 100 6 If the calculation unit 104 of the communication device 100 succeeds in acquiring the transmission time t2 (Yes in step S502), 10 From reception time t4 and transmission time t5, the communication device 100 10 The internal processing time d3 (d3=t5-t4) is calculated (step S503).

[0071] In addition, the communication device 100 6 If calculation unit 104 fails to acquire transmission time t2 (No in step S502), it ends the reception process in step S50.

[0072] Next, the communication device 100 6 The calculation unit 104 calculates the obtained transmission time t2 and the communication device 100 10 Using the reception time t4 from the UE, the downstream communication time d4 (d4=t4-t2) is calculated (step S504).

[0073] In addition, the communication device 100 6 The calculation unit 104 of the communication device 100 10 The transmission time t5 and the communication device 100 10 Using the time t6 when packet 3 was received from the host, the upstream communication time d5 (d5=t6-t5) is calculated (step S505).

[0074] And the communication device 100 6 The calculation unit 104 of the communication device 100 10 The internal processing time d3, the downstream communication time d4, and the upstream communication time d5 are added together to obtain the communication time d3 of the communication device 100. 6 and communication device 100 10 A measured value r1 (r1=d3+d4+d5) of the response time between the two is calculated (step S506), and the process in step S50 is terminated.

[0075] Returning to FIG. 5, the communication device 100 6When the process in step S50 is completed, the serial number 1 and the communication device 100 10 At reception time t6 from the communication device 100 6 At transmission time t7, communication device 100 10 At reception time t4, the communication device 100 10 The communication device 100, which is the root communication device, broadcasts the packet 2-1 including the transmission time t5 and the response time r1. 2 (step S403).

[0076] Communication device 100 6 Before or after the transmission of packet 2-1, the serial number 1 is set to the communication device 100. 6 The transmission time t7 of the communication device 100 6 The result is stored in the storage unit 103 (step S404).

[0077] In addition, the communication device 100 10 The communication device 100 6 However, the communication device determines whether the received packet was created by itself, i.e., whether the packet is addressed to itself, based on the network information. 10 determines that packet 2-1 is not addressed to itself, so it does not process it.

[0078] On the other hand, the communication device 100 2 The communication device 100 6 When the packet 2-1 is received from the packet 2-2, the packet 2-2 executes an abnormality detection process (step S60).

[0079] Next, the flow of the abnormality detection process in step S60 will be described.

[0080] 7 is a flowchart showing the flow of the abnormality detection process in step S60. As shown in FIG. 7, the communication device 100 serving as the root communication device 2 The communication device 100 6 When the packet 2-1 is received from the packet 2-2, the process flow shown in FIG. 7 is started (step S601).

[0081] Communication device 100 2 After receiving the signal, the calculation unit 104 of the communication device 100 2 The transmission time t0 associated with the serial number 1 is obtained from the storage unit 103 (step S602).

[0082] Communication device 100 2 If the calculation unit 104 of the communication device 100 succeeds in acquiring the transmission time t0 (Yes in step S602), 10 Reception time t4 and communication device 100 10 The transmission time t5 and the communication device 100 10 The internal processing time d3 (d3=t5-t4) is calculated (step S603).

[0083] In addition, the communication device 100 2 If the calculation unit 104 fails to acquire the transmission time t0 (No in step S602), the process in step S60 is terminated.

[0084] Next, the communication device 100 2 The calculation unit 104 calculates the obtained transmission time t0 and the communication device 100 10 Using the reception time t4 from the UE, the downstream communication time d6 (d6=t4-t0) is calculated (step S604).

[0085] In addition, the communication device 100 2 The calculation unit 104 of the communication device 100 10 The transmission time t5 and the communication device 100 10 Using the time t8 when the packet 2-1 containing the information was received, the upstream communication time d7 (d7=t8-t5) is calculated (step S605).

[0086] And the communication device 100 2 The calculation unit 104 calculates the downstream communication time d6 and the upstream communication time d7, 10 By summing up the internal processing time d3 of the communication device 100 which is the root communication device, 2 and communication device 100 10 A measured response time r2 (r2=d3+d6+d7) between the two is calculated (step S606).

[0087] Thereafter, the communication device 100 2 The theoretical value calculation unit 105 of the communication device 100 2 and communication device 100 10 A theoretical value s2 of the response time between is calculated (step S607).

[0088] And the communication device 100 2 The abnormality detection unit 106 compares the theoretical response time value s2 with the measured response time value r2 (step S608).

[0089] Communication device 100 2 The anomaly detection unit 106 compares the theoretical response time value s2 with the measured response time value r2, and can detect that some anomaly has occurred in the communication state if there is a large discrepancy between the two.

[0090] In addition, the communication device 100 2 The calculation unit 104 of the communication device 100 6 and communication device 100 10 A theoretical value s1 of the response time between the two is calculated (step S609).

[0091] Finally, the communication device 100 2 The abnormality detection unit 106 compares the theoretical response time value s1 with the measured response time value r1 (step S610).

[0092] Communication device 100 2 The anomaly detection unit 106 compares the theoretical response time s1 with the measured response time r1, and can detect that some anomaly has occurred in the communication state if there is a large discrepancy between the two.

[0093] In this way, according to the communication device of the second embodiment, if the communication device can uniquely determine the transmission timing, the theoretical response time s0 can be calculated in advance, and by comparing the calculated response time with the measured response time r0, it is possible to detect that some abnormality has occurred in the communication state, for example, if there is a large deviation. In other words, according to this embodiment, it is possible to accurately detect the location of a fault between communication devices constituting a wireless multi-hop network.

[0094] In this embodiment, the theoretical response time value s0 is calculated, but the present invention is not limited to this. Instead of the theoretical response time value s0, a previously measured response time may be compared with the calculated measured response time r0. This also makes it possible to detect changes in the communication conditions.

[0095] In this embodiment, the communication device 100 6 By sending packets in both directions, the communication device 100, which is the root communication device, 2 and communication device 100 10 In this way, when the transmitting unit 101 sends packets in both the upstream and downstream directions, the calculation unit 104 calculates the upstream communication time and the downstream communication time for the communication partner, and calculates the measurement value of the response time from the communication partner. That is, the communication device 100, which is the root communication device, 2 However, by utilizing the received packet, the communication device 100 2 and communication device 100 6 The communication time between the communication device 100 and the 6 The internal processing time can be calculated.

[0096] (Third embodiment) Next, a third embodiment will be described.

[0097] The third embodiment differs from the second embodiment in that the process of calculating the upstream and downstream communication times and the internal processing time and obtaining the measured value of the response time is performed only by the root communication device. In the following explanation of the third embodiment, the explanation of the same parts as the first and second embodiments will be omitted, and only the parts that are different from the first and second embodiments will be explained.

[0098] 8 is a sequence diagram showing the flow of an anomaly detection process for packet communication between the communication devices 100 in the third embodiment. 2 and the communication device 100 6 and the communication device 100 10 4 shows a sequence between and Note that, in this embodiment, a case where the number of hops is two will be described, but the number of hops may be two or more.

[0099] As shown in FIG. 8, in this embodiment, a communication device 100 6 The communication device 100 10 When the first embodiment receives packet 3 transmitted from the second embodiment in step S401, the process proceeds to step S403 without executing the process of step S50 described in the second embodiment.

[0100] In this embodiment, the communication device 100 that is the root communication device 2 The communication device 100 6 When the packet 2-1 is received from the packet 2-2, the packet 2-2 executes an abnormality detection process (step S80).

[0101] Next, the flow of the abnormality detection process in step S80 will be described.

[0102] 9 is a flowchart showing the flow of the abnormality detection process in step S80. As shown in FIG. 9, the communication device 100 serving as the root communication device 2 The communication device 100 6 When the packet 2-1 is received from the packet 2-2, the process flow shown in FIG. 9 is started (step S601).

[0103] Communication device 100 2 After receiving the signal, the calculation unit 104 of the communication device 100 2 The transmission time t0 associated with the serial number 1 is obtained from the storage unit 103 (step S602).

[0104] Communication device 100 2 If the calculation unit 104 of the communication device 100 succeeds in acquiring the transmission time t0 (Yes in step S602), 10 Reception time t4 and communication device 100 10 The transmission time t5 and the communication device 100 10 The internal processing time d3 (d3=t5-t4) is calculated (step S603).

[0105] In addition, the communication device 100 2 If the calculation unit 104 fails to acquire the transmission time t0 (No in step S602), the process in step S60 is terminated.

[0106] Next, the communication device 100 2 The calculation unit 104 of the communication device 100 acquires the communication device ID in the same manner as the process of step S504 described with reference to FIG. 6 in the second embodiment. 6 The transmission time t2 and the communication device 100 10 Using the reception time t4 from the UE, the downstream communication time d4 (d4=t4-t2) is calculated (step S804).

[0107] In addition, the communication device 100 6 The calculation unit 104 of the communication device 100 performs the same process as in step S505 of the second embodiment described with reference to FIG. 10 The transmission time t5 and the communication device 100 10 Using the time t6 when packet 3 was received from the host, the upstream communication time d5 (d5=t6-t5) is calculated (step S805).

[0108] And the communication device 100 6 The calculation unit 104 of the communication device 100 calculates the communication device 100 in the same manner as in the process of step S506 described with reference to FIG. 6 in the second embodiment. 10The internal processing time d3, the downstream communication time d4, and the upstream communication time d5 are added together to obtain the communication time d3 of the communication device 100. 6 and communication device 100 10 A measured response time r1 (r1=d3+d4+d5) between the two is calculated (step S806).

[0109] The subsequent processes in steps S604 to S610 are similar to those in the second embodiment, and therefore detailed description thereof will be omitted.

[0110] In this way, according to the communication device of the third embodiment, if the communication device can uniquely determine the timing of transmission, it is possible to calculate the theoretical response time s0 in advance. Therefore, by comparing the calculated response time with the measured response time r0, it is possible to detect that some abnormality has occurred in the communication state if there is a large deviation, for example.

[0111] In this embodiment, the theoretical response time s0 is calculated, but the present invention is not limited to this, and instead of the theoretical response time s0, a previously measured response time may be compared with the calculated response time r0, which also makes it possible to detect changes in communication conditions. That is, according to this embodiment, it is possible to accurately detect a fault location between communication devices constituting a wireless multi-hop network.

[0112] In this embodiment, the communication device 100 6 By sending packets in both directions, the communication device 100, which is the root communication device, 2 and communication device 100 10 In this way, when the transmitting unit 101 transmits packets in both the upstream and downstream directions and the communication device is the root communication device, the calculation unit 104 calculates the upstream communication time and the downstream communication time for the communication partner, and the internal processing time, to calculate the measured value of the response time from the communication partner. That is, when the communication device 100 is the root communication device, 2 However, by utilizing the received packet, the communication device 100 2 and communication device 1006 The communication time between the communication device 100 and the 6 The internal processing time can be calculated.

[0113] Furthermore, according to this embodiment, the amount of information contained in a packet is smaller than in the first or second embodiment, and therefore the amount of traffic can be reduced.

[0114] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0115] 100 Communication equipment 101 Transmitter 102 Receiving unit 103 Storage section 104 Calculation section 105 Theoretical value calculation section 106 Abnormality detection unit

Claims

1. A communication device that synchronizes communication timing, a transmitting unit that transmits a packet including a serial number indicating the communication timing and a transmission / reception time; A receiving unit that receives the packet transmitted from a communication partner; a calculation unit that calculates an upstream communication time, a downstream communication time, and an internal processing time for the communication partner based on the received packet, the received sequence number, and a transmission time, and calculates a measurement value of a response time from the communication partner; a theoretical value calculation unit for calculating a theoretical value of a response time between the communication partner; an anomaly detection unit that compares the measured response time with a theoretical response time and detects an anomaly in the communication state with the communication partner; A communication device comprising:

2. The transmission unit transmits the packet by broadcast, The receiving unit receives the packet broadcast by a communication partner.

2. The communication device according to claim 1 .

3. a storage unit for storing a serial number and a transmission time when the packet is transmitted, the calculation unit calculates an upstream communication time, a downstream communication time, and an internal processing time for a communication partner based on the received packet and the serial number and transmission time stored in the storage unit, thereby calculating a measurement value of a response time from the communication partner; 2. The communication device according to claim 1 .

4. the theoretical value calculation unit defines a previously measured response time as a theoretical response time; 2. The communication device according to claim 1 .

5. The transmitting unit transmits the packets in both upstream and downstream directions.

2. The communication device according to claim 1 .

6. When the transmitting unit transmits the packet in both the upstream and downstream directions, the calculating unit calculates the upstream communication time and the downstream communication time to the communication partner and the internal processing time to calculate a measured value of the response time from the communication partner.

6. The communication device according to claim 5,

7. When the transmitting unit transmits the packet in both the upstream and downstream directions, if the transmitting unit is a root communication device, the calculation unit calculates the upstream communication time and the downstream communication time to the communication partner and the internal processing time to calculate a measured value of the response time from the communication partner.

6. The communication device according to claim 5,

8. A communication device that synchronizes communication timing, a transmitting unit that transmits a packet including a serial number indicating the communication timing and a transmission / reception time; A receiving unit that receives the packet transmitted from a communication partner; A computer that controls a communication device comprising: a calculation unit that calculates an upstream communication time, a downstream communication time, and an internal processing time for the communication partner based on the received packet, the received sequence number, and a transmission time, and calculates a measurement value of a response time from the communication partner; a theoretical value calculation unit for calculating a theoretical value of a response time between the communication partner; an anomaly detection unit that compares the measured response time with a theoretical response time and detects an anomaly in the communication state with the communication partner; A program characterized by causing the program to function as a

9. A communication method in a communication device that synchronizes communication timing, comprising: a transmitting step of transmitting a packet including a serial number indicating the communication timing and a transmission / reception time by a transmitting unit; a receiving step in which a receiving unit receives the packet transmitted from a communication partner; a calculation step of calculating an upstream communication time, a downstream communication time, and an internal processing time for the communication counterpart based on the received packet, the received serial number, and a transmission time, and calculating a measurement value of a response time from the communication counterpart; a theoretical value calculation step in which a theoretical value calculation unit calculates a theoretical value of a response time between the communication partner and the communication partner; an anomaly detection step in which an anomaly detection unit compares the measured response time with a theoretical response time and detects an anomaly in a communication state with the communication partner; A communication method comprising:

Citation Information

Patent Citations

  • Gateway device, base station device, communication network, and synchronization method

    JP2010502057A

  • Railway communication system, on-vehicle device, ground device and communication control method

    JP2015050732A

  • Communication device, attack determination program, and attack determination method

    JP2021141390A

  • Communication control system and method

    JP2006254383A

  • Wireless communication device, wireless communication system, wireless communication method and program

    JP2020039038A