Communication system, communication method, first relay device, second relay device and computer program

The system facilitates WDS mode communication by using IP addresses to identify and connect relay devices through scan and beacon frames, addressing the challenge of unknown MAC addresses and simplifying system setup.

JP2024136641AActive Publication Date: 2024-10-04SILEX TECHNOLOGY INC
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023047812
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2024-10-04
Estimated Expiration
2043-03-24

Smart Images

  • Figure 2024136641000001_ABST
    Figure 2024136641000001_ABST
Patent Text Reader

Abstract

To provide a communication system in which connection can be performed in a WDS mode even in a case where a MAC address of a second relay device that is a connection destination is unknown, a communication method, a first relay device, a second relay device and a computer program.SOLUTION: A first relay device receives input of a predetermined IP address, transmits a scan frame to which the predetermined IP address is set, and searches for a proximate second relay device. The second relay device receives the scan frame and sends back a response frame, to which its own IP frame is set as specific data in a frame, to the first relay device. In a case where the IP address in the received response frame is coincident with the predetermined IP address of which the input is received, the first relay device extracts a MAC address from the received response frame and uses the IP address, of which the input is received, and the extracted MAC address to establish communication with the second relay device in a WDS mode.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication system, a communication method, a first relay device, a second relay device, and a computer program capable of performing stable wireless communication between wireless communication terminals that are connected to be able to communicate with a relay device in an environment in which the relative positions of adjacent relay devices fluctuate relative to each other. [Background technology]

[0002] Communications using wireless LANs are usually based on the IEEE 802.11 standard. In one aspect of communications using wireless LANs, communications are performed between a relay device and a wireless communication terminal connected to the relay device in infrastructure mode, and wireless communications are performed between multiple relay devices in wireless distribution system mode (hereinafter, WDS mode).

[0003] For example, Patent Document 1 discloses a wireless communication system that performs data communication between wireless LANs. In Patent Document 1, a first relay device that receives a data transmission request from a source wireless communication terminal identifies the MAC address of a second relay device that is a connection destination for communication in WDS mode, and transmits data to a destination wireless communication terminal that is connected to the connection destination relay device (i.e., the second relay device). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2007-028124 A Summary of the Invention [Problem to be solved by the invention]

[0005] As described above, in the wireless communication system disclosed in Patent Document 1, when connecting in WDS mode, the MAC address of the second relay device to be connected is required. For example, when there are multiple relay devices nearby, or when the multiple relay devices are installed on different mobile bodies and the MAC addresses of the multiple relay devices cannot be known, the system administrator who wants to build a wireless communication system in WDS mode cannot easily identify the MAC addresses, resulting in a problem that the wireless communication system cannot be easily built in WDS mode.

[0006] The present invention has been made in consideration of the above-mentioned circumstances, and aims to provide a communication system, a communication method, a first relay device, a second relay device, and a computer program that enable a connection in WDS mode even if the MAC address of the second relay device to be connected to is unknown. [Means for solving the problem]

[0007] In order to achieve the above object, a communication system according to the present invention is a communication system capable of wireless communication in a WDS mode between a first relay device and a second relay device, the first relay device comprising: an input receiving means for receiving an input of a predetermined IP address; a frame generating means for generating a scan frame in which the predetermined IP address is set in a wireless frame; and a scan transmitting means for transmitting the scan frame for searching for a nearby second relay device, the second relay device comprising: a scan reception determining means for determining whether or not the scan frame has been received; a response frame generating unit for generating a response frame in which its own IP address is set as unique data within the frame when the scan reception determining means determines that the scan frame has been received; and a response sending means for returning the response frame to the first relay device, the first relay device being characterized in that it is equipped with a response receiving means for receiving the response frame, an IP address determination means for determining whether an IP address in the received response frame matches the specified IP address accepted as input by the input accepting means, a MAC address extraction means for extracting a MAC address from the received response frame when the IP address determination means determines that the IP address in the received response frame matches the specified IP address accepted as input by the input accepting means, and a communication establishment means for establishing communication with the second relay device in WDS mode using the accepted IP address and the extracted MAC address.

[0008] In addition, in the communication system according to the present invention, it is preferable that the MAC address extraction means extracts identification information associated with the MAC address from the response frame, and identifies the MAC address based on the extracted identification information.

[0009] Next, in order to achieve the above-mentioned object, the communication system of the present invention is a communication system in which a first relay device and a second relay device are capable of wireless communication in WDS mode, wherein the second relay device is equipped with a beacon transmitting means for transmitting a beacon frame in which its own IP address is set as unique data in the frame at regular time intervals, and the first relay device is equipped with an input accepting means for accepting input of a predetermined IP address, a beacon receiving means for receiving the beacon frame, an IP address determination means for determining whether the IP address in the received beacon frame matches the predetermined IP address input accepted by the input accepting means, a MAC address extraction means for extracting a MAC address from the received beacon frame when the IP address determination means determines that the IP address in the received beacon frame matches the predetermined IP address input accepted, and a communication establishment means for establishing communication with the second relay device in WDS mode using the input accepted IP address and the extracted MAC address.

[0010] In the communication system according to the present invention, it is preferable that the MAC address extraction means extracts identification information associated with the MAC address from the beacon frame, and identifies the MAC address based on the extracted identification information.

[0011] Next, in order to achieve the above object, a communication system according to the present invention is a communication system in which a first relay device and a second relay device can wirelessly communicate in a WDS mode, the first relay device includes an input receiving means for receiving an input of a predetermined IP address, a frame generating means for generating a scan frame in which the predetermined IP address is set in a wireless frame, and a scan transmitting means for transmitting the scan frame to search for a nearby second relay device, the second relay device includes a scan reception determining means for determining whether or not the scan frame has been received, and when the scan reception determining means determines that the scan frame has been received, a scan reception determining means for determining whether or not the IP address in the received scan frame matches the IP address of the second relay device. The first relay device is characterized in that it comprises an IP address determination means for determining whether the IP address in the received scan frame matches its own IP address, a response frame generation unit for generating a response frame in which its own IP address is set as unique data in the frame if the IP address determination means determines that the IP address in the received scan frame matches its own IP address, and a response sending means for returning the generated response frame to the first relay device, and the first relay device is characterized in that it comprises a response receiving means for receiving the response frame, a MAC address extraction means for extracting a MAC address from the received response frame, and a communication establishment means for establishing communication with the second relay device in WDS mode using the input IP address and the extracted MAC address.

[0012] In addition, in the communication system according to the present invention, it is preferable that the MAC address extraction means extracts identification information associated with the MAC address from the response frame, and identifies the MAC address based on the extracted identification information.

[0013] Next, in order to achieve the above object, a communication method according to the present invention is a communication method capable of wireless communication between a first relay device and a second relay device in a WDS mode, comprising: a step of receiving an input of a predetermined IP address by the first relay device; a step of generating a scan frame in which the predetermined IP address is set in a wireless frame; and a step of transmitting the scan frame to search for a nearby second relay device. The communication method further comprises a step of receiving the response frame by the first relay device; a step of determining whether the scan frame has been received; if it is determined that the scan frame has been received, a step of generating a response frame in which its own IP address is set as unique data in the frame; and a step of returning the generated response frame to the first relay device. The communication method further comprises a step of receiving the response frame by the first relay device; a step of determining whether the IP address in the received response frame matches the predetermined IP address whose input has been accepted; if it is determined that the IP address in the received response frame matches the predetermined IP address whose input has been accepted, a step of extracting a MAC address from the received response frame; and a step of establishing communication with the second relay device in a WDS mode using the IP address whose input has been accepted and the extracted MAC address.

[0014] Next, in order to achieve the above-mentioned object, a communication method according to the present invention is a communication method capable of wireless communication between a first relay device and a second relay device in WDS mode, comprising a step of transmitting a beacon frame by the second relay device at regular time intervals, in which its own IP address is set as unique data in the frame, and comprising a step of accepting input of a specified IP address by the first relay device, a step of receiving the beacon frame, a step of determining whether the IP address in the received beacon frame matches the specified IP address whose input has been accepted, a step of extracting a MAC address from the received beacon frame if it is determined that the IP address in the received beacon frame matches the specified IP address whose input has been accepted, and a step of establishing communication with the second relay device in WDS mode using the accepted IP address and the extracted MAC address.

[0015] Next, in order to achieve the above object, a communication method according to the present invention is a communication method capable of wireless communication between a first relay device and a second relay device in WDS mode, comprising: a step of accepting an input of a predetermined IP address by the first relay device; a step of generating a scan frame in which the predetermined IP address is set in a wireless frame; and a step of transmitting the scan frame to search for a nearby second relay device; and a step of determining whether the scan frame has been received by the second relay device; if it is determined that the scan frame has been received, a step of determining whether the IP address in the received scan frame matches its own IP address; if it is determined that the IP address in the received scan frame matches its own IP address, a step of generating a response frame in which its own IP address is set as unique data in the frame; and a step of returning the generated response frame to the first relay device; and further comprising a step of receiving the response frame by the first relay device, a step of extracting a MAC address from the received response frame, and a step of establishing communication with the second relay device in WDS mode using the IP address whose input has been accepted and the extracted MAC address.

[0016] Next, in order to achieve the above object, a first relay device according to the present invention is a first relay device capable of wireless communication with a second relay device in a WDS mode, and is characterized in that it comprises: an input receiving means for receiving an input of a predetermined IP address; a frame generating means for generating a scan frame in which the predetermined IP address is set in a wireless frame; a scan transmitting means for transmitting the scan frame to search for a nearby second relay device; a response receiving means for receiving a response frame from the second relay device in which the IP address of the second relay device is set as unique data in the frame; an IP address determining means for determining whether or not the IP address in the received response frame matches the predetermined IP address inputted and accepted by the input accepting means; a MAC address extracting means for extracting a MAC address from the received response frame when the IP address determining means determines that the IP address in the received response frame matches the predetermined IP address inputted and accepted by the input accepting means; and a communication establishment means for establishing communication with the second relay device in a WDS mode using the IP address inputted and the extracted MAC address.

[0017] In addition, in the first relay device according to the present invention, it is preferable that the MAC address extraction means extracts identification information associated with the MAC address from the response frame, and identifies the MAC address based on the extracted identification information.

[0018] Next, in order to achieve the above-mentioned object, a first relay device according to the present invention is a first relay device capable of wireless communication with a second relay device in WDS mode, and is characterized in that it comprises: an input receiving means for receiving an input of a predetermined IP address; a beacon receiving means for receiving the beacon frame; a beacon receiving means for receiving a beacon frame transmitted at a fixed time interval in which the IP address of the second relay device is set as unique data in the frame; an IP address determination means for determining whether the IP address in the received beacon frame matches the predetermined IP address whose input has been accepted by the input receiving means; a MAC address extraction means for extracting a MAC address from the received beacon frame when the IP address determination means determines that the IP address in the received beacon frame matches the predetermined IP address whose input has been accepted by the input accepting means; and a communication establishment means for establishing communication with the second relay device in WDS mode using the accepted IP address and the extracted MAC address.

[0019] In addition, in the first relay device according to the present invention, it is preferable that the MAC address extraction means extracts identification information associated with the MAC address from the beacon frame, and identifies the MAC address based on the extracted identification information.

[0020] Next, in order to achieve the above object, a computer program according to the present invention is a computer program that can be executed by a first relay device capable of wireless communication with a second relay device in a WDS mode, and is characterized in that the first relay device functions as an input receiving means for receiving an input of a predetermined IP address, a frame generating means for generating a scan frame in which the predetermined IP address is set in a wireless frame, a scan transmitting means for transmitting the scan frame to search for a nearby second relay device, a response receiving means for receiving a response frame from the second relay device in which the IP address of the second relay device is set as unique data in the frame, an IP address determining means for determining whether or not the IP address in the received response frame matches the predetermined IP address input-accepted by the input receiving means, a MAC address extracting means for extracting a MAC address from the received response frame when the IP address determining means determines that the IP address in the received response frame matches the predetermined IP address input-accepted by the input receiving means, and a communication establishing means for establishing communication with the second relay device in a WDS mode using the IP address input-accepted and the extracted MAC address.

[0021] Next, in order to achieve the above-mentioned object, the computer program of the present invention is a computer program that can be executed on a first relay device capable of wireless communication with a second relay device in WDS mode, and is characterized in that it causes the first relay device to function as an input accepting means for accepting input of a predetermined IP address, a beacon receiving means for receiving the beacon frame, a beacon receiving means for receiving a beacon frame transmitted at a fixed time interval in which the IP address of the second relay device is set as unique data in the frame, an IP address determination means for determining whether the IP address in the received beacon frame matches the predetermined IP address whose input has been accepted by the input accepting means, a MAC address extraction means for extracting a MAC address from the received beacon frame when the IP address determination means determines that the IP address in the received beacon frame matches the predetermined IP address whose input has been accepted by the input accepting means, and a communication establishment means for establishing communication with the second relay device in WDS mode using the accepted IP address and the extracted MAC address. Effect of the Invention

[0022] According to the present invention, the MAC address of the second relay device to be connected can be identified based on the IP address. Therefore, even when the MAC address is uncertain, such as when there are multiple nearby relay devices or when the MAC addresses of the multiple relay devices cannot be known because the multiple relay devices are installed on different mobile bodies, the MAC address of the second relay device to be connected can be easily identified, making it possible to build a wireless communication system in WDS mode while reducing the workload of the system administrator. [Brief description of the drawings]

[0023] [Figure 1] 1 is a block diagram illustrating a schematic configuration of a communication system according to a first embodiment of the present invention. [Diagram 2]1 is a block diagram showing an example of a configuration in which a CPU (Central Processing Unit) of a first relay device (second relay device) according to the first embodiment of the present invention is used as a control unit. [Diagram 3] 2 is a functional block diagram of a first relay device and a second relay device according to the first embodiment of the present invention. FIG. [Figure 4] 4 is a diagram illustrating an example of a data structure of a scan frame generated by the first relay device according to the first embodiment of the present invention. FIG. [Diagram 5] 6 is a diagram illustrating an example of a data structure of a response frame generated by the second relay device according to the first embodiment of the present invention. [Figure 6] 5 is a flowchart showing a processing procedure of a control unit of the first relay device according to the first embodiment of the present invention. [Figure 7] FIG. 11 is a functional block diagram of a first relay device and a second relay device according to a second embodiment of the present invention. [Figure 8] FIG. 11 is an exemplary diagram showing a data structure of a beacon frame generated by a second relay device according to the second embodiment of the present invention. [Figure 9] 10 is a flowchart showing a processing procedure of a control unit of the first relay device according to the second embodiment of the present invention. [Figure 10] FIG. 10 is a functional block diagram of a first relay device and a second relay device according to another embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0024] The following is a detailed description of a communication system according to an embodiment of the present invention, with reference to the accompanying drawings. The following embodiment does not limit the invention described in the claims, and it goes without saying that not all of the combinations of the characteristics described in the embodiment are essential to the solution.

[0025] In addition, the present invention can be embodied in many different forms, and should not be construed as being limited to the description of the embodiments. The same elements are denoted by the same reference numerals throughout the embodiments.

[0026] In the following embodiment, a device in which a computer program is introduced into a computer system will be described, but as will be clear to those skilled in the art, the present invention can be embodied as a computer program that can be executed by a computer. Therefore, the present invention can be embodied as a hardware embodiment, a software embodiment, or an embodiment of a combination of software and hardware, which is a communication system that enables a connection in WDS mode even when the MAC address of the second relay device to be connected is uncertain. The computer program can be recorded on any computer-readable recording medium, such as a hard disk, a DVD, a CD, an optical storage device, or a magnetic storage medium such as an SD card.

[0027] According to this embodiment, the MAC address of the second relay device to be connected to can be identified based on the IP address. Therefore, even when the MAC address is uncertain, such as when there are multiple nearby relay devices or when the MAC addresses of the multiple relay devices cannot be known because the multiple relay devices are installed on different mobile bodies, the MAC address of the second relay device to be connected to can be easily identified, making it possible to build a wireless communication system in WDS mode while reducing the workload of the system administrator.

[0028] Hereinafter, a communication system according to an embodiment of the present invention will be described with reference to the drawings. In the drawings, elements having the same or similar configurations or functions are denoted by the same or similar reference numerals, and detailed descriptions thereof will be omitted.

[0029] (Embodiment 1) Fig. 1 is a block diagram showing a schematic configuration of a communication system according to a first embodiment of the present invention. As shown in Fig. 1, a communication system 10 according to the first embodiment of the present invention is configured such that a first relay device 1 connected by wire or wirelessly to one or more terminal devices 3 so as to be able to communicate with each other, and a second relay device 2 connected by wire or wirelessly to one or more terminal devices 4 so as to be able to communicate with each other, can be connected to each other so as to be able to wirelessly communicate with each other in a WDS mode.

[0030] Fig. 2 is a block diagram showing an example of a configuration in which a CPU (central processing unit) or the like of the first relay device 1 (second relay device 2) according to the first embodiment of the present invention is used as a control unit. In Fig. 2, the first relay device 1 (second relay device 2) according to the first embodiment of the present invention is composed of at least a control unit 11 (21) such as a CPU (central processing unit), a memory 12 (22), a storage device 13 (23), a portable disk drive 16 (26), a communication interface 17 (27), and an internal bus 18 (28) that connects the above-mentioned hardware.

[0031] The control unit 11 (12) is connected to the above-mentioned hardware components of the first relay device 1 (second relay device 2) via the internal bus 18 (28), and controls the operation of the above-mentioned hardware components, and executes various software functions in accordance with the computer program 5 stored in the storage device 13 (23). The memory 12 (22) is composed of a volatile memory such as SRAM, SDRAM, etc., into which a load module is expanded when the computer program 5 is executed, and which stores temporary data and the like generated when the computer program 5 is executed.

[0032] The storage device 13 (23) is composed of a built-in fixed storage device (hard disk, flash memory), ROM, etc. The computer program 5 may be pre-stored in the storage device 13 (23) of the first embodiment of the present invention, or may be downloaded from a portable recording medium 6, such as a DVD, CD-ROM, flash memory, or SD card, on which information such as programs and data is recorded, by a portable disk drive 16 (26) and stored in the storage device 13 (23). When executed, the computer program 5 is deployed from the storage device 13 (23) to the memory 12 (22) and executed. The computer program 5 may, of course, be a computer program downloaded from an external computer via a communication interface 17 (27).

[0033] The storage device 13 (23) includes a terminal address storage unit 131 (231) that stores the IP address and MAC address of one or more terminal devices 3 (4) that are connected to each relay device so as to be able to communicate with each other by wire or wirelessly, in association with each other. The IP address and MAC address of the terminal device 3 (4) to be connected may be stored in advance, or may be updated in real time to the IP address and MAC address of the terminal device 3 (4) that is connected and stored.

[0034] The communication interface 17 (27) is connected to the internal bus 18 (28), and by being connected to an external network such as the Internet, a wired or wireless LAN, or a WAN, it is possible to transmit and receive data to and from one or more terminal devices 3 (4), the second (first) relay device 2 (1), other relay devices, etc. Parameter settings for the first relay device 1 and the second relay device 2, and data to be stored in the storage device 13 (23) are mainly performed from an external computer that is connected to be able to communicate via the communication interface 17 (27).

[0035] As described above, there is no fundamental difference in hardware configuration between the first relay device 1 and the second relay device 2. Of course, as shown in FIG. 2, the first relay device 1 (second relay device 2) may be provided with an input / output interface 14 (24) and a video interface 15 (25), and parameter setting and data storage may be performed by operations on a touch display 7 having a liquid crystal panel or the like connected to each of them. Note that the input / output interface 14 (24) and the video interface 15 (25) do not necessarily have to be provided in the first relay device 1 (second relay device 2). For example, the parameter setting and data storage may be performed from a communication terminal used by a system administrator that is connected to the communication interface 17 (27).

[0036] Fig. 3 is a functional block diagram of the first relay device 1 and the second relay device 2 according to the first embodiment of the present invention. In Fig. 3, a sequence for constructing a communication system 10 in the WDS mode from the first relay device 1 to the second relay device 2 will be described with reference to Fig. 4 as well.

[0037] The input receiving unit 101 of the first relay device 1 receives an input from a user or administrator of an IP address (predetermined IP address) set in the second relay device that is to be the other end of communication in the WDS mode. The predetermined IP address may be received as an input from a terminal device that is connected to be able to communicate with the first relay device 1. Of course, if the first relay device 1 is equipped with a touch display 7 or the like, it may receive a direct input. The input receiving unit 101 is realized by the control unit 11, the touch display 7, the video interface 15, the communication interface 17, and the like.

[0038] The frame generating unit 102 of the first relay device 1 generates a scan frame in which the inputted predetermined IP address is set in the wireless frame. Here, FIG. 4 is an example of a data structure of a scan frame generated by the first relay device 1 according to the first embodiment of the present invention. FIG. 4(a) shows an example of a data structure of a scan frame, and FIG. 4(b) shows an example of a frame format of IEEE802.11. As shown in FIG. 4(a), the first relay device 1 generates a scan frame in which the inputted IP address is set in the private area 41 of the data area 42 shown in FIG. 4(b). The frame generating unit 102 is realized by the control unit 11, the storage device 13, the memory 12, and the like.

[0039] Returning to Fig. 3, the scan transmission unit 103 broadcasts the scan frame generated by the frame generation unit 102 to the surroundings of its own device (first relay device 1) in order to search for a nearby second relay device 2. The destination is not specified because it is a broadcast transmission. The scan transmission unit 103 is realized by the control unit 11, the storage device 13, the memory 12, the communication interface 17, etc.

[0040] The destination MAC address of the scan frame is set in the IEEE802.11 header 43 of the IEEE802.11 frame format. That is, in the frame format shown in Fig. 4(b), "FF:FF:FF:FF:FF:FF" used for broadcast transmission is set in the Address1 storage area 44, and the MAC address of the first relay device 1, which is the source, is set in the Address2 storage area 45.

[0041] 3, the scan reception determination unit 201 of the second relay device 2 determines whether or not a scan frame has been received from the first relay device 1. If the scan reception determination unit 201 determines that a scan frame has been received, the response frame generation unit 202 generates a response frame in which its own IP address is set as unique data within the frame. The scan reception determination unit 201 and the response frame generation unit 202 are realized by the control unit 21, the storage device 23, the memory 22, the communication interface 27, etc.

[0042] Fig. 5 is an exemplary diagram of a data structure of a response frame generated by the second relay device 2 according to the first embodiment of the present invention. Here, Fig. 5(a) shows an exemplary diagram of the data structure of the response frame, and Fig. 5(b) shows an exemplary diagram of the frame format of IEEE802.11. As shown in Fig. 5(a), the second relay device 2 that has determined that it has received a scan frame generates a response frame in which its own IP address is set in the private area 51 of the data area 52 shown in Fig. 5(b).

[0043] 3, the response transmitting unit 203 returns the response frame generated by the response frame generating unit 202 to the first relay device 1 which is the source of the scan frame. The response transmitting unit 203 is realized by the control unit 21, the storage device 23, the memory 22, the communication interface 27, and the like.

[0044] The source MAC address of the response frame is set in the IEEE802.11 header 53 of the IEEE802.11 frame format. That is, in the frame format shown in Fig. 5(b), the MAC address of the first relay device 1 which is the source of the scan frame (destination of the response frame) is set in the Address1 storage area 54, and the MAC address of the second relay device 1 which is the source of the response frame is set in the Address2 storage area 55.

[0045] 3, the response receiving unit 104 of the first relay device receives a response frame from the second relay device 2. The IP address determining unit 105 determines whether or not the IP address in the received response frame matches a predetermined IP address whose input has been accepted by the input accepting unit 101. The response receiving unit 104 is realized by the control unit 11, the storage device 13, the memory 12, the communication interface 17, etc.

[0046] If the IP address determination unit 105 determines that the IP address in the received response frame matches the predetermined IP address accepted as input by the input acceptance unit 101, the MAC address extraction unit 106 extracts the MAC address from the received response frame. Specifically, the MAC address set in the Address2 storage area 55 of the frame format shown in Fig. 5(b) is extracted.

[0047] On the other hand, if the IP address determination unit 105 determines that the IP address in the received response frame does not match the specified IP address accepted as input by the input acceptance unit 101, it discards the received response frame and notifies the response receiving unit 104 to wait for receiving another response frame.

[0048] Here, if there are multiple second relay devices, there will be multiple response frames to the scan frame transmitted from the scan transmission unit 103. That is, it is considered that the response reception unit 104 receives multiple response frames.

[0049] Therefore, for example, IP address determination unit 105 may similarly determine whether the IP address of other response frames received by response receiving unit 104 matches the predetermined IP address. If no response frame matching the predetermined IP address is found, an instruction may be given to have scan transmission unit 103 retransmit the scan frame generated by frame generation unit 102, or input acceptance unit 101 may be placed in a standby state for input of a predetermined IP address from a user or administrator. Note that IP address determination unit 105 and MAC address extraction unit 106 are realized by control unit 11, storage device 13, memory 12, etc.

[0050] In the IEEE802.11 frame format, instead of the MAC address itself, a unique identification information associated with the MAC address is usually set. Therefore, since the identification information associated with the MAC address of the second relay device 2 is set in the Address2 storage area 55, the identification information is extracted, and the MAC address is identified based on the extracted identification information.

[0051] The communication establishment unit 107 establishes communication with the second relay device 2 in the WDS mode using the IP address that has been accepted and the extracted MAC address. Specifically, the communication is established through an authentication process and an association process in which the communication establishment unit 107 of the first relay device 1 and the communication establishment unit 204 of the second relay device mutually confirm the channel, modulation method, and MAC address used to establish communication, and then the communication proceeds to data communication. Note that the process after the authentication process is not particularly limited as long as it is a well-known process, and therefore a detailed description will be omitted. The communication establishment unit 107 and the communication establishment unit 204 are realized by the control unit 11 (21), the storage device 13 (23), the memory 12 (22), the communication interface 17 (27), and the like.

[0052] Fig. 6 is a flowchart showing a processing procedure of the control unit 11 until the first relay device 1 according to the first embodiment of the present invention establishes communication with the second relay device 2. As shown in Fig. 6, the control unit 11 of the first relay device 1 receives an input of a predetermined IP address (for example, an input from a system administrator or the like) (step S601).

[0053] The control unit 11 generates a scan frame in which the received predetermined IP address is set in the wireless frame (step S602), and transmits the generated scan frame (step S603). The destination is not specified because the transmission is broadcast.

[0054] The control unit 11 receives the response frame generated by the second relay device 2, in which the own IP address is set as unique data within the frame (step S604). The control unit 11 determines whether the IP address within the received response frame matches the predetermined IP address whose input has been accepted (step S605).

[0055] If the control unit 11 determines that the IP address in the received response frame does not match the specified IP address whose input was accepted (step S605: NO), the control unit 11 returns the process to step S604 and waits for reception of another response frame. If the control unit 11 determines that the IP address in the received response frame matches the specified IP address whose input was accepted (step S605: YES), the control unit 11 extracts the MAC address from the received response frame (step S606).

[0056] The control unit 11 establishes communication with the second relay device 2 in the WDS mode using the received IP address and the extracted MAC address (step S607). After the communication is established, when the communication with the second relay device 2 is terminated, the first relay device enters a standby state for input of an IP address by a user or an administrator, or for a scan frame from another relay device (a new first relay device).

[0057] As described above, in this embodiment 1, the MAC address of the second relay device 2 to which a connection is to be made can be identified based on the IP address. Therefore, even when the MAC address is uncertain, such as when there are multiple nearby relay devices or when the MAC addresses of multiple relay devices cannot be known because the multiple relay devices are installed on different mobile bodies, the MAC address of the second relay device 2 to which a connection is to be made can be easily identified, making it possible to build a wireless communication system in WDS mode while reducing the workload of the system administrator.

[0058] (Embodiment 2) The configuration of a communication system 10 according to a second embodiment of the present invention and a block diagram showing a configuration example in which a CPU (Central Processing Unit) of a first relay device 1 (second relay device 2) of the communication system 10 according to the second embodiment of the present invention is used as a control unit are similar to those in the first embodiment, and therefore detailed description is omitted by assigning the same reference numerals. The second embodiment differs from the first embodiment in that, instead of the first relay device 1 transmitting a scan frame, a beacon frame is transmitted from the second relay device 2 at regular time intervals.

[0059] Fig. 7 is a functional block diagram of the first relay device 1 and the second relay device 2 according to the second embodiment of the present invention. In Fig. 7, a sequence for constructing a communication system 10 in the WDS mode from the first relay device 1 to the second relay device 2 will be described with reference to Fig. 8 as well.

[0060] The input receiving unit 101 of the first relay device 1 receives an input of an IP address (predetermined IP address) set in the second relay device 2 that is the other end of the WDS communication. The predetermined IP address may be received as an input from a terminal device that is connected to be able to communicate with the first relay device 1. Of course, if the first relay device 1 is equipped with a touch display 7 or the like, it may also receive a direct input.

[0061] The beacon transmitting unit 205 of the second relay device 2 transmits a beacon frame notifying that it is in a connectable state. FIG. 8 is an exemplary diagram showing a data structure of a beacon frame generated by the second relay device 2 according to the second embodiment of the present invention. FIG. 8(a) shows an exemplary diagram of the data structure of a beacon frame, and FIG. 8(b) shows an exemplary diagram of a frame format of IEEE802.11. As shown in FIG. 8(a), the second relay device 2 sets its own IP address in the private area 81 of the beacon frame in the data area 82 shown in FIG. 8(b). The beacon transmitting unit 205 is realized by the control unit 22, the storage device 23, the memory 22, the communication interface 27, and the like.

[0062] The second relay device 2 then transmits the generated beacon frame at regular time intervals (for example, 100 msec). The beacon frame is incorporated into the data field 82 of the IEEE802.11 frame format shown in Fig. 8(b) as in the first embodiment. The destination is not specified because it is a broadcast transmission.

[0063] The destination MAC address of the beacon frame is set in the IEEE 802.11 header 83 of the IEEE 802.11 frame format. That is, in the frame format shown in Fig. 8(b), "FF:FF:FF:FF:FF:FF" for the beacon frame is set in the Address 1 storage area 44 that stores the destination, and the MAC address of the second relay device 2, which is the source, is set in the Address 2 storage area 85.

[0064] 7, the beacon receiving unit 108 of the first relay device receives a beacon frame from the second relay device 2. The IP address determining unit 105 determines whether or not the IP address in the received beacon frame matches a predetermined IP address whose input has been accepted by the input accepting unit 101. The beacon receiving unit 108 is realized by the control unit 11, the storage device 13, the memory 12, the communication interface 17, and the like.

[0065] When the IP address determination unit 105 determines that the IP address in the received beacon frame matches the predetermined IP address input by the input reception unit 101, the MAC address extraction unit 106 extracts the MAC address from the received beacon frame. Specifically, the MAC address set in the Address2 storage area 85 of the frame format shown in FIG. 8(b) is extracted. On the other hand, when the IP address determination unit 105 determines that the IP address in the received beacon frame does not match the predetermined IP address input by the input reception unit 101, the IP address determination unit 105 discards the received beacon frame and notifies the beacon reception unit 108 to wait for reception of another beacon frame. The IP address determination unit 105 and the MAC address extraction unit 106 are realized by the control unit 11, the storage device 13, the memory 12, etc.

[0066] In the IEEE802.11 frame format, instead of the MAC address itself, a unique identification information associated with the MAC address is usually set. Therefore, since the identification information associated with the MAC address of the second relay device 2 is set in the Address2 storage area 85, it is sufficient to extract the identification information and specify the MAC address based on the extracted identification information.

[0067] The communication establishment unit 107 establishes communication with the second relay device 2 in the WDS mode using the IP address that has been accepted and the extracted MAC address. Specifically, the communication is established through an authentication process and an association process in which the communication establishment unit 107 of the first relay device 1 and the communication establishment unit 204 of the second relay device mutually confirm the channel, modulation method, and MAC address used to establish communication, and then the communication proceeds to data communication. Note that the process after the authentication process is not particularly limited as long as it is a well-known process, and therefore a detailed description will be omitted. The communication establishment unit 107 and the communication establishment unit 204 are realized by the control unit 11 (21), the storage device 13 (23), the memory 12 (22), the communication interface 17 (27), and the like.

[0068] 9 is a flowchart showing a processing procedure of the control unit 11 until communication is established between the first relay device 1 and the second relay device 2 according to the second embodiment of the present invention. As shown in Fig. 9, the control unit 11 of the first relay device 1 receives an input of a predetermined IP address (for example, an input from a system administrator or the like) (step S901).

[0069] The control unit 11 receives a beacon frame generated by the second relay device 2, in which the own IP address is set as unique data in the frame (step S902). The control unit 11 determines whether the IP address in the received beacon frame matches the predetermined IP address whose input has been accepted (step S903).

[0070] If the control unit 11 determines that the IP address in the received beacon frame does not match the specified IP address whose input was accepted (step S903: NO), the control unit 11 returns the process to step S902 and waits for reception of another beacon frame. If the control unit 11 determines that the IP address in the received beacon frame matches the specified IP address whose input was accepted (step S903: YES), the control unit 11 extracts the MAC address from the received beacon frame (step S904).

[0071] The control unit 11 establishes communication with the second relay device 2 in the WDS mode using the received IP address and the extracted MAC address (step S905). After the communication is established, when the communication with the second relay device 2 is terminated, the first relay device enters a standby state for input of an IP address by a user or an administrator, or for a scan frame from another relay device (a new first relay device).

[0072] As described above, in this second embodiment, by using a beacon frame specifying an IP address, the MAC address of the second relay device 2 to which the connection is to be made can be identified. Therefore, even if the MAC address is uncertain, such as when there are multiple nearby relay devices or when the MAC addresses of the multiple relay devices cannot be known because the multiple relay devices are installed on different mobile bodies, the MAC address of the second relay device 2 to which the connection is to be made can be easily identified, making it possible to build a wireless communication system in WDS mode while reducing the workload of the system administrator.

[0073] The present invention is not limited to the above embodiment, and various modifications and improvements are possible within the scope of the present invention. For example, in the first embodiment, the first relay device 1 that transmitted the scan frame determines whether the IP address included in the response frame returned from one or more second relay devices 2 is the same as the IP address that received the input, but the second relay device 2 may determine whether the IP address included in the scan frame received by the device itself is the same as the IP address set in the device itself, and return the response frame to the first relay device 1 only when it is determined that they are the same. In this case, it is expected that the same effect as in the first embodiment can be obtained.

[0074] Fig. 10 is a functional block diagram of a first relay device 1 and a second relay device 2 according to another embodiment of the present invention. Also in Fig. 10, a sequence for constructing a communication system 10 in the WDS mode from the first relay device 1 to the second relay device 2 will be described.

[0075] The input receiving unit 101 of the first relay device 1 receives an input from a user or administrator of an IP address (predetermined IP address) set in the second relay device that is to be the other end of communication in the WDS mode. The predetermined IP address may be received as an input from a terminal device that is connected to be able to communicate with the first relay device 1. Of course, if the first relay device 1 is equipped with a touch display 7 or the like, it may receive a direct input. The input receiving unit 101 is realized by the control unit 11, the touch display 7, the video interface 15, the communication interface 17, and the like.

[0076] The frame generating unit 102 of the first relay device 1 generates a scan frame in which the received predetermined IP address is set in the wireless frame. The data structure of the generated scan frame is the same as that of the first embodiment, so a detailed description is omitted. The frame generating unit 102 is realized by the control unit 11, the storage device 13, the memory 12, etc.

[0077] The scan transmission unit 103 broadcasts the scan frame generated by the frame generation unit 102 to the surroundings of its own device (first relay device 1) in order to search for a nearby second relay device 2. The destination is not specified because it is a broadcast transmission. The scan transmission unit 103 is realized by the control unit 11, the storage device 13, the memory 12, the communication interface 17, etc.

[0078] The scan reception determination unit 201 of the second relay device 2 determines whether or not a scan frame has been received from the first relay device 1. If the scan reception determination unit 201 determines that a scan frame has been received, the IP address determination unit 205 determines whether or not the IP address in the received scan frame matches the IP address of the own device (the second relay device 2).

[0079] When the IP address determination unit 205 determines that the IP address in the received scan frame does not match the IP address of its own device (second relay device 2), the IP address determination unit 205 discards the received scan frame. When the IP address in the received scan frame matches the IP address of its own device (second relay device 2), the response frame generation unit 202 generates a response frame in which the IP address stored in the received scan frame is set as unique data in the frame, since the IP address is the same as its own IP address. The data configuration of the response frame is also the same as in the first embodiment, so a detailed description will be omitted. The scan reception determination unit 201, the IP address determination unit 205, and the response frame generation unit 202 are realized by the control unit 21, the storage device 23, the memory 22, the communication interface 27, and the like.

[0080] The response transmitting unit 203 returns the response frame generated by the response frame generating unit 202 to the first relay device 1 which is the source of the scan frame. The response transmitting unit 203 is realized by the control unit 21, the storage device 23, the memory 22, the communication interface 27, and the like.

[0081] The response receiving unit 104 of the first relay device receives a response frame from the second relay device 2. The MAC address extracting unit 106 extracts a MAC address from the received response frame. The response receiving unit 104 and the MAC address extracting unit 106 are realized by the control unit 11, the storage device 13, the memory 12, the communication interface 17, etc.

[0082] In the IEEE802.11 frame format, instead of the MAC address itself, a unique identification information associated with the MAC address is usually set. Therefore, since the identification information associated with the MAC address of the second relay device 2 is set in the Address2 storage area 55, the identification information is extracted, and the MAC address is identified based on the extracted identification information.

[0083] The communication establishment unit 107 establishes communication with the second relay device 2 in the WDS mode using the IP address that has been accepted and the extracted MAC address. Specifically, the communication is established through an authentication process and an association process in which the communication establishment unit 107 of the first relay device 1 and the communication establishment unit 204 of the second relay device mutually confirm the channel, modulation method, and MAC address used to establish communication, and then the communication proceeds to data communication. Note that the process after the authentication process is not particularly limited as long as it is a well-known process, and therefore a detailed description will be omitted. The communication establishment unit 107 and the communication establishment unit 204 are realized by the control unit 11 (21), the storage device 13 (23), the memory 12 (22), the communication interface 17 (27), and the like.

[0084] In addition, the IP addresses of the present invention are assumed to be assigned to each relay device in advance. However, they do not need to be associated one-to-one with the MAC addresses, and for example, a unique IP address may be assigned to each connected vehicle in which multiple vehicles are connected. In this case, even if the connection order of the vehicles or the connected vehicles are changed, the MAC addresses of the relay devices mounted on the nearby vehicles can be reliably extracted based on the IP addresses. [Explanation of symbols]

[0085] 1. First relay device 2. Second relay device 11, 21 Control section 12, 22 Memory 13, 23 Storage device 16, 26 disk drives 17, 27 Communication Interface 18, 28 Internal Bus

Claims

1. A communication system in which a first relay device and a second relay device can wirelessly communicate with each other in a WDS mode, The first relay device An input receiving means for receiving an input of a predetermined IP address; a frame generating means for generating a scan frame in which the predetermined IP address is set in a wireless frame; a scan transmission means for transmitting the scan frame for searching for a nearby second relay device; Equipped with The second relay device a scan reception determination means for determining whether the scan frame has been received; a response frame generating unit that generates a response frame in which its own IP address is set as unique data within the frame when the scan reception determining unit determines that the scan frame has been received; a response transmitting means for returning the generated response frame to the first relay device; Equipped with The first relay device A response receiving means for receiving the response frame; an IP address determination means for determining whether or not an IP address in the received response frame matches the predetermined IP address input by the input reception means; a MAC address extraction means for extracting a MAC address from the received response frame when the IP address determination means determines that the IP address in the received response frame matches the predetermined IP address input by the input reception means; a communication establishment means for establishing communication with the second relay device in a WDS mode using the IP address whose input has been accepted and the extracted MAC address; A communication system comprising:

2. 2. The communication system according to claim 1, wherein the MAC address extraction means extracts identification information associated with the MAC address from the response frame, and identifies the MAC address based on the extracted identification information.

3. A communication system in which a first relay device and a second relay device can wirelessly communicate with each other in a WDS mode, The second relay device a beacon transmitting means for transmitting a beacon frame in which the own IP address is set as unique data in the frame at a fixed time interval; The first relay device An input receiving means for receiving an input of a predetermined IP address; a beacon receiving means for receiving the beacon frame; an IP address determination means for determining whether or not an IP address in the received beacon frame matches the predetermined IP address input by the input reception means; a MAC address extraction means for extracting a MAC address from the received beacon frame when the IP address determination means determines that the IP address in the received beacon frame matches the predetermined IP address whose input has been accepted; a communication establishment means for establishing communication with the second relay device in a WDS mode using the IP address whose input has been accepted and the extracted MAC address; A communication system comprising:

4. 4. The communication system according to claim 3, wherein the MAC address extraction means extracts identification information associated with the MAC address from the beacon frame, and identifies the MAC address based on the extracted identification information.

5. A communication system in which a first relay device and a second relay device can wirelessly communicate with each other in a WDS mode, The first relay device An input receiving means for receiving an input of a predetermined IP address; a frame generating means for generating a scan frame in which the predetermined IP address is set in a wireless frame; a scan transmission means for transmitting the scan frame for searching for a nearby second relay device; Equipped with The second relay device a scan reception determination means for determining whether the scan frame has been received; an IP address determination means for determining whether or not an IP address in the received scan frame matches the device's own IP address when the scan reception determination means determines that the scan frame has been received; a response frame generating unit that generates a response frame in which the IP address of the device is set as unique data in the frame when the IP address determining unit determines that the IP address in the received scan frame matches the device's own IP address; a response transmitting means for returning the generated response frame to the first relay device; Equipped with The first relay device A response receiving means for receiving the response frame; a MAC address extraction means for extracting a MAC address from the received response frame; a communication establishment means for establishing communication with the second relay device in a WDS mode using the IP address whose input has been accepted and the extracted MAC address; A communication system comprising:

6. 6. The communication system according to claim 5, wherein the MAC address extraction means extracts identification information associated with the MAC address from the response frame, and identifies the MAC address based on the extracted identification information.

7. A communication method capable of wirelessly communicating between a first relay device and a second relay device in a WDS mode, comprising: The first relay device accepting an input of a predetermined IP address; generating a scan frame in which the predetermined IP address is set in a wireless frame; transmitting the scan frame to search for a nearby second relay device; Including, The second relay device determining whether the scan frame is received; generating a response frame in which the IP address of the device is set as unique data within the frame when it is determined that the scan frame has been received; returning the generated response frame to the first relay device; and The first relay device receiving the response frame; determining whether an IP address in the received response frame matches the predetermined IP address whose input has been accepted; extracting a MAC address from the received response frame when it is determined that the IP address in the received response frame matches the predetermined IP address whose input has been accepted; establishing communication with the second relay device in a WDS mode using the IP address whose input has been accepted and the extracted MAC address; A communication method comprising:

8. A communication method capable of wirelessly communicating between a first relay device and a second relay device in a WDS mode, comprising: The second relay device transmitting a beacon frame, in which the own IP address is set as unique data within the frame, at regular time intervals; The first relay device accepting an input of a predetermined IP address; receiving the beacon frame; determining whether an IP address in the received beacon frame matches the predetermined IP address whose input has been accepted; extracting a MAC address from the received beacon frame when it is determined that the IP address in the received beacon frame matches the predetermined IP address whose input has been accepted; establishing communication with the second relay device in a WDS mode using the IP address whose input has been accepted and the extracted MAC address; A communication method comprising:

9. A communication method capable of wirelessly communicating between a first relay device and a second relay device in a WDS mode, comprising: The first relay device accepting an input of a predetermined IP address; generating a scan frame in which the predetermined IP address is set in a wireless frame; transmitting the scan frame to search for a nearby second relay device; Including, The second relay device determining whether the scan frame is received; When it is determined that the scan frame has been received, determining whether or not an IP address in the received scan frame matches the IP address of the device itself; generating a response frame in which the IP address of the device is set as unique data in the frame when it is determined that the IP address in the received scan frame matches the device's own IP address; returning the generated response frame to the first relay device; and The first relay device receiving the response frame; extracting a MAC address from the received response frame; establishing communication with the second relay device in a WDS mode using the IP address whose input has been accepted and the extracted MAC address; A communication method comprising:

10. A first relay device capable of wirelessly communicating with a second relay device in a WDS mode, An input receiving means for receiving an input of a predetermined IP address; a frame generating means for generating a scan frame in which the predetermined IP address is set in a wireless frame; a scan transmission means for transmitting the scan frame for searching for a nearby second relay device; a response receiving means for receiving a response frame from the second relay device, the response frame having an IP address of the second relay device set as unique data within the frame; an IP address determination means for determining whether or not an IP address in the received response frame matches the predetermined IP address input by the input reception means; a MAC address extraction means for extracting a MAC address from the received response frame when the IP address determination means determines that the IP address in the received response frame matches the predetermined IP address input by the input reception means; a communication establishment means for establishing communication with the second relay device in a WDS mode using the IP address whose input has been accepted and the extracted MAC address; A first relay device comprising:

11. 11. The first relay device according to claim 10, wherein the MAC address extraction means extracts identification information associated with the MAC address from the response frame, and identifies the MAC address based on the extracted identification information.

12. A first relay device capable of wirelessly communicating with a second relay device in a WDS mode, An input receiving means for receiving an input of a predetermined IP address; a beacon receiving means for receiving the beacon frame; a beacon receiving means for receiving a beacon frame transmitted at a fixed time interval, the beacon frame having an IP address of the second relay device set as unique data within the frame; an IP address determination means for determining whether or not an IP address in the received beacon frame matches the predetermined IP address input by the input reception means; a MAC address extraction means for extracting a MAC address from the received beacon frame when the IP address determination means determines that the IP address in the received beacon frame matches the predetermined IP address input by the input reception means; a communication establishment means for establishing communication with the second relay device in a WDS mode using the IP address whose input has been accepted and the extracted MAC address; A first relay device comprising:

13. 13. The first relay device according to claim 12, wherein the MAC address extraction means extracts identification information associated with the MAC address from the beacon frame, and identifies the MAC address based on the extracted identification information.

14. A computer program executable on a first relay device capable of wirelessly communicating with a second relay device in a WDS mode, comprising: The first relay device, An input receiving means for receiving an input of a predetermined IP address; a frame generating means for generating a scan frame in which the predetermined IP address is set in a wireless frame; a scan transmission means for transmitting the scan frame for searching for a nearby second relay device; a response receiving means for receiving a response frame from the second relay device, the response frame having an IP address of the second relay device set as unique data within the frame; an IP address determination means for determining whether or not an IP address in the received response frame matches the predetermined IP address inputted and accepted by the input acceptance means; a MAC address extraction means for extracting a MAC address from the received response frame when the IP address determination means determines that the IP address in the received response frame matches the predetermined IP address input by the input reception means; and A communication establishment means for establishing communication with the second relay device in a WDS mode using the IP address whose input has been accepted and the extracted MAC address. A computer program characterized by causing the computer to function as follows.

15. A computer program executable on a first relay device capable of wirelessly communicating with a second relay device in a WDS mode, comprising: The first relay device, An input receiving means for receiving an input of a predetermined IP address; beacon receiving means for receiving the beacon frame; a beacon receiving means for receiving a beacon frame transmitted at a fixed time interval, the beacon frame having an IP address of the second relay device set as unique data within the frame; an IP address determination means for determining whether or not an IP address in the received beacon frame matches the predetermined IP address input by the input reception means; a MAC address extraction means for extracting a MAC address from the received beacon frame when the IP address determination means determines that the IP address in the received beacon frame matches the predetermined IP address input by the input reception means; and A communication establishment means for establishing communication with the second relay device in a WDS mode using the IP address whose input has been accepted and the extracted MAC address. A computer program characterized by causing the computer to function as follows.

Citation Information

Patent Citations

  • Repeating system

    JP2007028124A

  • Wireless LAN data communication system, wireless access point, wireless LAN data communication method and program therefor

    JP2007158896A

  • Relay system, sharing relay device, and relay method

    JP2014154892A

  • Repeating method and corresponding communication network device, system, computer program and computer readable storage medium

    JP2016208513A

  • Terminal equipment, control method for terminal equipment, and program

    JP2018107726A