Wireless communication device, information processing device, wireless communication method, and program
By employing a scanning process to determine the number and order of master nodes and selecting appropriate channel maps, the system effectively avoids radio wave interference in Bluetooth LE-based sensor data collection, ensuring reliable data transmission.
Patent Information
- Application Number
- JP2020162283
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-09-28
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2040-09-28
AI Technical Summary
Bluetooth LE-based sensor data collection systems face radio wave interference issues when multiple gateways are in close proximity, leading to potential loss of sensor data due to unmanaged channel overlaps, which existing AFH technologies cannot effectively address.
A wireless communication device for the master node performs scanning to determine the number of surrounding master nodes and their order, selecting a non-overlapping channel map for communication with slave nodes, thereby avoiding interference.
This approach prevents radio wave interference between networks, ensuring reliable transmission of sensor data without loss, even in environments with multiple gateways, by using distinct frequency channels for each network.
Smart Images

Figure 0007577495000001 
Figure 0007577495000002 
Figure 0007577495000003
Abstract
Description
[Technical field]
[0001] The present invention relates to wireless communication technology. [Background technology]
[0002] 2. Description of the Related Art There are known sensor data collection systems that use wired communication to collect sensor data from a large number of sensor devices to a gateway, such as a system that monitors the voltage of a battery cell or a system that monitors the operating status of equipment in a factory.
[0003] In recent years, there has been an increasing demand to replace wired communication with wireless communication in sensor data collection systems. Among these, the use of Bluetooth (registered trademark) LE (Low Energy), a wireless communication with low power consumption, has been attracting attention.
[0004] When collecting sensor data from multiple sensor devices using Bluetooth LE, a method is adopted in which a connection is established between a gateway (Master) that receives the sensor data and a sensor device (Slave) that transmits the sensor data, and communication is performed. In this method, the number of sensor devices that can be connected to one gateway is limited to a maximum of several dozen. To collect sensor data from a larger number of sensor devices, multiple gateways must be used.
[0005] In an environment where multiple gateways are installed, due to the specifications of Bluetooth LE, a situation may occur in which communication between one gateway and its subordinate sensor devices and communication between another gateway and its subordinate sensor devices are performed at the same time and on the same channel. In this situation, radio wave interference occurs, disrupting communication, and as a result, sensor data may be lost.
[0006] In Bluetooth LE, the channel used for communication is changed over time by frequency hopping, which makes it possible to avoid interference over time even if the above-mentioned interference occurs.
[0007] In a sensor data collection system, it is sometimes necessary to continuously obtain sensor data without loss from a large number of sensor devices at short time intervals. In other words, there are cases where the loss of sensor data cannot be ignored as a system. The frequency hopping of Bluetooth LE does not completely avoid the occurrence of radio interference, and in an environment where multiple gateways using Bluetooth LE are in close proximity, the loss of sensor data due to radio interference occurs.
[0008] Patent Document 1 discloses a technique for preventing packet errors caused by radio interference even when multiple voice links of frequency hopping spread spectrum short-distance wireless communication exist in a short distance space. The technique of Patent Document 1 prepares multiple non-overlapping AFH (Adaptive Frequency Hopping) channel maps in advance, and the main unit assigns different channel maps to the base unit according to the TEN number (extension terminal number) of the base unit. In the technique of Patent Document 1, the number of base units must be known because the channel maps that can be selected are limited. For example, if the number of channel maps is smaller than the number of base units, radio interference will occur, and if the number of channel maps is greater than the number of base units, the communication band will be unnecessarily narrowed. [Prior art documents] [Patent documents]
[0009] [Patent Document 1] JP 2006-270609 A Summary of the Invention [Problem to be solved by the invention]
[0010] The technology of Patent Document 1 determines the initial value of the channel used by the master unit using the AFH function that is standard in Bluetooth (Classic), so that no radio interference occurs at first, but the effect disappears over time.
[0011] Bluetooth LE does not implement the AFH function. For this reason, the technology of Patent Document 1 cannot be applied to a sensor data collection system that uses Bluetooth LE.
[0012] In a sensor data collection system that uses wireless communication such as Bluetooth LE, there is a demand for interference to not occur in the first place and for interference to be permanently avoided. [Means for solving the problem]
[0013] According to one embodiment of the present invention, a wireless communication device corresponding to a master node in a network including a single master node and at least one slave node includes a scanning unit that performs a scanning process to receive beacon signals from other wireless communication devices, a determination unit that determines the number of master nodes present in an environment surrounding the wireless communication device and the order of the wireless communication devices based on a result of the scanning process, a selection unit that selects one channel map from a plurality of predetermined channel maps based on the determined number of master nodes and the determined order, and a first communication unit that communicates with the at least one slave node in accordance with the selected channel map. Effect of the Invention
[0014] According to the present invention, a technique for avoiding radio interference between networks is provided. [Brief description of the drawings]
[0015] [Figure 1] FIG. 1 is a diagram showing a communication system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a functional block diagram of the gateway shown in FIG. [Diagram 3] FIG. 3 is a diagram showing channel information stored in the storage unit shown in FIG. [Figure 4]FIG. 4 is a diagram for explaining channel setting in the communication system shown in FIG. [Diagram 5] FIG. 5 is a block diagram illustrating an example of a hardware configuration of the gateway illustrated in FIG. [Figure 6] FIG. 6 is a functional block diagram of the sensor device shown in FIG. [Figure 7] FIG. 7 is a block diagram illustrating an example of a hardware configuration of the sensor device illustrated in FIG. [Figure 8] FIG. 8 is a flowchart of a channel setting process performed by the gateway shown in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0017] [composition] Fig. 1 illustrates a schematic diagram of a communication system 100 according to an embodiment of the present invention. As illustrated in Fig. 1, the communication system 100 includes a plurality of gateways 110, a plurality of sensor devices 120, and a server device 130. The communication system 100 is an IoT network in which the server device 130 collects sensor data from the sensor devices 120 via the gateways 110.
[0018] The sensor device 120 measures the state of a place or equipment in which the sensor device 120 is installed, and generates sensor data including the measurement results of the state.
[0019] The gateway 110 relays signals between the sensor device 120 and the server device 130. For example, the gateway 110 receives sensor data from the sensor device 120 and transmits the sensor data to the server device 130.
[0020] Wireless communication such as Bluetooth LE is used for communication between the gateway 110 and the sensor device 120. In this embodiment, Bluetooth LE is used. In Bluetooth LE, a network is formed by a single master node and at least one slave node connected to the master node. The master node controls communication in the network. For example, the master node notifies the slave node of the frequency channel to be used. The gateway 110 includes a wireless communication device used as the master node, and the sensor device 120 includes a wireless communication device used as the slave node.
[0021] Either wireless communication or wired communication may be used for communication between the server device 130 and the gateway 110. When wireless communication is used, wireless communication using a frequency band different from the frequency band (2.4 GHz band) used for communication between the gateway 110 and the sensor device 120 may be used. In this embodiment, Wi-Fi in the 5 GHz band is used.
[0022] The wireless communication devices of the gateways 110 each have a communication area 112. The communication areas 112 correspond to the range of the wireless signals transmitted by the wireless communication devices of the gateways 110. The communication areas 112 partially overlap each other. The gateways 110 are placed within the range of each other's wireless waves. Preferably, the gateways 110 are placed in an environment that is less susceptible to the influence of wireless waves from other systems.
[0023] In the example shown in FIG. 1, the communication system 100 includes three gateways 110-1, 110-2, and 110-3. The gateways 110-1, 110-2, and 110-3 have communication areas 112-1, 112-2, and 112-3, respectively. The communication areas 112-1, 112-2, and 112-3 partially overlap each other. The gateway 110-1 communicates with the sensor devices 120-1 to 120-6, and the gateway 110-1 and the sensor devices 120-1 to 120-6 form a network. The gateway 110-2 communicates with the sensor devices 120-7 to 120-12, and the gateway 110-2 and the sensor devices 120-7 to 120-12 form another network. The gateway 110-3 communicates with the sensor devices 120-13 to 120-18, and the gateway 110-3 and the sensor devices 120-13 to 120-18 form yet another network.
[0024] In the area surrounded by the dashed line in Fig. 1, radio interference between networks using Bluetooth LE may occur. Radio interference may cause loss of sensor data. In this embodiment, the communication system 100 is controlled so that the networks use different frequency channels in order to avoid radio interference between the networks. A method of controlling the networks to use different channels will be described later.
[0025] Fig. 2 illustrates an example of a functional configuration of the gateway 110. The gateway 110 illustrated in Fig. 2 corresponds to one of the gateways 110 illustrated in Fig. 1. The rest of the gateways 110 illustrated in Fig. 1 may have the same functional configuration as the gateway 110 illustrated in Fig. 2.
[0026] 2, the gateway 110 includes a first communication unit 202, an advertising unit 204, a scanning unit 206, a second communication unit 208, a control unit 210, and a storage unit 220. The control unit 210 controls the first communication unit 202, the advertising unit 204, the scanning unit 206, the second communication unit 208, and the storage unit 220. The first communication unit 202, the advertising unit 204, the scanning unit 206, and the control unit 210 correspond to the wireless communication device of the present invention.
[0027] The first communication unit 202 wirelessly communicates with the sensor device 120. As described above, Bluetooth LE is used for communication between the gateway 110 and the sensor device 120. Therefore, the first communication unit 202 performs communication processing in accordance with Bluetooth LE. The first communication unit 202 receives sensor data from the sensor device 120.
[0028] The advertising unit 204 performs advertising processing at a predetermined time interval, broadcasting an advertisement packet including a BD address (Bluetooth device address) and a UUID (Universally Unique Identifier). This time interval is called an advertising interval. The advertising processing includes broadcasting an advertisement packet on 37ch (channel with ID=37), broadcasting an advertisement packet on 38ch, and broadcasting an advertisement packet on 39ch. The advertisement packet corresponds to a beacon signal. The BD address is device-specific information, and specifically, is identification information uniquely assigned to a Bluetooth device. The UUID is, for example, a service UUID.
[0029] The scanning unit 206 performs a scanning process for receiving advertisement packets from other gateways 110 at a predetermined time interval. This time interval is called a scan interval. The scanning process is performed for a time period called a scan window. When the scanning unit 206 receives an advertisement packet from another gateway 110, the scanning unit 206 sends the received advertisement packet to the control unit 210.
[0030] The control unit 210 performs channel setting. Channel setting is a process for setting a channel to be used for communication with the sensor device 120. The control unit 210 refers to channel information stored in the storage unit 220 to perform channel setting. The channel information is information that associates multiple channel maps with a set of the number of master nodes and an order. Each channel map indicates a set of channels. The control unit 210 includes a determination unit 212 and a selection unit 214.
[0031] The determination unit 212 determines the number of master nodes present in the surrounding environment of itself (wireless communication device of the gateway 110) and its own order (rank) based on the result of the scan process by the scan unit 206. The surrounding environment of the gateway 110 indicates the environment in which the gateway 110 is installed. The determination unit 212 determines the number of master nodes based on the number of wireless communication devices that transmit advertisement packets including predetermined information (UUID in this embodiment). Specifically, the determination unit 212 sets the number of master nodes to a value obtained by adding 1 to the number of wireless communication devices that transmit advertisement packets including UUID. The determination unit 212 determines the order based on a comparison between its own BD address and the BD address included in the received advertisement packet. For example, the determination unit 212 determines the order according to the order in which its own BD address is the largest among a plurality of BD addresses including its own BD address and the BD address included in the received advertisement packet.
[0032] The selection unit 214 selects one channel map from among the multiple channel maps based on the number and order of master nodes determined by the determination unit 212. Specifically, the selection unit 214 refers to the channel information stored in the storage unit 220, and selects a channel map associated with the set of the determined number and order of master nodes from among the multiple channel maps included in the channel information.
[0033] The first communication unit 202 communicates with the sensor device 120 in accordance with the channel map selected by the selection unit 214. The first communication unit 202 performs communication while changing (hopping) the frequency between channels of the selected channel map.
[0034] The second communication unit 208 communicates with the server device 130. As described above, Wi-Fi is used for communication between the gateway 110 and the server device 130. Therefore, the second communication unit 208 performs communication processing in accordance with Wi-Fi. The second communication unit 208 receives sensor data from the first communication unit 202 via the control unit 210 and transmits the sensor data to the server device 130.
[0035] FIG. 3 shows an example of channel information stored in the storage unit 220. As described above, the channel information is information that associates a plurality of channel maps with a set of the master node number and the order. In the example shown in FIG. 3, the channel map {0ch, 2ch, 4ch, . . . , 34ch, 36ch} is associated with a set of two master node numbers and the first order. The channel map {1ch, 3ch, 5ch, . . . , 33ch, 35ch} is associated with a set of two master node numbers and the second order. These two channel maps associated with two master node numbers do not overlap.
[0036] The channel map {0ch, 3ch, 6ch, , 33ch, 36ch} is associated with the set of three master node numbers and the first order. The channel map {1ch, 4ch, 7ch, , 31ch, 34ch} is associated with the set of three master node numbers and the second order. The channel map {2ch, 5ch, 8ch, , 32ch, 35ch} is associated with the set of three master node numbers and the third order. These three channel maps associated with the three master node numbers do not overlap.
[0037] The channel setting will be described with reference to Fig. 4. Here, it is assumed that the channel information shown in Fig. 3 is used. As shown in Fig. 4, gateways 110-1, 110-2, and 110-3 each having a wireless communication device used as a master node are arranged close to each other. The gateway 110-1 broadcasts an advertisement packet including a BD address "XX:XX:XX:...". The gateway 110-2 broadcasts an advertisement packet including a BD address "YY:YY:YY:...". The gateway 110-1 broadcasts an advertisement packet including a BD address "ZZ:ZZ:ZZ:...".
[0038] The gateway 110-1 performs a scan process and discovers the gateways 110-2 and 110-3 as a result. In other words, the gateway 110-1 recognizes that there are two devices nearby that emit radio waves that cause interference. The gateway 110-1 recognizes that there are three master nodes in its surrounding environment (specifically, the master nodes of the gateways 110-1, 110-2, and 110-3). The gateways 110-2 and 110-3 similarly recognize that there are three master nodes in their surrounding environments.
[0039] Assume that the BD address "XX:XX:XX:..." is greater than the BD address "YY:YY:YY:...", and the BD address "YY:YY:YY:..." is greater than the BD address "ZZ:ZZ:ZZ:...." In this case, gateway 110-1 recognizes its own turn as first, gateway 110-2 recognizes its own turn as second, and gateway 110-3 recognizes its own turn as third.
[0040] The gateway 110-1 determines that the number of master nodes is three and that it is first in order. The gateway 110-1 determines to use the channel map {0ch, 3ch, 6ch, . . . , 33ch, 36ch} for communication with the sensor device 120. Similarly, the gateway 110-2 determines to use the channel map {1ch, 4ch, 7ch, . . . , 31ch, 34ch}, and the gateway 110-3 determines to use the channel map {2ch, 5ch, 8ch, . . . , 32ch, 35ch}.
[0041] In this way, the gateways 110-1, 110-2, and 110-3 use different channels, which avoids interference between the networks.
[0042] Fig. 5 shows an outline of a hardware configuration example for realizing the gateway 110 shown in Fig. 2. As shown in Fig. 5, the gateway 110 includes a processor 502, a RAM (Random Access Memory) 504, a program memory 506, a storage device 508, a communication interface 510, and a bus 516. The processor 502 exchanges signals with the RAM 504, the program memory 506, the storage device 508, and the communication interface 510 via the bus 516.
[0043] The processor 502 typically includes general-purpose circuits such as a central processing unit (CPU) and a graphics processing unit (GPU). The RAM 504 is used by the processor 502 as a working memory. The RAM 504 includes a volatile memory such as a synchronous dynamic random access memory (SDRAM). The program memory 506 stores programs executed by the processor 502, such as a channel setting program. The programs include computer-executable instructions. For example, a read-only memory (ROM) is used as the program memory 506. The processor 502 loads the programs stored in the program memory 506 into the RAM 504, and interprets and executes the programs. When the channel setting program is executed by the processor 502, the processor 502 executes the processes described with respect to the determination unit 212 and the selection unit 214.
[0044] Programs such as the communication control program may be provided to the gateway 110 in a state where they are stored in a computer-readable storage medium. In this case, for example, the gateway 110 is provided with a drive that reads data from the storage medium, and acquires the program from the storage medium. Examples of the storage medium include magnetic disks, optical disks (CD-ROM, CD-R, DVD-ROM, DVD-R, etc.), magneto-optical disks (MO, etc.), and semiconductor memories. Also, the program may be stored in a server on a network, and the gateway 110 may download the program from the server.
[0045] The storage device 508 stores data such as channel information. The storage device 508 includes a non-volatile memory such as a hard disk drive (HDD) or a solid-state drive (SSD). A part of the storage device 508 may be used as a program memory 506.
[0046] The communication interface 510 is an interface for communicating with an external device. The communication interface 510 includes a Bluetooth LE module 512 for communicating with the sensor device 120. The Bluetooth LE module 512 includes a processing circuit including a processor and a memory, an RF (Radio Frequency) circuit, and an antenna. The Bluetooth LE module 512 may be provided as a chip (LSI chip). A BD address is assigned to the Bluetooth LE module 512.
[0047] The communication interface 510 further includes a Wi-Fi module 514 for communicating with the server device 130. In an embodiment in which the communication between the gateway 110 and the server device 130 is wired communication, the communication interface 510 includes a wired module instead of the Wi-Fi module 514.
[0048] 4, the first communication unit 202, the advertising unit 204, and the scanning unit 206 are realized by a Bluetooth LE module 512. The second communication unit 208 is realized by a Wi-Fi module 514. The control unit 210 is realized by the processor 502. The memory unit 220 is realized by a storage device 508.
[0049] The control unit 210 may be implemented by a dedicated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array). The determination unit 212 and the selection unit 214 included in the control unit 210 and the storage unit 220 may be realized by a Bluetooth LE module 512.
[0050] Fig. 6 illustrates an example of a functional configuration of the sensor device 120. The sensor device 120 illustrated in Fig. 6 corresponds to one of the sensor devices 120 illustrated in Fig. 1. The rest of the sensor devices 120 illustrated in Fig. 1 may have the same functional configuration as the sensor device 120 illustrated in Fig. 6.
[0051] 6, the sensor device 120 includes a sensor unit 602, a communication unit 604, and a control unit 606. The control unit 606 controls the sensor unit 602 and the communication unit 604.
[0052] The sensor unit 602 measures the state of the place or equipment where the sensor device 120 is installed, and generates sensor data indicating the measurement result of the state. The sensor unit 602 sends the sensor data to the communication unit 604 via the control unit 606.
[0053] The communication unit 604 communicates with the gateway 110. As described above, Bluetooth LE is used for communication between the gateway 110 and the sensor device 120. Therefore, the communication unit 604 performs communication processing in accordance with Bluetooth LE. The communication unit 604 transmits sensor data to the gateway 110.
[0054] Fig. 7 illustrates an example of a hardware configuration for implementing the sensor device 120 illustrated in Fig. 6. As illustrated in Fig. 7, the sensor device 120 includes a processor 702, a RAM 704, a program memory 706, a storage device 708, a Bluetooth LE module 710, a sensor 712, and a bus 714. The processor 702 exchanges signals with the RAM 704, the program memory 706, the storage device 708, the Bluetooth LE module 710, and the sensor 712 via the bus 714.
[0055] The processor 702 typically includes a general-purpose circuit such as a CPU or a GPU. The RAM 704 is used by the processor 702 as a working memory. The RAM 704 includes a volatile memory such as an SDRAM. The program memory 706 stores programs executed by the processor 702, such as a control program. For example, a ROM is used as the program memory 706. The processor 702 loads the program stored in the program memory 706 into the RAM 704, and interprets and executes the program. When the control program is executed by the processor 702, the processor 702 executes the process described with respect to the control unit 606.
[0056] The storage device 708 stores data such as sensor data. The storage device 708 includes a non-volatile memory such as a flash memory. A part of the storage device 708 may be used as a program memory 706.
[0057] The Bluetooth LE module 710 is an interface for communicating with the gateway 110. The Bluetooth LE module 710 includes a processing circuit including a processor and a memory, an RF circuit, and an antenna. The Bluetooth LE module 710 may be provided as a chip (LSI chip).
[0058] The sensor 712 generates sensor data by measuring the state of a location or equipment in which the sensor device 120 is installed. Examples of the sensor 712 include a temperature sensor, an acceleration sensor, and an angular velocity sensor.
[0059] 7, the communication unit 604 is realized by a Bluetooth LE module 710. The control unit 606 is realized by a processor 702.
[0060] It should be noted that the control unit 606 may be implemented by a dedicated circuit such as an ASIC or an FPGA.
[0061] [Operation] FIG. 8 illustrates in schematic form an example of a channel setup procedure performed by the gateway 110.
[0062] 8, the gateway 110 is started up, and accordingly, the Bluetooth LE module 512 of the gateway 110 becomes active.
[0063] In step S802, the gateway 110 performs advertising and scanning processes for a certain period of time. For example, the advertising unit 204 periodically broadcasts an advertisement packet including a BD address and a UUID, and the scanning unit 206 performs scanning to receive the advertisement packet.
[0064] In step S803, the determination unit 212 determines the number of master nodes present in the surrounding environment of the gateway 110 based on the result of the scan process. For example, the determination unit 212 sets the number of master nodes to a value obtained by adding 1 to the number of wireless communication devices that transmit advertisement packets including UUIDs. When N master nodes are discovered as a result of the scan process, the determination unit 212 determines the number of master nodes to be (N+1).
[0065] In step S804, the determination unit 212 determines the order of the gateways 110 based on the result of the scan process. Specifically, the determination unit 212 determines the order based on a comparison between its own BD address and the BD address included in the advertisement packet received by the scan unit 206. The N master nodes discovered as a result of the scan process are referred to as the first to Nth master nodes. First, the determination unit 212 initializes a variable Order (for example, Order=1). The determination unit 212 compares its own BD address with the BD address of the first master node. If its own BD address is larger than the BD address of the first master node, the determination unit 212 does not change the variable Order, and compares its own BD address with the BD address of the second master node. If its own BD address is smaller than the BD address of the first master node, the determination unit 212 increments the variable Order by 1, and then compares its own BD address with the BD address of the second master node. By repeating this operation, the determination unit 212 compares its own BD address with the BD addresses of the first to Nth master nodes. The determination unit 212 sets the value of the variable Order when the comparison is completed as the ranking.
[0066] In step S805, the selection unit 214 selects one channel map from a plurality of predetermined channel maps based on the number and order of master nodes determined by the determination unit 212. Specifically, the selection unit 214 refers to the channel information stored in the storage unit 220 and selects a channel map associated with the number and order of master nodes determined by the determination unit 212. In the channel information shown in Fig. 3, when the determination unit 212 determines that the number of master nodes is four and that the order is second, the selection unit 214 selects a channel map {1ch, 5ch, 9ch,..., 29ch, 33ch}.
[0067] In step S806, the control unit 210 applies the channel map selected by the selection unit 214 to the first communication unit 202. The first communication unit 202 performs communication according to the selected channel map. The gateway 110 establishes a connection with the sensor device 120. When the connection is established, the gateway 110 notifies the sensor device 120 of the channel map, and the gateway 110 and the sensor device 120 perform communication according to the channel map.
[0068] In this manner, the gateway 110 autonomously configures the channel map to be used for communication with the sensor device 120 .
[0069] 8, the channel setting is performed when the gateway 110 starts up, but the channel setting may also be performed at other times.
[0070] If the number of networks does not change dynamically, the channel setting may be performed when the gateway 110 is started or when the network starts communication. In this case, the network continues to use the channel map determined at that time.
[0071] In the case where the number of networks changes dynamically, the channel setting may be performed at any timing while the network is in operation. The gateway 110 may perform the channel setting periodically. The gateway 110 may also perform the channel setting when it detects a deterioration in communication quality. The gateway 110 may also perform the channel setting according to an instruction from the server device 130.
[0072] For example, when the gateway 110 performs channel setting after a new network is added, the gateway 110 discovers a new master node and uses a new channel map as a result. This enables communication without interference with communication of the new network. Also, when any network is removed (the number of networks is reduced), the channel map may be changed by performing channel setting. The gateway 110 can perform channel setting independently even when networks are dynamically increased or decreased.
[0073] [effect] As described above, each of the gateways 110 included in the communication system 100 performs a scan process to receive advertisement packets, and determines the number of master nodes present in the surrounding environment of the gateway 110 and its own order based on the result of the scan process, selects one channel map from a plurality of predetermined channel maps based on the determined number of master nodes and the determined order, and communicates with the sensor device 120 according to the selected channel map. In this configuration, the gateway 110 communicates with the sensor device 120 on channels different from each other. This avoids radio interference between networks in the communication system 100 including a plurality of gateways 110, and prevents loss of sensor data due to radio interference. As a result, the sensor data generated by the sensor device 120 can reliably reach the server device 130. The gateway 110 is suitable for a system in which data loss due to radio interference is not allowed. In addition, the channel setting can be performed without modifying the program constituting the wireless communication specification of Bluetooth LE of the communication LSI equipped with Bluetooth LE.
[0074] A plurality of channel maps are associated with a set of the number of master nodes and the order, and the gateway 110 selects a channel map associated with the determined number of master nodes and the determined order from among the plurality of channel maps. This allows all available channels to be used by the gateway 110. For example, when there are two gateways 110, one gateway 110 uses the channel map {0ch, 2ch, 4ch, . . ., 34ch, 36ch}, and the other gateway 110 uses the channel map {1ch, 3ch, 5ch, . . ., 33ch, 35ch}, and all channels 0ch to 35ch are used. It is possible to use the channels effectively.
[0075] The gateway 110 determines the order based on a comparison between the identification information uniquely assigned to the wireless communication device (Bluetooth LE module 512) and the identification information uniquely assigned to the wireless communication device discovered as a result of the scanning process. In this embodiment, the identification information is the BD address. In other embodiments, the identification information may be the serial number of the wireless communication device. This ensures that the gateways 110 have different orders from each other.
[0076] The gateway 110 receives sensor data from the sensor device 120 and transmits the sensor data to the server device 130. The gateway 110 uses a channel different from that of the other gateways 110. Therefore, no radio interference occurs and the gateway 110 can reliably receive the sensor data from the sensor device 120. As a result, the sensor data can be aggregated in the server device 130 without data loss.
[0077] [Variations] In the above-described embodiment, the gateway 110 is a repeater that transfers sensor data from the sensor device 120 to the server device 130. The gateway 110 is an example of a master device (information processing device) that includes a wireless communication device used as a master node. In other embodiments, the master device may process the sensor data received from the sensor device 120. In this case, the master device may not include the second communication unit 208.
[0078] The sensor device 120 is an example of a slave device including a wireless communication device used as a slave node. The slave device may be a control device that controls the location where the slave device is installed or the state of the device. For example, the control device receives control data from the server device 130 via the gateway 110 and performs control according to the received control data. The control data may be generated by the gateway 110. For example, the control device includes a sensor unit 602, and the gateway 110 compares a measurement value included in the sensor data received from the control device with a predetermined threshold value. When the measurement value exceeds the predetermined threshold value, the gateway 110 generates control data for performing a predetermined operation (for example, closing a valve) and transmits the control data to the control device.
[0079] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0080] 100...communication system, 110...gateway, 112...communication area, 120...sensor device, 130...server device, 202...first communication unit, 204...advertising unit, 206...scanning unit, 208...second communication unit, 210...control unit, 212...determination unit, 214...selection unit, 220...memory unit, 502...processor, 504...RAM, 506...program memory, 508...storage device, 510...communication interface, 512...Bluetooth LE module, 514...Wi-Fi module, 516...bus, 602...sensor unit, 604...communication unit, 606...control unit, 702...processor, 704...RAM, 706...program memory, 708...storage device, 710...Bluetooth LE module, 712...sensor, 714...bus.
Claims
1. A wireless communication device corresponding to a master node in a network including a single master node and at least one slave node, a scanning unit that performs a scanning process to receive a beacon signal from another wireless communication device; a determination unit that determines, based on a result of the scanning process, the number of master nodes present in a surrounding environment of the wireless communication device and an order of the master nodes corresponding to the wireless communication device among the master nodes present in the surrounding environment of the wireless communication device; A selection unit that selects one channel map from a plurality of predetermined channel maps based on the determined number of master nodes and the determined order; a first communication unit for communicating with the at least one slave node according to the selected channel map; A wireless communication device comprising:
2. The plurality of channel maps are associated with a set of a master node number and an order; The selection unit selects a channel map associated with the determined number of master nodes and the determined order from among the plurality of channel maps. The wireless communication device of claim 1 .
3. The determination unit determines the number of master nodes present in a surrounding environment of the wireless communication device based on the number of wireless communication devices that transmit beacon signals including predetermined information.
3. A wireless communication device according to claim 1 or 2.
4. The wireless communication device according to claim 1 , wherein the determination unit determines the order based on a comparison between identification information uniquely assigned to the wireless communication device and identification information uniquely assigned to a wireless communication device discovered as a result of the scanning process.
5. The wireless communication device according to claim 4 , wherein the identification information is a BD address.
6. A wireless communication device according to any one of claims 1 to 5, The at least one slave node is provided in at least one sensor device, The first communication unit receives sensor data obtained by the at least one sensor device from the at least one slave node. Information processing device.
7. A second communication unit that communicates with a server device different from the at least one slave node, The second communication unit transmits the received sensor data to the server device. The information processing device according to claim 6.
8. A wireless communication method executed by a wireless communication device corresponding to a master node in a network including a single master node and at least one slave node, comprising: performing a scanning process for receiving a beacon signal from another wireless communication device; determining, based on a result of the scanning process, the number of master nodes present in the surrounding environment of the wireless communication device and an order of the master nodes corresponding to the wireless communication device among the master nodes present in the surrounding environment of the wireless communication device; selecting one channel map from a plurality of predetermined channel maps based on the determined number of master nodes and the determined order; communicating with the at least one slave node according to the selected channel map; A wireless communication method comprising:
9. A computer included in a wireless communication device corresponding to a master node in a network including a single master node and at least one slave node, A scanning means for performing a process of receiving a beacon signal from another wireless communication device; A means for determining, based on a result of the scanning process, the number of master nodes present in the surrounding environment of the wireless communication device and an order of the master nodes corresponding to the wireless communication device among the master nodes present in the surrounding environment of the wireless communication device; A means for selecting one channel map from a plurality of predetermined channel maps based on the determined number of master nodes and the determined order; and a program for causing the device to function as a means for communicating with the at least one slave node in accordance with the selected channel map;
Citation Information
Patent Citations
Short-range radio communication apparatus
JP2006270609A
Near field wireless communication method and terminal implementing the same
JP2014517639A
Communication system, and heat-ray sensor terminal used therein
JP2015115876A
Information processing apparatus, information processing method and information processing program
JP2017158009A
Method, apparatus, and computer program product for wireless short-range communication channel selection
US20170245285A1
