System, method, device and program for collecting data
The system addresses the challenge of tracking IoT devices across base stations by using pseudo MAC addresses and network connection information to manage terminal movements, ensuring reliable data collection without altering existing protocols.
Patent Information
- Application Number
- JP2023529410
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-06-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-06-25
AI Technical Summary
Conventional IoT data collection systems face difficulties in tracking terminals across base stations due to the randomization of MAC addresses, which complicates continuous terminal management.
A system that utilizes a low-layer communication protocol to collect sensor data and metadata using pseudo MAC addresses or network connection information, enabling terminal identification without relying on true MAC addresses, and maintains a history of terminal identification information to track terminal movements across base stations.
Enables effective management of terminals across base stations even when MAC addresses are randomized, maintaining terminal movement histories and ensuring reliable data collection without requiring protocol changes.
Smart Images

Figure 0007574930000001 
Figure 0007574930000002 
Figure 0007574930000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to communication technologies for the Internet of Things (IoT). [Background technology]
[0002] In an IoT data collection system that uses a wireless LAN system, the MAC (Media Access Control) address, metadata, and sensor data are sent to a higher-level server to identify the terminal, and the metadata and sensor data are linked to the terminal.
[0003] In conventional wireless LAN systems, the MAC address transmitted as terminal identification information is generally unique to the terminal, and it was assumed that there are no more than one. However, in recent years, with the rise in security awareness, it has become an issue that terminals can be uniquely identified by capturing a Probe Request, so functions to randomize MAC addresses have been implemented and are being used in many terminals (Android, iOS, etc.).
[0004] In Non-Patent Documents 1 and 2, a device information storage processing unit is provided, and the MAC address, metadata, and sensor data are sent to a higher-level server for terminal identification, and the terminal is linked to the metadata and sensor data. However, if the MAC address is randomized, for example, when the terminal changes the connection destination base station due to movement or taking out of the terminal, it is not possible to track the terminal across base stations, making continuous terminal management difficult. [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] Evaluation of Terminal Load and Power Consumption in Wireless LAN Metadata Collection Method for Improving IoT Data Reliability, Ryota Shiina, Shinya Tamaki, Tetsuya Suzuki, Yasutaka Kimura, Tomohiro Taniguchi, IEICE General University, B-8-11, March 2021 [Non-Patent Document 2] An example of application of a low-layer metadata collection method to a management system for logical / physical configuration consistency of IoT devices, Shinya Tamaki, Ryota Shiina, Tetsuya Suzuki, Yasutaka Kimura, Sei Huang, Tomoya Hadano, Takashi Yamada and Tomohiro Taniguchi, IEICE General University, B-8-12, March 2021 Summary of the Invention [Problem to be solved by the invention]
[0006] An object of the present disclosure is to enable tracking of terminals across base stations even when MAC addresses are randomized. [Means for solving the problem]
[0007] This disclosure utilizes low-layer communication protocols to collect sensor data and metadata while identifying terminals without using true MAC addresses that can uniquely identify terminals. Terminals, base stations, and management servers work together to identify terminals from pseudo MAC addresses generated by the terminals and network connection information between the terminals and base stations. Depending on the type of metadata collected, terminal identification may be performed using only metadata. These make it possible to estimate the origin of a terminal's movement and create a terminal movement history.
[0008] Specifically, the system of the present disclosure comprises: A system for collecting information to be collected from a terminal to a data collection unit using a standardized wireless communication protocol, The terminal includes: A history of terminal identification information for identifying the own device is maintained; storing at least one of the terminal identification information held in the history of the terminal identification information and metadata other than the information to be collected in an extension area of a control system frame defined by the wireless communication protocol, and transmitting the control system frame to the data collection unit; The data collection unit includes: A history of the terminal identification information is stored for each terminal; When the control frame is received, the terminal identification information and the metadata are read from the control frame; A terminal that matches the terminal identification information stored in the control system frame is identified from the history of the terminal identification information held, and the metadata stored in the control system frame is linked to the information to be collected of the identified terminal.
[0009] Specifically, the method of the present disclosure comprises: A method executed by a system that collects information to be collected from a terminal to a data collector using a standardized wireless communication protocol, comprising: The terminal stores a history of terminal identification information for identifying the terminal itself; The data collection unit holds a history of the terminal identification information for each of the terminals, the terminal stores at least one of the terminal identification information stored in the history of the terminal identification information and metadata other than the information to be collected in an extension area of a control system frame defined by the wireless communication protocol, and transmits the control system frame to the data collection unit; The data collection unit includes: When the control frame is received, the terminal identification information and the metadata are read from the control frame; A terminal that matches the terminal identification information stored in the control system frame is identified from the history of the terminal identification information held, and the metadata stored in the control system frame is linked to the information to be collected of the identified terminal.
[0010] Specifically, the device of the present disclosure comprises: A device that functions as a data collector in a system that collects information to be collected from a terminal to a data collector using a standardized wireless communication protocol, A history of terminal identification information for identifying the terminal is stored for each terminal; When a control frame defined by the wireless communication protocol is received, the at least one terminal identification information stored in the history of the terminal identification information and metadata other than the information to be collected are read from the control frame; A terminal that matches the terminal identification information stored in the control system frame is identified from the history of the terminal identification information held, and the metadata stored in the control system frame is linked to the information to be collected of the identified terminal.
[0011] Specifically, the program of the present disclosure is a program for realizing each functional unit of an apparatus related to the present disclosure, and is a program for causing a computer to execute each step of a communication method performed by an apparatus related to the present disclosure. Effect of the Invention
[0012] In an IoT data collection system, by creating a terminal movement history from pseudo MAC addresses and network connection information between the terminal and base station in addition to metadata, and using this history for management, it is possible to manage terminals across base stations without modifying the protocol, even when MAC addresses are randomized. [Brief description of the drawings]
[0013] [Figure 1] 1 shows an example of a data collection system configuration. [Diagram 2] 1 illustrates an example configuration of a system according to the present disclosure. [Diagram 3] 1 illustrates an example configuration of a system according to the present disclosure. [Figure 4] 13 shows an example of an operation performed when a terminal connects to a wireless base station. [Diagram 5] 1 illustrates an example configuration of a system according to the present disclosure. [Figure 6] 2 illustrates a configuration example of a terminal according to the present disclosure. [Figure 7] 13 is an example for explaining an area for storing metadata. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the drawings. Note that the present disclosure is not limited to the embodiments shown below. These implementation examples are merely illustrative, and the present disclosure can be implemented in various forms with various modifications and improvements based on the knowledge of those skilled in the art. Note that components with the same reference numerals in this specification and drawings are assumed to indicate the same components.
[0015] (Data Acquisition System) An example of the configuration of a data collection system is shown in Fig. 1. In the data collection system, a terminal 11 is connected to a management server 13 via a communication network 14.
[0016] The terminal 11 transmits information to be collected, metadata, and terminal identification information to the management server 13 functioning as a data collector. The information to be collected is, for example, sensor data acquired from the sensor 20. The metadata is data acquired by the terminal 11, and includes any information other than the sensor data. The terminal identification information is any information capable of identifying the terminal 11, such as a MAC address.
[0017] Sensor data is transmitted using a data frame defined by a standardized protocol. The data frame contains a MAC address, which is terminal identification information. On the other hand, metadata other than sensor data is transmitted using a control frame defined by a standardized wireless communication protocol. The control frame also contains a MAC address, which is terminal identification information.
[0018] Here, the data frame defined by the standardized protocol is, for example, a TCP / IP data frame. The control frame is, for example, a probe request defined by Wi-Fi (IEEE802.11). The probe request is a layer 2 signal, and is transmitted and received between the terminal 11 and the wireless base stations 12#A and 12#B before TCP / IP data communication for transmitting sensor data is established. Therefore, the management server 13 can obtain information sent in the probe request before TCP / IP data communication is established, and can use the information sent in the probe request for, for example, setting an IP address.
[0019] The management server 13 reads the sensor data and the terminal identification information from the data frame, and links the sensor data to the terminal identification information. The management server 13 reads the metadata and the terminal identification information from the control frame, and links the metadata to the terminal identification information. The sensor data and metadata are linked to the terminal identification information. This enables the management server 13 to link the metadata and sensor data to the terminal 11.
[0020] If the terminal identification information is concealed and the MAC address changes from A0:B2:D5:7F:81:B3 to D0:C2:D5:9F:10:C5, the terminal 11 at the wireless base station 12#A will disappear from the database of the management server 13, and it will appear as if a new terminal 11 has been installed at the wireless base station 12#B. This makes it difficult for the management server 13 to manage the terminal 11.
[0021] In the present disclosure, the terminal 11, wireless base stations 12#A and 12#B, and management server 13 cooperate with each other to identify the terminal 11 based on not only the MAC address transmitted from the terminal 11 as terminal identification information, but also on network connection information between the terminal 11 and the wireless base stations 12#A and 12#B. Furthermore, depending on the type of metadata to be collected, the terminal 11 is identified only by the metadata. This makes it possible to manage the terminal 11 across the wireless base stations 12#A and 12#B without modifying the protocol, even when the MAC address is randomized.
[0022] The "information to be collected" in the present disclosure can be any information that can be acquired by terminal 11, such as any device information provided on terminal 11, but as an example, an example of sensor data acquired by sensor 20 will be described below.
[0023] (First embodiment) The system of this embodiment will be described with reference to Fig. 2. In this embodiment, the terminal 11 is managed using a pseudo MAC address as terminal identification information. The terminal 11 includes a pseudo MAC address history table in addition to the sensor 20. The terminal 11 transmits sensor data, metadata, and a pseudo MAC address to the management server 13. The wireless base station 12#A transmits the number of connected terminals, the connected terminal MAC address (pseudo), the connection start time, and the connection cutoff time to the management server 13 as connected terminal information.
[0024] The management server 13 associates the sensor data and metadata with the terminal 11. In addition, the management server 13 manages a pseudo MAC address history table and a terminal movement history for each individual terminal 11. The pseudo MAC address history table associates the terminal identification information with the history of the pseudo MAC address to manage the terminal 11. The terminal movement history is updated for each individual terminal 11.
[0025] When terminal 11 moves to another base station, terminal 11 transmits a part of the information of the pseudo MAC address history table to management server 13 in a probe request frame, which is a type of control frame. That is, terminal 11 does not transmit a real MAC address, but transmits a past pseudo MAC address to management server 13. This control frame may or may not contain metadata. Wireless base station 12#B transmits the past pseudo MAC address to management server 13 as the connection terminal information of terminal 11.
[0026] The management server 13 matches the pseudo MAC address transmitted as the terminal identification information with the connected terminal information, identifies the past wireless base station 12#A and terminal identification information, and updates the terminal movement history for each individual terminal 11. This makes it possible to manage the terminal 11 even when the pseudo MAC address is used as the terminal identification information.
[0027] Second embodiment The system of this embodiment will be described with reference to Fig. 3. In this embodiment, the terminal 11 is managed using network connection information between the terminal 11 and the wireless base station 12 as terminal identification information. Hereinafter, the network may be referred to as (NW). The terminal 11 includes NW connection information in addition to the sensor 20. The terminal 11 transmits the sensor data, metadata, and NW connection information to the management server 13. The NW connection information is any information used by the terminal 11 for wireless communication, and includes, for example, at least one of the destination base station MAC address, connection start time, connection disconnection time, and channel / frequency / transmitted / received signal power. The wireless base station 12#A transmits, as connected terminal information, the number of terminal connections, the MAC address (pseudo) of the connected terminal, connection start time, connection disconnection time, as well as NW connection information such as channel / frequency / transmitted / received signal power to the management server 13.
[0028] The management server 13 associates the sensor data and metadata with the terminal 11. In addition, the management server 13 holds a pseudo MAC address history table, a terminal movement history, and connected terminal information.
[0029] When the base station moves, the terminal 11 transmits the NW connection information before the movement to the management server 13 in a probe request, which is a type of control-related frame. This control-related frame may or may not contain metadata. The wireless base station 12#B transmits the NW connection information before the movement to the management server 13 as the connection terminal information of the terminal 11.
[0030] The management server 13 identifies terminal identification information based on the NW connection information it holds and the connected terminal information transmitted from the wireless base station 12#B, and updates the terminal movement history for each individual terminal 11. That is, the management server 13 performs terminal management using the NW connection information between the terminal 11 and the wireless base station 12.
[0031] FIG. 4 shows an example of the operation when the terminal 11 connects to the wireless base station 12 in the first and second embodiments. If the wireless base station 12 of the terminal 11 is not to be moved (Yes in step S11), the metadata is inserted into a control-related frame (S12), and the control-related frame is transmitted (S13). When the wireless base station 12 of the terminal 11 has been moved (No in step S11), the terminal identification information is inserted into the control frame (S15), the metadata is inserted into the control frame (S16), and the control frame is transmitted (S17).
[0032] (Third embodiment) The system of this embodiment will be described with reference to Fig. 5. In this embodiment, the terminal 11 is managed using only metadata. The terminal 11 transmits the sensor data and metadata to the management server 13. The wireless base station 12#A transmits to the management server 13, as connected terminal information, the number of connected terminals, the connection start time, the connection cutoff time, and NW connection information such as channel / frequency / transmitted / received signal power.
[0033] The terminal 11 includes a metadata history table. The metadata history table holds metadata when connected to the wireless base station 12#A as a table. The metadata history is any data collected by the terminal 11, and examples of the data include information on the location, the installer, the environment, and the like.
[0034] The management server 13 associates the sensor data and metadata with the terminal 11. In addition, the management server 13 manages, for each individual terminal 11, connected terminal information (wireless base station) and terminal movement history.
[0035] When the terminal 11 moves to another base station, the terminal 11 transmits at least a part of the past metadata stored in the metadata history to the management server 13. The control frame may or may not contain metadata. The wireless base station 12#B transmits the connection terminal information of the terminal 11 to the management server 13.
[0036] Based on the collected metadata history, the management server 13 identifies terminal identification information from the metadata collected so far on the management server 13, and updates the terminal movement history for each individual terminal 11. In other words, terminal management is performed using only metadata.
[0037] In this embodiment, if the location can be specified as metadata from information such as the location, installer, environment, etc., the pseudo MAC address history table, NW information, etc. may not be transmitted. For example, when the wireless base station 12 moves, if the location can be specified as metadata from information such as the location, installer, environment, etc., the terminal 11 may transmit to the management server 13 at least a part of the metadata when it was connected to the wireless base station 12#A before the movement, without transmitting the pseudo MAC address history table, NW information, etc.
[0038] (Fourth embodiment) 6 shows an example of the configuration of the terminal 11. The terminal 11 includes a wireless transmission / reception processing unit 21, a communication protocol operation processing unit 22, a terminal identification information storage processing unit 23, a various metadata storage processing unit 24, a sensor data storage processing unit 25, a position information detection unit 26, an installer detection unit 27, an environmental information detection unit 28, and a sensor 20.
[0039] The position information detection unit 26 is any means for detecting the position information of the sensor 20, for example, a satellite positioning system including GPS, an acceleration sensor, a gyro, or a received signal strength indicator (RSSI) receiver for a Wi-Fi signal, a BLE beacon signal, or the like.
[0040] The installer detection unit 27 is any means for detecting information about the user of the terminal 11. For example, the following can be given. -Information identifying the installer: Fingerprint sensor, vein sensor, camera (face / iris recognition), microphone (voiceprint detection) Installer status information: The output values (e.g. blood pressure, heart rate, movement speed, speech / conversation) of the sensors worn by the installer are received via communication means.
[0041] The environmental information detection unit 28 acquires information (metadata) other than the sensor data. It may acquire any one of the above or all of the above.
[0042] The terminal identification information storage processing unit 23 stores a pseudo MAC address history table, NW connection information, and the like for identifying the terminal 11. The sensor data storage processing unit 25 stores the sensor data from the sensor 20 .
[0043] The wireless transmission / reception processor 21 transmits and receives data frames and control frames. For example, the wireless transmission / reception processor 21 transmits a control frame in which various metadata are stored in a unique extension area of the control frame. Sensor data is stored in the payload area of the data frame and transmitted. The communication protocol operation processor 22 transmits and receives control frames.
[0044] The various metadata storage processing unit 24 stores data from the position information detection unit 26, the installer detection unit 27, and the environmental information detection unit 28 in a unique extension area of a control frame of a wireless communication protocol. Here, the control frame is a management frame and a control frame other than a data frame if the wireless communication protocol is Wi-Fi (IEEE802.11).
[0045] In the management frame, Beacon frames (frames that announce network information), Probe Request frame (a frame requesting network information), Probe Response frame (response to Probe Request), Association Request frame (a frame requesting a connection), Association Response frame (response to Association Request), Disassociation frame (a frame that disconnects communication), Authentication frame (frame to authenticate the other party), De-Authentication frame (a frame that disconnects (stops authentication)), Action frame (a frame for additional functions in general), Includes:
[0046] In addition, the control frame includes RTS frame (a frame confirming whether data can be sent now), CTS frame (a frame indicating that data is about to be sent), Ack frame (acknowledgement frame that data was received correctly), Block Ack Request frame (a frame requesting a Block Ack), Block Ack frame (a combination of acknowledgment frames for multiple MAC frames), Includes:
[0047] The various metadata storage processing unit 24 may process the data by converting it into a certain short code, dividing it into multiple frames (fragmentation), or otherwise processing it so that it conforms to the format / restrictions of the unique extension area, and then store it. The timing of storage may be such that the data is stored each time it is updated, or the data is stored after it has been accumulated for a certain period of time. The data to be stored may include records (logs), or may store the results of specific calculations / statistical processing. The type and timing of metadata to be stored are not limited to being constant, and may be dynamically changed according to instructions from the terminal 11 side, or the data analysis unit or data collection unit. The data to be stored may be encrypted and stored according to instructions from the data analysis unit or collection unit, or using an encryption key that is preset on the terminal side.
[0048] FIG. 7 is an example explaining the area in a control frame of an IEEE802.11 wireless LAN where metadata is stored. FIG. 7(A) is an example where the control frame is a probe request frame. The metadata is stored in the "Vendor Specific" area EXP. FIG. 7(B) is an example where the control frame is a probe response frame. The metadata is stored in the "Vendor Specific" area EXP. The source of FIG. 7 is as follows: IEEE Std 802.11-2016, p.708-712, IEEE Standard for Information Technology. Local and Metropolitan Area Networks. Specific Requirements, Part 11: Wireless LAN MAC and PHY Specifications,
[0049] The data collection system disclosed herein collects metadata other than sensor data by using an extended function or an optional function of a communication protocol used to collect sensor data. This allows an IoT data collection system to collect metadata in addition to sensor data all at once by utilizing a low-layer communication protocol that does not require high performance, thereby realizing an economical and reliable system by avoiding increased costs, complicated operations, and errors that may occur when associating sensor data with metadata.
[0050] In the above-described system, an example in which the management server 13 collects sensor data has been described, but the present disclosure is not limited to this. For example, device information of the terminal 11 may be collected in place of or together with the sensor data. The device disclosed herein may also be realized by a computer and a program, and the program may be recorded on a recording medium or provided via a network. [Industrial Applicability]
[0051] The present disclosure can be applied to the information and communications industry. [Explanation of symbols]
[0052] 11: Terminal 12: Wireless base station 13: Management server 20: Sensor 21: Radio transmission / reception processing unit 22: Communication protocol operation processing unit 23: Terminal identification information storage processing unit 24: Various metadata storage processing unit 25: Sensor data storage processing unit 26: Location information detection unit 27: Installer detection unit 28: Environmental information detection unit
Claims
1. A system for collecting information to be collected from a terminal to a data collection unit using a standardized wireless communication protocol, The terminal includes: A history of terminal identification information for identifying the own device is maintained; storing at least one of the terminal identification information held in the history of the terminal identification information and metadata other than the information to be collected in an extension area of a control system frame defined by the wireless communication protocol, and transmitting the control system frame to the data collection unit; The data collection unit includes: A history of the terminal identification information is stored for each terminal; When the control frame is received, the terminal identification information and the metadata are read from the control frame; Identifying a terminal that matches the terminal identification information stored in the control system frame from the history of the terminal identification information held, and linking the metadata stored in the control system frame to the information to be collected of the identified terminal. system.
2. The history of the terminal identification information is a history of a pseudo MAC address generated by the terminal, The data collection unit includes: A history of the pseudo MAC address received from the terminal is stored for each terminal in the history of the terminal identification information; When the control frame is received, the pseudo MAC address is read from the control frame; Identifying a terminal that matches the pseudo MAC address stored in the control frame from the history of the terminal identification information that is held; The system of claim 1 .
3. a wireless base station that transfers a control frame transmitted from the terminal to the data collection unit; The data collection unit includes: storing information about the wireless base station that transferred the control frame for each terminal in a history of the terminal identification information; When the control frame is received, the information of the wireless base station is read from the control frame; Identifying a terminal that matches the information of the wireless base station from the history of the terminal identification information held by the terminal identification information storage unit; 3. A system according to claim 1 or 2.
4. The metadata includes information that can identify the location of the terminal; The data collection unit includes: storing information capable of identifying the location of the terminal for each terminal in a history of the terminal identification information; When the control frame is received, information capable of identifying the location of the terminal is read from the control frame; Identifying a terminal that matches the location of the terminal from the history of the terminal identification information that is held; A system according to any one of claims 1 to 3.
5. A method executed by a system that collects information to be collected from a terminal to a data collector using a standardized wireless communication protocol, comprising: The terminal stores a history of terminal identification information for identifying the terminal itself; The data collection unit holds a history of the terminal identification information for each of the terminals, the terminal stores at least one of the terminal identification information stored in the history of the terminal identification information and metadata other than the information to be collected in an extension area of a control system frame defined by the wireless communication protocol, and transmits the control system frame to the data collection unit; The data collection unit includes: When the control frame is received, the terminal identification information and the metadata are read from the control frame; Identifying a terminal that matches the terminal identification information stored in the control system frame from the history of the terminal identification information held, and linking the metadata stored in the control system frame to the information to be collected of the identified terminal. method.
6. A device that functions as a data collector in a system that collects information to be collected from a terminal to a data collector using a standardized wireless communication protocol, A history of terminal identification information for identifying the terminal is stored for each terminal; When a control frame defined by the wireless communication protocol is received, the at least one terminal identification information stored in the history of the terminal identification information and metadata other than the information to be collected are read from the control frame; Identifying a terminal that matches the terminal identification information stored in the control system frame from the history of the terminal identification information held, and linking the metadata stored in the control system frame to the information to be collected of the identified terminal. Device.
7. A program for causing a computer to realize each of the functional units of the device according to claim 6.
Citation Information
Patent Citations
Method, Device, Apparatus for MAC Address Conflict Detection and Computer Readable Storage Medium
US20200403967A1
Information transmission device, information collection device, information transmission method, information collection method, and mobile body
WO2020235641A1
