Wireless communication device and program
Patent Information
- Application Number
- JP2023115200
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-07-13
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2038-08-24
Smart Images

Figure 0007534497000006 
Figure 0007534497000001 
Figure 0007534497000005
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to a wireless communication device that configures a wireless mesh network. [Background technology]
[0002] Conventionally, POS (Point Of Sales) terminals have been used in stores such as supermarkets. POS terminals are required to be highly reliable in order to execute various processes related to transactions, and maintenance and management are important. As a method of maintenance and management, for example, as shown in Patent Document 1, a method of constructing a mesh network between multiple POS terminals and transmitting information related to maintenance has been considered.
[0003] In mesh networks, a method is known in which a node adds its own address to the header of a message to perform broadcast communication (Patent Document 2). In this method, a node that receives a message similarly adds its own address and repeats the broadcast communication to transmit the message to the destination node. The destination node refers to the address stored in the header and transfers a reply to the source node in a reverse order. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-036981 A [Patent Document 2] JP 2006-191519 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the method described in Patent Document 2, even after the message reaches the target node, other nodes continue to repeat the broadcast communication. Therefore, there is a problem that sending a message by broadcast communication hinders a reply to the source node.
[0006] In order to solve the above problem, a wireless communication device is provided that prevents a reply to a source node from being hindered by the transmission of a message by broadcast communication. [Means for solving the problem]
[0007] A wireless communication device according to an embodiment is a wireless communication device that configures a wireless mesh network that transmits information by multi-hop communication. The wireless communication device includes a communication unit and a control unit. The communication unit includes: Receive a broadcast message and, based on the address stored in the message, Self-equipment Place Addressed to The above-mentioned items were judged not to be The message is transmitted by broadcast communication on a first frequency channel. on the first frequency channel Sending said message rear , Before the time has elapsed due to the configuration of the wireless mesh network, The communication channel of the communication unit is changed from the first frequency channel to a second frequency channel for communicating a response signal corresponding to the message. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating an example of a maintenance network system according to an embodiment. [Diagram 2] FIG. 2 is a hardware block diagram showing an example of a hardware configuration of a POS terminal according to the embodiment. [Diagram 3] FIG. 2 is a hardware block diagram illustrating an example of a hardware configuration of a gateway according to the embodiment. [Figure 4] 1 is a diagram illustrating transmission of a data packet and a response signal packet in a maintenance network system according to an embodiment. [Diagram 5]1 is a diagram illustrating transmission of a data packet and a response signal packet in a maintenance network system according to an embodiment. [Figure 6] 1 is a diagram illustrating transmission of a data packet and a response signal packet in a maintenance network system according to an embodiment. [Figure 7] 1 is a diagram illustrating transmission of a data packet and a response signal packet in a maintenance network system according to an embodiment. [Figure 8] 1 is a diagram illustrating transmission of a data packet and a response signal packet in a maintenance network system according to an embodiment. [Figure 9] 1 is a diagram illustrating transmission of a data packet and a response signal packet in a maintenance network system according to an embodiment. [Figure 10] 1 is a diagram illustrating transmission of a data packet and a response signal packet in a maintenance network system according to an embodiment. [Figure 11] FIG. 13 is a diagram illustrating a configuration of a data packet according to a modified example of the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, the embodiments will be described with reference to the drawings. 1 shows an example of the configuration of a maintenance network system 1 made up of POS terminals. The maintenance network system 1 is made up of POS terminals 100 to 150 and a gateway 200. Note that the word "terminal" can also be read as "device."
[0010] Each of the POS terminals 100 to 150 wirelessly communicates with one or more adjacent POS terminals or the gateway 200 through the wireless mesh network 400. Each of the POS terminals 100 to 150 is a terminal that constitutes a wireless mesh network that transmits information (signals) through multi-hop communication. Each of the POS terminals 100 to 150 is an example of a wireless communication device.
[0011] The number of POS terminals constituting the maintenance network system 1 is not limited to five as shown in Fig. 1, but can be increased or decreased as appropriate. In the following, the term "POS terminal" will be used simply to refer to at least one of the POS terminals 100 to 150.
[0012] The gateway 200 wirelessly communicates with one or more adjacent POS terminals via the wireless mesh network 400. The gateway 200 is also connected to the network 300 via communication such as LTE (registered trademark) (Long Term Evolution) communication or wireless LAN (Local Area Network) communication. The gateway 200 transfers information (e.g., maintenance information) from the POS terminal to the network 300. The gateway 200 may also transmit information from the network 300 to the POS terminal. The gateway 200 is a terminal that constitutes the wireless mesh network 400 that transmits information via multi-hop communication. The gateway 200 is an example of a wireless communication device.
[0013] The network 300 is a communication network for transmitting information to other terminals, for example, the Internet.
[0014] The wireless mesh network 400 is a network configuration in which closely located POS terminals and a gateway 200 communicate with each other to form a mesh-like communication path. For example, the POS terminals 100 to 150 and the gateway 200 are connected by wireless communication in the 920 MHz band that complies with the IEEE802.15.4g international standard.
[0015] Next, the configuration of the POS terminal 100 will be described. FIG. 2 is a hardware block diagram showing an example of a hardware configuration of the POS terminal 100. As shown in FIG.
[0016] The POS terminal 100 includes a control unit 101, a storage unit 102, an operation unit 103, a display unit 104, a communication unit 105, an I / F (interface) unit 106, and a notification unit 107. These units are connected to each other via a data bus. The POS terminal 100 may include components other than those shown in FIG. 2 as necessary, or may exclude certain components.
[0017] The control unit 101 has a function of controlling the overall operation of the POS terminal 100. The control unit 101 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The CPU controls the overall operation of the POS terminal 100. The ROM is a storage medium that stores various programs and data. The RAM is a storage medium that temporarily stores various programs and stores data required for executing application programs and execution results. The CPU executes programs stored in the ROM or the storage unit 102, etc., using the RAM as a working area.
[0018] Furthermore, the control unit 101 transmits the data packet to another POS terminal or the gateway 200 connected by the wireless mesh network 400 via the communication unit 105. The data packet includes data such as maintenance information stored in the storage unit 102. For example, the maintenance information is information such as program version information, error information, and maintenance information. The data packet is also called a message. Furthermore, the control unit 101 processes the data packet or other packets received via the communication unit 105 from another POS terminal or the gateway 200 connected by the wireless mesh network 400.
[0019] The storage unit 102 is configured with a storage device such as a hard disk drive (HDD) or a solid state drive (SSD), etc. The storage unit 102 stores a control program, maintenance information, and address information of the terminal itself used for communication via the wireless mesh network 400.
[0020] The operation unit 103 is a device into which various operation instructions are input by an operator of the POS terminal 100. The operation unit 103 transmits signals of the operation instructions input by the operator to the control unit 101. For example, the operation unit 103 is a keyboard, a touch panel, or the like.
[0021] The display unit 104 is a device that displays various information under the control of the control unit 101. For example, the display unit 104 is a liquid crystal monitor. When the operation unit 103 is configured with a touch panel or the like, the display unit 104 may be formed integrally with the operation unit 103.
[0022] The communication unit 105 is an interface for communicating with other POS terminals and the gateway 200 connected by the wireless mesh network 400. The communication unit 105 transmits a predetermined data packet or other packets to the other POS terminals or the gateway 200 in accordance with a signal from the control unit 101. The communication unit 105 also transmits data packets or other packets received from the other POS terminals or the gateway 200 to the control unit 101.
[0023] The communication unit 105 sets one communication channel selected from a plurality of communication channels with different frequencies based on a signal from the control unit 101. The communication unit 105 does not transmit or receive signals on communication channels other than the set communication channel. In other words, if the communication channel set in the communication unit 105 is different from the communication channel set in the communication unit of the other POS terminal, communication is not established.
[0024] For example, the communication unit 105 supports wireless communication in the 920 MHz band and wireless LANs that comply with the IEEE802.15.4g international standard.
[0025] The I / F unit 106 is an interface for connecting to peripheral devices such as a scanner and a printer. The connection to the peripheral devices may be a wired connection or a wireless connection. The wired connection is a Universal Serial Bus (USB) connection or the like. The wireless connection is a wireless LAN or Bluetooth (registered trademark) connection or the like. The I / F unit 106 may also be of the same wireless communication standard as the communication unit 105. In that case, the communication unit 105 and the I / F unit 106 may have a common configuration.
[0026] The notification unit 107 is a device that notifies an operator of the state of the POS terminal 100 in accordance with a signal from the control unit 101. For example, the notification unit 107 is an LED (Light Emitting Diode) or a speaker.
[0027] The POS terminal 110, the POS terminal 120, the POS terminal 130, the POS terminal 140, and the POS terminal 150 are configured similarly to the POS terminal 100.
[0028] Next, the hardware configuration of the gateway 200 will be described. FIG. 3 is a hardware block diagram showing an example of a hardware configuration of the gateway 200. As shown in FIG.
[0029] The gateway 200 is composed of a control unit 201, a storage unit 202, a notification unit 203, an I / F (interface) unit 204, a first communication unit 205, and a second communication unit 206. These units are connected to each other via a data bus. Note that the gateway 200 may include other components as necessary in addition to the components shown in FIG. 3, or may exclude certain components.
[0030] The control unit 201 has a function of controlling the overall operation of the gateway 200. The control unit 201 includes a CPU, a ROM, and a RAM. The CPU controls the overall operation of the gateway 200. The ROM is a storage medium that stores various programs and data. The RAM is a storage medium that temporarily stores various programs and stores data required for executing application programs and execution results. The CPU then executes programs stored in the ROM or the storage unit 202, etc., using the RAM as a working area.
[0031] Furthermore, the control unit 201 processes the data packet received by the first communication unit 205 as necessary, and transmits it from the second communication unit 206. In this example, the control unit 201 erases the header portion, such as address information, contained in the data packet received by the first communication unit 205. Then, the control unit 201 processes the data packet in accordance with a data format for transmission by the second communication unit 206, and transmits it.
[0032] Furthermore, the control unit 201 processes the data packet received by the second communication unit 206 as necessary, and transmits it from the first communication unit 205. In this example, the control unit 201 interprets the data packet received by the second communication unit 206. Then, the control unit 201 processes the data packet in accordance with a data format for transmission by the first communication unit 205, and transmits it.
[0033] The storage unit 202 is configured with a storage device such as an HDD, an SSD, etc. The storage unit 102 stores a control program, address information of the terminal itself used in communication between the first communication unit 205 and the second communication unit 206, and the like.
[0034] The notification unit 203 is a device that notifies the state of the gateway 200 in accordance with a signal from the control unit 201. For example, the notification unit 203 is an LED or a speaker.
[0035] The I / F unit 204 is an interface for connecting to input devices such as a mouse and a keyboard, and display devices such as a liquid crystal monitor. The connection may be a wired connection or a wireless connection. An example of a wired connection is a USB connection. An example of a wireless connection is a wireless LAN or Bluetooth. When an input device is connected to the I / F unit 204, the I / F unit 204 transmits a signal input to the input device to the control unit 201, and the control unit 201 performs processing according to the input signal. When a display device is connected to the I / F unit 204, the display device displays according to a signal from the control unit 201.
[0036] The first communication unit 205 is an interface for communicating with any POS terminal connected by the wireless mesh network 400. The first communication unit 205 transmits a predetermined packet to any POS terminal in accordance with a signal from the control unit 201. In addition, the first communication unit 205 transmits a data packet received from the POS terminal to the control unit 201.
[0037] The first communication unit 205 sets one communication channel selected from a plurality of communication channels having different frequencies based on a signal from the control unit 201. The first communication unit 205 does not transmit or receive signals on communication channels other than the set communication channel. The first communication unit 205 supports wireless communication similar to that of the communication unit 105 of the POS terminal 100. The first communication unit 205 and the communication unit 105 are capable of communication when the communication channel is the same.
[0038] The second communication unit 206 is a communication interface for connecting to the network 300. For example, the second communication unit 206 is an LTE communication interface. The second communication unit 206 uploads predetermined data to a server connected to the network 300 in accordance with a signal from the control unit 201. In addition, the second communication unit 206 downloads data from the server connected to the network 300.
[0039] Next, an operation will be described from when a POS terminal transmits a data packet to the gateway 200 until the POS terminal receives a response signal packet including an ACK (ACKnowledgemnt) corresponding to the data packet. The response signal packet is a packet that is a reply to a data packet. The response signal packet indicates that the data packet has arrived at the gateway 200. The response signal packet is also called a response signal.
[0040] 4 to 10 are diagrams illustrating transmission of data packets and response signal packets in the maintenance network system 1. Here, a situation in which the POS terminal 100 transmits a data packet to the gateway 200 in the network configuration shown in FIG. 1 will be described as an example. Also, a situation in which the gateway 200 returns a response signal to the POS terminal 100 will be described as an example. In this example, the POS terminal 100 is the sender of the data packet, but the sender of the data packet is not limited to the POS terminal 100.
[0041] First, the operation of the POS terminal 100 will be described with reference to FIG. 4(a) is a network diagram when the POS terminal 100 transmits a data packet by broadcast communication. An arrow 410 indicates that the data packet is transmitted from the POS terminal 100 to the POS terminal 110. Similarly, an arrow 411 indicates that the data packet is transmitted from the POS terminal 100 to the POS terminal 130.
[0042] 4(b) is a table showing the addresses and communication channels of the POS terminals 100 to 150 and the gateway 200. Each POS terminal and the gateway 200 is assigned an individual address.
[0043] ChA and chB are communication channels with different frequencies. ChA is a frequency channel for communicating data packets. ChA is also called the first frequency channel. ChB is a frequency channel for communicating response signal packets. ChB is also called the second frequency channel.
[0044] Before the POS terminal 100 transmits a data packet by broadcast communication, the communication channel of each POS terminal and the gateway 200 is set to chA. The storage unit 102 of each POS terminal and the storage unit 202 of the gateway 200 store information on chA and information on chB in advance.
[0045] 4(c) shows a data packet transmitted from the POS terminal 100. The data packet is assumed to be addressed to the gateway 200 from the POS terminal 100. The data packet includes an area related to the destination, an area related to the sender, an area related to the final destination, an area related to the data, and an area related to the transfer history.
[0046] The destination indicates the next terminal that will receive the data packet transmitted from the POS terminal 100. Since the POS terminal 100 transmits the data packet by broadcast communication, the control unit 101 stores "FFFF", which indicates broadcast communication, in the area related to the destination.
[0047] The source indicates the terminal that transmitted the data packet. The control unit 101 stores the address of its own terminal, "0100", in the area related to the source.
[0048] The final destination indicates the terminal that is the final destination of the data packet transmitted from the POS terminal 100. The control unit 101 stores "0200", which is the address of the gateway 200, in the area related to the final destination.
[0049] The data is any data that the POS terminal 100 sends to the final destination, the gateway 200. The control unit 101 stores "Data" in the area related to data.
[0050] The forwarding history indicates the addresses of all terminals that have been passed through by multi-hop communication between the source terminal and the final destination terminal. Since the POS terminal 100 is the source terminal, the control unit 101 leaves the area related to the forwarding history blank.
[0051] The POS terminal 100 operates as exemplified below. 4(c), the control unit 101 of the POS terminal 100 creates a data packet addressed to the gateway 200, which is a terminal different from the own terminal. The data packet addressed to the gateway 200 can also be said to be a data packet having the gateway 200 as the final destination.
[0052] The communication channel of the communication unit 105 of the POS terminal 100 is set to chA. Therefore, the communication unit 105 of the POS terminal 100 transmits a data packet by broadcast communication on chA, as shown in FIG.
[0053] The data packet transmitted from the POS terminal 100 reaches the POS terminals 110 and 130 adjacent to the POS terminal 100 and connected by the wireless mesh network 400. As shown in Fig. 4(b), the communication channel of the POS terminal 110 is set to chA, the same as that of the POS terminal 100. Therefore, the POS terminal 110 receives the data packet transmitted by broadcast communication on chA from the POS terminal 100 (arrow 410).
[0054] 4(b), the communication channel of the POS terminal 130 is set to chA, which is the same as that of the POS terminal 100. Therefore, the POS terminal 130 receives a data packet transmitted by broadcast communication on chA from the POS terminal 100 (arrow 411).
[0055] In the POS terminal 100, the control unit 101 changes the communication channel of the communication unit 105 from chA to chB in response to the transmission of the data packet on chA by the communication unit 105. As a result, the communication channel of the communication unit 105 of the POS terminal 100 is set to chB, as shown in FIG. 4(b).
[0056] In the POS terminal 100, the control unit 101 changes the communication channel of the communication unit 105 from chA to chB after the communication unit 105 transmits a data packet on chA and before the response signal packet arrives at the communication unit 105. This is to prevent the POS terminal 100 from being unable to receive the response signal packet.
[0057] For example, the time from when the POS terminal 100 transmits a data packet until when it receives a response signal packet can be estimated as follows. Due to the configuration of the wireless mesh network 400, the number of terminals through which the data packet passes from the POS terminal 100 to the gateway 200 can be estimated in advance. The transmission time of the data packet from the POS terminal 100 to the gateway 200 can be estimated based on the number of terminals through which the data packet passes. Similarly, the transmission time of the response signal packet from the gateway 200 to the POS terminal 100 can be estimated based on the number of terminals through which the data packet passes. This makes it possible to estimate the round-trip time of the packet between the POS terminal 100 and the gateway 200. In the POS terminal 100, the control unit 101 may change the communication channel of the communication unit 105 from chA to chB before the round-trip time has elapsed after the transmission of the data packet.
[0058] The timing at which the control unit 101 in the POS terminal 100 changes the communication channel of the communication unit 105 from chA to chB may be within the above-mentioned range, and is not particularly limited.
[0059] Next, the operation of the POS terminal 110 will be described with reference to FIG. 5(a) is a network diagram when the POS terminal 110 transfers a data packet received from the POS terminal 100 by broadcast communication. An arrow 420 indicates that a data packet is transmitted from the POS terminal 110 to the POS terminal 100. Similarly, an arrow 421 indicates that a data packet is transmitted from the POS terminal 110 to the POS terminal 130. Similarly, an arrow 422 indicates that a data packet is transmitted from the POS terminal 110 to the POS terminal 120.
[0060] FIG. 5B is a table showing the addresses and communication channels of the POS terminals 100 to 150 and the gateway 200.
[0061] FIG. 5(c) shows a data packet transmitted by the POS terminal 110 through broadcast communication.
[0062] The POS terminal 110 operates as follows. The communication unit 105 of the POS terminal 110 receives a data packet transmitted by broadcast communication on chA from the POS terminal 100. The control unit 101 of the POS terminal 110 compares the destination and final destination addresses stored in the data packet with the address of the POS terminal itself. The destination and final destination addresses are different from the address of the POS terminal 110. The control unit 101 of the POS terminal 110 determines that the data packet is not addressed to the POS terminal itself. A data packet addressed to the POS terminal itself can also be said to be a data packet whose final destination is the POS terminal itself.
[0063] The control unit 101 of the POS terminal 110 processes the data packet received from the POS terminal 100. The control unit 101 of the POS terminal 110 adds its own terminal address, "0110", to the area related to the transfer history of the data packet, as shown in Fig. 5(c). The data packet processed by the control unit 101 of the POS terminal 110 is identical to the data packet that the POS terminal 110 received from the POS terminal 100, except for the transfer history.
[0064] In response to receiving the data packet addressed to the gateway 200, the communication unit 105 of the POS terminal 110 transmits a data packet to which the address of the own terminal is added as described above. The communication channel of the communication unit 105 of the POS terminal 110 is set to chA. Therefore, the communication unit 105 of the POS terminal 110 transmits the data packet by broadcast communication on chA, as shown in FIG. 5(a).
[0065] The data packet transmitted from the POS terminal 110 reaches the POS terminals 100 , 130 , and 120 that are adjacent to the POS terminal 110 and connected via the wireless mesh network 400 .
[0066] The communication channel of the POS terminal 100 is set to chB, which is different from that of the POS terminal 110. Therefore, the POS terminal 100 cannot receive a packet transmitted by broadcast communication on chA from the POS terminal 110 (arrow 420).
[0067] The communication channel of the POS terminal 130 is set to chA, the same as that of the POS terminal 100. Therefore, the POS terminal 130 receives a packet transmitted by broadcast communication on chA from the POS terminal 110 (arrow 421). Note that the data packet received by the POS terminal 130 from the POS terminal 110 is the same as the data packet received by the POS terminal 130 from the POS terminal 100, except for the transfer history. Therefore, the POS terminal 130 may discard the data packet received from the POS terminal 110.
[0068] The communication channel of the POS terminal 120 is set to chA, the same as that of the POS terminal 110. Therefore, the POS terminal 120 receives a packet transmitted by broadcast communication on chA from the POS terminal 110 (arrow 422).
[0069] In the POS terminal 110, the control unit 101 changes the communication channel of the communication unit 105 from chA to chB in response to the transmission of the data packet on chA by the communication unit 105. As a result, the communication channel of the communication unit 105 of the POS terminal 110 is set to chB, as shown in FIG. 5(b).
[0070] In the POS terminal 110, the control unit 101 changes the communication channel of the communication unit 105 from chA to chB after the communication unit 105 transmits a data packet on chA and before a response signal packet arrives at the communication unit 105. The timing at which the control unit 101 in the POS terminal 110 changes the communication channel of the communication unit 105 from chA to chB may be within the above-mentioned range and is not particularly limited.
[0071] Next, the operation of the POS terminal 130 will be described with reference to FIG. 6(a) is a network diagram when the POS terminal 130 transfers a data packet received from the POS terminal 100 by broadcast communication. An arrow 430 represents a data packet being transmitted from the POS terminal 130 to the POS terminal 100. Similarly, an arrow 431 represents a data packet being transmitted from the POS terminal 130 to the POS terminal 110. Similarly, an arrow 432 represents a data packet being transmitted from the POS terminal 130 to the POS terminal 150. Similarly, an arrow 433 represents a data packet being transmitted from the POS terminal 130 to the POS terminal 140.
[0072] FIG. 6B is a table showing the addresses and communication channels of the POS terminals 100 to 150 and the gateway 200.
[0073] FIG. 6(c) shows a data packet transmitted by the POS terminal 130 through broadcast communication.
[0074] The POS terminal 130 operates as follows. The communication unit 105 of the POS terminal 130 receives the data packet transmitted by broadcast communication on chA from the POS terminal 100. The control unit 101 of the POS terminal 130, like the POS terminal 110, determines that the data packet is not addressed to the own terminal. As shown in FIG. 6(c), the control unit 101 of the POS terminal 130 adds "0130", which is the address of the own terminal, to the area related to the transfer history of the data packet. The data packet processed by the control unit 101 of the POS terminal 130 is the same as the data packet that the POS terminal 130 received from the POS terminal 100, except for the transfer history.
[0075] In response to receiving the data packet addressed to the gateway 200, the communication unit 105 of the POS terminal 130 transmits a data packet to which the address of the own terminal is added as described above. The communication channel of the communication unit 105 of the POS terminal 130 is set to chA. Therefore, like the POS terminal 110, the communication unit 105 of the POS terminal 130 transmits the data packet by broadcast communication on chA, as shown in FIG. 6(a).
[0076] The data packet transmitted from the POS terminal 130 reaches the POS terminals 100 , 110 , 140 , and 150 that are adjacent to the POS terminal 130 and connected by the wireless mesh network 400 .
[0077] The communication channel of the POS terminal 100 is set to chB, which is different from that of the POS terminal 130. Therefore, the POS terminal 100 cannot receive a data packet transmitted from the POS terminal 130 by broadcast communication on chA (arrow 430). The communication channel of the POS terminal 110 is set to chB, which is different from that of the POS terminal 130. Therefore, the POS terminal 110 cannot receive a data packet transmitted from the POS terminal 130 by broadcast communication on chA (arrow 431).
[0078] The communication channel of the POS terminal 140 is set to chA, which is the same as that of the POS terminal 130. Therefore, the POS terminal 140 receives a data packet transmitted from the POS terminal 130 by broadcast communication on chA (arrow 433). The communication channel of the POS terminal 150 is set to chA, which is the same as that of the POS terminal 130. Therefore, the POS terminal 150 receives a data packet transmitted from the POS terminal 130 by broadcast communication on chA (arrow 432). The POS terminals 140 and 150 determine that the data packet is not addressed to them, and transfer the data packet. The operations of the POS terminals 140 and 150 are similar to those of the POS terminals 110 and 130 described above, and therefore will not be described.
[0079] In the POS terminal 130, the control unit 101 changes the communication channel of the communication unit 105 from chA to chB in response to the communication unit 105 transmitting a data packet on chA. As a result, the communication channel of the communication unit 105 of the POS terminal 130 is set to chB, as shown in Fig. 6(b). In the POS terminal 130, the control unit 101 changes the communication channel of the communication unit 105 from chA to chB after the communication unit 105 transmits a data packet on chA and before a response signal packet arrives at the communication unit 105.
[0080] Next, the operation of the POS terminal 120 and the gateway 200 will be described with reference to Fig. 7. Fig. 7(a) is a network diagram when the POS terminal 120 transfers a data packet received from the POS terminal 110 by broadcast communication. An arrow 440 indicates that a data packet is transmitted from the POS terminal 120 to the POS terminal 110. Similarly, an arrow 441 indicates that a data packet is transmitted from the POS terminal 120 to the POS terminal 150. Similarly, an arrow 442 indicates that a data packet is transmitted from the POS terminal 120 to the gateway 200.
[0081] FIG. 7B is a table showing the addresses and communication channels of the POS terminals 100 to 150 and the gateway 200.
[0082] FIG. 7(c) shows a data packet transmitted by the POS terminal 120 through broadcast communication.
[0083] The POS terminal 120 operates as follows. The communication unit 105 of the POS terminal 120 receives a data packet transmitted by broadcast communication on chA from the POS terminal 110. The control unit 101 of the POS terminal 120, like the POS terminal 110, determines that the data packet is not addressed to the terminal itself. As shown in FIG. 7(c), the control unit 101 of the POS terminal 120 adds the address of the terminal itself, "0120", to the area related to the transfer history of the data packet. Therefore, the addresses "0110" and "0120" are stored in the order of transfer in the area related to the transfer history of the data packet.
[0084] In response to receiving the data packet addressed to the gateway 200, the communication unit 105 of the POS terminal 120 transmits a data packet to which the address of the own terminal is added as described above. The communication channel of the communication unit 105 of the POS terminal 120 is set to chA. Therefore, like the POS terminal 110, the communication unit 105 of the POS terminal 120 transmits the data packet by broadcast communication on chA, as shown in FIG. 7(a).
[0085] The data packet transmitted from the POS terminal 120 reaches the POS terminal 110 , the POS terminal 150 , and the gateway 200 that are adjacent to the POS terminal 120 and connected via the wireless mesh network 400 .
[0086] The communication channel of the POS terminal 110 is set to chB, which is different from that of the POS terminal 120. Therefore, the POS terminal 110 cannot receive a data packet transmitted by broadcast communication on chA from the POS terminal 120 (arrow 440).
[0087] The communication channel of the POS terminal 150 is set to chA, the same as that of the POS terminal 120. Therefore, the POS terminal 150 receives a data packet transmitted by broadcast communication on chA from the POS terminal 120 (arrow 441). The POS terminal 150 determines that the data packet is not addressed to itself, and forwards the data packet.
[0088] The communication channel of the gateway 200 is set to chA, the same as that of the POS terminal 120. Therefore, the gateway 200 receives a data packet transmitted by broadcast communication on chA from the POS terminal 120 (arrow 442).
[0089] In the POS terminal 120, the control unit 101 changes the communication channel of the communication unit 105 from chA to chB in response to the communication unit 105 transmitting a data packet on chA. As a result, the communication channel of the communication unit 105 of the POS terminal 120 is set to chB, as shown in Fig. 7(b). In the POS terminal 120, the control unit 101 changes the communication channel of the communication unit 105 from chA to chB after the communication unit 105 transmits a data packet on chA and before a response signal packet arrives at the communication unit 105.
[0090] The gateway 200 operates as follows: The first communication unit 205 receives a data packet transmitted by broadcast communication on chA from the POS terminal 120. The control unit 201 compares the destination and final destination addresses stored in the data packet with the address of the own terminal. The address of the final destination and the address of the own terminal are the same. The control unit 201 determines that the data packet from the POS terminal 120 is a data packet addressed to the own terminal.
[0091] The control unit 201 changes the communication channel of the first communication unit 205 from chA to chB in response to reception of a data packet addressed to the own terminal by the first communication unit 205. As a result, the communication channel of the first communication unit 205 of the gateway 200 is set to chB as shown in FIG. 7(b).
[0092] The control unit 201 can upload the maintenance information contained in the data packet created by the POS terminal 100 to the network 300 via the second communication unit 206 .
[0093] Next, the operation of the gateway 200 will be described with reference to FIG. 8A is a network diagram when the gateway 200 transmits a response signal packet by unicast communication. An arrow 450 indicates that the response signal packet is transmitted from the gateway 200 to the POS terminal 120.
[0094] FIG. 8B is a table showing the addresses and communication channels of the POS terminals 100 to 150 and the gateway 200.
[0095] 8(c) shows a response signal packet that the gateway 200 transmits to the POS terminal 120 by unicast communication. Contrary to data packets, the response signal packet is addressed from the gateway 200 to the POS terminal 100. The response signal packet includes a field related to the destination, a field related to the sender, a field related to data, and a field related to transfer information.
[0096] The destination indicates the next terminal to receive the response signal packet transmitted from the gateway 200. Here, the gateway 200 returns the response signal packet in the reverse order of the data packet route. The control unit 201 refers to the address in the transfer history stored in the data packet. The control unit 201 determines that the gateway 200 has received the data packet from the POS terminal 120. The control unit 201 stores "0120", which is the address of the POS terminal 120, in the destination area.
[0097] The source indicates the terminal that transmitted the response signal packet. The control unit 201 stores the address of its own terminal, "0200", in the area related to the source.
[0098] The data is a response to the data packet from the gateway 200 to the POS terminal 100. The control unit 201 stores "ACK" in the area related to the data.
[0099] The forwarding information indicates the addresses of all terminals that transmit or receive a response signal packet between the gateway 200 and the POS terminal 100. The control unit 201 refers to the addresses of the sender, final destination, and forwarding history stored in the data packet, and grasps the route from the POS terminal 100 to the gateway 200. The control unit 201 creates forwarding information for returning a response signal packet from the gateway 200 to the POS terminal 100.
[0100] In a typical example, the control unit 201 reverses the addresses of the transfer history that are stored in the data packet in the order of transfer. In this example, the control unit 201 stores the addresses in the transfer information area in the order of "0200", "0120", "0110", and "0100". The POS terminal 100 is the final destination of the response signal packet.
[0101] The gateway 200 operates as follows: 8(c), the control unit 201 creates a response signal packet addressed to the POS terminal 100, which is a terminal different from the control unit 201 itself. The response signal packet addressed to the POS terminal 100 can also be said to be a data packet whose final destination is the POS terminal 100.
[0102] The communication channel of the first communication unit 205 is set to chB. Therefore, in response to a change in the communication channel from chA to chB, the first communication unit 205 transmits a response signal packet addressed to the POS terminal 100. As shown in Fig. 8(a), the first communication unit 205 transmits the response signal packet to the POS terminal 120 by unicast communication on chB.
[0103] The response signal packet transmitted from the gateway 200 reaches the POS terminal 120. As shown in Fig. 8(b), the communication channel of the POS terminal 120 is set to chB, which is the same as that of the gateway 200. Therefore, the POS terminal 120 receives the response signal packet transmitted from the gateway 200 by unicast communication on chB (arrow 450).
[0104] The control unit 201 changes the communication channel of the first communication unit 205 from chB to chA in response to the transmission of the response signal packet on chB by the first communication unit 205. As a result, the communication channel of the first communication unit 205 is set to chA, as shown in FIG. 8(b).
[0105] Next, the operation of the POS terminal 120 will be described with reference to FIG. 9A is a network diagram when the POS terminal 120 transfers a response signal packet by unicast communication. An arrow 460 indicates that the response signal packet is transmitted from the POS terminal 120 to the POS terminal 110.
[0106] FIG. 9B is a table showing the addresses and communication channels of the POS terminals 100 to 150 and the gateway 200.
[0107] FIG. 9C shows a response signal packet that the POS terminal 120 transmits to the POS terminal 110 by unicast communication.
[0108] The POS terminal 120 operates as follows. The communication unit 105 of the POS terminal 120 receives a response signal packet transmitted from the gateway 200 by unicast communication on chB. The control unit 101 of the POS terminal 120 references the address of the forwarding information stored in the response signal packet and determines that the address of the final destination of the response signal packet is "0100". As a result, the control unit 101 of the POS terminal 120 determines that the response signal packet is not addressed to the own terminal. A response signal packet addressed to the own terminal can also be said to be a response signal packet whose final destination is the own terminal. The control unit 101 of the POS terminal 120 references the address of the forwarding information stored in the response signal packet and determines that the address of the next forwarding destination of the response signal packet is "0110".
[0109] The control unit 101 of the POS terminal 120 processes the response signal packet received from the gateway 200. As shown in Fig. 9(c), the control unit 101 of the POS terminal 120 stores "0110", which is the address of the POS terminal 110, in the area related to the destination. As shown in Fig. 9(c), the control unit 101 of the POS terminal 120 stores "0120", which is the address of the own terminal, in the area related to the sender. The response signal packet processed by the POS terminal 120 is identical to the response signal packet that the POS terminal 120 received from the gateway 200, except for the destination and sender.
[0110] The communication unit 105 of the POS terminal 120 transmits the response signal packet processed as described above in response to receiving the response signal packet addressed to the POS terminal 100. The communication channel of the communication unit 105 of the POS terminal 120 is set to chB. Therefore, the communication unit 105 of the POS terminal 120 transmits the response signal packet to the POS terminal 110 by unicast communication on chB.
[0111] The response signal packet transmitted from the POS terminal 120 reaches the POS terminal 110. As shown in Fig. 9(b), the communication channel of the POS terminal 110 is set to the same chB as that of the POS terminal 110. Therefore, the POS terminal 110 receives the response signal packet transmitted by unicast communication on chB from the POS terminal 120 (arrow 460).
[0112] In the POS terminal 120, the control unit 101 changes the communication channel of the communication unit 105 from chB to chA in response to the transmission of the response signal packet on chB by the communication unit 105. As a result, the communication channel of the communication unit 105 of the POS terminal 120 is set to chA, as shown in FIG. 9(b).
[0113] Next, the operation of the POS terminal 110 and the POS terminal 100 will be described with reference to Fig. 10. Fig. 10(a) is a network diagram when the POS terminal 110 transfers a response signal packet by unicast communication. An arrow 470 indicates that the response signal packet is transmitted from the POS terminal 110 to the POS terminal 100.
[0114] FIG. 10B is a table showing the addresses and communication channels of the POS terminals 100 to 150 and the gateway 200.
[0115] FIG. 10C shows a response signal packet that the POS terminal 110 transmits to the POS terminal 100 by unicast communication.
[0116] The POS terminal 110 operates as follows. The communication unit 105 of the POS terminal 110 receives a response signal packet transmitted by unicast communication on chB from the POS terminal 120. The control unit 101 of the POS terminal 110 references the address of the forwarding information stored in the response signal packet and determines that the address of the final destination of the response signal packet is "0100". As a result, the control unit 101 of the POS terminal 110 determines that the response signal packet is not addressed to the POS terminal itself. The control unit 101 of the POS terminal 110 references the address of the forwarding information stored in the response signal packet and determines that the address of the next forwarding destination of the response signal packet is "0100".
[0117] The control unit 101 of the POS terminal 110 processes the response signal packet received from the POS terminal 120. As shown in Fig. 10(c), the control unit 101 of the POS terminal 110 stores "0100", which is the address of the POS terminal 100, in an area related to the destination. As shown in Fig. 10(c), the control unit 101 of the POS terminal 120 stores "0110", which is the address of its own terminal, in an area related to the sender. The response signal packet processed by the POS terminal 110 is identical to the response signal packet received by the POS terminal 110 from the POS terminal 110, except for the destination and sender.
[0118] In response to receiving the response signal packet addressed to the POS terminal 100, the communication unit 105 of the POS terminal 110 transmits the response signal packet processed as described above. The communication channel of the communication unit 105 of the POS terminal 110 is set to chB. Therefore, the communication unit 105 of the POS terminal 110 transmits the response signal packet to the POS terminal 100 by unicast communication on chB.
[0119] The response signal packet transmitted from the POS terminal 110 reaches the POS terminal 100. As shown in Fig. 10(b), the communication channel of the POS terminal 100 is set to chB, the same as that of the POS terminal 110. Therefore, the POS terminal 100 receives the response signal packet transmitted by unicast communication on chB from the POS terminal 110 (arrow 470).
[0120] In the POS terminal 110, the control unit 101 changes the communication channel of the communication unit 105 from chB to chA in response to the transmission of the response signal packet on chB by the communication unit 105. As a result, the communication channel of the communication unit 105 of the POS terminal 110 is set to chA, as shown in FIG. 10(b).
[0121] The POS terminal 100 operates as exemplified below. The communication unit 105 of the POS terminal 100 receives the response signal packet transmitted by unicast communication on chB from the POS terminal 110. The control unit 101 of the POS terminal 100 refers to the address of the forwarding information stored in the response signal packet. The control unit 101 of the POS terminal 100 determines that the address of the final destination of the response signal packet is the address of the POS terminal 100. As a result, the control unit 101 of the POS terminal 100 determines that the response signal packet created by the gateway 200 is a response signal packet addressed to the terminal.
[0122] In the POS terminal 100, the control unit 101 changes the communication channel of the communication unit 105 from chB to chA in response to reception of a response signal packet addressed to the terminal by the communication unit 105. As a result, the communication channel of the communication unit 105 of the POS terminal 100 is set to chA, as shown in FIG. 10(c).
[0123] By receiving the response signal packet addressed to the POS terminal 100, the POS terminal 100 can confirm that the data packet including the maintenance information has reached the gateway 200.
[0124] It should be noted that the POS terminal 130 does not receive the response signal packet. Therefore, the communication channel of the communication unit 105 of the POS terminal 130 remains chB as shown in Fig. 10(b). In the POS terminal 130, the control unit 101 changes the communication channel of the communication unit 105 from chB to chA before the communication unit 105 receives the response signal packet and after a predetermined time has elapsed since the communication unit 105 transmitted the data packet on chA. The same applies to the other POS terminals.
[0125] For example, the time taken to change from chB to chA may be twice the time required for the POS terminal farthest from the gateway 200 to transmit a data packet to the gateway 200. If the number of times that broadcast transmission is forwarded is limited, the time taken to change from chB to chA may be twice the time required for the limited number of forwardings.
[0126] This allows the POS terminal 130 to prepare for receiving the next data packet without waiting longer than necessary for the response signal packet.
[0127] According to this embodiment, the POS terminal transmits (transfers) a data packet addressed to a terminal other than the own terminal by broadcast communication on chA. This allows the POS terminal to transmit the data packet to the destination terminal.
[0128] Furthermore, the POS terminal changes the communication channel of the communication unit 105 from chA to chB in response to the transmission (transfer) of the data packet. This allows the POS terminal to suppress unnecessary reception of another data packet after transmitting a data packet. Therefore, after transmitting a data packet, the POS terminal does not continue to transmit another data packet by broadcast communication. As a result, the POS terminal can prevent a response signal packet to the source terminal from being interfered with by the transmission of a data packet by broadcast communication.
[0129] Furthermore, after transmitting (transferring) the data packet on chA, the POS terminal changes the communication channel of the communication unit 105 from chA to chB before the response signal packet arrives. This makes it possible to prevent the POS terminal from being unable to receive the response signal packet.
[0130] Furthermore, the POS terminal transmits (transfers) the response signal packet by unicast communication on chB. This allows the POS terminal to return a response signal packet indicating that the maintenance information has arrived to the POS terminal that transmitted the data packet including the maintenance information. In addition, since the POS terminal transmits the response signal packet by unicast communication rather than broadcast communication, unnecessary transmission of the response signal packet can be suppressed. In addition, since the POS terminal transmits the response signal packet on chB, which is different from chA, it is possible to prevent collision between the data packet of the broadcast communication and the response signal packet. As a result, the POS terminal can prevent the response signal packet to the transmission source terminal from being interfered with by the transmission of the data packet by broadcast communication.
[0131] Furthermore, the POS terminal changes the communication channel of the communication unit 105 from chB to chA in response to the transmission (transfer) of the response signal packet. This allows the POS terminal to prepare for receiving the next data packet. For example, when another POS terminal transmits a new data packet including maintenance information, the POS terminal can transmit after receiving the data packet.
[0132] Furthermore, the POS terminal that has transmitted the data packet changes the communication channel of the communication unit 105 from chB to chA in response to receiving the response signal packet by unicast communication. This allows the POS terminal to prepare for receiving the next data packet. For example, when another POS terminal transmits a new data packet including maintenance information or the like, the POS terminal can transmit after receiving the data packet.
[0133] Furthermore, before receiving the response signal packet and after a predetermined time has elapsed since transmitting the data packet on chA, the POS terminal changes the communication channel of the communication unit 105 from chB to chA. This allows the POS terminal to prepare for receiving the next data packet without waiting longer than necessary for a response signal packet. For example, when another POS terminal transmits a new data packet including maintenance information or the like, the POS terminal can transmit after receiving the data packet.
[0134] Furthermore, when the POS terminal transfers a data packet by broadcast communication, the POS terminal stores the address of the terminal itself in an area related to the transfer history of the data packet. This allows the gateway 200 to grasp the route of the data packet based on the forwarding history, and also allows the gateway 200 to create a route (forwarding information) for transmitting a response signal packet.
[0135] Furthermore, in response to receiving a data packet addressed to its own terminal, the gateway 200 changes the communication channel of the first communication unit 205 from chA to chB. This allows the gateway 200 to suppress unnecessary reception after receiving a data packet.
[0136] Furthermore, in response to the transmission of the response signal packet on chB, the gateway 200 changes the communication channel of the first communication unit 205 from chB to chA. In this way, the gateway 200 transmits a response signal packet on chB, which is different from chA, and therefore it is possible to prevent collision between the broadcast communication data packet and the response signal packet. As a result, the gateway 200 can prevent the response signal packet to the source terminal from being disturbed by the transmission of the broadcast communication data packet. In addition, the gateway 200 can prepare for receiving the next data packet. For example, when a POS terminal transmits a new data packet including maintenance information or the like, the gateway 200 can receive the data packet.
[0137] A modification of this embodiment will now be described. In the present embodiment, the frequency channel for communication of the response signal packet is stored in the storage unit 102 and the storage unit 202, but is not limited to this. The frequency channel for communication of the response signal packet may be designated by the POS terminal that is the source of the data packet.
[0138] FIG. 11 is a diagram illustrating a configuration of a data packet according to a modified example. The data packet includes a field relating to the channel.
[0139] The channel-related field includes information specifying the communication channel of the response signal packet. For example, in the POS terminal that is the source of the data packet, the control unit 101 adds information indicating that the communication channel of the response signal packet is chB to the data packet. The communication unit 105 transmits the data packet to which the information indicating that the communication channel of the response signal packet is chB has been added.
[0140] In the POS terminal that received this data packet, the control unit 101 refers to the data packet and uses the communication channel of the response signal packet. For example, the control unit 101 uses chB as the communication channel of the response signal packet. The same applies to the gateway 200 that received this data packet.
[0141] As a result, the frequency channel for communicating the response signal packet is not fixed in advance, but can be changed as appropriate according to the surrounding environment.
[0142] Although several 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]
[0143] 1. Maintenance network system 100, 110, 120, 130, 140, 150... POS terminals 101...Control section 102...Storage section 103...Operation unit 104...Display section 105 Communications Department 106 I / F (Interface) Section 107... Notification Department 200···Gateway 201... Control unit 202...Storage section 203... Notification Department 204...I / F section 205···1st Communications Department 206...Second Communication Department 300 Network 400···Wireless mesh network
Claims
1. A wireless communication device constituting a wireless mesh network that transmits information by multi-hop communication, a communication unit that receives a message by broadcast communication, and transmits the message by broadcast communication on a first frequency channel when the message is determined not to be addressed to the device based on an address stored in the message; a control unit that, after the communication unit transmits the message on the first frequency channel, changes a communication channel of the communication unit from the first frequency channel to a second frequency channel for communicating the response signal before an estimated round-trip time for a packet between the wireless communication device and another wireless communication device that is a source of a response signal corresponding to the message has elapsed; A wireless communication device comprising:
2. the communication unit receives the response signal and transmits the response signal to a wireless communication device other than the wireless communication device itself by unicast communication on the second frequency channel; the control unit changes a communication channel of the communication unit from the second frequency channel to the first frequency channel in response to transmission of the response signal by the communication unit. The wireless communication device of claim 1 .
3. The wireless communication device according to claim 1 , wherein the response signal is a signal transmitted from a wireless communication device other than the wireless communication device.
4. The control unit adds an address of the own device to an area related to a forwarding history of the message determined not to be addressed to the own device; The communication unit transmits the message to which the address of the own device is added by broadcast communication on the first frequency channel. A wireless communication device according to any one of claims 1 to 3.
5. A computer of a wireless communication device that configures a wireless mesh network that transmits information by multi-hop communication, a function of receiving a message by broadcast communication via a communication unit, and transmitting the message by broadcast communication on a first frequency channel when the message is determined not to be addressed to the device based on an address stored in the message; a function of changing a communication channel of the communication unit from the first frequency channel to a second frequency channel for communicating the response signal before an estimated round-trip time for a packet between the wireless communication device and another wireless communication device that is a source of a response signal corresponding to the message has elapsed, after the communication unit transmits the message on the first frequency channel; A program that can execute the following.
Citation Information
Patent Citations
Communication system and communicating method
JP2006191519A
Communication system and radio apparatus
JP2016012867A
Communication device and program
JP2018036981A
Proactive broadcast capacity adjustment for fast network joins
US20160134539A1
