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
- operation mode
- unit
- 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
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
Description
技术领域technical field
本发明涉及具有能够将动作模式切换设定为母机模式和中继机模式的结构的无线通信装置。The present invention relates to a wireless communication device having a configuration capable of switching an operation mode between a master mode and a repeater mode.
背景技术Background technique
在一般的无线LAN(Local Area Network:局域网)系统中,有时设置无线LAN接入点(以下简称作接入点),该无线LAN接入点具有作为母机发挥功能的母机模式和作为对母机与子机之间的无线LAN通信进行中继的中继机发挥功能的中继机模式,作为动作模式。这种接入点构成为能够通过物理或软件的模式切换开关将动作模式切换设定为母机模式和中继机模式,作为母机或中继机发挥功能(例如参照专利文献1和2)。In a general wireless LAN (Local Area Network) system, a wireless LAN access point (hereinafter simply referred to as an access point) is sometimes installed. A repeater mode in which a repeater that relays wireless LAN communication between slaves functions as an operation mode. Such an access point is configured to be able to switch the operation mode between the master mode and the repeater mode by a physical or software mode switch, and function as a master or repeater (for example, see
现有技术文献prior art literature
专利文献Patent Literature
专利文献1:日本特开2013-157882号公报Patent Document 1: Japanese Patent Laid-Open No. 2013-157882
专利文献2:日本特开2007-150509号公报Patent Document 2: Japanese Patent Laid-Open No. 2007-150509
发明内容SUMMARY OF THE INVENTION
发明要解决的课题The problem to be solved by the invention
这里,在利用无线LAN系统的环境中设置接入点的情况下,以往,接入点的设置作业者需要手动地将接入点的动作模式设定为母机模式或中继机模式。因此,设置作业者可能发生接入点的动作模式的设定错误。作为这种设定错误,例如可举出应该将接入点的动作模式设定为母机模式而错误地将其设定为中继机模式的错误、忘记将接入点的动作模式从母机模式设定变更为中继机模式的错误等。Here, when an access point is installed in an environment using a wireless LAN system, conventionally, an access point installation operator has to manually set the operation mode of the access point to the master mode or the repeater mode. Therefore, the installation operator may make a mistake in setting the operation mode of the access point. Such a setting error includes, for example, an error in which the operation mode of the access point should be set to the master mode but is mistakenly set to the repeater mode, and the operation mode of the access point is forgotten to be changed from the master mode. Error in setting change to repeater mode, etc.
本发明正是为了解决上述课题而完成的,其目的在于,得到能够根据设置状况而适当地自动设定动作模式的无线通信装置。The present invention has been made in order to solve the above-mentioned problems, and an object thereof is to obtain a wireless communication device capable of automatically setting an operation mode appropriately according to an installation situation.
用于解决课题的手段means of solving problems
本发明中的无线通信装置具有:无线通信部,其与连接目的地进行无线通信;有线通信部,其经由接口部而与连接目的地进行有线通信;连接判定部,其进行判定有线通信部的接口部和连接目的地是否连接着的连接判定;以及动作模式设定部,其按照由连接判定部进行的连接判定的结果,将动作模式切换设定为母机模式和中继机模式,在连接判定中判定为接口部和连接目的地连接着的情况下,动作模式设定部将动作模式设定为母机模式,在连接判定中判定为接口部和连接目的地未连接的情况下,动作模式设定部将动作模式设定为中继机模式。The wireless communication device in 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 the connection destination via an interface unit; and a connection determination unit that determines whether the wired communication unit a connection determination of whether or not the interface unit and the connection destination are connected; and an operation mode setting unit that switches the operation mode to the master mode and the repeater mode according to the result of the connection determination performed by the connection determination unit, and when the connection is made When it is determined that the interface unit and the connection destination are connected in the judgment, the operation mode setting unit sets the operation mode to the master mode, and when it is determined that the interface unit and the connection destination are not connected in the connection determination, the operation mode is set. The setting unit sets the operation mode to the repeater mode.
发明效果Invention effect
根据本发明,可得到能够根据设置状况而适当地自动设定动作模式的无线通信装置。According to the present invention, a wireless communication device capable of automatically setting an operation mode appropriately according to an installation situation can be obtained.
附图说明Description of drawings
图1是示出本发明的实施方式1中的无线LAN系统的结构图。FIG. 1 is a configuration diagram showing a wireless LAN system in
图2是示出本发明的实施方式1中的无线通信装置的结构图。FIG. 2 is a block diagram showing a wireless communication apparatus in
图3是示出本发明的实施方式1中的无线通信装置存储的条件定义表的一例的表。3 is a table showing an example of a condition definition table stored in the wireless communication device according to
图4是示出本发明的实施方式1中的无线通信装置存储的动作模式决定表的一例的表。4 is a table showing an example of an operation mode determination table stored in the wireless communication device according to
图5是示出本发明的实施方式1中的无线LAN系统的2台无线通信装置双方的动作模式为模式未设定的状况的结构图。5 is a configuration diagram showing a situation in which the operation modes of both the two wireless communication apparatuses in the wireless LAN system according to
图6是示出本发明的实施方式1中的无线通信装置的连接判定部进行的连接判定的一连串动作的流程图。6 is a flowchart showing a series of operations for connection determination performed by the connection determination unit of the wireless communication device according to
图7是示出图5的与连接目的地连接着的无线通信装置存储的条件定义表的一例的表。FIG. 7 is a table showing an example of a condition definition table stored in the wireless communication device connected to the connection destination of FIG. 5 .
图8是示出图5的未与连接目的地连接的无线通信装置存储的条件定义表的一例的表。FIG. 8 is a table showing an example of a condition definition table stored in the wireless communication device not connected to the connection destination of FIG. 5 .
图9是示出本发明的实施方式1中的无线通信装置的动作模式设定部进行的动作模式设定的一连串动作的流程图。9 is a flowchart showing a series of operations for operation mode setting performed by an operation mode setting unit of the wireless communication device according to
具体实施方式Detailed ways
下面,按照优选的实施方式,使用附图对本发明的无线通信装置进行说明。另外,在附图的说明中,对相同部分或相当部分标注相同标号并省略重复的说明。Hereinafter, the wireless communication apparatus of the present invention will be described according to preferred embodiments with reference to the drawings. In addition, in description of drawings, the same code|symbol is attached|subjected to the same part or a corresponding part, and the repeated description is abbreviate|omitted.
实施方式1
图1是示出本发明的实施方式1中的无线LAN系统的结构图。本实施方式1中的无线LAN系统构成为具有2台无线通信装置1和子机2。FIG. 1 is a configuration diagram showing a wireless LAN system in
另外,在图1中,为了区分2台无线通信装置1,将一个无线通信装置1表记为无线通信装置1(A),将另一个无线通信装置1表记为无线通信装置1(B)。此外,在图1中,例示出无线通信装置1(A)的动作模式设定为母机模式而无线通信装置1(B)的动作模式设定为中继机模式的情况。In addition, in FIG. 1, in order to distinguish two
如图1所示,作为母机发挥功能的无线通信装置1(A)与作为中继机发挥功能的无线通信装置1(B)之间无线连接,无线通信装置1(B)与子机2之间无线连接。As shown in FIG. 1 , a wireless communication device 1 (A) functioning as a master unit and a wireless communication device 1 (B) functioning as a relay unit are wirelessly connected, and the wireless communication device 1 (B) and the
该情况下,子机2即使未进入无线通信装置1(A)的通信区,也能够经由无线通信装置1(B)而与无线通信装置1(A)进行无线通信。根据子机2的位置,子机的连接目的地从无线通信装置1(B)切换为无线通信装置1(A),无线通信装置1(A)与子机2之间有时也无线连接。In this case, the
无线通信装置1(A)经由后述的LAN接口而与设备X和设备Y分别连接。例如,在上述无线LAN系统应用于升降机维护用的系统的情况下,在作为母机发挥功能的无线通信装置1(A)的LAN接口连接有通信装置、显示装置等。进而,无线通信装置1(A)经由后述的WAN(WideArea Network:广域网)接口而与互联网等上位网络连接。另一方面,无线通信装置1(B)未分别经由LAN接口和WAN接口而与连接目的地连接。The wireless communication device 1 (A) is connected to the device X and the device Y, respectively, via a LAN interface to be described later. For example, when the above-described wireless LAN system is applied to a system for elevator maintenance, a communication device, a display device, and the like are connected to the LAN interface of the wireless communication device 1 (A) functioning as a master. Furthermore, the wireless communication device 1 (A) is connected to a higher-level network such as the Internet via a WAN (WideArea Network) interface to be described later. On the other hand, the wireless communication device 1 (B) is not connected to the connection destination via the LAN interface and the WAN interface, respectively.
这样,在作为母机发挥功能的无线通信装置1(A)的LAN接口和WAN接口分别连接有设备和上位网络。另一方面,在作为中继机发挥功能的无线通信装置1(B)的LAN接口和WAN接口未进行任何连接。In this way, a device and a higher-level network are connected to the LAN interface and the WAN interface of the wireless communication device 1 (A) functioning as a parent machine, respectively. On the other hand, the LAN interface and the WAN interface of the wireless communication device 1 (B) functioning as a repeater are not connected at all.
接着,参照图2对无线通信装置1的结构进行说明。图2是示出本发明的实施方式1中的无线通信装置1的结构图。无线通信装置1例如通过执行运算处理的微计算机、存储程序数据和固定值数据等数据的ROM(Read Only Memory:只读存储器)、对存储着的数据进行更新并依次改写的RAM(Random Access Memory:随机存取存储器)和通信机等实现。Next, the configuration of the
如图2所示,本实施方式1中的无线通信装置1具有无线通信部11、有线通信部12、存储条件定义表13和动作模式决定表14的存储部(未图示)、连接判定部15以及动作模式设定部16。As shown in FIG. 2 , the
无线通信部11与连接目的地进行无线通信。有线通信部12具有用于与连接目的地进行通信连接的接口部,经由接口部而与连接目的地进行有线通信。The
有线通信部12的接口部构成为包含主要用于与周边设备等进行通信连接的LAN接口、以及主要用于与互联网等上位网络进行通信连接的WAN接口。The interface unit of the
另外,在实施方式1中,例示出接口部构成为包含LAN接口和WAN接口的情况,但是不限于此。即,接口部构成为包含LAN接口和WAN接口中的至少一方即可,可以任意构成。In addition, in
存储部存储条件定义表13和动作模式决定表14。这里,参照图3对条件定义表13的一例进行说明。图3是示出本发明的实施方式1中的无线通信装置1存储的条件定义表13的一例的表。The storage unit stores the condition definition table 13 and the 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
图3所示的“#”表示识别条件的信息,这里,例示出登记有“1”~“3”这3个条件的情况。"#" shown in FIG. 3 represents information of identification conditions, and here, a case where three conditions "1" to "3" are registered is exemplified.
图3所示的“对象接口”表示接口部中包含的作为判定对象的接口,按照每个条件登记“LAN接口”或“WAN接口”。The “target interface” shown in FIG. 3 indicates the interface to be determined in the interface unit, and the “LAN interface” or the “WAN interface” is registered for each condition.
图3所示的“状态”表示对应的对象接口与连接目的地的连接状态,按照每个条件登记“链路接通”、“链路断开”或“IP”。The "state" shown in FIG. 3 represents the connection state between the corresponding object interface and the connection destination, and "link up", "link down" or "IP" is registered for each condition.
“链路接通”表示对应的对象接口与连接目的地连接着的状态。“链路断开”表示对应的对象接口未与连接目的地连接的状态。“IP”表示对应的对象接口与具有指定的IP(Internet Protocol:互联网协议)地址的设备连接着的状态。"Link up" indicates a state in which the corresponding object interface is connected to the connection destination. "Link down" indicates a state in which the corresponding object interface is not connected to the connection destination. "IP" indicates a state in which the corresponding object interface is connected to a device having a specified IP (Internet Protocol) address.
图3所示的“结果”表示对应的条件成立还是不成立,按照每个条件记录“成立”或“不成立”。The "result" shown in FIG. 3 indicates whether the corresponding condition is satisfied or not, and "established" or "not established" is recorded for each condition.
作为具体例,在条件1中,登记“WAN接口”作为对象接口,登记“链路接通”作为连接状态。该情况下,在有线通信部12的WAN接口与连接目的地连接着时,条件1成立,在WAN接口未与连接目的地连接时,条件1不成立。As a specific example, in
此外,在条件2中,登记“LAN接口”作为对象接口,登记“IP”作为连接状态。该情况下,在有线通信部12的LAN接口与具有指定的IP地址(这里如图3例示的那样为“192.0.2.100”)的设备连接着时,条件2成立,在LAN接口未与该设备连接时,条件2不成立。Further, in
进而,在条件3中,登记“LAN接口”作为对象接口,登记“链路断开”作为连接状态。该情况下,在有线通信部12的LAN接口未与连接目的地连接时,条件3成立,在LAN接口与连接目的地连接着时,条件3不成立。Furthermore, in
另外,在无线通信装置1刚刚起动后,如图3所示,与条件定义表13中登记的全部条件分别对应的“结果”为“不成立”。In addition, immediately after the
这样,条件定义表13按照每个条件将接口部中包含的对象接口和对象接口与连接目的地的连接状态关联起来进行定义。In this way, the condition definition table 13 defines the object interface and the object interface included in the interface unit in association with the connection state of the connection destination for each condition.
接着,参照图4对动作模式决定表14的一例进行说明。图4是示出本发明的实施方式1中的无线通信装置1存储的动作模式决定表14的一例的表。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
图4所示的“动作模式”表示无线通信装置1的动作模式,登记“母机模式”或“中继机模式”。The “operation mode” shown in FIG. 4 represents the operation mode of the
图4所示的“逻辑式”表示条件定义表13中定义的全部条件中的需要成立的条件,作为与母机模式对应的逻辑式,登记表示该条件为条件1或条件2的“1或2”,作为与中继机模式对应的逻辑式,登记表示该条件为条件3的“3”。The "logical expression" shown in FIG. 4 represents a condition that needs to be satisfied among all the conditions defined in the condition definition table 13, and as the logical expression corresponding to the master mode, "1 or 2" indicating that the condition is
该情况下,在条件定义表13中,在条件1的“结果”或条件2的“结果”为“成立”时,与母机模式对应的逻辑式为真,在条件1的“结果”和条件2的“结果”均为“不成立”时,该逻辑式为伪。在与母机模式对应的逻辑式为真的情况下,动作模式设定为母机模式。In this case, in the condition definition table 13, when the "result" of
此外,在条件定义表13中,在条件3的“结果”为“成立”时,与子机模式对应的逻辑式为真,在条件3的“结果”为“不成立”时,该逻辑式为伪。在与子机模式对应的逻辑式为真的情况下,动作模式设定为子机模式。In addition, in the condition definition table 13, when the "result" of the
这样,动作模式决定表14将动作模式和定义了条件定义表13中需要成立的条件的逻辑式关联起来进行定义。In this way, the operation pattern determination table 14 defines the operation pattern in association with the logical expression that defines the conditions to be satisfied in the condition definition table 13 .
返回图2的说明,连接判定部15进行判定有线通信部12的接口部和连接目的地是否连接着的连接判定。具体而言,连接判定部15在连接判定中调查接口部中包含的对象接口与连接目的地的连接状态,由此判定接口部和连接目的地是否连接着。Returning to the description of FIG. 2 , the
更具体而言,连接判定部15在连接判定中,按照条件定义表13的每个条件调查对象接口与连接目的地的连接状态,由此,针对全部条件判定成立还是不成立。另外,调查对象接口与连接目的地的连接状态的具体方法容后再述。More specifically, in connection determination, the
动作模式设定部16按照由连接判定部15进行的连接判定的结果,将动作模式切换设定为母机模式和中继机模式。换言之,动作模式设定部16在连接判定中判定为接口部和连接目的地连接着的情况下,将动作模式设定为母机模式。此外,动作模式设定部16在连接判定中判定为接口部和连接目的地未连接的情况下,将动作模式设定为中继机模式。The operation
接着,参照图5~图9对无线通信装置1的动作模式从模式未设定的状态设定为母机模式或中继机模式时的无线通信装置1的一连串动作进行说明。图5是示出本发明的实施方式1中的无线LAN系统的2台无线通信装置1双方的动作模式为模式未设定的状况的结构图。另外,在图5所示的状况下,在无线通信装置1(A)和无线通信装置1(B)各自的存储部中预先存储有图3所示的条件定义表13和图4所示的动作模式决定表14。Next, a series of operations of the
在图5中,无线通信装置1(A)未起动,动作模式未设定。该情况下,无线通信装置1(A)的无线LAN功能无效。进而,无线通信装置1(A)处于如下状况:已经经由LAN接口而与设备X和设备Y分别连接,并且已经经由WAN接口而与上位网络连接。In FIG. 5, the wireless communication device 1(A) is not activated, and the operation mode is not set. In this case, the wireless LAN function of the wireless communication device 1(A) is disabled. Furthermore, the wireless communication apparatus 1(A) is in a state in which it has been connected to the device X and the device Y, respectively, via the LAN interface, and has been connected to the upper network via the WAN interface.
与无线通信装置1(A)同样,无线通信装置1(B)未起动,动作模式未设定。该情况下,无线通信装置1(B)的无线LAN功能无效。进而,无线通信装置1(B)处于未经由LAN接口和WAN接口中的任意一方与连接目的地连接的状况。Like 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 LAN function of the wireless communication device 1 (B) is disabled. Furthermore, the wireless communication device 1 (B) is in a state where it is not connected to the connection destination through either the LAN interface or the WAN interface.
在上述状况下,无线通信装置1(A)和无线通信装置1(B)分别起动,在起动后,将动作模式从模式未设定的状态设定为母机模式或中继机模式。无线通信装置1(A)和无线通信装置1(B)分别进行这种设定后,根据接口部与连接目的地的连接状态,定期地执行设定动作模式的动作。由此,无线通信装置1能够根据最新的连接状态设定适当的动作模式。In the above-mentioned situation, the wireless communication device 1(A) and the wireless communication device 1(B) are respectively activated, and after activation, the operation mode is set from a state in which the mode is not set to the master mode or the repeater mode. After the wireless communication device 1 (A) and the wireless communication device 1 (B) perform such settings, the operation of setting the operation mode is periodically executed according to the connection state between the interface unit and the connection destination. Thereby, the
下面,参照图6~图9进一步对无线通信装置1的上述动作进行说明。Next, the above-described operation of the
首先,参照图6对连接判定部15进行的连接判定进行说明。图6是示出本发明的实施方式1中的无线通信装置1的连接判定部15进行的连接判定的一连串动作的流程图。First, the connection determination performed by the
在步骤S101中,连接判定部15从条件定义表13取得一个未调查的条件,处理进入步骤S102。In step S101, the
在步骤S102中,判定在步骤S101中取得的条件的“状态”是否是“IP”。In step S102, it is determined whether or not the "state" of the condition acquired in step S101 is "IP".
在步骤S102中判定为“状态”是“IP”的情况下,处理进入步骤S103,在判定为“状态”不是“IP”的情况下,处理进入步骤S107。When it is determined in step S102 that the "state" is "IP", the process proceeds to step S103, and when it is determined that the "state" is not "IP", the process proceeds to step S107.
在步骤S103中,连接判定部15经由有线通信部12向指定的IP地址发送ping(ICMPecho request),作为相当于对象接口的LAN接口与连接目的地的连接状态的调查,处理进入步骤S104。In step S103, the
在步骤S104中,连接判定部15针对在步骤S103中发送的ping,判定是否在一定时间内返回了响应(ICMP echo reply)。In step S104, the
在步骤S104中判定为返回了响应的情况下,处理进入步骤S105。When it is determined in step S104 that a response has been returned, the process proceeds to step S105.
在步骤S105中,连接判定部15将在步骤S101中取得的条件的“结果”设定为“成立”,处理进入步骤S109。In step S105, the
另一方面,在步骤S104中判定为未返回响应的情况下,处理进入步骤S106。On the other hand, when it is determined in step S104 that no response has been returned, the process proceeds to step S106.
在步骤S106中,连接判定部15将在步骤S101中取得的条件的“结果”设定为“不成立”,处理进入步骤S109。In step S106, the
这样,连接判定部15调查作为判定对象的LAN接口与连接目的地的连接状态。具体而言,连接判定部15在向指定的IP地址发送ping且针对该ping返回了响应的情况下,判断为LAN接口与具有该IP地址的设备连接着。此外,连接判定部15在向指定的IP地址发送ping且针对该ping未返回响应的情况下,判断为LAN接口未与具有该IP地址的设备连接。In this way, the
在步骤S107中,作为相当于对象接口的LAN接口或WAN接口与连接目的地的连接状态的调查,连接判定部15调查在步骤S101中取得的条件的“对象接口”是链路接通还是链路断开,处理进入步骤S108。In step S107, the
在步骤S108中,连接判定部15判定在步骤S107中调查出的“对象接口”的链路状态和在步骤S101中取得的条件的“状态”是否一致。In step S108, the
在步骤S108中判定为调查出的链路状态和条件的“状态”一致的情况下,处理进入步骤S105。该情况下,在步骤S105中,连接判定部15将在步骤S101中取得的条件的“结果”设定为“成立”,处理进入步骤S109。When it is determined in step S108 that the investigated link state matches the "state" of the condition, the process proceeds to step S105. In this case, in step S105, the
另一方面,在步骤S108中判定为调查出的链路状态和条件的“状态”不一致的情况下,处理进入步骤S106。该情况下,在步骤S106中,连接判定部15将在步骤S101中取得的条件的“结果”设定为“不成立”,处理进入步骤S109。On the other hand, when it is determined in step S108 that the investigated link state does not match the "state" of the condition, the process proceeds to step S106. In this case, in step S106, the
这样,连接判定部15调查作为判定对象的LAN接口或WAN接口与连接目的地的连接状态。具体而言,连接判定部15调查LAN接口或WAN接口是链路接通还是链路断开。In this way, the
在步骤S109中,连接判定部15判定条件定义表13的全部条件的调查是否已完成。In step S109, the
在步骤S109中判定为全部条件的调查已完成的情况下,处理结束。When it is determined in step S109 that the investigation of all the conditions has been completed, the process ends.
另一方面,在步骤S109中判定为全部条件的调查未完成的情况下,处理返回步骤S101,针对条件定义表的未调查的条件,再次进行从步骤S101起的处理。On the other hand, when it is determined in step S109 that the investigation of all conditions has not been completed, the process returns to step S101, and the process from step S101 is performed again for the uninvestigated conditions in the condition definition table.
这样,连接判定部15针对条件定义表13的全部条件执行图6所示的一连串处理,由此,能够得到条件定义表13的各条件成立还是不成立的结果。In this way, the
这里,作为具体例,在图5所示的状况下,考虑无线通信装置1(A)和无线通信装置1(B)各自的连接判定部15执行图6所示的一连串处理的情况,进而参照图7和图8对无线通信装置1的动作进行说明。Here, as a specific example, in the situation shown in FIG. 5 , consider the case where the
图7是示出图5的与连接目的地连接着的无线通信装置1(A)存储的条件定义表13的一例的表。图8是示出图5的未与连接目的地连接的无线通信装置1(B)存储的条件定义表13的一例的表。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 of FIG. 5 . FIG. 8 is a table showing an example of the condition definition table 13 stored in the wireless communication device 1 (B) not connected to the connection destination of FIG. 5 .
考虑如下情况:在图5所示的状况下,伴随着无线通信装置1(A)起动,通过无线通信装置1(A)的连接判定部15执行图6所示的一连串处理。Consider a case where, in the situation shown in FIG. 5 , the series of processing shown in FIG. 6 is executed by the
该情况下,如图5所示,在无线通信装置1(A)中,WAN接口和上位网络连接着,因此,WAN接口进行链路接通。因此,条件定义表13的条件1的“状态”与由连接判定部15调查的链路状态一致,因此,条件1的“结果”为“成立”。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 performs link connection. Therefore, since the "state" of the
此外,在无线通信装置1(A)中,LAN接口和设备连接着,因此,在通过连接判定部15向指定的IP地址发送了ping的情况下,针对该ping返回响应。因此,条件2的“结果”为“成立”。Also, in the wireless communication device 1(A), since the LAN interface and the device are connected, when the
进而,在无线通信装置1(A)中,LAN接口和设备连接,因此,LAN接口进行链路接通。因此,条件定义表13的条件3的“状态”与由连接判定部15调查的链路状态不一致,因此,条件3的“结果”为“不成立”。Furthermore, in the wireless communication apparatus 1(A), since the LAN interface is connected to the device, the LAN interface performs link connection. Therefore, the "state" of the
这样,在无线通信装置1(A)的连接判定部15执行了图6所示的一连串处理的情况下,条件定义表13从图3所示的内容变成图7所示的内容。In this way, when the
接着,考虑如下情况:在图5所示的状况下,伴随着无线通信装置1(B)起动,通过无线通信装置1(B)的连接判定部15执行图6所示的一连串处理。Next, consider a case where, in the situation shown in FIG. 5 , the series of processing shown in FIG. 6 is executed by the
该情况下,如图5所示,在无线通信装置1(B)中,WAN接口和上位网络未连接,因此,WAN接口进行链路断开。因此,条件定义表13的条件1的“状态”与由连接判定部15调查的链路状态不一致,因此,条件1的“结果”为“不成立”。In this case, as shown in FIG. 5 , in the wireless communication device 1 (B), since the WAN interface and the upper network are not connected, the WAN interface performs link disconnection. Therefore, the "state" of the
此外,在无线通信装置1(B)中,LAN接口和设备未连接,因此,在通过连接判定部15向指定的IP地址发送了ping的情况下,针对该ping未返回响应。因此,条件2的“结果”为“不成立”。Also, in the wireless communication device 1 (B), since the LAN interface and the device are not connected, when the
进而,在无线通信装置1(B)中,LAN接口和设备未连接,因此,LAN接口进行链路断开。因此,条件定义表13的条件3的“状态”与由连接判定部15调查的链路状态一致,因此,条件3的“结果”为“成立”。Furthermore, in the wireless communication apparatus 1(B), since the LAN interface and the device are not connected, the LAN interface performs a link disconnection. Therefore, the "state" of the
这样,在无线通信装置1(B)的连接判定部15执行了图6所示的一连串处理的情况下,条件定义表13从图3所示的内容变成图8所示的内容。In this way, when the
接着,参照图9对在连接判定部15进行了连接判定后由动作模式设定部16进行的动作模式设定进行说明。图9是示出本发明的实施方式1中的无线通信装置1的动作模式设定部16进行的动作模式设定的一连串动作的流程图。Next, the operation mode setting by the operation
在步骤S201中,动作模式设定部16从动作模式决定表14取得母机模式的逻辑式,处理进入步骤S202。In step S201, the operation
在步骤S202中,动作模式设定部16参照条件定义表13,判定在步骤S201中取得的逻辑式是否为真。In step S202, the operation
在步骤S202中判定为逻辑式为真的情况下,处理进入步骤S203,在判定为逻辑式为伪的情况下,处理进入步骤S204。When it is determined in step S202 that the logical expression is true, the process proceeds to step S203, and when it is determined that the logical expression is false, the process proceeds to step S204.
在步骤S203中,动作模式设定部16将动作模式设定为“母机模式”,处理结束。In step S203, the operation
这样,动作模式设定部16在条件定义表13中条件1的“结果”或条件2的“结果”为“成立”的情况下,将动作模式设定为母机模式。具体而言,动作模式设定部16参照条件定义表13和动作模式决定表14,在与母机模式对应的逻辑式为真的情况下,将动作模式设定为母机模式。In this way, the operation
在步骤S204中,动作模式设定部16从动作模式决定表14取得中继机模式的逻辑式,处理进入步骤S205。In step S204, the operation
在步骤S205中,动作模式设定部16参照条件定义表13,判定在步骤S204中取得的逻辑式是否为真。In step S205, the operation
在步骤S205中判定为逻辑式为真的情况下,处理进入步骤S206,在判定为逻辑式为伪的情况下,处理进入步骤S207。When it is determined in step S205 that the logical expression is true, the process proceeds to step S206, and when it is determined that the logical expression is false, the process proceeds to step S207.
在步骤S206中,动作模式设定部16将动作模式设定为“中继机模式”,处理结束。In step S206, the operation
这样,动作模式设定部16在条件定义表13中条件3的“结果”为“成立”的情况下,将动作模式设定为子机模式。具体而言,动作模式设定部16参照条件定义表13和动作模式决定表14,在与中继机模式对应的逻辑式为真的情况下,将动作模式设定为中继机模式。In this way, the operation
在步骤S207中,动作模式设定部16将动作模式设定为“模式未设定”,处理结束。In step S207, the operation
这里,作为具体例,考虑如下情况:在图5所示的状况下,执行图6所示的一连串处理,由此,无线通信装置1(A)得到图7所示的条件定义表13,无线通信装置1(B)得到图8所示的条件定义表13。另外,无线通信装置1(A)和无线通信装置1(B)各自的动作模式决定表14是图4所示的表。Here, as a specific example, consider a case where, in the situation shown in FIG. 5, a series of processes shown in FIG. 6 are executed, whereby the wireless communication device 1 (A) obtains the condition definition table 13 shown in FIG. The communication device 1(B) obtains the condition definition table 13 shown in FIG. 8 . In addition, the operation mode determination table 14 of each of the wireless communication device 1 (A) and the wireless communication device 1 (B) is a table shown in FIG. 4 .
该情况下,无线通信装置1(A)的动作模式设定部16在步骤S201中,从动作模式决定表14取得“1或2”作为与母机模式对应的逻辑式。In this case, in step S201, the operation
如图7所示,在条件定义表13中,条件1的“结果”、条件2的“结果”和条件3的“结果”分别为“成立”、“成立”和“不成立”。因此,在步骤S202中,动作模式设定部16参照条件定义表13,判断为条件1的“结果”或条件2的“结果”为“成立”,判定为所取得的逻辑式为真。As shown in FIG. 7 , in the condition definition table 13, the "result" of
其结果是,动作模式设定部16将动作模式设定为母机模式。因此,在图5所示的状况下,不需要设置者进行手动设定,无线通信装置1(A)的动作模式自动设定为母机模式。As a result, the operation
此外,在上述情况下,无线通信装置1(B)的动作模式设定部16在步骤S201中,从动作模式决定表14取得“1或2”作为与母机模式对应的逻辑式。In the above case, the operation
如图8所示,在条件定义表13中,条件1的“结果”、条件2的“结果”和条件3的“结果”分别为“不成立”、“不成立”和“成立”。因此,在步骤S202中,动作模式设定部16参照条件定义表13,判断为条件1的“结果”或条件2的“结果”不为“成立”,判定为所取得的逻辑式为伪。As shown in FIG. 8 , in the condition definition table 13, the "result" of
接着,在步骤S204中,动作模式设定部16从动作模式决定表14取得“3”作为与中继机模式对应的逻辑式。该情况下,在步骤S205中,动作模式设定部16参照条件定义表13,判断为条件3的“结果”为“成立”,判定为所取得的逻辑式为真。Next, in step S204, the operation
其结果是,动作模式设定部16将动作模式设定为中继机模式。因此,在图5所示的状况下,不需要设置者进行手动设定,无线通信装置1(B)的动作模式自动设定为中继机模式。As a result, the operation
这样,动作模式设定部16构成为按照由连接判定部15进行的连接判定的结果,将动作模式切换设定为母机模式和中继机模式。因此,能够进行与无线通信装置1的设置状况对应的动作模式的自动设定。In this way, the operation
如上所述,根据本实施方式1,无线通信装置构成为判定用于与连接目的地进行有线通信的接口部和连接目的地是否连接着,按照其判定结果将动作模式切换设定为母机模式和中继机模式。As described above, according to the first embodiment, the wireless communication device is configured to determine whether the interface unit for wired communication with the connection destination is connected to the connection destination, and to switch the operation mode to the master mode and the connection destination according to the determination result. Repeater mode.
由此,能够根据无线通信装置的设置状况而适当地自动设定动作模式。其结果是,能够削减无线通信装置的设置作业者的动作模式设定作业的负荷,并且,能够抑制设置作业者的动作模式的设定错误。Thereby, the operation mode can be appropriately and automatically set according to the installation situation 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.
另外,在实施方式1中,作为判定接口部和连接目的地是否连接着的具体结构,例示出如下结构。即,无线通信装置构成为在连接判定中调查接口部中包含的对象接口与连接目的地的连接状态,由此判定接口部和连接目的地是否连接着。In addition, in
此外,在实施方式1中,作为判定接口部和连接目的地是否连接着的另一个具体结构,例示出如下结构。即,无线通信装置构成为存储条件定义表,该条件定义表按照每个条件将接口部中包含的对象接口和对象接口与连接目的地的连接状态关联起来进行定义。进而,无线通信装置构成为按照条件定义表的每个条件调查对象接口与连接目的地的连接状态,由此,针对全部条件判定成立还是不成立。In addition, in
进而,在实施方式1中,作为在使用条件定义表的情况下将动作模式切换设定为母机模式和中继机模式的具体结构,例示出如下结构。即,无线通信装置构成为还存储动作模式决定表,该动作模式决定表将动作模式和定义了条件定义表中需要成立的条件的逻辑式关联起来进行定义。进而,构成为参照条件定义表和动作模式决定表,在与母机模式对应的逻辑式为真的情况下,将动作模式设定为母机模式,在与中继机模式对应的逻辑式为真的情况下,将动作模式设定为中继机模式。Furthermore, in
标号说明Label description
1:无线通信装置;2:子机;11:无线通信部;12:有线通信部;13:条件定义表;14:动作模式决定表;15:连接判定部;16:动作模式设定部。1: wireless communication device; 2: slave; 11: wireless communication unit; 12: wired communication unit; 13: condition definition table; 14: operation mode determination table; 15: connection determination unit; 16: operation mode setting unit.
Claims (5)
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 for seamlessly roaming between multiple wireless networks using a single wireless network adapter |
| JP2008306454A (en) * | 2007-06-07 | 2008-12-18 | Sharp Corp | Portable terminal device, device control system, device control method, 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 (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004289421A (en) * | 2003-03-20 | 2004-10-14 | Matsushita Electric Ind Co Ltd | Multi-mode wireless communication device |
| 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 and wireless terminal capable of setting repeater function, and relay route search method |
| JP2007295344A (en) * | 2006-04-26 | 2007-11-08 | Nakayo Telecommun Inc | Wireless access system |
| JP5692814B2 (en) | 2012-01-31 | 2015-04-01 | Necプラットフォームズ株式会社 | Information providing apparatus, information providing method, and program |
-
2018
- 2018-02-19 JP JP2018537675A patent/JP6727313B2/en active Active
- 2018-02-19 CN CN201880078408.7A patent/CN111434136B/en active Active
- 2018-02-19 WO PCT/JP2018/005709 patent/WO2019159356A1/en not_active Ceased
- 2018-02-19 KR KR1020207010462A patent/KR102337628B1/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 for seamlessly roaming between multiple wireless networks using a single wireless network adapter |
| JP2008306454A (en) * | 2007-06-07 | 2008-12-18 | Sharp Corp | Portable terminal device, device control system, device control method, 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 |
|---|---|
| WO2019159356A1 (en) | 2019-08-22 |
| CN111434136B (en) | 2024-01-30 |
| JPWO2019159356A1 (en) | 2020-02-27 |
| JP6727313B2 (en) | 2020-07-22 |
| KR20200111155A (en) | 2020-09-28 |
| KR102337628B1 (en) | 2021-12-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100906504B1 (en) | Wireless communication system, wireless lan access point and settings confirmation/change method used therefor | |
| JP5672275B2 (en) | Network system | |
| JP5741480B2 (en) | Communication system, relay device, and power supply control method | |
| JP2017028523A (en) | Repeating device, ecu, and on-vehicle system | |
| JP6352325B2 (en) | Communications system | |
| JP6390520B2 (en) | In-vehicle communication system | |
| JP6801300B2 (en) | Control program | |
| CN107659677A (en) | The apparatus and method that a kind of IP address based on BMC automatically configures | |
| WO2020054396A1 (en) | Relay device for vehicle | |
| US20110196967A1 (en) | Communication control apparatus, communication control system, and communication control method | |
| JP2019214353A (en) | Communication device and control method | |
| US20190037017A1 (en) | Information processing device, information processing method, information processing program and information processing system | |
| CN111434136A (en) | wireless communication device | |
| JP6815978B2 (en) | Initial setting method for remote monitoring system and monitored equipment | |
| JP6708057B2 (en) | Control program | |
| JP6586909B2 (en) | Data management method and data management system | |
| US10419386B2 (en) | Endpoint identifiers registration | |
| US10256988B2 (en) | Communication system, communication device, communication adapter, communication method, and program | |
| JP2005348401A (en) | Interchangeable communication modules for work machine | |
| JP5825867B2 (en) | Monitoring device, monitoring method, monitoring program, and monitoring system | |
| JP2017212502A5 (en) | ||
| CN110554935B (en) | Facility monitoring system, and communication method in facility monitoring system | |
| KR102343570B1 (en) | radio communication device | |
| EP3451633B1 (en) | Image capturing apparatus, client apparatus, and method | |
| JP2018064165A (en) | Automatic address setting 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 |
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. |
|
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |