Information processing device, information processing method, information processing program, and information processing system
The information processing device addresses time discrepancies in communication devices by identifying event data, calculating delays, and correcting time information, ensuring synchronized time across a network with diverse transmission characteristics.
Patent Information
- Application Number
- JP2022007611
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-01-21
- Publication Date
- 2024-12-16
- Estimated Expiration
- 2042-01-21
AI Technical Summary
Existing systems face challenges in easily reducing time information discrepancies between communication devices connected to a network due to individual differences, transmission delays, and synchronization errors, which are not adequately addressed by conventional technologies that equip each device with GPS.
An information processing device and method that includes a transmitting/receiving section, specifying section, calculating section, and correcting section to identify event communication data, calculate time delays, and correct time information based on delay amounts, using a multi-hop network structure to synchronize communication devices.
The system effectively reduces time information discrepancies between communication devices with a simple configuration, correcting deviations in time information across the network, even in environments with varying transmission delays and synchronization errors.
Smart Images

Figure 0007600160000001 
Figure 0007600160000002 
Figure 0007600160000003
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to an information processing device, an information processing method, an information processing program, and an information processing system. [Background technology]
[0002] Conventionally, a system is known that aggregates sensor data from sensors mounted on multiple communication devices connected to a network. However, time information of the sensor data may be out of sync due to individual differences between communication devices, transmission delays, communication frequency, and synchronization errors depending on the number of relays.
[0003] Therefore, in the prior art, a system is known in which each of a plurality of communication devices is equipped with a GPS (Global Positioning System). However, when a configuration is adopted in which each of a plurality of communication devices is equipped with a GPS, the device may become large and complicated. In addition, in the prior art, a configuration is disclosed in which an error is calculated from the reception time of a sensing start signal received from an aggregation device, and corrected time information corrected according to the error is transmitted from the communication device to the aggregation device (see, for example, Patent Document 1). However, in Patent Document 1, the transmission delay between the aggregation device and the communication device is not taken into consideration, and there are cases in which the time information discrepancy is not eliminated. In other words, in the prior art, it is difficult to easily reduce the time information discrepancy between communication devices connected to a network. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] International Publication No. 2020 / 149103 Summary of the Invention [Problem to be solved by the invention]
[0005] The problem that the present invention aims to solve is to provide an information processing device, an information processing method, an information processing program, and an information processing system that can easily reduce the discrepancy in time information between communication devices connected to a network. [Means for solving the problem]
[0006] An information processing device according to an embodiment includes a transmitting / receiving unit, an identifying unit, a calculating unit, and a correcting unit. The transmitting / receiving unit receives communication data from each of a plurality of communication devices connected to a network, the communication data including sensor data that is a measurement result by a sensor mounted in each of the plurality of communication devices, and time information that is a measurement time of the sensor data. The identifying unit identifies the communication data including event sensor data that is the sensor data of an event that occurred simultaneously within the network, as event communication data. The calculating unit calculates a time delay amount between the plurality of communication devices based on the event sensor data and the time information included in the event communication data of each of the plurality of communication devices. The correcting unit corrects the time information of the sensor data included in the communication data based on the delay amount. The network is a multi-hop network, the communication data includes the number of hops of the communication device that is a source of the communication data, and the calculation unit calculates a time difference per hop for each of the multiple communication devices by dividing the time difference of the time information included in the event communication data by the difference in the number of hops between the communication devices, calculates an average time difference per hop in the multi-hop network from the time difference per hop calculated for each of the multiple communication devices, and calculates, for each of the multiple communication devices, a multiplication result obtained by multiplying the number of hops of the communication device by the average time difference as the amount of delay for each of the multiple communication devices. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a schematic diagram of an information processing system. [Diagram 2] Schematic diagram of a communication system. [Diagram 3] FIG. 2 is a diagram showing the functional configuration of an aggregation device. [Figure 4] FIG. 4 is a schematic diagram of a data structure of communication data. [Figure 5A] An illustration of classification into groups. [Figure 5B] An illustration of classification into groups. [Figure 5C] An illustration of classification into groups. [Figure 6] FIG. 4 is an explanatory diagram of calculation of a delay amount. [Figure 7] FIG. 4 is an explanatory diagram of calculation of a delay amount. [Figure 8] FIG. 4 is a schematic diagram of the data structure of a delay amount DB. [Figure 9] 1 is a flowchart showing the flow of information processing. [Figure 10] Hardware configuration diagram. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] An information processing device, an information processing method, an information processing program, and an information processing system will be described in detail below with reference to the accompanying drawings.
[0009] FIG. 1 is a schematic diagram showing an example of an information processing system 1 according to the present embodiment.
[0010] The information processing system 1 includes a communication system 2 and a server device 30.
[0011] The communication system 2 includes a plurality of communication devices 10 and an aggregation device 20. The aggregation device 20 is an example of an information processing device of the present invention. The plurality of communication devices 10 and the aggregation device 20 are communicatively connected to each other.
[0012] 1 shows communication device 10A to communication device 10P as an example of the multiple communication devices 10. The communication system 2 may be configured to include multiple communication devices 10, and is not limited to a configuration including 16 communication devices 10, that is, communication device 10A to communication device 10P. Furthermore, when the communication devices 10A to 10P are not to be distinguished from each other in the description, they will be simply referred to as communication device 10.
[0013] The plurality of communication devices 10 and the aggregation device 20 may be connected in a form capable of communicating with each other, and the network topology and communication method of the communication system 2 are not limited. For example, the communication system 2 may have any network topology, such as a star type, a tree type, a ring type, or a mesh type. The communication method of the communication system 2 is arbitrary and is not limited. For example, the communication method of the communication system 2 uses a time division multiplexing method, but is not limited to this communication method.
[0014] In this embodiment, the communication system 2 has a tree-type network topology with the aggregation device 20 as the root node, and is described as an example of a multi-hop network in which multiple communication devices 10 are wirelessly connected to the aggregation device 20 in a tree structure.
[0015] FIG. 2 is a schematic diagram showing communication system 2 in the form of a network topology. In FIG. 2, the alphabet indicates communication devices 10, and the root indicates aggregation device 20, which is the root node. Arrows indicate data transmission paths. The base of the arrow indicates a child node that is the source of data, and the tip of the arrow indicates a parent node that is the destination of data. A parent node is a node that is one hop less than its own node, and is the destination node of its own node. A child node is a node that is one hop more than its own node. FIG. 2 shows a topology that relays between nodes, but communication system 2 may be configured with a topology that communicates directly to a parent node.
[0016] Returning to Figure 1, we will continue with the explanation.
[0017] The server device 30 is communicatively connected to the aggregation device 20 via a network NW. Fig. 1 shows an example in which the information processing system 1 includes the server device 30. However, the information processing system 1 may be configured to include at least the communication system 2, and may not include the server device 30.
[0018] In this embodiment, a sensor is mounted on each of the multiple communication devices 10. The sensor is a device that measures the environment of the communication device 10 in which the sensor is mounted. The sensor may be any device that can measure various environmental factors, such as vibration, temperature, humidity, wind direction, wind volume, illuminance, brightness, current consumption, voltage consumption, water volume, acceleration, inclination, and sound, and the measurement target is not limited.
[0019] Each of the multiple communication devices 10 transmits communication data including sensor data, which is the result of measuring the environment by a sensor mounted on each device, and time information, which is the measurement time of the sensor data, to the aggregation device 20. Each of the multiple communication devices 10 may transmit communication data to the aggregation device 20 at predetermined time intervals, or may transmit communication data to the aggregation device 20 when a predetermined condition is satisfied. The predetermined condition may be, for example, when the environment of the measurement target shows a specific environment such as vibration above a threshold value, when the environment of the measurement target shows an environmental change above a threshold value, etc., but is not limited to these. In this embodiment, a form in which each of the multiple communication devices 10 transmits communication data to the aggregation device 20 by multi-hop communication at predetermined time intervals will be described as an example.
[0020] FIG. 3 is a diagram illustrating an example of a functional configuration of the aggregation device 20. As shown in FIG.
[0021] The aggregation device 20 includes a communication unit 22, a UI (user interface) unit 24, a storage unit 26, and a control unit 28. The communication unit 22, the UI unit 24, the storage unit 26, and the control unit 28 are communicatively connected via a bus 29 or the like.
[0022] The communication unit 22 transmits and receives data to and from a plurality of communication devices 10. In this embodiment, the communication unit 22 performs wireless communication with a plurality of communication devices 10. The communication unit 22 also transmits and receives data to and from a server device 30 via the network NW.
[0023] The UI unit 24 has a display function and an input function. The display function displays various information. Examples of the display function include a display and a projection device. The input function accepts operation input by a user. Examples of the input function include a pointing device such as a mouse and a touch pad, a keyboard, and the like. The display function and the input function may be integrated into a touch panel. The aggregation device 20 may not have the UI unit 24.
[0024] The storage unit 26 stores various types of information. In this embodiment, the storage unit 26 stores a communication data DB (database) 26A and a delay amount DB 26B. The communication data DB 26A and the delay amount DB 26B will be described in detail later.
[0025] The UI unit 24 and the storage unit 26 may be configured to be communicatively connected to the control unit 28 by wire or wirelessly. At least one of the UI unit 24 and the storage unit 26 may be connected to the control unit 28 via a network NW or the like. At least one of the UI unit 24 and the storage unit 26 may be provided outside the aggregation device 20. At least one of the UI unit 24, the storage unit 26, and one or more functional units included in the control unit 28, which will be described later, may be mounted on an external information processing device communicatively connected to the aggregation device 20 via a network NW or the like. For example, at least one of the functional units included in the control unit 28, which will be described later, may be mounted on the server device 30.
[0026] The control unit 28 executes information processing in the aggregation device 20. The control unit 28 includes a transmission / reception unit 28A, a specification unit 28B, a classification unit 28C, a setting unit 28D, a calculation unit 28E, and a correction unit 28F.
[0027] The transmitting / receiving unit 28A, the identifying unit 28B, the classifying unit 28C, the setting unit 28D, the calculating unit 28E, and the correcting unit 28F are realized, for example, by one or more processors. For example, each of the above units may be realized by having a processor such as a CPU (Central Processing Unit) execute a program, that is, by software. Each of the above units may be realized by a processor such as a dedicated IC, that is, by hardware. Each of the above units may be realized by using both software and hardware. When multiple processors are used, each processor may realize one of the units, or may realize two or more of the units.
[0028] The transmitting / receiving unit 28A transmits and receives data to and from each of the multiple communication devices 10 and the server device 30 via the communication unit 22. In particular, the transmitting / receiving unit 28A receives communication data from each of the multiple communication devices 10.
[0029] As described above, the communication data includes sensor data that is a measurement result by a sensor mounted on the communication device 10, and time information that is a measurement time of the sensor data. Every time the transmitting / receiving unit 28A receives communication data from each of the multiple communication devices 10, the transmitting / receiving unit 28A registers the received communication data in the communication data DB 26A of the storage unit 26. Note that the communication data may be registered in the communication data DB 26A at a timing after the time information is corrected by the correcting unit 28F, which will be described later.
[0030] 4 is a schematic diagram showing an example of the data configuration of the communication data DB 26A. The communication data DB 26A is a database in which a node ID, installation environment information, a communication data ID, and communication data are associated with each other. The data format of the communication data DB 26A is not limited to a database. Furthermore, the communication data DB 26A may be a database in which at least communication data is registered, and the data configuration is not limited to the form shown in FIG. 4.
[0031] The node ID is identification information of the communication device 10 that is the transmission source of the communication data. In other words, the node ID is identification information of the communication device 10 equipped with the sensor that measured the sensor data included in the corresponding communication data.
[0032] The installation environment information is information that represents the installation environment of the communication device 10 identified by the corresponding node ID. The installation environment information may be information about the environment of the communication device 10 that may affect the time information discrepancy of the sensor data between the communication devices 10.
[0033] Specifically, the installation environment information includes at least one of, for example, installation location information of the communication device 10, absolute position information of the communication device 10, network environment information of the communication device 10, and relative position information of the communication device 10 with respect to the source of the event.
[0034] The installation location information of the communication device 10 is information that represents the state of the installation location of the communication device 10. The information that represents the state of the installation location is, for example, information that represents the susceptibility of the environment of the installation location of the communication device 10 to change. Specifically, for example, when the communication device 10 is installed in a building such as a building, the installation location information is represented by information such as the floor on which the communication device 10 is installed. Furthermore, the installation location information may be, for example, information that represents the type of ground on which the communication device 10 is installed. Examples of the type of ground include, but are not limited to, soil and concrete.
[0035] The absolute location information of the communication device 10 is location information of the communication device 10 expressed by world coordinates such as latitude, longitude, and altitude. The network environment information of the communication device 10 is information that represents the network environment of the communication device 10 in the communication system 2. For example, the network environment information of the communication device 10 is expressed by the number of hops of the communication device 10, a group of branches of a tree-type network that have the same direct or indirect parent node, or the like.
[0036] The installation location information, absolute position information, and network environment information may be registered in advance in the communication data DB 26A by, for example, an administrator or the like operating the UI unit 24.
[0037] The relative position information is information on the relative position of the communication device 10 with respect to the event source of events that occurred simultaneously in the communication system 2. For example, if the event is an earthquake, the relative position information is the relative position of the communication device 10 with respect to the epicenter of the earthquake or information capable of identifying the relative position. Specifically, for example, if the event is an earthquake, the relative position information is information indicating the latitude and longitude of the epicenter of the earthquake, the depth of the epicenter of the earthquake, the speed of the earthquake, the epicenter distance, and the like.
[0038] The relative position information may be calculated by a classification unit 28C (to be described later) or the like when an event occurs, and may be updated as appropriate (to be described in detail later).
[0039] An event is a phenomenon that occurs simultaneously within the network of the communication system 2. Simultaneous occurrence means occurrence at the same time. That is, in this embodiment, an event is a phenomenon that occurs simultaneously within the multi-hop network that is the network of the communication system 2. An event is, for example, an earthquake, lights turning on and off, equipment turning on and off, and the like. In this embodiment, a description will be given assuming that the event is an earthquake. Note that an event may be any phenomenon that occurs simultaneously within the network of the communication system 2, and is not limited to an earthquake.
[0040] The communication data ID is identification information of the corresponding communication data.
[0041] As described above, the communication data includes at least the sensor data, which is the measurement result of the sensor mounted on the communication device 10 identified by the corresponding node ID, and the time information, which is the measurement time of the sensor data.
[0042] Sensor data is information that represents the results of measuring the environment by a sensor. Examples of sensor data include, but are not limited to, acceleration information obtained by measuring seismic motion, lighting brightness information, and current consumption information at the start and end of the communication device 10. The sensor data may be continuous waveform data sampled for a certain period of time, or may be information obtained by selectively extracting one or more feature amounts. For example, at least one of the maximum value and the minimum value of the sensor data may be used as the feature amount.
[0043] The time information included in the communication data is information that indicates the measurement time of the sensor data. Specifically, the time information that is the measurement time of the sensor data is, for example, time information on the sampling timing when the sensor data or the feature amount of the sensor data is sampled.
[0044] As described above, in this embodiment, the case where the event is an earthquake will be described. Also, in this embodiment, the sensor data is represented by a sensor waveform such as acceleration waveform data obtained by measuring for a certain period of time by a sensor, and the time information is time information of each of a plurality of sampling timings in the sensor waveform.
[0045] The communication data may further include other information such as information indicating the number of hops from the aggregation device 20 of the communication device 10 identified by the corresponding node ID. In other words, the communication data may include the number of hops of the communication device 10 that is the source of the communication data.
[0046] Returning to FIG. 3, the description will be continued. Each time the transmission / reception unit 28A receives communication data from each of the plurality of communication devices 10, the transmission / reception unit 28A registers the received communication data in the communication data DB 26A. Therefore, the communication data received from each of the plurality of communication devices 10 is sequentially registered in the communication data DB 26A. Note that in this embodiment, communication data may be aggregated to the aggregation device 20 via one or more other communication devices 10 by multi-hop communication from each of the plurality of communication devices 10. Therefore, the transmission / reception unit 28A may read the communication data of one or more communication devices 10 contained in a packet received from a communication device 10 with a hop count of 1 from the packet, and register the communication data in the communication data DB 26A for each of the communication devices 10. Also, as described above, the communication data may be registered in the communication data DB 26A at a timing after the correction of time information by the correction unit 28F described later.
[0047] The identification unit 28B identifies, as event communication data, communication data including event sensor data that is sensor data of events that occurred simultaneously in the network of the communication system 2. The event communication data is communication data including event sensor data that is sensor data of events that occurred simultaneously in the network of the communication system 2.
[0048] The identification unit 28B judges whether an event has occurred. For example, the identification unit 28B judges that an event has occurred when an event is detected by a sensor that detects the occurrence of an event provided in the aggregation device 20. The identification unit 28B may also judge that an event has occurred when a notification of the event occurrence is received from an information processing device external to the aggregation device 20. For example, the identification unit 28B may judge that an event has occurred when a notification of the event occurrence is received via a network NW or the like from a transmission server device that transmits earthquake alerts from the Japan Meteorological Agency or the like.
[0049] When determining that an event has occurred, the identifying unit 28B identifies communication data including event sensor data, which is sensor data of the measurement result of the event, as event communication data.
[0050] For example, the identifying unit 28B identifies, as the event communication data, the communication data received earliest after the timing at which it is determined that an event has occurred, among the communication data sequentially received at predetermined time intervals from the communication device 10. Specifically, the identifying unit 28B identifies, as the event communication data of each of the plurality of communication devices 10, the communication data received first from each of the plurality of communication devices 10 after it is determined that an event has occurred.
[0051] In addition, the identification unit 28B may identify, for each of the multiple communication devices 10, the communication data received earliest among the communication data received within a predetermined time after determining that an event has occurred, as the event communication data for each of the multiple communication devices 10.
[0052] Through these processes, the identification unit 28B identifies, as event communication data, communication data received at a specific timing among the received communication data for each of at least some of the communication devices 10 included in the communication system 2. As described above, the communication data includes sensor data and time information. In this embodiment, the sensor data included in the communication data identified as event communication data will be described as event sensor data.
[0053] The classification unit 28C classifies the multiple communication devices 10 included in the communication system 2 into one or more groups based on predetermined classification conditions.
[0054] The classification condition is a condition for classifying the multiple communication devices 10 included in the communication system 2 into multiple groups based on similarity in items that may affect the time information discrepancy of the sensor data between the communication devices 10. The classification condition indicates, for example, that at least one of the installation environment information of the communication devices 10 and the sensor-related information regarding the event sensor data included in the event communication data is similar.
[0055] The installation environment information of the communication device 10 being similar means that at least one of the installation location information of the communication device 10, the absolute position information of the communication device 10, the network environment information of the communication device 10, and the relative position information of the communication device 10 with respect to the source of the event is similar.
[0056] FIG. 5A is an explanatory diagram of an example of classification into group G. It is assumed that the classification condition indicates classification into groups in which the installation location information of the communication device 10 is similar. It is also assumed that the installation location information is information indicating the floor on which the communication device 10 is installed in the building 40. It is also assumed that, for example, the communication device 10A, the communication device 10D, and the communication device 10E are installed on the fourth floor of the building 40, and the communication device 10B, the communication device 10C, the communication device 10G, and the communication device 10F are installed on the second floor of the building 40. In this case, the classification unit 28C classifies the communication device 10A, the communication device 10D, and the communication device 10E installed on the fourth floor of the building 40 into one group GC. In addition, the classification unit 28C classifies the communication device 10B, the communication device 10C, the communication device 10G, and the communication device 10F arranged on the second floor of the building 40 into one group GD. The group GC and the group GD are examples of the group G.
[0057] FIG. 5B is an explanatory diagram of an example of classification into group G. Assume that the classification condition indicates classification into groups in which the network environment information of the communication device 10 is similar. In this case, for example, the classification unit 28C classifies the communication device 10A and the other communication devices 10 that directly or indirectly have the communication device 10A as a parent node into one group GA among the multiple communication devices 10 included in the communication system 2, that is, the communication device 10C, the communication device 10E, the communication device 10G, the communication device 10I, the communication device 10L, the communication device 10M, and the communication device 10O. In addition, the classification unit 28C classifies the communication device 10B and the other communication devices 10 that directly or indirectly have the communication device 10B as a parent node into one group GB among the multiple communication devices 10 included in the communication system 2, that is, the communication device 10D, the communication device 10F, the communication device 10J, the communication device 10H, the communication device 10K, the communication device 10N, and the communication device 10P. Groups GA and GB are examples of group G.
[0058] FIG. 5C is an explanatory diagram of an example of classification into groups G. It is assumed that the classification condition indicates classification into groups in which the relative position information of the communication device 10 with respect to the event occurrence source is similar. It is also assumed that the event determined to have occurred by the identification unit 28B is an earthquake. In this case, the classification unit 28C calculates the epicenter distance from the epicenter of each of the multiple communication devices 10 from the latitude and longitude of the epicenter of the earthquake, the depth of the epicenter, and the absolute position information of each of the multiple communication devices 10. The classification unit 28C may acquire information such as the latitude and longitude of the epicenter of the earthquake and the depth of the epicenter from an information processing device such as a mobile terminal or an information distribution device outside the aggregation device 20. Then, the classification unit 28C classifies the multiple communication devices 10 into multiple groups G by classifying the communication devices 10 into groups in which the difference in the epicenter distance calculated for each of the multiple communication devices 10 is within a threshold value.
[0059] Furthermore, the classification unit 28C may multiply the epicenter distance calculated for each of the multiple communication devices 10 by the velocity of the seismic wave to calculate the time of earthquake arrival at each communication device 10. For example, the classification unit 28C may obtain the velocity of the seismic wave by reading information indicating the velocity of the seismic wave stored in advance in the storage unit 26, or may obtain from the UI unit 24 information indicating the velocity of the seismic wave input by an operation instruction of the UI unit 24 by an administrator or the like.
[0060] Then, the classification unit 28C may classify the multiple communication devices 10 into multiple groups G by classifying the multiple communication devices 10 into groups G of communication devices 10 whose earthquake arrival times differ by within a predetermined time difference.
[0061] In addition, it is assumed that the classification condition indicates that the event sensor data included in the event communication data is classified into groups of similar sensor-related information. The sensor-related information is information including at least one of a cross-correlation function of the event sensor data and analysis result information of the event sensor data.
[0062] In this case, the classification unit 28C may classify the multiple communication devices 10 into multiple groups G by classifying the multiple communication devices 10 into groups in which the cross-correlation function of the sensor waveforms of the event sensor data included in the event communication data of each of the multiple communication devices 10 or the difference in time at which the cross-correlation function value is highest falls within a predetermined range. The classification unit 28C may also classify the multiple communication devices 10 into multiple groups G by classifying the multiple communication devices 10 into groups in which analysis result information obtained by analyzing the event sensor data by machine learning is similar. A known machine learning algorithm may be used for the machine learning.
[0063] The classification unit 28C may classify the multiple communication devices 10 included in the communication system 2 into one or multiple groups G, and may classify all of the multiple communication devices 10 included in the communication system 2 into one group G depending on classification conditions, etc. In other words, the classification unit 28C may be in a form that does not classify the multiple communication devices 10 included in the communication system 2 into multiple groups G.
[0064] Returning to FIG. 3, the explanation will be continued.
[0065] The setting unit 28D sets a reference communication device that serves as a reference among the multiple communication devices 10.
[0066] The setting unit 28D sets one reference communication device, which serves as a reference, from among the multiple communication devices 10 belonging to group G for each group G classified by the classification unit 28C.
[0067] For example, the setting unit 28D sets the communication device 10 having the smallest synchronization error with the aggregation device 20 as the reference communication device among the multiple communication devices 10 belonging to group G. For example, the setting unit 28D sets the communication device 10 having the smallest number of hops as the reference communication device among the multiple communication devices 10 belonging to group G. Also, for example, the setting unit 28D may set the communication device 10 having the smallest number of communication failures as the reference communication device. Also, the setting unit 28D may set the communication device 10 having the smallest number of hops and the smallest number of communication failures as the reference communication device.
[0068] Furthermore, depending on the type of event, the setting unit 28D may set, as the reference communication device, a communication device 10 that is installed in an installation environment with the smallest environmental fluctuation in response to the event that has occurred, among the multiple communication devices 10 that belong to group G.
[0069] Moreover, the aggregation device 20 may also be configured to be equipped with a sensor, and the setting unit 28D may set the aggregation device 20 as a reference communication device. Moreover, the setting unit 28D may set one of the reference communication devices set for each group G as one reference communication device for the entire communication system 2.
[0070] The calculation unit 28E calculates the amount of time delay between the multiple communication devices 10 based on the event sensor data and time information included in the event communication data of each of the multiple communication devices 10.
[0071] In particular, the calculation unit 28E calculates the amount of delay between the multiple communication devices 10 belonging to the group G for each of one or more groups G classified by the classification unit 28C.
[0072] For example, the calculation unit 28E calculates the delay amount as the time difference between reference time information, which is time information contained in the event communication data received from the reference communication device set by the setting unit 28D, and time information contained in the event communication data received from each of the multiple communication devices 10.
[0073] Specifically, for each group G classified by the classification unit 28C, the calculation unit 28E calculates the time difference between reference time information, which is the time information contained in the event communication data of a reference communication device set for the group G, and the time information contained in the event communication data of each of the multiple communication devices 10 belonging to the group G, as the time delay amount for each of the multiple communication devices 10.
[0074] For example, the calculation unit 28E calculates the delay amount using a sensor waveform such as acceleration waveform data that indicates the relationship between the time represented by the event sensor data and the time information and the sensor strength. In detail, the calculation unit 28E calculates the time difference of the timing at which the waveform shapes of the sensor waveform of the reference communication device and the sensor waveform of the communication device 10 match as the delay amount. Specifically, for example, the calculation unit 28E calculates the delay amount using a cross-correlation function.
[0075] 6 is an explanatory diagram of an example of calculation of the delay amount D. For example, a case will be described in which the communication device 10A is set as a reference communication device and the delay amount D of the communication device 10B is calculated. For example, a case will be assumed in which the sensor waveform 50 representing the relationship between the time and the sensor intensity represented by the event sensor data and the reference time information included in the event communication data received from the communication device 10A, which is the reference communication device, is the reference sensor waveform 50A. Also, a case will be assumed in which the sensor waveform 50 representing the relationship between the time and the sensor intensity represented by the event sensor data and the time information included in the event communication data received from the communication device 10G is the sensor waveform 50G.
[0076] In this case, calculation unit 28E calculates cross-correlation function 52 between reference sensor waveform 50A and sensor waveform 50G. Then, calculation unit 28E calculates time difference Td, which is the period from the time when cross-correlation function 52 has the highest value to the starting point of reference sensor waveform 50A, as the amount of time delay D of communication device 10G relative to communication device 10A, which is the reference communication device.
[0077] Calculation section 28E may calculate the time difference between the time of the peak of reference sensor waveform 50A and the time of the peak of sensor waveform 50G as the amount of time delay D of communication device 10G relative to communication device 10A, which is the reference communication device.
[0078] Similarly, for each group G classified by the classification unit 28C, the calculation unit 28E calculates the time difference Td between the reference time information, which is the time information contained in the event communication data of the reference communication device set for each group G, and the time information contained in the event communication data of each of the multiple communication devices 10 belonging to the group G, as the time delay amount D of each of the multiple communication devices 10.
[0079] By calculating the time delay amount D of each of the other communication devices 10 belonging to the group G with respect to the reference communication device set for each group G, the calculation unit 28E can calculate the time delay amount D of each of the multiple communication devices 10 for each group G in which at least one of the installation environment information and the sensor-related information is similar. In other words, by calculating the time delay amount D of each of the multiple communication devices 10 for each group G, the calculation unit 28E can calculate a highly accurate delay amount D with less error.
[0080] As described above, the setting unit 28D may set one of the reference communication devices set for each group G as a single reference communication device for the entire communication system 2. Also, as described above, when the multiple communication devices 10 included in the communication system 2 are not classified into multiple groups G, one reference communication device is set for the entire communication system 2.
[0081] In this case, the calculation unit 28E may calculate the time delay amount D of each of the other communication devices 10 relative to a single reference communication device set for the entire communication system 2 in the same manner as described above.
[0082] By calculating the amount of time delay D of each of the multiple communication devices 10 included in the communication system 2 relative to a single reference communication device set for the entire communication system 2, the calculation unit 28E can calculate the amount of delay D for each of the multiple communication devices 10 to align the time across the entire communication system 2.
[0083] The calculation unit 28E may calculate the time delay amount D for the aggregation device 20 by using the number of hops of the communication device 10.
[0084] Fig. 7 is an explanatory diagram of an example of calculation of delay amount D. For example, a case will be described in which the time delay amount D for each aggregation device 20 of all communication devices 10 included in a communication system 2 is calculated. Fig. 7 shows, as an example, a communication device 10G with a hop count of 3, a communication device 10E with a hop count of 2, and a communication device 10A with a hop count of 1.
[0085] In this case, the calculation unit 28E calculates the time difference Td between the time information included in the event communication data for each of the multiple communication devices 10 included in the communication system 2. Then, the setting unit 28D calculates the time difference Td / H per hop by dividing the time difference Td calculated for each of the multiple communication devices 10 by the difference in the number of hops between the communication devices 10. As described above, the calculation of the time difference Td may use the period from the time when the cross-correlation function is highest to the time of the starting point of one of the sensor waveforms, the difference between the peaks of the sensor waveforms 50, or the like.
[0086] For example, a description will be given of the communication devices 10 between the communication device 10A and the communication device 10G. In this case, the calculation unit 28E divides the time difference Td between the time information included in the event communication data of the communication device 10A and the time information included in the event communication data of the communication device 10B by "2", which is the difference in the number of hops between the communication device 10A and the communication device 10G. Through this calculation, the calculation unit 28E calculates the time difference Td / H per hop between the communication devices 10A and 10G.
[0087] Then, the calculation unit 28E similarly generates a plurality of pairs of two communication devices 10 with different combinations for the plurality of communication devices 10 included in the communication system 2. Then, the calculation unit 28E calculates the time difference Td / H per hop for each of the plurality of generated pairs in the same manner as described above.
[0088] Then, the calculation unit 28E calculates the average value of the time difference Td / H per hop calculated for each of the generated pairs as the average time difference Tad / H per hop for the entire communication system 2.
[0089] Then, the calculation unit 28E calculates, for each of the multiple communication devices 10 included in the communication system 2, the multiplication result obtained by multiplying the average time difference per hop Tad / H by the number of hops of the communication device 10 as the time delay amount D for each of the multiple communication devices 10.
[0090] In this manner, the calculation unit 28E may calculate the time delay amount D for each of the multiple communication devices 10 with respect to the aggregation device 20. In this case, even if the identification unit 28B cannot identify the event communication data for some of the multiple communication devices 10, the calculation unit 28E can calculate the time delay amount D for each of the aggregation device 20 for all of the communication devices 10 included in the communication system 2.
[0091] In addition, the calculation unit 28E may calculate, for each group G classified by the classification unit 28C, the time delay amount D for each of the multiple communication devices 10 relative to the aggregation device 20 in the same manner as described above, using the number of hops of each of the multiple communication devices 10 belonging to the group G.
[0092] Returning to Fig. 3, the description will be continued. The calculation unit 28E registers the amount of delay D calculated for each of the plurality of communication devices 10 in the amount of delay DB 26B.
[0093] 8 is a schematic diagram showing an example of the data configuration of the delay amount DB 26B. The delay amount DB 26B is a database in which, for example, a node ID is associated with an amount of delay D. The data format of the delay amount DB 26B is not limited to a database.
[0094] Each time a new event occurs and the calculation unit 28E calculates a new delay amount D for each of the multiple communication devices 10, the calculation unit 28E registers the calculated delay amount D in the delay amount DB 26B in association with the node ID of the communication device 10 corresponding to the delay amount D.
[0095] The calculation unit 28E may sequentially store the delay amount D, which is sequentially calculated each time an event occurs, in association with the node ID for each of the multiple communication devices 10. Then, each time the calculation unit 28E calculates a new delay amount D, the calculation unit 28E may register the average value of the delay amount D and the previously calculated delay amount D for each of the multiple communication devices 10 as the latest delay amount D in the delay amount DB 26B.
[0096] Furthermore, the calculation unit 28E may weight the delay amount D calculated sequentially for each event for each of the multiple communication devices 10 according to the content of the event, and register the average value in the delay amount DB 26B as the latest delay amount D. In this case, for example, in the case of an earthquake, the calculation unit 28E may assign a larger weighting value to the greater the seismic intensity, or the delay amount obtained when the number of hops of the communication device 10 is smaller may be assigned a larger weighting value.
[0097] Returning to FIG. 3, the explanation will be continued.
[0098] The correction unit 28F corrects the time information of the sensor data based on the amount of delay D.
[0099] The correction unit 28F corrects the time information included in the communication data received from each of the multiple communication devices 10 to a time that offsets the amount of delay D calculated for each of the multiple communication devices 10.
[0100] The following description will be given with reference to Fig. 6. For example, it is assumed that communication device 10A is set as a reference communication device, and a time delay D of communication device 10B relative to communication device 10A is calculated. In this case, correction unit 28F corrects the time information according to delay D so that the start time of sensor waveform 50G included in communication data received from communication device 10G becomes the start time of reference sensor waveform 50A.
[0101] That is, the correction unit 28F corrects the time represented by the time information included in the communication data received from each of the multiple communication devices 10 to a time shifted by an amount of time equivalent to the delay amount D so as to offset the delay amount D of each of the multiple communication devices 10.
[0102] Then, the correction unit 28F registers the communication data including the corrected time information in the communication data DB 26A. Therefore, the communication data with the corrected time information is registered in the communication data DB 26A. When the communication data is registered in the communication data DB 26A by the transmission / reception unit 28A, the correction unit 28F may update the time information included in the corresponding communication data in the communication data DB 26A to the corrected time information.
[0103] By correcting the time information by the correction unit 28F, the time information contained in the communication data received from each of the multiple communication devices 10 is corrected using the time measured by a clock function installed in the communication device 10 set as the reference communication device or the aggregation device 20.
[0104] Therefore, the difference in time information between the communication devices 10 connected to the network of the communication system 2 can be easily corrected.
[0105] Next, an example of the flow of information processing executed by the aggregation device 20 of this embodiment will be described.
[0106] FIG. 9 is a flowchart showing an example of the flow of information processing executed by the aggregation device 20 of the present embodiment.
[0107] The identifying unit 28B determines whether or not events have occurred simultaneously within the network of the communication system 2 (Step S100). If the determination in Step S100 is affirmative (Step S100: Yes), the process proceeds to Step S102.
[0108] In step S102, the transceiver 28A receives communication data from each of the multiple communication devices 10 (step S102).
[0109] The identifying unit 28B identifies the communication data received in step S102 as event communication data (step S104).
[0110] The classification unit 28C classifies the multiple communication devices 10 included in the communication system 2 into one or more groups G based on predetermined classification conditions (step S106). As described above, the classification unit 28C classifies the multiple communication devices 10 included in the communication system 2 into one or more groups G for each group in which at least one of the installation location information of the communication devices 10, the absolute position information of the communication devices 10, the network environment information of the communication devices 10, and the relative position information of the communication devices 10 with respect to the event occurrence source is similar.
[0111] The setting unit 28D sets a reference communication device that serves as a reference from among the multiple communication devices 10 or aggregation devices 20 (step S108). For example, the setting unit 28D sets one reference communication device for each group G classified in step S106.
[0112] The calculation unit 28E calculates the amount of time delay D of each of the multiple communication devices 10 relative to the reference communication device, from the event sensor data and time information included in the event communication data of each of the multiple communication devices 10 identified in step S104 (step S110).
[0113] The calculation unit 28E stores the delay amount D calculated for each of the multiple communication devices 10 in step S110 in the delay amount DB 26B in association with the node ID of the communication device 10 (step S112).
[0114] The correction unit 28F corrects the time information of the sensor data based on the delay amount D (step S114). The correction unit 28F corrects the time information of the sensor data included in the communication data received from each of the multiple communication devices 10 in step S102, using the delay amount D corresponding to the node ID of the communication device 10 in the delay amount DB 26B. Then, the process proceeds to step S118.
[0115] On the other hand, if a negative determination is made in step S100 (step S100: No), the process proceeds to step S116. In step S116, the transmitting / receiving unit 28A receives communication data from each of the multiple communication devices 10 (step S116). Then, the process proceeds to step S114. In step S114, the correction unit 28F corrects the time information of the sensor data included in the communication data received from each of the multiple communication devices 10 in step S116, using the delay amount D corresponding to the node ID of each communication device 10 in the delay amount DB 26B. Then, the process proceeds to step S118.
[0116] In step S118, the control unit 28 judges whether or not to end this information processing (step S118). If the judgment in step S118 is negative, the process returns to step 100. If the judgment in step S118 is positive (step S118: Yes), the process ends this routine.
[0117] As described above, the aggregation device 20 of the present embodiment includes a transmission / reception unit 28A, a determination unit 28B, a calculation unit 28E, and a correction unit 28F. The transmission / reception unit 28A receives communication data including sensor data, which is a measurement result by a sensor mounted on each of the communication devices 10, and time information, which is a measurement time of the sensor data, from each of the communication devices 10 connected to the network. The determination unit 28B determines, as event communication data, communication data including event sensor data, which is sensor data of an event that occurred simultaneously in the network. The calculation unit 28E calculates a time delay amount D between the communication devices 10 based on the event sensor data and time information included in the event communication data of each of the communication devices 10. The correction unit 28F corrects the time information of the sensor data included in the communication data based on the delay amount D.
[0118] Here, in the conventional system for aggregating sensor data, there were cases where deviations occurred in the time information of the sensor data due to individual differences in the communication devices, transmission delays, communication frequency, synchronization errors according to the number of relays, and the like. Therefore, in the conventional technology, a system in which a GPS is mounted on each of a plurality of communication devices is known. However, when a configuration in which a GPS is mounted on each of a plurality of communication devices is used, there were cases where the device became larger, more complicated, and the power saving performance was reduced. In addition, in the conventional technology, a configuration is disclosed in which an error is calculated from the reception time of a sensing start signal received from an aggregation device, and corrected time information corrected according to the error is transmitted from the communication device to the aggregation device. However, in the conventional technology, the transmission delay between the aggregation device and the communication device is not taken into consideration, and there were cases where the deviation in the time information was not eliminated. In other words, in the conventional technology, it was difficult to easily reduce the deviation in the time information between communication devices connected to a network.
[0119] On the other hand, the aggregation device 20 of this embodiment identifies event communication data including event sensor data that is a measurement result of events that occurred simultaneously within the network of the communication system 2, and calculates the amount of time delay D between the multiple communication devices 10 based on the event sensor data and time information included in the event communication data of each of the multiple communication devices 10. Then, the communication device 10 of this embodiment corrects the time information of the sensor data included in the communication data received from each of the multiple communication devices 10 using the amount of delay D calculated for each of the multiple communication devices 10.
[0120] In this way, the aggregation device 20 of this embodiment corrects the time information contained in the communication data received from each of the multiple communication devices 10 included in the communication system 2, using event communication data including event sensor data, which is the measurement result of events that occurred simultaneously within the network of the communication system 2.
[0121] Therefore, the aggregation device 20 of the present embodiment can easily correct the deviation of the time information of the communication device 10 with a simple configuration.
[0122] Therefore, the aggregation device 20 of this embodiment can easily reduce the discrepancy in time information between the communication devices 10 connected to the network.
[0123] In addition, the aggregation device 20 of this embodiment can easily correct the discrepancy in the time information of the sensor data by using event communication data, even in an environment where the time error between the communication devices 10 increases depending on individual differences in the clocks of the communication devices 10, transmission delays, communication frequency, and the number of relays.
[0124] Next, a description will be given of an example of a hardware configuration of the communication device 10 and the aggregation device 20 of the present embodiment. Fig. 10 is a diagram showing an example of a hardware configuration of the communication device 10 and the aggregation device 20 of the present embodiment.
[0125] The communication device 10 and aggregation device 20 of this embodiment are equipped with a control device such as a CPU 86, storage devices such as a ROM (Read Only Memory) 88, a RAM (Random Access Memory) 90, and a HDD (Hard Disk Drive) 92, an I / F unit 82 which interfaces with various devices such as communication devices, an output unit 80 which outputs various information, an input unit 94 which accepts operations by the user, and a bus 96 which connects each unit, and have a hardware configuration that utilizes a conventional computer.
[0126] In the communication device 10 and the aggregation device 20 of this embodiment, the CPU 86 reads a program from the ROM 88 onto the RAM 90 and executes it, thereby realizing each of the above-mentioned units on the computer.
[0127] The programs for executing the above-mentioned processes executed by the communication device 10 and the aggregation device 20 of the present embodiment may be stored in the HDD 92. The programs for executing the above-mentioned processes executed by the communication device 10 and the aggregation device 20 of the present embodiment may be provided by being pre-installed in the ROM 88.
[0128] In addition, the program for executing the above-mentioned processing executed by the communication device 10 and the aggregation device 20 of this embodiment may be stored in a computer-readable storage medium such as a CD-ROM, CD-R, memory card, DVD (Digital Versatile Disk), or flexible disk (FD) in an installable or executable format file and provided as a computer program product. In addition, the program for executing the above-mentioned processing executed by the communication device 10 and the aggregation device 20 of this embodiment may be stored on a computer connected to a network such as the Internet and provided by downloading it via the network. In addition, the program for executing the above-mentioned processing executed by the communication device 10 and the aggregation device 20 of this embodiment may be provided or distributed via a network such as the Internet.
[0129] Although the embodiment and the modified examples of the present invention have been described above, the above-mentioned embodiment and the modified examples are presented as examples and are not intended to limit the scope of the invention. This novel embodiment can be embodied in various other forms, and various omissions, substitutions, and modifications can be made without departing from the gist of the invention. This embodiment and its modified examples are included in the scope and gist of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0130] 1. Information Processing Systems 2. Communication Systems 10. Communications Equipment 20 Aggregation Device 28A Transmitter / Receiver 28B Specific part 28C Classification Department 28D Setting section 28E Calculation part 28F correction section
Claims
1. a transmitting / receiving unit that receives communication data from each of a plurality of communication devices connected to a network, the communication data including sensor data that is a measurement result by a sensor mounted in each of the plurality of communication devices and time information that is a measurement time of the sensor data; an identification unit that identifies the communication data including event sensor data, which is the sensor data of events that have occurred simultaneously within the network, as event communication data; a calculation unit that calculates a time delay amount between the plurality of communication devices based on the event sensor data and the time information included in the event communication data of each of the plurality of communication devices; a correction unit that corrects the time information of the sensor data included in the communication data based on the delay amount; Equipped with the network is a multi-hop network; the communication data includes a hop count of the communication device that is a source of the communication data; The calculation unit is calculating a time difference per hop between each of the plurality of communication devices by dividing a time difference of the time information included in the event communication data by a difference in the number of hops between the communication devices; calculating an average time difference per hop in the multi-hop network from the time difference per hop calculated for each of the plurality of communication devices; multiplying the number of hops of each of the plurality of communication devices by the average time difference to calculate the multiplication result as the amount of delay of each of the plurality of communication devices; Information processing device.
2. A classification unit that classifies the plurality of communication devices into one or more groups based on predetermined classification conditions; Equipped with The calculation unit is calculating, for each of the plurality of groups, the amount of delay between the plurality of communication devices belonging to the group; The classification conditions are: At least one of installation environment information of the communication device and sensor related information regarding the event sensor data included in the event communication data is similar; The sensor-related information includes: At least one of a cross-correlation function of the event sensor data and analysis result information of the event sensor data is included. The information processing device according to claim 1 .
3. a receiving step of receiving communication data from each of a plurality of communication devices connected to the network, the communication data including sensor data that is a measurement result by a sensor mounted in each of the plurality of communication devices and time information that is a measurement time of the sensor data; identifying the communication data including event sensor data, which is the sensor data of events that have occurred simultaneously in the network, as event communication data; a calculation step of calculating a time delay amount between the plurality of communication devices based on the event sensor data and the time information included in the event communication data of each of the plurality of communication devices; a correction step of correcting the time information of the sensor data included in the communication data based on the delay amount; Including, the network is a multi-hop network; the communication data includes a hop count of the communication device that is a source of the communication data; The calculation step includes: calculating a time difference per hop between each of the plurality of communication devices by dividing a time difference of the time information included in the event communication data by a difference in the number of hops between the communication devices; calculating an average time difference per hop in the multi-hop network from the time difference per hop calculated for each of the plurality of communication devices; multiplying the number of hops of each of the plurality of communication devices by the average time difference to calculate the multiplication result as the amount of delay of each of the plurality of communication devices; Information processing methods.
4. a receiving step of receiving communication data from each of a plurality of communication devices connected to the network, the communication data including sensor data that is a measurement result by a sensor mounted in each of the plurality of communication devices and time information that is a measurement time of the sensor data; identifying the communication data including event sensor data, which is the sensor data of events that have occurred simultaneously in the network, as event communication data; a calculation step of calculating a time delay amount between the plurality of communication devices based on the event sensor data and the time information included in the event communication data of each of the plurality of communication devices; a correction step of correcting the time information of the sensor data included in the communication data based on the delay amount; An information processing program for causing a computer to execute the the network is a multi-hop network; the communication data includes a hop count of the communication device that is a source of the communication data; The calculation step includes: calculating a time difference per hop between each of the plurality of communication devices by dividing a time difference of the time information included in the event communication data by a difference in the number of hops between the communication devices; calculating an average time difference per hop in the multi-hop network from the time difference per hop calculated for each of the plurality of communication devices; multiplying the number of hops of each of the plurality of communication devices by the average time difference to calculate a multiplication result as the amount of delay of each of the plurality of communication devices; Information processing program.
5. An information processing system including a plurality of communication devices connected to a network and an information processing device connected to the network, The information processing device includes: a transmitting / receiving unit that receives communication data from each of the plurality of communication devices, the communication data including sensor data that is a measurement result by a sensor mounted in each of the plurality of communication devices and time information that is a measurement time of the sensor data; an identification unit that identifies the communication data including event sensor data, which is the sensor data of events that have occurred simultaneously within the network, as event communication data; a calculation unit that calculates a time delay amount between the plurality of communication devices based on the event sensor data and the time information included in the event communication data of each of the plurality of communication devices; a correction unit that corrects the time information of the sensor data included in the communication data based on the delay amount; Equipped with the network is a multi-hop network; the communication data includes a hop count of the communication device that is a source of the communication data; The calculation unit is calculating a time difference per hop between each of the plurality of communication devices by dividing a time difference of the time information included in the event communication data by a difference in the number of hops between the communication devices; calculating an average time difference per hop in the multi-hop network from the time difference per hop calculated for each of the plurality of communication devices; multiplying the number of hops of each of the plurality of communication devices by the average time difference to calculate a multiplication result as the amount of delay of each of the plurality of communication devices; Information processing system.
Citation Information
Patent Citations
Environmental monitoring system
JP2012098901A
Measurement time correction system and measurement time correction method
JP2016080621A
Information processing device, information processing method and program
JP2021131818A
Monitoring system and synchronization method
WO2020149103A1
