CN111434136A - Wireless communication device - Google Patents
Wireless communication device Download PDFInfo
- Publication number
- CN111434136A CN111434136A CN201880078408.7A CN201880078408A CN111434136A CN 111434136 A CN111434136 A CN 111434136A CN 201880078408 A CN201880078408 A CN 201880078408A CN 111434136 A CN111434136 A CN 111434136A
- Authority
- CN
- China
- Prior art keywords
- wireless communication
- unit
- operation mode
- connection
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 145
- 230000014509 gene expression Effects 0.000 claims description 32
- 238000000034 method Methods 0.000 description 26
- 238000012545 processing Methods 0.000 description 8
- 238000009434 installation Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 238000011835 investigation Methods 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/08—Access point devices
- H04W88/10—Access point devices adapted for operation in multiple networks, e.g. multi-mode access points
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W16/00—Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
- H04W16/24—Cell structures
- H04W16/26—Cell enhancers or enhancement, e.g. for tunnels, building shadow
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
- H04W84/22—Self-organising networks, e.g. ad-hoc networks or sensor networks with access to wired networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A wireless communication device is provided with: a wireless communication unit that performs wireless communication with a connection destination; a wired communication unit that performs wired communication with a connection destination via the interface unit; a connection determination unit that performs connection determination for determining whether or not the interface unit of the wired communication unit and the connection destination are connected; and an operation mode setting unit that switches and sets the operation mode between the master mode and the relay mode according to a result of the connection determination by the connection determination unit, wherein the operation mode setting unit sets the operation mode to the master mode when the connection determination unit determines that the interface unit and the connection destination are connected, and sets the operation mode to the relay mode when the connection determination unit determines that the interface unit and the connection destination are not connected.
Description
Technical Field
The present invention relates to a wireless communication device having a configuration capable of switching and setting an operation mode between a master mode and a relay mode.
Background
In a general wireless L AN (L annular Area Network) system, a wireless L AN access point (hereinafter, simply referred to as AN access point) may be provided, and the wireless L AN access point has a master mode functioning as a master and a relay mode functioning as a relay for relaying wireless L AN communication between the master and a slave, and functions as a master or a relay by switching the operation mode between the master mode and the relay mode by a physical or software mode switch (see, for example, patent documents 1 and 2).
Documents of the prior art
Patent document
Patent document 1: japanese laid-open patent publication No. 2013-157882
Patent document 2: japanese laid-open patent publication No. 2007-150509
Disclosure of Invention
Problems to be solved by the invention
Here, when AN access point is installed in AN environment using the wireless L AN system, conventionally, it is necessary for AN installation worker of the access point to manually set the operation mode of the access point to the master mode or the relay mode.
The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a wireless communication device capable of automatically setting an operation mode appropriately according to an installation situation.
Means for solving the problems
The wireless communication device of the present invention includes: a wireless communication unit that performs wireless communication with a connection destination; a wired communication unit that performs wired communication with a connection destination via the interface unit; a connection determination unit that performs connection determination for determining whether or not the interface unit of the wired communication unit and the connection destination are connected; and an operation mode setting unit that switches and sets the operation mode between the master mode and the relay mode according to a result of the connection determination by the connection determination unit, wherein the operation mode setting unit sets the operation mode to the master mode when the connection determination unit determines that the interface unit and the connection destination are connected, and sets the operation mode to the relay mode when the connection determination unit determines that the interface unit and the connection destination are not connected.
Effects of the invention
According to the present invention, a wireless communication apparatus capable of automatically setting an operation mode appropriately according to the installation situation can be obtained.
Drawings
Fig. 1 is a configuration diagram showing a wireless L AN system according to embodiment 1 of the present invention.
Fig. 2 is a configuration diagram showing a wireless communication apparatus according to embodiment 1 of the present invention.
Fig. 3 is a table showing an example of a condition definition table stored in the radio communication apparatus according to embodiment 1 of the present invention.
Fig. 4 is a table showing an example of an operation mode determination table stored in the wireless communication apparatus according to embodiment 1 of the present invention.
Fig. 5 is a configuration diagram showing a state in which the operation modes of both the 2 wireless communication apparatuses of the wireless L AN system are not set in the mode according to embodiment 1 of the present invention.
Fig. 6 is a flowchart showing a series of operations of connection determination by the connection determination unit of the wireless communication device according to embodiment 1 of the present invention.
Fig. 7 is a table showing an example of a condition definition table stored in the wireless communication apparatus connected to the connection destination shown in fig. 5.
Fig. 8 is a table showing an example of a condition definition table stored in the wireless communication apparatus not connected to the connection destination in fig. 5.
Fig. 9 is a flowchart showing a series of operations of the operation mode setting by the operation mode setting unit of the wireless communication apparatus according to embodiment 1 of the present invention.
Detailed Description
Hereinafter, a radio communication apparatus according to the present invention will be described with reference to the drawings according to preferred embodiments. In the description of the drawings, the same or corresponding portions are denoted by the same reference numerals, and redundant description thereof is omitted.
Fig. 1 is a configuration diagram showing a wireless L AN system according to embodiment 1 of the present invention, and a wireless L AN system according to embodiment 1 is configured to include 2 wireless communication devices 1 and a slave unit 2.
In fig. 1, in order to distinguish 2 wireless communication apparatuses 1, one wireless communication apparatus 1 is denoted as a wireless communication apparatus 1(a), and the other wireless communication apparatus 1 is denoted as a wireless communication apparatus 1 (B). Fig. 1 illustrates a case where the operation mode of the wireless communication device 1(a) is set to the master mode and the operation mode of the wireless communication device 1(B) is set to the relay mode.
As shown in fig. 1, the wireless communication device 1(a) functioning as a master unit is wirelessly connected to the wireless communication device 1(B) functioning as a relay unit, and the wireless communication device 1(B) is wirelessly connected to the slave unit 2.
In this case, the slave unit 2 can perform wireless communication with the wireless communication device 1(a) via the wireless communication device 1(B) even if it does not enter the communication area of the wireless communication device 1 (a). Depending on the position of the slave unit 2, the connection destination of the slave unit is switched from the wireless communication device 1(B) to the wireless communication device 1(a), and the wireless communication device 1(a) and the slave unit 2 may be wirelessly connected.
For example, when the wireless L AN system is applied to a system for elevator maintenance, a communication device, a display device, and the like are connected to a L AN interface of the wireless communication device 1(a) functioning as a base unit, the wireless communication device 1(a) is further connected to a higher-level Network such as the internet via a WAN (wide area Network) interface, which will be described later, and the wireless communication device 1(B) is not connected to a connection destination via a L AN interface and a WAN interface, respectively.
As described above, the device and the upper network are connected to the L AN interface and the WAN interface of the wireless communication device 1(a) functioning as the master, respectively, while the L AN interface and the WAN interface of the wireless communication device 1(B) functioning as the relay are not connected to each other.
Next, the configuration of the radio communication apparatus 1 will be described with reference to fig. 2. Fig. 2 is a configuration diagram showing the wireless communication apparatus 1 according to embodiment 1 of the present invention. The wireless communication device 1 is realized by, for example, a microcomputer that executes arithmetic processing, a ROM (Read Only Memory) that stores data such as program data and fixed value data, a RAM (Random Access Memory) that updates and sequentially rewrites the stored data, and a communication device.
As shown in fig. 2, the wireless communication device 1 according to embodiment 1 includes a wireless communication unit 11, a wired communication unit 12, a storage unit (not shown) that stores a condition definition table 13 and an operation mode determination table 14, a connection determination unit 15, and an operation mode setting unit 16.
The wireless communication unit 11 performs wireless communication with a connection destination. The wired communication unit 12 has an interface unit for performing communication connection with a connection destination, and performs wired communication with the connection destination via the interface unit.
The interface unit of the wired communication unit 12 includes AN L AN interface mainly used for communication with peripheral devices and the like, and a WAN interface mainly used for communication with a higher-level network such as the internet.
In embodiment 1, although the case where the interface unit includes L AN interface and WAN interface is exemplified, the interface unit is not limited to this, and at least one of the L AN interface and WAN interface may be included, and any configuration may be adopted.
The storage unit stores a condition definition table 13 and an operation mode determination table 14. Here, an example of the condition definition table 13 will be described with reference to fig. 3. Fig. 3 is a table showing an example of the condition definition table 13 stored in the radio communication apparatus 1 according to embodiment 1 of the present invention.
The "#" shown in fig. 3 indicates information identifying a condition, and here, a case where 3 conditions of "1" to "3" are registered is exemplified.
The "target interface" shown in fig. 3 indicates AN interface included in the interface unit as a determination target, and registers the "L AN interface" or the "WAN interface" for each condition.
The "state" shown in fig. 3 indicates a connection state between the corresponding target interface and the connection destination, and "link on", "link off", or "IP" is registered for each condition.
"link on" indicates a state in which the corresponding object interface is connected to the connection destination. The "link disconnection" indicates a state in which the corresponding object interface is not connected to the connection destination. The "IP" indicates a state in which the corresponding object interface is connected to a device having a designated IP (Internet Protocol) address.
The "result" shown in fig. 3 indicates whether the corresponding condition is satisfied or not, and "satisfied" or "not satisfied" is recorded for each condition.
As a specific example, in condition 1, "WAN interface" is registered as the subject interface, and "link on" is registered as the connection state. In this case, the condition 1 is satisfied when the WAN interface of the wired communication unit 12 is connected to the connection destination, and the condition 1 is not satisfied when the WAN interface is not connected to the connection destination.
In condition 2, the "L AN interface" is registered as the target interface, and the "IP" is registered as the connection state, in this case, condition 2 is satisfied when the L AN interface of the wired communication unit 12 is connected to a device having a specified IP address ("192.0.2.100" here as illustrated in fig. 3), and condition 2 is not satisfied when the L AN interface is not connected to the device.
Further, in condition 3, "L AN interface" is registered as the target interface, and "link down" is registered as the connection state, in this case, condition 3 is established when the L AN interface of the wired communication unit 12 is not connected to the connection destination, and condition 3 is not established when the L AN interface is connected to the connection destination.
Immediately after the wireless communication device 1 is started, as shown in fig. 3, the "result" corresponding to each of all the conditions registered in the condition definition table 13 is "false".
In this way, the condition definition table 13 defines the object interface and the object interface included in the interface unit and the connection state of the connection destination in association with each other for each condition.
Next, an example of the operation mode determination table 14 will be described with reference to fig. 4. Fig. 4 is a table showing an example of the operation mode determination table 14 stored in the wireless communication device 1 according to embodiment 1 of the present invention.
The "operation mode" shown in fig. 4 indicates an operation mode of the wireless communication device 1, and the "master mode" or the "relay mode" is registered.
The "logical expression" shown in fig. 4 indicates a condition that needs to be satisfied among all the conditions defined in the condition definition table 13, and "1 or 2" indicating that the condition is the condition 1 or the condition 2 is registered as a logical expression corresponding to the master mode, and "3" indicating that the condition is the condition 3 is registered as a logical expression corresponding to the relay mode.
In this case, in the condition definition table 13, when the "result" of the condition 1 or the "result" of the condition 2 is "true", the logical expression corresponding to the master mode is true, and when both the "result" of the condition 1 and the "result" of the condition 2 are "false", the logical expression is false. When the logical expression corresponding to the master mode is true, the operation mode is set to the master mode.
In the condition definition table 13, when the "result" of the condition 3 is "true", the logical expression corresponding to the slave unit mode is true, and when the "result" of the condition 3 is "false", the logical expression is false. When the logical expression corresponding to the slave unit mode is true, the operation mode is set to the slave unit mode.
In this way, the operation pattern determination table 14 defines the operation patterns in association with logical expressions defining conditions that need to be satisfied in the condition definition table 13.
Returning to the description of fig. 2, the connection determination unit 15 performs connection determination for determining whether or not the interface unit of the wired communication unit 12 and the connection destination are connected. Specifically, the connection determination unit 15 determines whether or not the interface unit and the connection destination are connected by examining the connection state between the target interface and the connection destination included in the interface unit in the connection determination.
More specifically, the connection determination unit 15 determines whether all the conditions are satisfied or not by examining the connection state between the target interface and the connection destination for each condition in the condition definition table 13 in the connection determination. A specific method of investigating the connection state between the target interface and the connection destination will be described later.
The operation mode setting unit 16 switches the operation mode between the master mode and the relay mode according to the result of the connection determination performed by the connection determination unit 15. In other words, when the interface unit and the connection destination are determined to be connected in the connection determination, the operation mode setting unit 16 sets the operation mode to the master mode. When the connection determination determines that the interface unit and the connection destination are not connected, the operation mode setting unit 16 sets the operation mode to the relay device mode.
Next, a series of operations of the wireless communication device 1 when the operation mode of the wireless communication device 1 is set from the master mode or the relay mode from the state in which the mode is not set will be described with reference to fig. 5 to 9, fig. 5 is a configuration diagram showing a state in which the operation modes of both the 2 wireless communication devices 1 of the wireless L AN system in embodiment 1 of the present invention are not set, and in addition, in the state shown in fig. 5, the condition definition table 13 shown in fig. 3 and the operation mode determination table 14 shown in fig. 4 are stored in advance in the storage units of each of the wireless communication device 1(a) and the wireless communication device 1 (B).
In fig. 5, the wireless communication apparatus 1(a) is not activated and the operation mode is not set, in which case the wireless L AN function of the wireless communication apparatus 1(a) is disabled, and further, the wireless communication apparatus 1(a) is in a state in which it has been connected to the device X and the device Y via the L AN interface and has been connected to the upper network via the WAN interface.
Similarly to the wireless communication device 1(a), the wireless communication device 1(B) is not activated and the operation mode is not set, in this case, the wireless L AN function of the wireless communication device 1(B) is disabled, and further, the wireless communication device 1(B) is in a state of not being connected to the connection destination via either the L AN interface or the WAN interface.
In the above situation, the wireless communication device 1(a) and the wireless communication device 1(B) are activated, respectively, and after the activation, the operation mode is set to the master mode or the relay mode from the state in which the mode is not set. After the wireless communication apparatus 1(a) and the wireless communication apparatus 1(B) perform such setting, the operation of setting the operation mode is periodically executed according to the connection state between the interface unit and the connection destination. This enables the wireless communication device 1 to set an appropriate operation mode according to the latest connection state.
Next, the above-described operation of the wireless communication device 1 will be further described with reference to fig. 6 to 9.
First, connection determination by the connection determination unit 15 will be described with reference to fig. 6. Fig. 6 is a flowchart showing a series of operations of connection determination by the connection determination unit 15 of the wireless communication device 1 according to embodiment 1 of the present invention.
In step S101, the connection determination unit 15 acquires one unexpected condition from the condition definition table 13, and the process proceeds to step S102.
In step S102, it is determined whether or not the "state" of the condition acquired in step S101 is "IP".
If it is determined in step S102 that the "state" is "IP", the process proceeds to step S103, and if it is determined that the "state" is not "IP", the process proceeds to step S107.
In step S103, the connection determination unit 15 transmits ping (icmp echo request) to the designated IP address via the wired communication unit 12, and the process proceeds to step S104 as a survey of the connection state between the L AN interface corresponding to the target interface and the connection destination.
In step S104, the connection determination unit 15 determines whether or not a response (ICMP echo reply) is returned within a predetermined time period with respect to the ping transmitted in step S103.
If it is determined in step S104 that a response has been returned, the process proceeds to step S105.
In step S105, the connection determination unit 15 sets "result" of the condition acquired in step S101 to "true", and the process proceeds to step S109.
On the other hand, if it is determined in step S104 that no response has been returned, the process proceeds to step S106.
In step S106, the connection determination unit 15 sets the "result" of the condition acquired in step S101 to "false", and the process proceeds to step S109.
Specifically, the connection determination unit 15 determines that the connection between the L AN interface to be determined and the connection destination is connected L AN interface to the device having the IP address when sending a ping to the designated IP address and returning a response to the ping, and the connection determination unit 15 determines that the connection between the L AN interface and the device having the IP address is not connected L AN interface when sending a ping to the designated IP address and not returning a response to the ping.
In step S107, the connection determination unit 15 examines whether the "target interface" of the condition acquired in step S101 is link-on or link-off as AN examination of the connection state between the L AN interface or the WAN interface corresponding to the target interface and the connection destination, and the process proceeds to step S108.
In step S108, the connection determination unit 15 determines whether or not the link state of the "target interface" checked in step S107 matches the "state" of the condition acquired in step S101.
If it is determined in step S108 that the link state thus checked matches the "state" of the condition, the process proceeds to step S105. In this case, in step S105, the connection determination unit 15 sets "result" of the condition acquired in step S101 to "established", and the process proceeds to step S109.
On the other hand, if it is determined in step S108 that the link state checked out does not match the "state" of the condition, the process proceeds to step S106. In this case, in step S106, the connection determination unit 15 sets the "result" of the condition acquired in step S101 to "false", and the process proceeds to step S109.
In this way, the connection determination unit 15 investigates the connection state of the L AN interface or the WAN interface to be determined and the connection destination, and specifically, the connection determination unit 15 investigates L whether the AN interface or the WAN interface is link-on or link-off.
In step S109, the connection determination unit 15 determines whether or not the examination of all the conditions in the condition definition table 13 is completed.
If it is determined in step S109 that the investigation of all the conditions is completed, the process ends.
On the other hand, when it is determined in step S109 that the investigation of all the conditions is not completed, the process returns to step S101, and the process from step S101 is performed again for the unexpected conditions in the condition definition table.
In this way, the connection determination unit 15 executes the series of processing shown in fig. 6 for all the conditions in the condition definition table 13, and thereby can obtain a result of whether each condition in the condition definition table 13 is satisfied or not.
Here, as a specific example, in the situation shown in fig. 5, a case where the connection determination unit 15 of each of the wireless communication device 1(a) and the wireless communication device 1(B) executes the series of processing shown in fig. 6 is considered, and the operation of the wireless communication device 1 will be described with reference to fig. 7 and 8.
Fig. 7 is a table showing an example of the condition definition table 13 stored in the wireless communication device 1(a) connected to the connection destination shown in fig. 5. Fig. 8 is a table showing an example of the condition definition table 13 stored in the wireless communication apparatus 1(B) not connected to the connection destination in fig. 5.
Consider the following: in the situation shown in fig. 5, the connection determination unit 15 of the wireless communication device 1(a) executes a series of processing shown in fig. 6 as the wireless communication device 1(a) is activated.
In this case, as shown in fig. 5, in the wireless communication device 1(a), since the WAN interface is connected to the upper network, the WAN interface is connected to the link. Therefore, since the "state" of the condition 1 in the condition definition table 13 matches the link state investigated by the connection determination unit 15, the "result" of the condition 1 is "true".
In addition, since the L AN interface is connected to the device in the wireless communication apparatus 1(a), when the connection determination unit 15 transmits a ping to a designated IP address, a response is returned to the ping, and therefore, the "result" of the condition 2 is "established".
Further, in the wireless communication apparatus 1(a), since the L AN interface is connected to the device, the L AN interface performs link up, and therefore, the "state" of condition 3 in the condition definition table 13 does not match the link state investigated by the connection determination unit 15, and the "result" of condition 3 is "false".
As described above, when the connection determination unit 15 of the wireless communication device 1(a) executes the series of processing shown in fig. 6, the condition definition table 13 changes from the content shown in fig. 3 to the content shown in fig. 7.
Next, consider the following: in the situation shown in fig. 5, the connection determination unit 15 of the wireless communication device 1(B) executes a series of processing shown in fig. 6 as the wireless communication device 1(B) is activated.
In this case, as shown in fig. 5, in the wireless communication device 1(B), the WAN interface is disconnected from the upper network. Therefore, the "state" of condition 1 in condition definition table 13 does not match the link state investigated by connection determining unit 15, and the "result" of condition 1 is "false".
In addition, since the L AN interface and the device are not connected in the wireless communication apparatus 1(B), when the connection determination unit 15 transmits a ping to a specified IP address, no response is returned to the ping.
Further, in the wireless communication apparatus 1(B), since the L AN interface and the device are not connected, the L AN interface performs link disconnection, and therefore, the "state" of the condition 3 in the condition definition table 13 matches the link state investigated by the connection determination unit 15, and the "result" of the condition 3 is "established".
As described above, when the connection determination unit 15 of the wireless communication device 1(B) executes the series of processing shown in fig. 6, the condition definition table 13 changes from the content shown in fig. 3 to the content shown in fig. 8.
Next, the operation mode setting by the operation mode setting unit 16 after the connection determination unit 15 has performed the connection determination will be described with reference to fig. 9. Fig. 9 is a flowchart showing a series of operations of the operation mode setting by the operation mode setting unit 16 of the wireless communication device 1 according to embodiment 1 of the present invention.
In step S201, the operation mode setting unit 16 acquires the logical expression of the master mode from the operation mode determination table 14, and the process proceeds to step S202.
In step S202, the operation mode setting unit 16 refers to the condition definition table 13, and determines whether or not the logical expression obtained in step S201 is true.
If it is determined in step S202 that the logical expression is true, the process proceeds to step S203, and if it is determined that the logical expression is false, the process proceeds to step S204.
In step S203, the operation mode setting unit 16 sets the operation mode to the "master mode", and the process ends.
In this way, when the "result" of the condition 1 or the "result" of the condition 2 in the condition definition table 13 is "true", the operation mode setting unit 16 sets the operation mode to the master mode. Specifically, the operation mode setting unit 16 refers to the condition definition table 13 and the operation mode determination table 14, and sets the operation mode to the master mode when the logical expression corresponding to the master mode is true.
In step S204, the operation mode setting unit 16 acquires the logical expression of the repeater mode from the operation mode determination table 14, and the process proceeds to step S205.
In step S205, the operation mode setting unit 16 refers to the condition definition table 13, and determines whether or not the logical expression obtained in step S204 is true.
If it is determined in step S205 that the logical expression is true, the process proceeds to step S206, and if it is determined that the logical expression is false, the process proceeds to step S207.
In step S206, the operation mode setting unit 16 sets the operation mode to the "relay mode", and the process ends.
In this way, when the "result" of condition 3 in condition definition table 13 is "true", operation mode setting unit 16 sets the operation mode to the slave unit mode. Specifically, the operation mode setting unit 16 refers to the condition definition table 13 and the operation mode determination table 14, and sets the operation mode to the relay mode when the logical expression corresponding to the relay mode is true.
In step S207, operation mode setting unit 16 sets the operation mode to "mode unset", and the process ends.
Here, as a specific example, consider the following case: in the situation shown in fig. 5, by executing the series of processing shown in fig. 6, the radio communication apparatus 1(a) obtains the condition definition table 13 shown in fig. 7, and the radio communication apparatus 1(B) obtains the condition definition table 13 shown in fig. 8. The operation mode determination table 14 of each of the radio communication apparatus 1(a) and the radio communication apparatus 1(B) is a table shown in fig. 4.
In this case, in step S201, the operation mode setting unit 16 of the wireless communication device 1(a) acquires "1 or 2" as a logical expression corresponding to the master mode from the operation mode determination table 14.
As shown in fig. 7, in the condition definition table 13, "result" of the condition 1, "result" of the condition 2, and "result" of the condition 3 are "true", and "false", respectively. Therefore, in step S202, the operation mode setting unit 16 refers to the condition definition table 13, determines that the "result" of the condition 1 or the "result" of the condition 2 is "true", and determines that the acquired logical expression is true.
As a result, the operation mode setting unit 16 sets the operation mode to the master mode. Therefore, in the situation shown in fig. 5, the operation mode of the wireless communication device 1(a) is automatically set to the master mode without manual setting by the installer.
In this case, in step S201, the operation mode setting unit 16 of the wireless communication device 1(B) acquires "1 or 2" as a logical expression corresponding to the master mode from the operation mode determination table 14.
As shown in fig. 8, in condition definition table 13, "result" of condition 1, "result" of condition 2, and "result" of condition 3 are "false", and "true", respectively. Therefore, in step S202, the operation mode setting unit 16 refers to the condition definition table 13, determines that the "result" of the condition 1 or the "result" of the condition 2 is not "true", and determines that the acquired logical expression is false.
Next, in step S204, the operation mode setting unit 16 acquires "3" as a logical expression corresponding to the relay device mode from the operation mode determination table 14. In this case, in step S205, the operation mode setting unit 16 refers to the condition definition table 13, determines that the "result" of the condition 3 is "true", and determines that the obtained logical expression is true.
As a result, the operation mode setting unit 16 sets the operation mode to the relay device mode. Therefore, in the situation shown in fig. 5, the operation mode of the wireless communication device 1(B) is automatically set to the repeater mode without manual setting by the installer.
In this way, the operation mode setting unit 16 is configured to switch the operation mode between the master mode and the relay mode in accordance with the result of the connection determination performed by the connection determination unit 15. Therefore, the operation mode can be automatically set according to the installation state of the wireless communication device 1.
As described above, according to embodiment 1, the radio communication apparatus is configured to determine whether or not an interface unit for performing wired communication with a connection destination and the connection destination are connected, and to switch the operation mode between the master mode and the relay mode according to the determination result.
This makes it possible to automatically set the operation mode appropriately according to the installation state of the wireless communication device. As a result, the load of the operation mode setting work of the installation operator of the wireless communication device can be reduced, and the setting error of the operation mode of the installation operator can be suppressed.
In embodiment 1, the following configuration is exemplified as a specific configuration for determining whether or not the interface unit and the connection destination are connected. That is, the wireless communication apparatus is configured to determine whether or not the interface unit and the connection destination are connected by examining the connection state between the target interface and the connection destination included in the interface unit in connection determination.
In embodiment 1, as another specific configuration for determining whether or not the interface unit and the connection destination are connected, the following configuration is exemplified. That is, the radio communication apparatus is configured to store a condition definition table in which an object interface and an object interface included in the interface unit are defined in association with a connection state of a connection destination for each condition. Further, the wireless communication apparatus is configured to investigate the connection state between the target interface and the connection destination for each condition in the condition definition table, and thereby determine whether all the conditions are satisfied or not.
Further, in embodiment 1, as a specific configuration for switching and setting the operation mode between the master mode and the relay mode when using the condition definition table, the following configuration is exemplified. That is, the radio communication apparatus is configured to further store an operation mode determination table in which an operation mode is defined in association with a logical expression defining a condition that needs to be satisfied in the condition definition table. Further, the operation mode determination table is configured to refer to the condition definition table and the operation mode determination table, and set the operation mode to the master mode when a logical expression corresponding to the master mode is true, and set the operation mode to the relay mode when a logical expression corresponding to the relay mode is true.
Description of the reference symbols
1: a wireless communication device; 2: a sub machine; 11: a wireless communication unit; 12: a wired communication unit; 13: a condition definition table; 14: an operation mode decision table; 15: a connection determination unit; 16: an operation mode setting unit.
Claims (5)
1. A wireless communication apparatus, the wireless communication apparatus having:
a wireless communication unit that performs wireless communication with a connection destination;
a wired communication unit that performs wired communication with a connection destination via the interface unit;
a connection determination unit that performs connection determination for determining whether or not the interface unit of the wired communication unit and the connection destination are connected; and
an operation mode setting unit that switches an operation mode between a master mode and a relay mode according to a result of the connection determination by the connection determination unit,
the operation mode setting unit sets the operation mode to the master mode when it is determined that the interface unit and the connection destination are connected in the connection determination,
when it is determined in the connection determination that the interface unit and the connection destination are not connected, the operation mode setting unit sets the operation mode to the relay device mode.
2. The wireless communication apparatus of claim 1,
the connection determination unit determines whether or not the interface unit and the connection destination are connected by examining a connection state between the target interface and the connection destination included in the interface unit in the connection determination.
3. The wireless communication apparatus of claim 2,
the wireless communication apparatus further includes a storage unit that stores a condition definition table defining the object interface and the connection state in association with each other for each condition,
the connection determination unit determines whether all of the conditions are satisfied or not by examining the connection state for each of the conditions in the condition definition table in the connection determination.
4. The wireless communication apparatus of claim 3,
the storage unit further stores an operation pattern determination table defining the operation pattern in association with a logical expression defining the condition that needs to be satisfied in the condition definition table,
the operation mode setting unit refers to the condition definition table and the operation mode determination table, and sets the operation mode to the master mode when the logical expression corresponding to the master mode is true, and sets the operation mode to the relay mode when the logical expression corresponding to the relay mode is true.
5. The wireless communication device according to any one of claims 1 to 4,
the interface unit includes L at least one of AN AN interface and a WAN interface.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2018/005709 WO2019159356A1 (en) | 2018-02-19 | 2018-02-19 | Wireless communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111434136A true CN111434136A (en) | 2020-07-17 |
CN111434136B CN111434136B (en) | 2024-01-30 |
Family
ID=67619793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201880078408.7A Active CN111434136B (en) | 2018-02-19 | 2018-02-19 | Wireless communication device |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP6727313B2 (en) |
KR (1) | KR102337628B1 (en) |
CN (1) | CN111434136B (en) |
WO (1) | WO2019159356A1 (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007006069A (en) * | 2005-06-23 | 2007-01-11 | Nakayo Telecommun Inc | Access point |
US20070225026A1 (en) * | 2006-03-22 | 2007-09-27 | Broadcom Corporation, A California Corporation | Access point and terminal wireless transmission power control based on point to point parameter exchanges |
CN101322432A (en) * | 2006-09-20 | 2008-12-10 | 香港应用科技研究院有限公司 | Method of seamlessly roaming between multiple wireless networks using a single wireless network adaptor |
JP2008306454A (en) * | 2007-06-07 | 2008-12-18 | Sharp Corp | Mobile terminal device, system and method for device control, and program |
JP2011166353A (en) * | 2010-02-08 | 2011-08-25 | Nec Access Technica Ltd | Communication repeater, communication repeating method, communication repeating program |
JP2011234285A (en) * | 2010-04-30 | 2011-11-17 | Nakayo Telecommun Inc | Wireless access point having ad hoc communication function |
US20130107736A1 (en) * | 2011-11-02 | 2013-05-02 | Buffalo Inc. | Portable network communication device, method of selecting active network interface and computer readable storage medium |
CN103139321A (en) * | 2011-11-22 | 2013-06-05 | 巴法络股份有限公司 | Network device, method of controlling network device |
JP2014011728A (en) * | 2012-07-02 | 2014-01-20 | Buffalo Inc | Network relay device, main body device, attachment device, and allocation method and relay operation control method for network relay device |
CN104683248A (en) * | 2015-02-14 | 2015-06-03 | 小米科技有限责任公司 | Method and device for switching working mode |
CN104717681A (en) * | 2015-02-14 | 2015-06-17 | 小米科技有限责任公司 | Method and device for switching working mode |
JP2017151593A (en) * | 2016-02-23 | 2017-08-31 | Necプラットフォームズ株式会社 | Communication state control device, communication state control method, built-in device, and computer program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4367067B2 (en) * | 2003-09-25 | 2009-11-18 | パナソニック株式会社 | Wireless network adapter device |
JP2007150509A (en) * | 2005-11-25 | 2007-06-14 | Matsushita Electric Ind Co Ltd | Wireless lan access point capable of setting repeater function, wireless terminal and repeating route searching method |
JP5692814B2 (en) | 2012-01-31 | 2015-04-01 | Necプラットフォームズ株式会社 | Information providing apparatus, information providing method, and program |
-
2018
- 2018-02-19 KR KR1020207010462A patent/KR102337628B1/en active IP Right Grant
- 2018-02-19 JP JP2018537675A patent/JP6727313B2/en active Active
- 2018-02-19 WO PCT/JP2018/005709 patent/WO2019159356A1/en active Application Filing
- 2018-02-19 CN CN201880078408.7A patent/CN111434136B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007006069A (en) * | 2005-06-23 | 2007-01-11 | Nakayo Telecommun Inc | Access point |
US20070225026A1 (en) * | 2006-03-22 | 2007-09-27 | Broadcom Corporation, A California Corporation | Access point and terminal wireless transmission power control based on point to point parameter exchanges |
CN101322432A (en) * | 2006-09-20 | 2008-12-10 | 香港应用科技研究院有限公司 | Method of seamlessly roaming between multiple wireless networks using a single wireless network adaptor |
JP2008306454A (en) * | 2007-06-07 | 2008-12-18 | Sharp Corp | Mobile terminal device, system and method for device control, and program |
JP2011166353A (en) * | 2010-02-08 | 2011-08-25 | Nec Access Technica Ltd | Communication repeater, communication repeating method, communication repeating program |
JP2011234285A (en) * | 2010-04-30 | 2011-11-17 | Nakayo Telecommun Inc | Wireless access point having ad hoc communication function |
US20130107736A1 (en) * | 2011-11-02 | 2013-05-02 | Buffalo Inc. | Portable network communication device, method of selecting active network interface and computer readable storage medium |
CN103139321A (en) * | 2011-11-22 | 2013-06-05 | 巴法络股份有限公司 | Network device, method of controlling network device |
JP2014011728A (en) * | 2012-07-02 | 2014-01-20 | Buffalo Inc | Network relay device, main body device, attachment device, and allocation method and relay operation control method for network relay device |
CN104683248A (en) * | 2015-02-14 | 2015-06-03 | 小米科技有限责任公司 | Method and device for switching working mode |
CN104717681A (en) * | 2015-02-14 | 2015-06-17 | 小米科技有限责任公司 | Method and device for switching working mode |
JP2017151593A (en) * | 2016-02-23 | 2017-08-31 | Necプラットフォームズ株式会社 | Communication state control device, communication state control method, built-in device, and computer program |
Also Published As
Publication number | Publication date |
---|---|
KR102337628B1 (en) | 2021-12-10 |
JPWO2019159356A1 (en) | 2020-02-27 |
CN111434136B (en) | 2024-01-30 |
KR20200111155A (en) | 2020-09-28 |
WO2019159356A1 (en) | 2019-08-22 |
JP6727313B2 (en) | 2020-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5741480B2 (en) | Communication system, relay device, and power supply control method | |
KR100906504B1 (en) | Wireless communication system, wireless lan access point and settings confirmation/change method used therefor | |
CN109654666B (en) | Method, device and equipment for debugging unit | |
CN108810878B (en) | Communication terminal device, information communication system, recording medium, and information communication method | |
US10477372B2 (en) | Inter-operable remote terminal unit | |
CN111130902B (en) | Switch management method, device and storage medium | |
JP2016225905A (en) | On-vehicle communication system | |
CN111434136A (en) | Wireless communication device | |
KR102343570B1 (en) | radio communication device | |
CN113892010B (en) | Remote controller and air conditioning system | |
KR20200060453A (en) | Elevator remote monitoring system | |
JP4971968B2 (en) | Remote monitoring control system and load control terminal | |
KR20100009355A (en) | Wireless communication device and method for notifying accident of another car thereof | |
JP4600697B2 (en) | Network equipment test system | |
JP6248822B2 (en) | Communication address management system, building management system, and communication address management program | |
CN113059569A (en) | Multi-terminal interaction method, device and system | |
JP2008270946A (en) | Automatic address allocation apparatus, microwave radio communication apparatus, microwave radio communication system, and automatic address allocation method | |
JP6988542B2 (en) | Edge device, control method, and control program | |
JP2019087822A (en) | Port estimation device, port estimation system, port estimation method and port estimation program | |
JP7081415B2 (en) | Communication equipment, communication methods, and communication programs | |
JP7434210B2 (en) | wireless operation system | |
KR101799023B1 (en) | Method and apparatus for deciding coordinator in a distributed network environment network using wireless terminal | |
US20160018864A1 (en) | Communication system, communication device, and address setting method | |
US20170171063A1 (en) | Method, apparatus and non-transitory computer-readable storage medium | |
JP2008098698A (en) | Radio communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Tokyo, Japan Applicant after: Mitsubishi Electric Building Solutions Co.,Ltd. Address before: Tokyo, Japan Applicant before: MITSUBISHI ELECTRIC BUILDING TECHNO-SERVICE Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |