技术领域Technical Field
本申请实施例涉及无线通信领域,尤其涉及一种网络控制方法和相关设备。The embodiments of the present application relate to the field of wireless communications, and in particular, to a network control method and related equipment.
背景技术Background Art
在无线局域网(wireless local area network,WLAN)中,WLAN设备用于实现无线网络覆盖,从而为用户提供无线服务。其中,WLAN设备可以是光网络终端(optical networkterminal,ONT)、光纤到房间(fiber to the room,FTTR)组网中的主光纤到房间单元(mainFTTR unit,MFU)(或称为主网关)、从光纤到房间单元(sub FTTR unit,SFU)(或称为从网关)等。在某些场景(例如ONT、FTTR等场景)中存在多个WLAN设备为场景内的用户提供无线服务。In a wireless local area network (WLAN), WLAN devices are used to achieve wireless network coverage, thereby providing wireless services to users. Among them, WLAN devices can be optical network terminals (ONTs), main fiber to the room units (MFUs) (or main gateways) and sub fiber to the room units (SFUs) (or sub gateways) in fiber to the room (FTTR) networking. In some scenarios (such as ONTs and FTTRs), there are multiple WLAN devices to provide wireless services to users in the scenarios.
在多WLAN设备的网络中,需要进行网络调优。网络调优指的是通过合理分配各WLAN设备的资源,实现更好的网络覆盖与用户体验。网络调优通常在共同管理的多个WLAN设备间(即管理面互通的多个WLAN设备间)实现,只有在共同管理的WLAN设备之间才能交互设备信息,从而实现集中调优。In a network with multiple WLAN devices, network optimization is required. Network optimization refers to achieving better network coverage and user experience by reasonably allocating resources of each WLAN device. Network optimization is usually implemented between multiple WLAN devices that are jointly managed (that is, between multiple WLAN devices that are interconnected on the management plane). Only between jointly managed WLAN devices can device information be exchanged, thereby achieving centralized optimization.
共同管理的一个或多个WLAN设备可以称为一个WLAN子网络。若两个WLAN子网络是各自独立管理的(或者说在管理面上相互独立,不互通),那么两个WLAN子网络只能各自调优。对于布设位置接近(即网络覆盖范围相近甚至部分重合)的多个WLAN子网络来说,无法将多个WLAN子网络作为整体进行调优,造成调优结果片面,网络调优效果差。One or more WLAN devices that are managed together can be called a WLAN subnet. If two WLAN subnets are managed independently (or are independent of each other in terms of management and do not communicate with each other), then the two WLAN subnets can only be tuned separately. For multiple WLAN subnets that are deployed in close locations (i.e., the network coverage is similar or even partially overlapped), it is impossible to tune the multiple WLAN subnets as a whole, resulting in one-sided tuning results and poor network tuning effects.
除了网络调优,漫游决策、联合感知、定位等其他类型的网络管理控制,都会由于WLAN子网络间各自独立管理而导致控制结果片面、控制效果较差。In addition to network optimization, other types of network management and control, such as roaming decisions, joint perception, and positioning, will result in one-sided control results and poor control effects due to the independent management of WLAN subnetworks.
发明内容Summary of the invention
本申请实施例提供了一种网络控制方法和相关设备,用于对独立管理的多个WLAN子网络进行集中管理,提升网络控制效果。The embodiments of the present application provide a network control method and related devices for centrally managing multiple independently managed WLAN subnetworks to improve network control effects.
第一方面,本申请实施例提供了一种网络控制方法。该方法应用于网络中的第一WLAN设备,该网络包括独立管理的多个WLAN子网络,第一WLAN设备在多个WLAN子网络中的第一WLAN子网络内。该方法包括:第一WLAN设备广播第一超主信息,第一超主信息用于指示第一WLAN子网络的超主。在本申请实施例中,超主为用于对网络中的多个WLAN子网络进行集中控制的WLAN设备。第一WLAN设备接收第二超主信息,第二超主信息用于指示第一WLAN子网络的第一相邻WLAN子网络的超主。然后,第一WLAN设备根据第二超主信息确定是否更新第一WLAN子网络的超主,或者;第一WLAN设备向第一WLAN子网络的第一主设备发送第二超主信息,第一主设备用于根据第二超主信息确定是否更新第一WLAN子网络的超主。In a first aspect, an embodiment of the present application provides a network control method. The method is applied to a first WLAN device in a network, the network includes multiple WLAN sub-networks that are independently managed, and the first WLAN device is in a first WLAN sub-network among the multiple WLAN sub-networks. The method includes: the first WLAN device broadcasts first super master information, and the first super master information is used to indicate the super master of the first WLAN sub-network. In an embodiment of the present application, the super master is a WLAN device used to centrally control multiple WLAN sub-networks in a network. The first WLAN device receives second super master information, and the second super master information is used to indicate the super master of a first adjacent WLAN sub-network of the first WLAN sub-network. Then, the first WLAN device determines whether to update the super master of the first WLAN sub-network based on the second super master information, or; the first WLAN device sends the second super master information to the first master device of the first WLAN sub-network, and the first master device is used to determine whether to update the super master of the first WLAN sub-network based on the second super master information.
在本申请实施例中,各WLAN子网络向外广播本WLAN子网络的超主的信息,从而在WLAN子网络间交互各WLAN子网络的超主。只要不同的WLAN子网络基于相同的超主选择原则判断是否更新本WLAN子网络的超主,就可以实现相邻WLAN子网络的超主的统一。从而实现网络中各WLAN子网络的超主的统一,得到整个网络的超主。通过网络的超主实现对多个WLAN子网络的集中管理。相较于各WLAN子网络单独管理,集中管理可以通过整个网络中各WLAN子网获取网络的全局信息,从而实现更好的管理效果。In the embodiment of the present application, each WLAN subnet broadcasts the information of the super master of the WLAN subnet to the outside, so that the super masters of each WLAN subnet are exchanged between WLAN subnets. As long as different WLAN subnets determine whether to update the super master of the WLAN subnet based on the same super master selection principle, the unification of the super masters of adjacent WLAN subnets can be achieved. In this way, the unification of the super masters of each WLAN subnet in the network is achieved, and the super master of the entire network is obtained. The centralized management of multiple WLAN subnets is achieved through the super master of the network. Compared with the separate management of each WLAN subnet, centralized management can obtain the global information of the network through each WLAN subnet in the entire network, thereby achieving better management effects.
在本申请实施例中,将会出现网络的超主、WLAN子网络的超主和WLAN设备的超主等概念。网络的超主具备对网络中不同WLAN子网络进行集中控制的WLAN设备的能力,该能力可能在选择网络超主后才具备。In the embodiments of the present application, there will be concepts such as super master of network, super master of WLAN sub-network and super master of WLAN device. The super master of network has the ability to centrally control WLAN devices of different WLAN sub-networks in the network, and this ability may be available after the super master of network is selected.
WLAN子网络的超主和WLAN设备的超主是在确定网络的超主的过程中,WLAN子网络和WLAN设备选择的超主。WLAN子网络的超主和WLAN设备的超主不具备上述集中控制的能力。The super master of the WLAN sub-network and the super master of the WLAN device are super masters selected by the WLAN sub-network and the WLAN device in the process of determining the super master of the network. The super master of the WLAN sub-network and the super master of the WLAN device do not have the above-mentioned centralized control capability.
在一种可选的实现方式中,WLAN子网络内通过集中式的方式进行超主选择。第一WLAN设备为第一WLAN子网络的主设备。第一WLAN设备可以通过第一WLAN子网络的从设备和/或第一相邻WLAN子网络的设备接收第二超主信息。若第一WLAN设备根据第二超主信息确定更新第一WLAN子网络的超主,则在第一WLAN设备确定更新第一WLAN子网络的超主之后,第一WLAN设备还可以向第一WLAN子网络的从设备发送更新后的第一WLAN子网络的超主。In an optional implementation, the super master selection is performed in a centralized manner within the WLAN subnet. The first WLAN device is the master device of the first WLAN subnet. The first WLAN device may receive the second super master information through a slave device of the first WLAN subnet and/or a device of the first adjacent WLAN subnet. If the first WLAN device determines to update the super master of the first WLAN subnet according to the second super master information, then after the first WLAN device determines to update the super master of the first WLAN subnet, the first WLAN device may also send the updated super master of the first WLAN subnet to the slave devices of the first WLAN subnet.
在本申请实施例中,通过WLAN子网络的主设备来进行超主选择(也称为超主决策),主设备为WLAN子网络内唯一的超主决策节点。超主决策的全过程在主设备本地完成,不需要其他设备的参与,决策效率高,可以快速且唯一地确定WLAN子网络的超主。In the embodiment of the present application, the super master selection (also called super master decision) is performed by the master device of the WLAN sub-network, and the master device is the only super master decision node in the WLAN sub-network. The whole process of super master decision is completed locally on the master device, without the participation of other devices, and the decision efficiency is high, and the super master of the WLAN sub-network can be quickly and uniquely determined.
在一种可选的实现方式中,WLAN子网络内通过集中式的方式进行超主选择。第一WLAN设备为第一WLAN子网络的从设备。在向第一WLAN子网络的第一主设备发送第二超主信息之后,若接收来自第一主设备的更新消息,第一WLAN设备则根据更新消息中的第三超主信息更新第一WLAN设备的超主。若未接收更新消息,第一WLAN设备则不更新WLAN设备的超主。其中,第三超主信息为第一主设备所确定的,更新后的第一WLAN子网络的超主。第三超主信息可以为第一主设备接收到的一个或多个第二超主信息中的某一个。In an optional implementation, a super master selection is performed in a centralized manner within the WLAN subnet. The first WLAN device is a slave device of the first WLAN subnet. After sending the second super master information to the first master device of the first WLAN subnet, if the first WLAN device receives an update message from the first master device, the first WLAN device updates the super master of the first WLAN device according to the third super master information in the update message. If the update message is not received, the first WLAN device does not update the super master of the WLAN device. The third super master information is the super master of the updated first WLAN subnet determined by the first master device. The third super master information may be one of the one or more second super master information received by the first master device.
在本申请实施例中,WLAN子网络的超主决策由主设备进行,从设备只负责超主信息的转发与(在WLAN子网络超主更新的情况下)同步更新设备的超主。从设备不参与超主决策的过程,超主决策不消耗从设备的算力资源。In the embodiment of the present application, the super master decision of the WLAN sub-network is made by the master device, and the slave device is only responsible for forwarding the super master information and synchronizing the super master of the device (in the case of the WLAN sub-network super master update). The slave device does not participate in the super master decision process, and the super master decision does not consume the computing power resources of the slave device.
在一种可选的实现方式中,WLAN子网络内通过分布式的方式进行超主选择。第一WLAN设备可以根据第二超主信息确定是否更新第一WLAN设备的超主。若第一WLAN设备接收第二WLAN设备的更新后的超主,第一WLAN设备则根据第二WLAN设备的更新后的超主和当前的第一WLAN设备的超主,确定是否更新第一WLAN子网络的超主。其中,第二WLAN设备为第一WLAN子网络中除第一WLAN设备外的其他WLAN设备。In an optional implementation, the super master selection is performed in a distributed manner within the WLAN sub-network. The first WLAN device may determine whether to update the super master of the first WLAN device according to the second super master information. If the first WLAN device receives the updated super master of the second WLAN device, the first WLAN device determines whether to update the super master of the first WLAN sub-network according to the updated super master of the second WLAN device and the current super master of the first WLAN device. The second WLAN device is a WLAN device other than the first WLAN device in the first WLAN sub-network.
在确定更新第一WLAN设备的超主后,第一WLAN设备可以先不更新设备的超主。等到确定第一WLAN子网络的超主是否更新后,第一WLAN设备将更新后的第一WLAN子网络的超主作为第一WLAN设备的超主,并进行设备超主的更新。After determining to update the super master of the first WLAN device, the first WLAN device may not update the super master of the device first. After determining whether the super master of the first WLAN sub-network is updated, the first WLAN device uses the updated super master of the first WLAN sub-network as the super master of the first WLAN device and updates the super master of the device.
或者,在第一WLAN设备的超主更新后,第一WLAN设备就更新设备的超主,等到第一WLAN子网络的超主更新,第一WLAN设备再次进行设备超主的更新。Alternatively, after the super master of the first WLAN device is updated, the first WLAN device updates the super master of the device, and waits until the super master of the first WLAN subnet is updated, and then the first WLAN device updates the super master of the device again.
在本申请实施例中,WLAN子网络内通过分布式的方式进行超主选择,超主选择的权力下放到WLAN子网络内的各个WLAN设备上,适用于WLAN子网络多个设备地位同等的场景(例如无线网格MESH组网)。In an embodiment of the present application, super master selection is performed in a distributed manner within the WLAN subnet, and the power of super master selection is delegated to each WLAN device within the WLAN subnet, which is suitable for scenarios where multiple devices in the WLAN subnet have equal status (such as wireless mesh MESH networking).
值得注意的是,在集中式组网中,也可以使用分布式的超主选择方式,本申请对此不做限定。示例地,集中式组网可以是包括接入控制器(access controller,AC)和接入点(access point ,AP)的AC-AP组网,也可以是MFU-SFU组网。It is worth noting that in a centralized network, a distributed super master selection method may also be used, and this application does not limit this. For example, the centralized network may be an AC-AP network including an access controller (AC) and an access point (AP), or an MFU-SFU network.
在一种可选的实现方式中,在子网络的超主更新之后,第一WLAN设备还可以记录到达子网络超主的路径。具体的,若第一WLAN设备确定更新所述第一WLAN子网络的超主,则在第一WLAN设备更新第一WLAN子网络的超主之后,第一WLAN设备可以根据携带目标超主信息的第一消息记录第一上报路径。其中,目标超主信息为更新后的第一WLAN子网络的超主的信息,本申请实施例将更新后的第一WLAN子网络的超主称为目标超主为。第一上报路径为到达目标超主的路径。In an optional implementation, after the super master of the subnet is updated, the first WLAN device may also record the path to the super master of the subnet. Specifically, if the first WLAN device determines to update the super master of the first WLAN subnet, then after the first WLAN device updates the super master of the first WLAN subnet, the first WLAN device may record the first reporting path according to the first message carrying the target super master information. The target super master information is the information of the super master of the first WLAN subnet after the update, and the embodiment of the present application refers to the super master of the first WLAN subnet after the update as the target super master. The first reporting path is the path to the target super master.
在本申请实施例中,每当第一WLAN子网络的超主更新,第一WLAN设备就记录到达更新后的第一WLAN子网络超主的上报路径。从而在第一WLAN子网络的超主不更新后(此时第一WLAN子网络的超主即为网络的超主),将末次记录的上报路径作为到达网络超主的上报路径,打通从第一WLAN设备到网络超主的通信链路。In the embodiment of the present application, whenever the super master of the first WLAN sub-network is updated, the first WLAN device records the reporting path to the updated super master of the first WLAN sub-network. Therefore, after the super master of the first WLAN sub-network is not updated (at this time, the super master of the first WLAN sub-network is the super master of the network), the last recorded reporting path is used as the reporting path to the super master of the network, and the communication link from the first WLAN device to the super master of the network is opened.
在一种可选的实现方式中,第一WLAN设备通过第三WLAN设备接收第一消息。第三WLAN设备为第一相邻WLAN子网络的设备、第一WLAN子网络的主设备,或第一WLAN子网络的从设备。第一WLAN设备可以根据第一消息的接收路径,得到从第一WLAN设备到第三WLAN设备的第一发送路径,并将第一发送路径记录为第一上报路径。In an optional implementation, the first WLAN device receives the first message through a third WLAN device. The third WLAN device is a device of the first adjacent WLAN subnetwork, a master device of the first WLAN subnetwork, or a slave device of the first WLAN subnetwork. The first WLAN device can obtain a first transmission path from the first WLAN device to the third WLAN device according to a reception path of the first message, and record the first transmission path as a first reporting path.
在一种可选的实现方式中,第三WLAN设备为第一WLAN子网络的主设备或从设备,第一WLAN设备与第三WLAN设备之间建有第一管理通道,第一上报路径为第一管理通道。In an optional implementation manner, the third WLAN device is a master device or a slave device of the first WLAN subnetwork, a first management channel is established between the first WLAN device and the third WLAN device, and the first reporting path is the first management channel.
在本申请实施例中,将第一WLAN子网络内已有的第一管理通道作为第一WLAN设备到超主的通信链路,可以缩短通信链路建立的时延,以及信号在第一WLAN设备与超主之间传输的时延。In an embodiment of the present application, the existing first management channel in the first WLAN subnet is used as the communication link from the first WLAN device to the super master, which can shorten the delay in establishing the communication link and the delay in signal transmission between the first WLAN device and the super master.
在一种可选的实现方式中,第一上报路径为有线传输路径,和/或,无线传输路径。In an optional implementation, the first reporting path is a wired transmission path and/or a wireless transmission path.
在本申请实施例中,不限定第一上报路径是有线传输路径还是无线传输路径,使得第一WLAN设备到超主的通信链路有更多选择性。In the embodiment of the present application, it is not limited whether the first reporting path is a wired transmission path or a wireless transmission path, so that the communication link from the first WLAN device to the super master has more options.
在一种可选的实现方式中,第一WLAN设备多轮次广播第一超主信息,并多轮次接收第二超主信息。第一WLAN设备可以根据当前轮次接收的第二超主信息,确定是否更新第一WLAN子网络的超主,得到当前轮次的第一WLAN子网络的超主。或者,第一WLAN设备可以向第一主设备发送当前轮次的第二超主信息,第一主设备用于根据当前轮次的第二超主信息确定是否更新第一WLAN子网络的超主,得到当前轮次的第一WLAN子网络的超主。In an optional implementation, the first WLAN device broadcasts the first super master information in multiple rounds, and receives the second super master information in multiple rounds. The first WLAN device may determine whether to update the super master of the first WLAN sub-network according to the second super master information received in the current round, and obtain the super master of the first WLAN sub-network in the current round. Alternatively, the first WLAN device may send the second super master information in the current round to the first master device, and the first master device is used to determine whether to update the super master of the first WLAN sub-network according to the second super master information in the current round, and obtain the super master of the first WLAN sub-network in the current round.
在本申请实施例中,对于无法直接通信的两个WLAN子网络来说,以该两WLAN子网络中间隔的至少一个WLAN子网络为传递介质,通过多轮次的超主信息交互,实现该两WLAN子网络的超主信息的交互。保证了网络中任意两个WLAN子网络之间都可以交互超主信息,保证整个网络选取到统一的超主,确保了整个网络被一个网络超主集中控制,可以更好地实现全网络的集中控制。In the embodiment of the present application, for two WLAN sub-networks that cannot communicate directly, at least one WLAN sub-network between the two WLAN sub-networks is used as a transmission medium, and multiple rounds of super master information interaction are performed to achieve the interaction of super master information between the two WLAN sub-networks. This ensures that any two WLAN sub-networks in the network can exchange super master information, ensures that the entire network selects a unified super master, and ensures that the entire network is centrally controlled by a network super master, which can better achieve centralized control of the entire network.
在一种可选的实现方式中,在第一WLAN设备接收第二超主信息的多轮次中满足目标条件的轮次内,得到当前轮次的第一WLAN子网络的超主之后,第一WLAN设备可以将当前轮次的第一WLAN子网络的超主确定为网络的超主。其中,目标条件包括下述至少一项:广播第一超主信息的轮次数量大于或等于第一阈值;和,第一超主信息连续未更新的轮次数大于或等于第二阈值;和,距首次广播第一超主信息的时长大于或等于第三阈值。In an optional implementation, after obtaining the super master of the first WLAN sub-network in the current round in a round that satisfies the target condition among the multiple rounds in which the first WLAN device receives the second super master information, the first WLAN device may determine the super master of the first WLAN sub-network in the current round as the super master of the network. The target condition includes at least one of the following: the number of rounds in which the first super master information is broadcast is greater than or equal to a first threshold; and the number of rounds in which the first super master information is not continuously updated is greater than or equal to a second threshold; and the time from the first broadcast of the first super master information is greater than or equal to a third threshold.
在本申请实施例中,通过目标条件(第一阈值和第三阈值)的判定来保证超主选择的轮次够多,足够多的超主选择轮次使得各WLAN子网络的超主更新为同一个超主,从而确保网络中各WLAN子网络的超主的统一性。或者,通过第二阈值来判断WLAN子网络的超主的稳定性,在WLAN子网络超主稳定的情况下认为网络中各WLAN子网络的超主统一。In the embodiment of the present application, the target conditions (the first threshold and the third threshold) are determined to ensure that the number of rounds of super master selection is sufficient, and sufficient rounds of super master selection make the super master of each WLAN sub-network updated to the same super master, thereby ensuring the unity of the super masters of each WLAN sub-network in the network. Alternatively, the stability of the super master of the WLAN sub-network is determined by the second threshold, and when the super master of the WLAN sub-network is stable, it is considered that the super masters of each WLAN sub-network in the network are unified.
在一种可选的实现方式中,在第一WLAN设备接收第二超主信息之后(具体在第一目标WLAN设备确定网络的超主之后),第一WLAN设备还可以接收第一上报消息。第一上报消息为单播消息,第一上报消息的源地址为网络中的第一目标WLAN设备,目的地址为网络的超主。第一WLAN设备根据第一上报消息记录到达第一目标WLAN设备的第一下发路径,并通过第一下发路径向第一目标WLAN设备发送第一控制消息。其中,第一控制消息为网络的超主根据第一上报信息进行集中管理所得。In an optional implementation, after the first WLAN device receives the second super master information (specifically, after the first target WLAN device determines the super master of the network), the first WLAN device may also receive a first reporting message. The first reporting message is a unicast message, the source address of the first reporting message is the first target WLAN device in the network, and the destination address is the super master of the network. The first WLAN device records the first delivery path to the first target WLAN device according to the first reporting message, and sends a first control message to the first target WLAN device through the first delivery path. The first control message is obtained by the super master of the network through centralized management according to the first reporting information.
在本申请实施例中,第一WLAN设备基于第一目标WLAN设备发送给网络超主的第一上报消息(单播消息),记录到达第一目标WLAN设备的下发路径,从而打通从第一WLAN设备到第一目标WLAN设备的通信链路。对于从第一目标WLAN设备到网络超主通信链路中的每个转发节点,都可以作为第一WLAN设备记录到达第一目标WLAN设备的下发路径,从而打通从网络超主到第一目标WLAN设备的下发路径,实现网络超主对第一目标WLAN设备的控制。In the embodiment of the present application, the first WLAN device records the downlink path to the first target WLAN device based on the first reporting message (unicast message) sent by the first target WLAN device to the network super master, thereby opening up the communication link from the first WLAN device to the first target WLAN device. For each forwarding node in the communication link from the first target WLAN device to the network super master, it can be used as the first WLAN device to record the downlink path to the first target WLAN device, thereby opening up the downlink path from the network super master to the first target WLAN device, and realizing the control of the network super master over the first target WLAN device.
在一种可选的实现方式中,第一WLAN设备在网络超主所在的WLAN子网络外,第一目标WLAN设备在第一WLAN子网络外。In an optional implementation manner, the first WLAN device is outside the WLAN sub-network where the network super-host is located, and the first target WLAN device is outside the first WLAN sub-network.
在本申请实施例中,第一WLAN设备作为网络超主所在子网与第一目标超主所在子网之间的路由中转节点,实现网络超主到第一目标WLAN设备的通信。In the embodiment of the present application, the first WLAN device serves as a routing transit node between the subnet where the network super master is located and the subnet where the first target super master is located, thereby realizing communication from the network super master to the first target WLAN device.
在一种可选的实现方式中,第一WLAN设备可以接收来自第四WLAN设备的第一上报消息。其中,第四WLAN设备为第一相邻WLAN子网络的设备、第一WLAN子网络的主设备,或第一WLAN子网络的从设备。第一WLAN设备可以根据第一上报消息的接收路径得到从第一WLAN设备到第四WLAN设备的第二发送路径,并将第二发送路径记录为第一下发路径。In an optional implementation, the first WLAN device may receive a first reporting message from a fourth WLAN device. The fourth WLAN device is a device of a first adjacent WLAN subnetwork, a master device of a first WLAN subnetwork, or a slave device of a first WLAN subnetwork. The first WLAN device may obtain a second sending path from the first WLAN device to the fourth WLAN device according to a receiving path of the first reporting message, and record the second sending path as a first sending path.
在一种可选的实现方式中,第四WLAN设备为第一WLAN子网络的主设备或从设备,第一WLAN设备与第四WLAN设备之间建有第二管理通道,第一下发路径为第二管理通道。In an optional implementation manner, the fourth WLAN device is a master device or a slave device of the first WLAN sub-network, a second management channel is established between the first WLAN device and the fourth WLAN device, and the first sending path is the second management channel.
在本申请实施例中,将第一WLAN子网络内已有的第二管理通道作为第一WLAN设备到第一目标WLAN设备的通信链路,可以缩短通信链路建立的时延,以及信号在第一WLAN设备与第一目标WLAN设备之间传输的时延。In the embodiment of the present application, the second management channel existing in the first WLAN subnetwork is used as a communication link from the first WLAN device to the first target WLAN device, which can shorten the delay in establishing the communication link and the delay in signal transmission between the first WLAN device and the first target WLAN device.
在一种可选的实现方式中,第一下发路径为有线传输路径,和/或,无线传输路径。In an optional implementation, the first sending path is a wired transmission path and/or a wireless transmission path.
在本申请实施例中,不限定第一下发路径是有线传输路径还是无线传输路径,使得第一WLAN设备到第一目标WLAN设备的通信链路有更多选择性。In the embodiment of the present application, it is not limited whether the first sending path is a wired transmission path or a wireless transmission path, so that the communication link from the first WLAN device to the first target WLAN device has more options.
在一种可选的实现方式中,第一超主信息包括第一超主的能力信息,第二超主信息包括第二超主的能力信息。其中,第一超主为第一WLAN子网络的超主,第二超主为第一相邻WLAN子网络的超主。若第二超主的能力信息优于第一超主的能力信息,则第一WLAN设备可以确定根据第二超主信息更新第一WLAN子网络的超主。若第二超主的能力信息不优于第一超主的能力信息,则第一WLAN设备可以确定不根据第二超主信息更新第一WLAN子网络的超主。In an optional implementation, the first super master information includes capability information of the first super master, and the second super master information includes capability information of the second super master. The first super master is a super master of the first WLAN subnet, and the second super master is a super master of the first adjacent WLAN subnet. If the capability information of the second super master is better than the capability information of the first super master, the first WLAN device may determine to update the super master of the first WLAN subnet according to the second super master information. If the capability information of the second super master is not better than the capability information of the first super master, the first WLAN device may determine not to update the super master of the first WLAN subnet according to the second super master information.
在本申请实施例中,通过比较不同超主能力信息的优劣进行超主选择,可以选择出性能更优的超主。In the embodiment of the present application, by comparing the advantages and disadvantages of different super master capability information to perform super master selection, a super master with better performance can be selected.
值得注意的是,能力信息可以是超主的媒体访问控制(media access control,MAC)地址、设备代际、中央处理器(central processing unit,CPU)性能、内存大小、FTTR标识等,本申请对此不做限定。It is worth noting that the capability information may be the media access control (MAC) address of the super master, device generation, central processing unit (CPU) performance, memory size, FTTR identification, etc., and this application does not limit this.
在本申请实施例中,将设备代际、CPU性能、内存大小等作为超主的能力信息进行超主选择,可以选择出性能更优的超主,从而选择出算力最为充裕的超主,保证超主得以负荷对多个WLAN子网络进行集中控制的算力消耗。In the embodiment of the present application, the device generation, CPU performance, memory size, etc. are used as the capability information of the super master for super master selection, so that a super master with better performance can be selected, thereby selecting a super master with the most abundant computing power, ensuring that the super master can bear the computing power consumption of centrally controlling multiple WLAN subnets.
第二方面,本申请实施例提供了一种WLAN设备。该WLAN设备包括广播模块、接收模块和处理模块。In a second aspect, an embodiment of the present application provides a WLAN device, which includes a broadcast module, a receiving module, and a processing module.
广播模块,用于广播第一超主信息,第一超主信息用于指示第一WLAN子网络的超主,超主为用于对多个WLAN子网络进行集中控制的WLAN设备。The broadcast module is used to broadcast first super master information, where the first super master information is used to indicate a super master of the first WLAN sub-network, where the super master is a WLAN device used to centrally control multiple WLAN sub-networks.
接收模块,用于接收第二超主信息,第二超主信息用于指示第一WLAN子网络的第一相邻WLAN子网络的超主。The receiving module is used to receive second super master information, where the second super master information is used to indicate a super master of a first adjacent WLAN subnet of the first WLAN subnet.
处理模块,用于根据第二超主信息确定是否更新述第一WLAN子网络的超主,以及向第一WLAN子网络的第一主设备发送第二超主信息,第一主设备用于根据第二超主信息确定是否更新第一WLAN子网络的超主。The processing module is used to determine whether to update the super master of the first WLAN sub-network according to the second super master information, and send the second super master information to the first master device of the first WLAN sub-network, and the first master device is used to determine whether to update the super master of the first WLAN sub-network according to the second super master information.
该WLAN设备用于执行第一方面所述的方法。The WLAN device is used to execute the method described in the first aspect.
第三方面,本申请实施例提供了一种WLAN设备。该WLAN设备包括处理器和存储器,处理器与存储器耦合。存储器,用于存储程序;处理器,用于执行存储器中的程序,使得处理器执行第一方面所述的方法。In a third aspect, an embodiment of the present application provides a WLAN device. The WLAN device includes a processor and a memory, and the processor is coupled to the memory. The memory is used to store a program; the processor is used to execute the program in the memory, so that the processor executes the method described in the first aspect.
第四方面,本申请实施例提供了一种光通信网络。该网络包括独立管理的多个WLAN子网络,多个WLAN子网络包括第一WLAN子网络。第一WLAN子网络包括第一WLAN设备,第一WLAN设备为第二方面或第三方面所述的WLAN设备。In a fourth aspect, an embodiment of the present application provides an optical communication network. The network includes multiple independently managed WLAN subnetworks, the multiple WLAN subnetworks include a first WLAN subnetwork. The first WLAN subnetwork includes a first WLAN device, and the first WLAN device is the WLAN device described in the second aspect or the third aspect.
在一种可选的实现方式中,第一WLAN子网络为FTTR网络、接入控制器-接入点AC-AP网络或无线网格MESH网络。In an optional implementation manner, the first WLAN sub-network is a FTTR network, an access controller-access point AC-AP network, or a wireless mesh MESH network.
第五方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,当该计算机程序被运行时,实现上述第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the method described in the first aspect above is implemented.
第六方面,提供了一种计算机程序产品,当该计算机程序产品在计算机上执行时,计算机执行上述第一方面所述的方法。In a sixth aspect, a computer program product is provided. When the computer program product is executed on a computer, the computer executes the method described in the first aspect.
第二方面至第六方面的有益效果参见第一方面,此处不再赘述。The beneficial effects of the second to sixth aspects refer to the first aspect and will not be repeated here.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1a为本申请提供的共建场景的网络架构示意图;FIG1a is a schematic diagram of a network architecture for a co-construction scenario provided in this application;
图1b为本申请提供的拼接场景的网络架构示意图;FIG1b is a schematic diagram of the network architecture of the splicing scenario provided by the present application;
图1c为本申请提供的网络架构示意图;FIG1c is a schematic diagram of a network architecture provided by the present application;
图2为本申请实施例提供的网络控制方法的一个流程示意图;FIG2 is a schematic diagram of a flow chart of a network control method provided in an embodiment of the present application;
图3a为本申请实施例提供的集中式的超主选择流程示意图;FIG3a is a schematic diagram of a centralized super master selection process provided in an embodiment of the present application;
图3b为本申请实施例提供的分布式的超主选择流程示意图;FIG3 b is a schematic diagram of a distributed super master selection process provided in an embodiment of the present application;
图4a为本申请实施例提供的超主选择与路径记录的流程示意图;FIG4a is a schematic diagram of a process of super master selection and path recording provided by an embodiment of the present application;
图4b为本申请实施例提供的空口消息的结构示意图;FIG4b is a schematic diagram of the structure of an air interface message provided in an embodiment of the present application;
图4c为本申请实施例提供的多轮次的超主选择示意图;FIG4c is a schematic diagram of multiple rounds of super master selection provided in an embodiment of the present application;
图4d为本申请实施例提供的拼接场景的一个示意图;FIG4d is a schematic diagram of a splicing scene provided in an embodiment of the present application;
图5为本申请实施例提供的共建场景下的网络控制方法的流程示意图;FIG5 is a flow chart of a network control method in a co-construction scenario provided in an embodiment of the present application;
图6a为本申请实施例提供的拼接场景下的超主选择的流程示意图;FIG6a is a schematic diagram of a process of super-primary selection in a splicing scenario provided by an embodiment of the present application;
图6b为本申请实施例提供的拼接场景下超主选择过程中记录信息的一个示意图;FIG6b is a schematic diagram of recording information in a super master selection process in a splicing scenario provided by an embodiment of the present application;
图6c为本申请实施例提供的拼接场景下超主选择过程中记录信息的另一示意图;FIG6c is another schematic diagram of recording information in the super master selection process in the splicing scenario provided by an embodiment of the present application;
图6d为本申请实施例提供的拼接场景下超主选择过程中记录信息的另一示意图;FIG6d is another schematic diagram of recording information in the super master selection process in the splicing scenario provided by an embodiment of the present application;
图7为本申请实施例提供的拼接场景下的路径记录的流程示意图;FIG. 7 is a schematic diagram of a process of path recording in a splicing scenario provided by an embodiment of the present application;
图8为本申请实施例提供的包括上层通信设备的网络架构示意图;FIG8 is a schematic diagram of a network architecture including upper layer communication devices provided in an embodiment of the present application;
图9为本申请实施例提供的网络控制方法的另一流程示意图;FIG9 is another schematic diagram of a flow chart of a network control method provided in an embodiment of the present application;
图10为本申请实施例提供的WLAN设备的一个结构示意图;FIG10 is a schematic diagram of a structure of a WLAN device provided in an embodiment of the present application;
图11为本申请实施例提供的WLAN设备的另一结构示意图。FIG. 11 is another schematic diagram of the structure of a WLAN device provided in an embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
下面结合附图,对本申请的实施例进行描述。本领域普通技术人员可知,随着技术的发展和新场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The embodiments of the present application are described below in conjunction with the accompanying drawings. It is known to those skilled in the art that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,这仅仅是描述本申请的实施例中对相同属性的对象在描述时所采用的区分方式。此外,术语“包括”和“具有”以及他们的任何变形,其目的在于覆盖不排他的包含,以便包含一系列单元的过程、方法、系统、产品或设备不必限于那些单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它单元。另外,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged in appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attribute in the embodiments of the present application when describing. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment containing a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment. In addition, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or", describes the association relationship of associated objects, indicating that three relationships can exist, for example, A and/or B, can represent: A exists alone, A and B exist simultaneously, and B exists alone, wherein A, B can be singular or plural. The character "/" generally represents that the associated objects before and after are a kind of "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple.
WLAN设备是无线通信网络的重要组成,WLAN设备用于提供无线网络覆盖,以便终端设备(例如手机、电脑等)接入无线通信网络。在光纤到房间(fiber to the room,FTTR)场景中,典型的WLAN设备包括光网络终端(optical network terminal,ONT)、主光纤到房间单元(main FTTR unit,MFU)(或称为主网关)、从光纤到房间单元(sub FTTR unit,SFU)(或称为从网关)、接入控制器(access controller,AC)、接入点(access point ,AP)等。WLAN devices are an important part of wireless communication networks. WLAN devices are used to provide wireless network coverage so that terminal devices (such as mobile phones, computers, etc.) can access the wireless communication network. In the fiber to the room (FTTR) scenario, typical WLAN devices include optical network terminal (ONT), main fiber to the room unit (MFU) (or main gateway), sub fiber to the room unit (SFU) (or sub gateway), access controller (AC), access point (AP), etc.
在企业、商场、广场等场景中,需要较大的无线网络覆盖范围。由于单个WLAN设备的覆盖范围有限,因此通过多个WLAN设备组成的WLAN网络来提供无线覆盖。或者在强覆盖需求的场景中,也需要布设多个WLAN设备来提升信号强度,多个WLAN设备组成WLAN网络。In scenarios such as enterprises, shopping malls, and squares, a larger wireless network coverage is required. Since the coverage of a single WLAN device is limited, a WLAN network composed of multiple WLAN devices is used to provide wireless coverage. Or in scenarios with strong coverage requirements, multiple WLAN devices are also required to improve signal strength, and multiple WLAN devices form a WLAN network.
为了方便管理,多个WLAN设备与上层通信设备在管理面上互通,上层通信设备即可实现对互通的WLAN设备的集中管理。For the convenience of management, multiple WLAN devices communicate with upper-layer communication devices on the management plane, and the upper-layer communication devices can implement centralized management of the intercommunication WLAN devices.
其中,互通指的是多个设备的管理面能够相互知道对方的通信地址且可以基于该通信地址实现通信。例如,多个设备的管理面能够相互知道对方的媒体访问控制(mediaaccess control,MAC)地址,且在同一个二层局域网;或者能够相互知道对方的互联网协议(internet protocol,IP)地址,且在同一个三层局域网;或者是具备公网IP,且相互知道对方的公网IP。Intercommunication means that the management planes of multiple devices can know each other's communication addresses and can communicate based on the communication addresses. For example, the management planes of multiple devices can know each other's media access control (MAC) addresses and are in the same Layer 2 LAN; or they can know each other's Internet protocol (IP) addresses and are in the same Layer 3 LAN; or they have public IP addresses and know each other's public IP addresses.
由互通的多个WLAN设备组成的WLAN网络中,可以通过网络调优实现更好的网络覆盖。网络调优指的是通过合理分配各WLAN设备的资源,从而实现更好的网络覆盖与用户体验。In a WLAN network consisting of multiple interconnected WLAN devices, better network coverage can be achieved through network optimization. Network optimization refers to achieving better network coverage and user experience by reasonably allocating resources of each WLAN device.
在某些场景中,需要布设多个WLAN子网络,WLAN子网络内部的WLAN设备之间互通,且WLAN子网络之间不互通。即,WLAN子网络内的WLAN设备是共同管理的,不同的WLAN子网络是各自独立管理的。由于网络调优通常在管理面上进行,因此无法将不互通的(独立管理的)多个WLAN子网络作为一个整体进行网络调优。导致调优结果片面,网络调优效果差。In some scenarios, multiple WLAN subnets need to be deployed. The WLAN devices within the WLAN subnets are interconnected, but the WLAN subnets are not interconnected. That is, the WLAN devices within the WLAN subnets are managed together, and different WLAN subnets are managed independently. Since network tuning is usually performed on the management plane, it is impossible to perform network tuning on multiple WLAN subnets that are not interconnected (independently managed) as a whole. This results in one-sided tuning results and poor network tuning effects.
以智能家居场景为例,如图1a所示,每个FTTR网络均包括MFU和多个SFU,MFU与SFU通过光纤连接。不同的FTTR网络从属于不同的厂商,从而提供不同的智能家居服务。例如图1a中,由MFU A1与SFU A2、SFU A3组成的FTTR A从属于厂商A,由MFU B1与SFU B2、SFU B3组成的FTTR B从属于厂商B。Taking the smart home scenario as an example, as shown in Figure 1a, each FTTR network includes an MFU and multiple SFUs, and the MFUs are connected to the SFUs through optical fibers. Different FTTR networks belong to different manufacturers, thus providing different smart home services. For example, in Figure 1a, FTTR A consisting of MFU A1, SFU A2, and SFU A3 belongs to manufacturer A, and FTTR B consisting of MFU B1, SFU B2, and SFU B3 belongs to manufacturer B.
如图1a所示, FTTR A与FTTR B中各WLAN设备(MFU或SFU)的布设位置非常靠近(该布设方式也称为FTTR的共建)。只有整合两个FTTR的资源进行集中调优,才能实现最好的调优效果。但是,由于不同厂商所使用的协议、管理方式等不同,导致不同的FTTR(WLAN子网络)在管理面上不互通(即不同的FTTR各自独立管理)。因此FTTR A与FTTR B只能各自调优,调优效果较差。As shown in Figure 1a, the WLAN devices (MFU or SFU) in FTTR A and FTTR B are located very close to each other (this layout is also called FTTR co-construction). Only by integrating the resources of the two FTTRs for centralized tuning can the best tuning effect be achieved. However, due to the different protocols and management methods used by different manufacturers, different FTTRs (WLAN subnets) are not interoperable on the management plane (that is, different FTTRs are managed independently). Therefore, FTTR A and FTTR B can only be tuned separately, and the tuning effect is poor.
或者,如图1b所示,在企业、宿舍等覆盖范围需求较大的场景中,通过布设多套FTTR实现较大的覆盖范围。多套FTTR可以是相同或不同运营商的FTTR,本申请对此不做限定。Alternatively, as shown in FIG1b, in scenarios where a large coverage area is required, such as enterprises and dormitories, a larger coverage area can be achieved by deploying multiple FTTRs. The multiple FTTRs may be FTTRs of the same or different operators, and this application does not limit this.
如图1b所示,两个FTTR部署在同一个场景(例如同一个广场、同一个房间)中,只有对两个FTTR进行集中的网络调优才能实现最好的调优效果。但是,不同的FTTR可能在二层网络或者三层网络上相互隔离,导致两个FTTR不互通(即不同的FTTR各自独立管理)。两个FTTR因此无法集中调优,调优效果差。As shown in Figure 1b, two FTTRs are deployed in the same scenario (for example, the same square or the same room). Only centralized network tuning of the two FTTRs can achieve the best tuning effect. However, different FTTRs may be isolated from each other on the Layer 2 or Layer 3 network, resulting in the two FTTRs not being able to communicate with each other (that is, different FTTRs are managed independently). Therefore, the two FTTRs cannot be centrally tuned, resulting in poor tuning effects.
在管理面上互通的多个WLAN设备间(即共同管理的WLAN子网络内),通过管理设备除了可以实现网络调优,还可以实现对互通的WLAN设备的漫游决策、联合感知、定位等控制,本申请对此不做限定。由于不同WLAN子网络是独立管理的(管理面不互通),因此上述漫游决策、联合感知、定位等控制也无法在多个WLAN子网络间实现。In addition to network optimization, the management device can also be used to implement roaming decisions, joint perception, positioning and other controls on the interoperable WLAN devices between multiple WLAN devices that are interconnected on the management plane (i.e., within a jointly managed WLAN subnet), and this application does not limit this. Since different WLAN subnets are managed independently (the management planes are not interoperable), the above-mentioned roaming decisions, joint perception, positioning and other controls cannot be implemented between multiple WLAN subnets.
为了实现对不互通的多套WLAN子网络的统一控制,本申请实施例提供了一种网络控制方法和相关设备。本申请实施例提供的网络控制方法在多个WLAN子网络内选择超主,通过超主实现对多个WLAN子网络的统一控制。In order to achieve unified control of multiple WLAN sub-networks that are not interoperable, the present application provides a network control method and related devices. The network control method provided by the present application selects a super master in multiple WLAN sub-networks, and achieves unified control of multiple WLAN sub-networks through the super master.
本申请实施例提供的网络控制方法与相关设备可以应用在图1c所示的网络中,该网络可以是WLAN网络。如图1c所示,网络包括第一WLAN子网络和第一相邻WLAN子网络。第一WLAN子网络与第一相邻WLAN子网络各自独立管理。The network control method and related devices provided in the embodiment of the present application can be applied in the network shown in Figure 1c, which can be a WLAN network. As shown in Figure 1c, the network includes a first WLAN subnetwork and a first adjacent WLAN subnetwork. The first WLAN subnetwork and the first adjacent WLAN subnetwork are managed independently.
在本申请实施例中,两个WLAN子网络各自独立管理,指的是两个WLAN子网络在管理面不能相互通信(不互通),即两个WLAN子网络是独立管理的网络,没有集中管理机制。In the embodiment of the present application, the two WLAN subnetworks are managed independently, which means that the two WLAN subnetworks cannot communicate with each other (are not interoperable) on the management plane, that is, the two WLAN subnetworks are independently managed networks and there is no centralized management mechanism.
其中,第一WLAN子网络和第一相邻WLAN子网络均包括一个主设备。可选的,第一WLAN子网络和第一相邻WLAN子网络还可以包括一个或多个从设备。The first WLAN sub-network and the first adjacent WLAN sub-network each include a master device. Optionally, the first WLAN sub-network and the first adjacent WLAN sub-network may also include one or more slave devices.
例如,若第一WLAN子网络和第一相邻WLAN子网络为不同的ONT,则第一WLAN子网络和第一相邻WLAN子网络的主设备为ONT,且不包括从设备。For example, if the first WLAN sub-network and the first adjacent WLAN sub-network are different ONTs, the master devices of the first WLAN sub-network and the first adjacent WLAN sub-network are ONTs, and slave devices are not included.
若第一WLAN子网络和第一相邻WLAN子网络为不同的FTTR,则主设备为MFU,从设备为SFU(具体结构如图1a或图1b所示)。If the first WLAN sub-network and the first adjacent WLAN sub-network are different FTTRs, the master device is the MFU and the slave device is the SFU (the specific structure is shown in FIG. 1a or FIG. 1b ).
若第一WLAN子网络和第一相邻WLAN子网络为不同的AC-AP网络,则主设备为AC,从设备为AP。If the first WLAN sub-network and the first adjacent WLAN sub-network are different AC-AP networks, the master device is the AC and the slave device is the AP.
若第一WLAN子网络和第一相邻WLAN子网络为不同的无线网格MESH,则第一WLAN子网络和第二WLAN子网络的主设备为MESH网关,从设备为网格中继器MESH repeater。If the first WLAN subnet and the first adjacent WLAN subnet are different wireless meshes MESH, the master devices of the first WLAN subnet and the second WLAN subnet are MESH gateways, and the slave devices are MESH repeaters.
如图2所示,本申请实施例提供的网络控制方法包括:As shown in FIG2 , the network control method provided in the embodiment of the present application includes:
201、第一WLAN设备广播第一超主信息。201. A first WLAN device broadcasts first super master information.
在本申请实施例中,把能够对网络中不同WLAN子网络进行集中控制的WLAN设备定义超主。超主为多个WLAN子网络中某个WLAN子网络的主设备,例如为多套FTTR中某套FTTR的MFU、多个ONT中的某个ONT、多个AC-AP网络中某个AC-AP网络中的AC,或者MESH中的某个MESH网关。In the embodiment of the present application, a WLAN device that can centrally control different WLAN subnets in the network is defined as a super master. The super master is a master device of a WLAN subnet among multiple WLAN subnets, such as an MFU of a FTTR among multiple FTTRs, an ONT among multiple ONTs, an AC in an AC-AP network among multiple AC-AP networks, or a MESH gateway among MESH.
在本申请实施例中,将会出现网络的超主、WLAN子网络的超主和WLAN设备的超主等概念。网络的超主是用于对网络中不同WLAN子网络进行集中控制的WLAN设备。WLAN子网络的超主是WLAN子网络选择的超主,WLAN设备的超主为WLAN设备选择的超主。在网络超主确定的过程中,WLAN子网络的超主和WLAN设备的超主都有可能发生变化。In the embodiments of the present application, there will be concepts such as the super master of the network, the super master of the WLAN sub-network, and the super master of the WLAN device. The super master of the network is a WLAN device used to centrally control different WLAN sub-networks in the network. The super master of the WLAN sub-network is the super master selected by the WLAN sub-network, and the super master of the WLAN device is the super master selected by the WLAN device. In the process of determining the super master of the network, the super master of the WLAN sub-network and the super master of the WLAN device may change.
第一WLAN设备可以是第一WLAN子网络的主设备或从设备。第一WLAN设备可以向周围的WLAN设备广播第一超主信息。第一超主信息用于指示第一WLAN子网络的超主。可选的,第一超主信息可以通过空口消息或有线消息的形式广播。The first WLAN device may be a master device or a slave device of the first WLAN sub-network. The first WLAN device may broadcast first super master information to surrounding WLAN devices. The first super master information is used to indicate the super master of the first WLAN sub-network. Optionally, the first super master information may be broadcast in the form of an air interface message or a wired message.
202、第一相邻WLAN子网络广播第二超主信息,第一WLAN设备接收第二超主信息。202. The first adjacent WLAN sub-network broadcasts second super master information, and the first WLAN device receives the second super master information.
在本申请实施例中,将与第一WLAN子网络相邻的WLAN子网络称为第一相邻WLAN子网络。相邻的含义为:两个WLAN子网络间可以直接收发消息,例如两个WLAN子网络可以通过空口传输通道或有线传输通道收发消息。In the embodiment of the present application, the WLAN subnet adjacent to the first WLAN subnet is referred to as a first adjacent WLAN subnet. Adjacent means that messages can be directly sent and received between the two WLAN subnets, for example, the two WLAN subnets can send and receive messages through an air interface transmission channel or a wired transmission channel.
第一相邻WLAN子网络可以向周围的WLAN设备广播第二超主信息,第二超主信息用于指示第一相邻WLAN子网络的超主。由于第一WLAN子网络与第一相邻WLAN子网络相邻,因此第一WLAN设备可以接收到第二超主信息。The first adjacent WLAN subnet may broadcast second super master information to surrounding WLAN devices, where the second super master information is used to indicate the super master of the first adjacent WLAN subnet. Since the first WLAN subnet is adjacent to the first adjacent WLAN subnet, the first WLAN device may receive the second super master information.
在本申请实施例中,不限定第一相邻WLAN子网络的数量。即,第一WLAN子网络可能与多个WLAN子网络相邻。因此,第一WLAN设备可以接收多个第一相邻WLAN子网络的第二超主信息。该多个第二超主信息可能是相同或者不同的WLAN主设备,本申请对此不做限定。In the embodiment of the present application, the number of first adjacent WLAN subnetworks is not limited. That is, the first WLAN subnetwork may be adjacent to multiple WLAN subnetworks. Therefore, the first WLAN device may receive second super master information of multiple first adjacent WLAN subnetworks. The multiple second super master information may be the same or different WLAN master devices, which is not limited in the present application.
可选的,第二超主信息可以通过空口消息或有线消息的形式广播。本申请实施例将该空口消息或有线消息称为第一消息,第一消息还可以包括第一相邻WLAN子网络的标识,用于体现第一消息的来源为该第一相邻WLAN子网络。Optionally, the second super master information may be broadcast in the form of an air interface message or a wired message. In the embodiment of the present application, the air interface message or the wired message is referred to as a first message, and the first message may also include an identifier of the first adjacent WLAN subnetwork, which is used to indicate that the source of the first message is the first adjacent WLAN subnetwork.
可选的,除了广播,第一超主信息和第二超主信息也可以通过组播等其他方式发送,本申请对此不做限定。Optionally, in addition to broadcasting, the first super master information and the second super master information may also be sent through other methods such as multicasting, which is not limited in the present application.
203、第一WLAN设备根据第二超主信息确定是否更新第一WLAN子网络的超主。203. The first WLAN device determines whether to update the super master of the first WLAN sub-network according to the second super master information.
该步骤是选择第一WLAN子网络的超主的过程。网络中不同的WLAN子网络可以基于相同的原则来进行超主选择,从而使得不同的WLAN子网络选择统一的超主。This step is a process of selecting a super master of the first WLAN sub-network. Different WLAN sub-networks in the network can select a super master based on the same principle, so that different WLAN sub-networks select a unified super master.
本申请实施例将第一WLAN子网络的超主称为第一超主,将第一相邻WLAN子网络的超主称为第二超主。可以基于第一超主与第二超主的能力优劣、第一超主与第二超主所在WLAN子网的子网编号等进行超主的选择,本申请对此不做限定。In the embodiment of the present application, the super master of the first WLAN subnet is referred to as the first super master, and the super master of the first adjacent WLAN subnet is referred to as the second super master. The super master can be selected based on the capability of the first super master and the second super master, the subnet number of the WLAN subnet where the first super master and the second super master are located, etc., and the present application does not limit this.
在本申请实施例中, WLAN网络中任意WLAN子网络内的WLAN设备都可以看作是第一WLAN设备。将第一WLAN设备的第一相邻WLAN子网络中的WLAN设备看作第一相邻WLAN设备,则步骤203中第一WLAN设备和第一相邻WLAN设备会基于相同的原则,确定是否更新第一WLAN子网络/第一相邻WLAN子网络的超主。In the embodiment of the present application, a WLAN device in any WLAN sub-network in the WLAN network can be regarded as the first WLAN device. The WLAN device in the first adjacent WLAN sub-network of the first WLAN device is regarded as the first adjacent WLAN device. Then, in step 203, the first WLAN device and the first adjacent WLAN device will determine whether to update the super master of the first WLAN sub-network/first adjacent WLAN sub-network based on the same principle.
由于第一WLAN设备与第一相邻WLAN设备基于相同的原则进行所在WLAN子网络的超主的选择,因此在步骤203中,若第一WLAN子网络的超主更新为第二超主,则第一相邻WLAN子网络的超主不更新,仍为第二超主;若第一WLAN子网络的超主未更新(仍为第一超主),则第一相邻WLAN子网络的超主更新为第一超主。因此经过步骤201-203,第一WLAN子网络与第一相邻WLAN子网络选择相同的超主,实现第一WLAN子网络与第一相邻WLAN子网络的超主的统一。Since the first WLAN device and the first adjacent WLAN device select the super master of the WLAN sub-network they are in based on the same principle, in step 203, if the super master of the first WLAN sub-network is updated to the second super master, the super master of the first adjacent WLAN sub-network is not updated and remains the second super master; if the super master of the first WLAN sub-network is not updated (still the first super master), the super master of the first adjacent WLAN sub-network is updated to the first super master. Therefore, after steps 201-203, the first WLAN sub-network and the first adjacent WLAN sub-network select the same super master, and the super masters of the first WLAN sub-network and the first adjacent WLAN sub-network are unified.
204、第一WLAN设备确定WLAN网络的超主。204. The first WLAN device determines a super master of the WLAN network.
若WLAN网络仅包括两个WLAN子网络,则经过步骤201至203后,整个WLAN中的各WLAN子网络(第一WLAN子网络和第一相邻WLAN子网络)选择了统一的超主,该超主为WLAN网络的超主。If the WLAN network includes only two WLAN sub-networks, after steps 201 to 203 , each WLAN sub-network in the entire WLAN (the first WLAN sub-network and the first adjacent WLAN sub-network) selects a unified super master, which is the super master of the WLAN network.
若WLAN网络包括两个以上WLAN子网络,则可以将步骤201至203作为一轮超主选择,进行多轮的超主选择,直至整个WLAN网络的所有WLAN子网络选择统一的超主。If the WLAN network includes more than two WLAN sub-networks, steps 201 to 203 may be taken as one round of super master selection, and multiple rounds of super master selection may be performed until all WLAN sub-networks of the entire WLAN network select a unified super master.
在一轮或多轮的步骤201-203后,若第一WLAN子网络的超主更新为第一WLAN子网络外某个WLAN子网络的主设备,该主设备即为整个WLAN网络的超主。若在一轮或多轮的步骤201-203后,第一WLAN子网络的超主始终保持为第一WLAN子网络的主设备,则第一WLAN子网络的主设备为整个WLAN网络的超主。After one or more rounds of steps 201-203, if the super master of the first WLAN sub-network is updated to the master device of a WLAN sub-network outside the first WLAN sub-network, the master device is the super master of the entire WLAN network. If after one or more rounds of steps 201-203, the super master of the first WLAN sub-network always remains the master device of the first WLAN sub-network, the master device of the first WLAN sub-network is the super master of the entire WLAN network.
确定WLAN网络的超主(也称为网络的超主)后,可以通过网络的超主实现对网络中多个WLAN子网络的集中管理,集中管理的步骤如下:After determining the super master of the WLAN network (also called the super master of the network), you can use the super master of the network to implement centralized management of multiple WLAN subnets in the network. The steps of centralized management are as follows:
205、若WLAN网络的超主为第一WLAN子网络外某个WLAN子网络的主设备,第一WLAN设备向WLAN网络的超主发送第一上报消息,WLAN网络的超主向第一WLAN设备发送第一控制消息。205. If the super master of the WLAN network is a master device of a WLAN subnet other than the first WLAN subnet, the first WLAN device sends a first reporting message to the super master of the WLAN network, and the super master of the WLAN network sends a first control message to the first WLAN device.
确定网络的超主后,第一WLAN设备可以向网络的超主发送第一上报消息。第一上报消息包括第一WLAN设备的网络信息(例如邻居AP信息、干扰信息等)。After determining the super master of the network, the first WLAN device may send a first reporting message to the super master of the network. The first reporting message includes network information of the first WLAN device (eg, neighbor AP information, interference information, etc.).
网络中其他的WLAN设备(既不是第一WLAN设备也不是网络的超主),也可以向网络的超主发送上报消息,上报消息包括该WLAN设备的网络信息。Other WLAN devices in the network (neither the first WLAN device nor the super master of the network) may also send a reporting message to the super master of the network, where the reporting message includes the network information of the WLAN device.
网络的超主根据第一上报消息和网络中其他WLAN设备的上报消息,进行集中调优,得到各WLAN设备的控制消息,并向各WLAN设备下发对应的控制消息。The super master of the network performs centralized tuning according to the first reporting message and the reporting messages of other WLAN devices in the network, obtains the control message of each WLAN device, and sends the corresponding control message to each WLAN device.
其中,发送给第一WLAN设备的控制消息称为第一控制消息。第一控制消息包括第一WLAN设备的调优结果。The control message sent to the first WLAN device is called a first control message. The first control message includes a tuning result of the first WLAN device.
206、若WLAN网络的超主为第一WLAN子网络的主设备,第一WLAN设备接收来自第一目标WLAN设备的第一上报消息,向第一目标WLAN设备发送第一控制消息。206. If the super master of the WLAN network is a master device of the first WLAN sub-network, the first WLAN device receives a first reporting message from the first target WLAN device, and sends a first control message to the first target WLAN device.
网络还包括第一目标WLAN设备,第一目标WLAN设备为第一WLAN子网络外的WLAN设备,且不是网络的超主。第一目标WLAN设备可以确定第一WLAN子网络的主设备为网络的超主,从而向网络的超主发送第一上报消息。第一上报消息包括第一目标WLAN设备的网络信息。The network also includes a first target WLAN device, which is a WLAN device outside the first WLAN sub-network and is not a super master of the network. The first target WLAN device can determine that the master device of the first WLAN sub-network is the super master of the network, thereby sending a first reporting message to the super master of the network. The first reporting message includes network information of the first target WLAN device.
若第一WLAN设备是第一WLAN子网络的主设备,则第一WLAN设备为网络的超主。第一WLAN设备接收第一上报消息后,根据第一上报消息和网络中其他WLAN设备的上报消息进行集中调优,得到各WLAN设备的控制消息,并向各WLAN设备下发对应的控制消息。其中,发送给第一目标WLAN设备的控制消息称为第一控制消息。第一控制消息包括超主对第一WLAN设备的调优结果。If the first WLAN device is the master device of the first WLAN sub-network, the first WLAN device is the super master of the network. After receiving the first reporting message, the first WLAN device performs centralized tuning according to the first reporting message and the reporting messages of other WLAN devices in the network, obtains the control message of each WLAN device, and sends the corresponding control message to each WLAN device. Among them, the control message sent to the first target WLAN device is called the first control message. The first control message includes the tuning result of the super master on the first WLAN device.
若第一WLAN设备是第一WLAN子网络的从设备,则第一WLAN设备接收第一上报消息后,可以将第一上报消息转发给第一WLAN子网络的主设备(网络的超主)。网络的超主基于第一上报消息和其他WLAN设备(既不是第一目标WLAN设备也不是网络的超主)的上报消息进行集中调优后获取第一控制消息,向第一WLAN设备发送该第一控制消息。第一WLAN设备将第一控制消息转发给第一目标WLAN设备。If the first WLAN device is a slave device of the first WLAN sub-network, the first WLAN device may forward the first reporting message to the master device of the first WLAN sub-network (the super master of the network) after receiving the first reporting message. The super master of the network performs centralized tuning based on the first reporting message and reporting messages of other WLAN devices (neither the first target WLAN device nor the super master of the network) to obtain the first control message and send the first control message to the first WLAN device. The first WLAN device forwards the first control message to the first target WLAN device.
除了网络调优,网络的超主还可以实现漫游决策、感知、定位探测等控制功能。若用于漫游决策,则在步骤205中,第一上报消息包括第一WLAN设备的漫游决策信息,第一控制消息包括第一WLAN设备的漫游决策结果。若用于设备感知,则在步骤205中,第一上报消息包括第一WLAN设备的信道状态信息(Channel State Information,CSI),第一控制消息包括第一WLAN设备的感知结果。若用于定位探测,则在步骤205中,第一上报消息包括第一WLAN设备的定位探测信息,第一控制消息包括第一WLAN设备的定位结果。步骤206中的第一上报消息、第一控制消息同理,此处不再赘述。In addition to network optimization, the network super master can also implement control functions such as roaming decision, perception, and positioning detection. If used for roaming decision, then in step 205, the first reporting message includes the roaming decision information of the first WLAN device, and the first control message includes the roaming decision result of the first WLAN device. If used for device perception, then in step 205, the first reporting message includes the channel state information (Channel State Information, CSI) of the first WLAN device, and the first control message includes the perception result of the first WLAN device. If used for positioning detection, then in step 205, the first reporting message includes the positioning detection information of the first WLAN device, and the first control message includes the positioning result of the first WLAN device. The first reporting message and the first control message in step 206 are similar and will not be repeated here.
在本申请实施例中,各WLAN子网络向外广播本WLAN子网络的超主,从而在WLAN子网络间实现超主信息的交互与超主选择,使得网络中不同的WLAN子网络选择统一的超主,确定整个网络的超主。通过网络的超主实现对多个WLAN子网络的集中管理。相较于各WLAN子网络单独管理,集中管理可以通过整个网络中各WLAN子网获取网络的全局信息,从而实现更好的管理效果。In the embodiment of the present application, each WLAN subnet broadcasts the super master of the WLAN subnet to the outside, thereby realizing the interaction of super master information and super master selection between WLAN subnets, so that different WLAN subnets in the network select a unified super master to determine the super master of the entire network. Centralized management of multiple WLAN subnets is achieved through the super master of the network. Compared with the separate management of each WLAN subnet, centralized management can obtain global information of the network through each WLAN subnet in the entire network, thereby achieving better management effects.
选择超主的原则:Principles for choosing a super master:
在上述实施例的步骤203中,选择超主的原则可以是基于超主的能力优劣、按照编号大小选择等。In step 203 of the above embodiment, the principle of selecting the super master may be based on the capability of the super master, selection according to the number size, etc.
若基于超主的能力优劣进行超主的选择。第一超主信息包括第一超主(第一WLAN子网络的超主)的能力信息,第二超主信息包括第二超主(第一相邻WLAN子网络的超主)的能力信息。若第二超主的能力信息优于第一超主的能力信息,应该选择能力更优的第二超主作为第一WLAN子网络的超主。在这种情况下,第一WLAN设备可以确定根据第二超主信息更新第一WLAN子网络的超主,反之则不更新。If the super master is selected based on the capability of the super master. The first super master information includes the capability information of the first super master (the super master of the first WLAN sub-network), and the second super master information includes the capability information of the second super master (the super master of the first adjacent WLAN sub-network). If the capability information of the second super master is better than the capability information of the first super master, the second super master with better capability should be selected as the super master of the first WLAN sub-network. In this case, the first WLAN device can determine to update the super master of the first WLAN sub-network according to the second super master information, otherwise it will not be updated.
在本申请实施例中,通过比较不同超主能力信息的优劣进行超主选择,可以选择出性能更优的超主。In the embodiment of the present application, by comparing the advantages and disadvantages of different super master capability information to perform super master selection, a super master with better performance can be selected.
值得注意的是,能力信息可以是超主的MAC地址、设备代际、中央处理器(centralprocessing unit,CPU)性能、内存大小、FTTR标识等,本申请对此不做限定。It is worth noting that the capability information may be the MAC address of the super master, device generation, central processing unit (CPU) performance, memory size, FTTR identification, etc., and this application does not limit this.
在本申请实施例中,将设备代际、CPU性能、内存大小等作为超主的能力信息进行超主选择,可以选择出性能更优的超主,从而选择出算力最为充裕的超主,保证超主得以负荷对多个WLAN子网络进行集中控制的算力消耗。In the embodiment of the present application, the device generation, CPU performance, memory size, etc. are used as the capability information of the super master for super master selection, so that a super master with better performance can be selected, thereby selecting a super master with the most abundant computing power, ensuring that the super master can bear the computing power consumption of centrally controlling multiple WLAN subnets.
若选择超主的原则是按照编号大小选择。则在WLAN网络中每个WLAN子网络上线的过程中,可以给WLAN子网配置一个子网编号(例如FTTR标识)。第一超主信息和第二超主信息包括对应WLAN子网络的子网编号。在步骤203中,若第一相邻WLAN子网络的编号大于第一WLAN子网络的编号,第一WLAN设备可以确定根据第二超主信息更新第一WLAN子网络的超主,反之则不更新。If the principle of selecting a super master is to select according to the number size. In the process of each WLAN subnet in the WLAN network going online, a subnet number (such as an FTTR identifier) can be configured for the WLAN subnet. The first super master information and the second super master information include the subnet number of the corresponding WLAN subnet. In step 203, if the number of the first adjacent WLAN subnet is greater than the number of the first WLAN subnet, the first WLAN device can determine to update the super master of the first WLAN subnet according to the second super master information, otherwise it will not be updated.
可选的,选择超主的原则也可以是选择子网编号更小的WLAN子网络的主设备,本申请对此不做限定。可选的,也可以通过WLAN子网络主设备的媒体访问控制(media accesscontrol,MAC)地址的大小比较来选择超主,本申请对此不做限定。Optionally, the principle of selecting a super master may also be to select a master device of a WLAN subnet with a smaller subnet number, which is not limited in this application. Optionally, the super master may also be selected by comparing the size of the media access control (MAC) address of the master device of the WLAN subnet, which is not limited in this application.
在本申请实施例中,根据子网编号/MAC地址进行超主选择,则由于仅进行简单的大小比较,所以超主选择的效率更高,可以更快地确定整个网络的超主。In the embodiment of the present application, the super master selection is performed based on the subnet number/MAC address. Since only a simple size comparison is performed, the super master selection efficiency is higher and the super master of the entire network can be determined more quickly.
超主的默认值:Default values for super master:
通常来说,第一WLAN子网络的第一超主默认为第一WLAN子网络的主设备,第一相邻WLAN子网络的第二超主默认为第一相邻WLAN子网络的主设备。对于第一超主的默认值,有多种可能。Generally speaking, the first super master of the first WLAN subnet is the master device of the first WLAN subnet by default, and the second super master of the first adjacent WLAN subnet is the master device of the first adjacent WLAN subnet by default. There are multiple possibilities for the default value of the first super master.
若进行多轮的步骤201-203的超主选择,则第一超主为上一轮超主选择过程中,第一WLAN子网络的超主;第二超主为上一轮超主选择过程中,第一相邻WLAN子网络的超主。If multiple rounds of super master selection of steps 201 - 203 are performed, the first super master is the super master of the first WLAN subnet in the previous round of super master selection; the second super master is the super master of the first adjacent WLAN subnet in the previous round of super master selection.
还一种可能是,若之前完整执行过图2所示的实施例,确定WLAN网络的超主后,WLAN的组网发生变化,需要再次执行图2所示的方法选择超主。则组网变化后的步骤201中,第一超主可以默认为组网变化前选择的超主。Another possibility is that if the embodiment shown in FIG. 2 has been completely executed before, after the super master of the WLAN network is determined, the networking of the WLAN changes, and it is necessary to execute the method shown in FIG. 2 again to select the super master. Then, in step 201 after the networking changes, the first super master may be defaulted to the super master selected before the networking changes.
值得注意的是,即使在组网发生变化后进行超主选择,第一超主也可以默认为第一WLAN子网络的主设备,本申请对此不做限定。It is worth noting that even if a super master selection is performed after the networking changes, the first super master may be the master device of the first WLAN sub-network by default, and this application does not limit this.
选择超主的方式:How to choose a super master:
在本申请实施例中,步骤201-203称为第一WLAN子网络的超主选择。WLAN子网络的超主(也称为子网络的超主或子网络超主),为WLAN子网络中各WLAN设备的超主。根据选择子网络超主的设备,可以将子网络的超主选择分为集中式和分布式两种情况,接下来将分别展开描述:In the embodiment of the present application, steps 201-203 are referred to as the super master selection of the first WLAN subnet. The super master of the WLAN subnet (also referred to as the super master of the subnet or the subnet super master) is the super master of each WLAN device in the WLAN subnet. According to the device for selecting the super master of the subnet, the super master selection of the subnet can be divided into two cases: centralized and distributed, which will be described separately below:
A:集中式。A: Centralized.
集中式的超主选择,指的是由第一WLAN子网络的主设备来进行超主的选择,第一WLAN子网络的从设备用于向主设备转发从设备接收到的第二超主信息。Centralized super master selection refers to that the master device of the first WLAN sub-network selects the super master, and the slave device of the first WLAN sub-network is used to forward the second super master information received by the slave device to the master device.
如图3a所示,第一WLAN子网络的从设备接收第二超主信息后,向第一WLAN子网络的主设备转发第二超主信息。可选的,第一WLAN子网络的主设备也可以接收来自第一相邻WLAN子网络的设备的第二超主信息。As shown in Figure 3a, after receiving the second super master information, the slave device of the first WLAN subnet forwards the second super master information to the master device of the first WLAN subnet. Optionally, the master device of the first WLAN subnet may also receive the second super master information from a device of the first adjacent WLAN subnet.
在步骤203中,第一WLAN的主设备根据第二超主信息确定是否更新第一WLAN子网络的超主。若确定更新,则在更新第一WLAN子网络的超主后,第一WLAN子网络的主设备还可以向第一WLAN子网络的从设备发送更新消息。更新消息包括第三超主信息,第三超主信息用于指示更新后的第一WLAN子网络的超主。In step 203, the master device of the first WLAN determines whether to update the super master of the first WLAN sub-network according to the second super master information. If it is determined to update, after updating the super master of the first WLAN sub-network, the master device of the first WLAN sub-network may also send an update message to the slave device of the first WLAN sub-network. The update message includes the third super master information, and the third super master information is used to indicate the updated super master of the first WLAN sub-network.
若第一WLAN子网络有多个第一相邻WLAN子网络,第一WLAN子网络的主设备可以接收多个第一相邻WLAN子网络的第二超主信息。该多个第二超主信息可以指示相同或者不同的主设备。If the first WLAN sub-network has multiple first adjacent WLAN sub-networks, the master device of the first WLAN sub-network may receive the second super master information of the multiple first adjacent WLAN sub-networks. The multiple second super master information may indicate the same or different master devices.
然后,第一WLAN子网络的主设备可以根据多个第二超主信息确定是否更新第一WLAN子网络的超主。若更新,基于该多个第二超主信息中最优的一个超主信息进行第一WLAN子网络的超主的更新。本申请实施例将该多个第二超主信息中最优的超主信息称为第三超主信息。Then, the master device of the first WLAN sub-network may determine whether to update the super master of the first WLAN sub-network according to the plurality of second super master information. If updated, the super master of the first WLAN sub-network is updated based on the best super master information among the plurality of second super master information. In the embodiment of the present application, the best super master information among the plurality of second super master information is referred to as the third super master information.
若第一WLAN子网络只有一个第一相邻WLAN子网络,且根据第二超主更新了第一WLAN子网络的超主,则(用于指示更新后的第一WLAN子网络的超主的)第三超主信息,就是该第二超主信息。If the first WLAN subnet has only one first adjacent WLAN subnet, and the super master of the first WLAN subnet is updated according to the second super master, the third super master information (used to indicate the updated super master of the first WLAN subnet) is the second super master information.
第一WLAN子网络的从设备接收来自主设备的更新消息,并根据更新消息中的第三超主信息,更新本设备的超主。The slave device of the first WLAN sub-network receives the update message from the master device, and updates the super master of the device according to the third super master information in the update message.
在集中式的超主选择方式中,通过WLAN子网络的主设备来进行超主选择(也称为超主决策),主设备为WLAN子网络内唯一的超主决策节点。一方面,超主决策的全过程在主设备本地完成,不需要其他设备的参与,决策效率高,可以快速且唯一地确定WLAN子网络的超主。另一方面,WLAN子网络的超主决策由主设备进行,从设备只负责超主信息的转发与(在WLAN子网络超主更新的情况下)同步更新设备的超主。从设备不参与超主决策的过程,超主决策不消耗从设备的算力资源。In the centralized super master selection mode, the super master selection (also called super master decision) is performed by the master device of the WLAN sub-network, and the master device is the only super master decision node in the WLAN sub-network. On the one hand, the entire process of super master decision is completed locally on the master device, without the participation of other devices, and the decision efficiency is high, and the super master of the WLAN sub-network can be determined quickly and uniquely. On the other hand, the super master decision of the WLAN sub-network is made by the master device, and the slave device is only responsible for forwarding the super master information and (in the case of WLAN sub-network super master update) synchronizing the super master of the device. The slave device does not participate in the super master decision process, and the super master decision does not consume the computing power resources of the slave device.
B:分布式。B: Distributed.
分布式的超主选择,指的是由第一WLAN子网络的各个WLAN设备来选择设备的超主,并通过WLAN子网络内各设备交互设备的超主,确定WLAN子网络的超主。Distributed super master selection refers to that each WLAN device of the first WLAN sub-network selects a super master of the device, and the super master of the WLAN sub-network is determined by the super master of the device interacting with each device in the WLAN sub-network.
如图3b所示,第一WLAN子网络包括第一WLAN设备和第二WLAN设备,第二WLAN设备为第一WLAN子网络中除第一WLAN设备外的其他WLAN设备,第二WLAN设备的数量可以是一个或多个。As shown in FIG. 3b , the first WLAN sub-network includes a first WLAN device and a second WLAN device. The second WLAN device is other WLAN devices in the first WLAN sub-network except the first WLAN device. The number of the second WLAN devices may be one or more.
第一WLAN设备接收第二超主信息后,根据第二超主信息确定是否更新第一WLAN设备的超主。同理,第二WLAN设备也可以根据其接收到的第二超主信息,确定是否更新第二WLAN设备的超主。After receiving the second super master information, the first WLAN device determines whether to update the super master of the first WLAN device according to the second super master information. Similarly, the second WLAN device can also determine whether to update the super master of the second WLAN device according to the second super master information it receives.
若第二WLAN设备的超主更新,第二WLAN设备可以向第一WLAN设备发送更新后的第二WLAN设备的超主。可选的,若第一WLAN设备的超主更新,第一WLAN设备可以向第二WLAN设备发送更新后的第一WLAN设备的超主。If the super master of the second WLAN device is updated, the second WLAN device may send the updated super master of the second WLAN device to the first WLAN device. Optionally, if the super master of the first WLAN device is updated, the first WLAN device may send the updated super master of the first WLAN device to the second WLAN device.
第一WLAN设备可以根据更新后的第二WLAN设备的超主,与当前的第一WLAN设备的超主,确定是否更新第一WLAN子网络的超主。The first WLAN device may determine whether to update the super master of the first WLAN sub-network according to the updated super master of the second WLAN device and the current super master of the first WLAN device.
值得注意的是,此处所述的“当前的第一WLAN设备的超主”,可能是更新后的第一WLAN子网络的超主。若第一WLAN设备根据第二超主信息确定不更新第一WLAN设备的超主,则当前的第一WLAN设备的超主为第一WLAN设备的未更新的超主。It is worth noting that the "current super master of the first WLAN device" mentioned here may be the super master of the updated first WLAN sub-network. If the first WLAN device determines not to update the super master of the first WLAN device according to the second super master information, the current super master of the first WLAN device is the unupdated super master of the first WLAN device.
值得注意的是,上述确定是否更新设备超主的步骤,不一定伴随着设备超主在设备本地的更新。例如在确定更新第一WLAN设备的超主后,第一WLAN设备先不更新设备的超主。等到确定第一WLAN子网络的超主是否更新后,第一WLAN设备可以将更新后的第一WLAN子网络的超主作为第一WLAN设备的超主,并进行设备超主的更新。或者,在第一WLAN设备的超主更新后,第一WLAN设备就更新设备的超主,等到第一WLAN子网络的超主更新,第一WLAN设备再次进行设备超主的更新。It is worth noting that the above-mentioned step of determining whether to update the device super master is not necessarily accompanied by the updating of the device super master locally on the device. For example, after determining to update the super master of the first WLAN device, the first WLAN device does not update the device super master first. After determining whether the super master of the first WLAN subnet is updated, the first WLAN device can use the updated super master of the first WLAN subnet as the super master of the first WLAN device and update the device super master. Alternatively, after the super master of the first WLAN device is updated, the first WLAN device updates the device super master, and waits until the super master of the first WLAN subnet is updated, and the first WLAN device updates the device super master again.
在本申请实施例中,WLAN子网络内通过分布式的方式进行超主选择,超主选择的权力下放到WLAN子网络内的各个WLAN设备上,尤其适用于WLAN子网络多个设备地位同等的场景(例如MESH组网)。In an embodiment of the present application, super-master selection is performed in a distributed manner within the WLAN subnet, and the power of super-master selection is delegated to each WLAN device within the WLAN subnet, which is particularly suitable for scenarios where multiple devices in the WLAN subnet have equal status (such as MESH networking).
值得注意的是,在AC-AP、MFU-SFU等集中式组网中,也可以使用分布式的超主选择方式,本申请对此不做限定。It is worth noting that in centralized networks such as AC-AP and MFU-SFU, a distributed super master selection method can also be used, and this application does not limit this.
在本申请实施例中,网络的超主为能够对网络中多个WLAN子网络进行集中控制的WLAN设备,网络超主具备集中控制的能力。在选择网络超主的过程中(即步骤201-204),网络超主还处于无法进行集中控制的状态。In the embodiment of the present application, the super master of the network is a WLAN device that can centrally control multiple WLAN sub-networks in the network, and the network super master has the ability of centralized control. In the process of selecting the network super master (ie, steps 201-204), the network super master is still in a state where it cannot perform centralized control.
本申请实施例还可以打通网络超主与网络中各WLAN设备之间的通信链路,使得网络超主具备与网络中任意设备之间通信的能力,从而使得网络超主具备集中控制的能力。如图4a所示,具体过程包括:The embodiment of the present application can also open up the communication link between the network super master and each WLAN device in the network, so that the network super master has the ability to communicate with any device in the network, thereby enabling the network super master to have the ability of centralized control. As shown in Figure 4a, the specific process includes:
401、第一WLAN设备广播第一超主信息。401. A first WLAN device broadcasts first super master information.
第一WLAN设备可以通过空口消息广播第一超主信息。可选的,该空口消息还可以包括第一WLAN子网络的标识,用于体现第一消息的来源为第一WLAN子网络。以图1a为例,第一WLAN子网络和第一相邻WLAN子网络分别为FTTR A和FTTR B,第一WLAN设备为FTTR A中的WLAN设备。则第一超主默认为FTTR A的MFU A1。The first WLAN device may broadcast the first super master information through an air interface message. Optionally, the air interface message may also include an identifier of the first WLAN subnet, which is used to reflect that the source of the first message is the first WLAN subnet. Taking Figure 1a as an example, the first WLAN subnet and the first adjacent WLAN subnet are FTTR A and FTTR B, respectively, and the first WLAN device is a WLAN device in FTTR A. Then the first super master defaults to MFU A1 of FTTR A.
在本申请实施例中,空口消息的结构如图4b所示。其中,空口消息的源地址为第一WLAN设备(例如FTTR A中的MFU A1、SFU A2、SFU A3)的地址,源FTTR标识符为FTTR A的标识符。目的FTTR标识符和目的地址可以是网络中的任意FTTR以及WLAN设备,以实现空口消息的广播。消息内容项包括第一超主信息。In the embodiment of the present application, the structure of the air interface message is shown in FIG4b. The source address of the air interface message is the address of the first WLAN device (e.g., MFU A1, SFU A2, SFU A3 in FTTR A), and the source FTTR identifier is the identifier of FTTR A. The destination FTTR identifier and the destination address can be any FTTR and WLAN device in the network to realize the broadcast of the air interface message. The message content item includes the first super master information.
402、第一相邻WLAN子网络广播第一消息,第一消息包括第二超主信息。402. A first adjacent WLAN sub-network broadcasts a first message, where the first message includes second super master information.
第一消息为空口消息。可选的,第一消息还可以包括第一相邻WLAN子网络的标识,用于体现第一消息的来源为第一相邻WLAN子网络。The first message is an air interface message. Optionally, the first message may further include an identifier of a first adjacent WLAN sub-network, which is used to indicate that the source of the first message is the first adjacent WLAN sub-network.
第一消息的消息结构也可以如图4b所示,第一消息的源地址为FTTR B中WLAN设备(例如MFU B1、SFU B2、SFU B3)的地址,源FTTR标识符为FTTR B的标识符。目的FTTR标识符和目的地址可以是网络中的任意FTTR以及WLAN设备,以实现第一消息的广播。在第一消息中,消息内容项包括第二超主信息。The message structure of the first message may also be as shown in FIG4b, where the source address of the first message is the address of the WLAN device (e.g., MFU B1, SFU B2, SFU B3) in FTTR B, and the source FTTR identifier is the identifier of FTTR B. The destination FTTR identifier and the destination address may be any FTTR and WLAN device in the network to achieve broadcasting of the first message. In the first message, the message content item includes the second super master information.
若第一WLAN设备通过第一WLAN子网络中的第三WLAN设备实现与第一相邻WLAN子网络间的通信,则第一超主信息由第三WLAN设备通过(第一WLAN设备与第三WLAN设备间的)有线通道传输给第一WLAN设备。在这种情况下,第一WLAN设备接收到的第一消息则为来自第三WLAN设备的有线消息。If the first WLAN device communicates with the first adjacent WLAN sub-network through the third WLAN device in the first WLAN sub-network, the first super master information is transmitted to the first WLAN device by the third WLAN device through a wired channel (between the first WLAN device and the third WLAN device). In this case, the first message received by the first WLAN device is a wired message from the third WLAN device.
403、第一WLAN设备根据第二超主信息确定是否更新第一WLAN子网络的超主。403. The first WLAN device determines whether to update the super master of the first WLAN sub-network according to the second super master information.
该步骤参见图2所示实施例的步骤203,此处不再赘述。This step refers to step 203 of the embodiment shown in FIG. 2 , and will not be described in detail here.
步骤401至步骤403为判断是否更新第一超主信息的一个轮次,可以多轮次执行步骤401至步骤403,使得网络中各WLAN子网络选择统一的超主,从而确定WLAN网络的超主。Steps 401 to 403 are a round of determining whether to update the first super master information. Steps 401 to 403 may be performed in multiple rounds so that each WLAN sub-network in the network selects a unified super master, thereby determining the super master of the WLAN network.
值得注意的是,由于第一WLAN设备可能与多个WLAN设备通信,因此在一个轮次中,第一WLAN设备可以在步骤402中接收到来自多个WLAN设备的第一消息,并在步骤403中基于多个第一消息确定是否更新第一WLAN子网络的超主。第一WLAN设备根据第二超主信息确定是否更新第一WLAN子网络的超主的具体过程,参见图2-图3b所示实施例,此处不再赘述。It is worth noting that, since the first WLAN device may communicate with multiple WLAN devices, in one round, the first WLAN device may receive first messages from multiple WLAN devices in step 402, and determine whether to update the super master of the first WLAN sub-network based on the multiple first messages in step 403. For the specific process of the first WLAN device determining whether to update the super master of the first WLAN sub-network according to the second super master information, refer to the embodiments shown in FIG. 2 to FIG. 3 b, which will not be described in detail here.
在一个轮次中,第一WLAN子网络实现与第一相邻WLAN子网络的超主的统一,即选择相同的超主。也就是说,在一个轮次中,相邻的两个WLAN子网络可以实现超主的统一。网络中任意WLAN子网络的WLAN设备,都可以(作为第一WLAN设备)执行步骤401至403的超主更新流程,实现与相邻WLAN子网络间的超主统一。In one round, the first WLAN subnet realizes the unification of the super master with the first adjacent WLAN subnet, that is, selects the same super master. In other words, in one round, two adjacent WLAN subnets can realize the unification of the super master. The WLAN device of any WLAN subnet in the network can (as the first WLAN device) execute the super master update process of steps 401 to 403 to realize the unification of the super master with the adjacent WLAN subnet.
若网络中的两个WLAN子网络不相邻,则可以通过多轮次的超主信息更新,利用两WLAN子网络间的(一个或多个)WLAN子网络传递两WLAN子网络选择的超主信息,从而实现不相邻的WLAN子网络间的超主的统一。If two WLAN sub-networks in the network are not adjacent, the super-master information can be updated through multiple rounds and the super-master information selected by the two WLAN sub-networks can be transmitted by (one or more) WLAN sub-networks between the two WLAN sub-networks, thereby achieving the unification of the super-masters between the non-adjacent WLAN sub-networks.
例如图4c所示,FTTR A、FTTR B、FTTR C和FTTR D依次排列且相邻。FTTR A、FTTR B和FTTR C的主设备(MFU A、MFU B和MFU C)的能力相当,FTTR D的主设备(MFU D)的能力优于MFU A、MFU B和MFU C。For example, as shown in Figure 4c, FTTR A, FTTR B, FTTR C and FTTR D are arranged in sequence and adjacent to each other. The capabilities of the main equipment (MFU A, MFU B and MFU C) of FTTR A, FTTR B and FTTR C are comparable, and the capability of the main equipment (MFU D) of FTTR D is superior to that of MFU A, MFU B and MFU C.
则在第一轮次中,各WLAN设备广播的超主信息为该WLAN设备所在WLAN子网络的主设备。与FTTR D相邻的FTTR C内的WLAN设备,在第一轮次接收FTTR D的超主信息(默认为MFU D),将FTTR C的超主信息更新为MFU D。由于FTTR A、FTTR B和FTTR C的主设备的能力相当,因此FTTR A和FTTR B不需要更新超主信息。In the first round, the super master information broadcast by each WLAN device is the master device of the WLAN subnet where the WLAN device is located. The WLAN device in FTTR C adjacent to FTTR D receives the super master information of FTTR D (MFU D by default) in the first round and updates the super master information of FTTR C to MFU D. Since the capabilities of the master devices of FTTR A, FTTR B, and FTTR C are equivalent, FTTR A and FTTR B do not need to update the super master information.
由于在第一轮次中FTTR C的超主信息已经更新为MFU D,因此在第二轮次中,FTTRC内的WLAN设备广播的超主信息为MFU D。与FTTR C相邻的FTTR B内的WLAN设备,在第二轮次接收FTTR C的超主信息(此时为MFU D)。由于MFU D的能力优于MFU B,因此FTTR B内的WLAN设备将FTTR B的超主信息更新为MFU D。Since the super master information of FTTR C has been updated to MFU D in the first round, the super master information broadcast by the WLAN device in FTR C in the second round is MFU D. The WLAN device in FTTR B adjacent to FTTR C receives the super master information of FTTR C (MFU D at this time) in the second round. Since the capability of MFU D is superior to that of MFU B, the WLAN device in FTTR B updates the super master information of FTTR B to MFU D.
由于在第二轮次中FTTR B的超主信息已经更新为MFU D,因此在第三轮次中,FTTRB内的WLAN设备广播的超主信息为MFU D。与FTTR B相邻的FTTR A内的WLAN设备,在第三轮次接收FTTR B的超主信息(此时为MFU D)。由于MFU D的能力优于MFU A,因此FTTR A内的WLAN设备将FTTR A的超主信息更新为MFU D。Since the super master information of FTTR B has been updated to MFU D in the second round, the super master information broadcast by the WLAN device in FTTR B in the third round is MFU D. The WLAN device in FTTR A, which is adjacent to FTTR B, receives the super master information of FTTR B (MFU D at this time) in the third round. Since the capability of MFU D is superior to that of MFU A, the WLAN device in FTTR A updates the super master information of FTTR A to MFU D.
在第四轮次中,FTTR D至FTTR A的超主信息已经全部统一为MFU D,广播的超主信息均为MFU D。In the fourth round, the super master information from FTTR D to FTTR A has been unified as MFU D, and the super master information broadcast is all MFU D.
也就是说,网络中MFU D所在的FTTR D,在每一轮次中将能力最优的主设备MFU D(超主)辐射至相邻一跳的WLAN子网络。例如图4c所示,第一轮次辐射至与FTTR D相邻一跳的FTTR C,第二轮次辐射至与FTTR D相邻两跳(FTTR D与FTTR C为一跳,FTTR C与FTTR B为一跳)的FTTR B,第三轮次辐射至与FTTR D相邻三跳的FTTR A。本申请实施例将两WLAN子网络之间通信需要经过的空口传输次数称为空口传输跳次。That is to say, FTTR D where MFU D is located in the network radiates the master device MFU D (super master) with the best capability to the adjacent WLAN sub-network in each round. For example, as shown in FIG4c, the first round radiates to FTTR C which is one hop adjacent to FTTR D, the second round radiates to FTTR B which is two hops adjacent to FTTR D (FTTR D and FTTR C are one hop, and FTTR C and FTTR B are one hop), and the third round radiates to FTTR A which is three hops adjacent to FTTR D. In the embodiment of the present application, the number of air interface transmissions required for communication between two WLAN sub-networks is referred to as air interface transmission hops.
因此,只要保证广播超主信息的轮次数量(即判断超主是否更新的轮次数量),不小于网络中距离最远的两个边缘WLAN子网络(即网络中位于最边缘位置的WLAN子网络)之间的空口传输跳次,即可保证整个网络选择统一的超主。Therefore, as long as the number of rounds of broadcasting super master information (i.e., the number of rounds for determining whether the super master is updated) is not less than the number of air interface transmission hops between the two farthest edge WLAN sub-networks in the network (i.e., the WLAN sub-networks located at the most edge of the network), it can be ensured that the entire network selects a unified super master.
若能力最优的主设备不在网络的边缘WLAN子网络上(例如图4c中MFU C或MFU B为能力最优的主设备),则实现各WLAN子网络选择统一超主的轮次数量,实际上小于网络中两个边缘WLAN子网络之间的空口传输跳次。由于无法预测能力最优的主设备到底在网络中的哪个WLAN子网络上,因此要保证判断超主选择的轮次不少于上述边缘WLAN子网络间的空口传输跳次。If the master device with the best capability is not on the edge WLAN sub-network of the network (for example, MFU C or MFU B in Figure 4c is the master device with the best capability), the number of rounds for each WLAN sub-network to select a unified super master is actually less than the number of air interface transmission hops between the two edge WLAN sub-networks in the network. Since it is impossible to predict which WLAN sub-network the master device with the best capability is on in the network, it is necessary to ensure that the number of rounds for determining the super master selection is not less than the number of air interface transmission hops between the above edge WLAN sub-networks.
在本申请实施例中,设置目标条件来约束超主选择的轮次,在满足目标条件的情况下,第一WLAN设备可以确定当前轮次的第一超主信息指示的主设备为网络的超主。In the embodiment of the present application, a target condition is set to constrain the round of super master selection. When the target condition is met, the first WLAN device can determine that the master device indicated by the first super master information of the current round is the super master of the network.
其中,目标条件可以包括下述至少一项:The target condition may include at least one of the following:
1、广播第一超主信息的轮次大于或等于第一阈值,即第一WLAN设备广播第一超主信息的轮次大于或等于第一阈值。1. The round number of broadcasting the first super master information is greater than or equal to the first threshold, that is, the round number of broadcasting the first super master information by the first WLAN device is greater than or equal to the first threshold.
网络中各WLAN子网络可以基于相同或近似的时间间隔来广播超主信息,因此网络中所有WLAN子网络广播超主信息的轮次数,可以认为与第一WLAN子网络已广播第一超主信息的轮次数相同。当第一WLAN设备广播的轮次数大于或等于第一阈值时,第一WLAN设备也接收了大于或等于第一阈值轮次的第二超主信息,并进行了大于或等于第一阈值轮次的判定是否更新第一超主信息。Each WLAN sub-network in the network can broadcast the super master information based on the same or similar time interval, so the number of rounds of broadcasting the super master information by all WLAN sub-networks in the network can be considered to be the same as the number of rounds of broadcasting the first super master information by the first WLAN sub-network. When the number of rounds broadcast by the first WLAN device is greater than or equal to the first threshold, the first WLAN device also receives the second super master information for a number of rounds greater than or equal to the first threshold, and determines whether to update the first super master information for a number of rounds greater than or equal to the first threshold.
其中,第一阈值可以是网络中WLAN子网络的总数量,或者其他约定数值,例如10、15等。The first threshold may be the total number of WLAN sub-networks in the network, or other agreed values, such as 10, 15, etc.
2、第一超主信息连续未更新的轮次数大于或等于第二阈值。2. The number of consecutive rounds in which the first super master information is not updated is greater than or equal to a second threshold.
当第一超主信息连续多轮次未更新,可以认为网络中各WLAN子网络选择的超主已经稳定且统一,从而结束超主选择的流程。可选的,第二阈值可以是约定的数值,例如5、8等。When the first super master information is not updated for multiple consecutive rounds, it can be considered that the super masters selected by the WLAN sub-networks in the network are stable and unified, thus ending the super master selection process. Optionally, the second threshold can be an agreed value, such as 5, 8, etc.
3、距离首次广播第一超主信息的时长大于或等于第三阈值。3. The time from the first broadcast of the first super master information to the first broadcast is greater than or equal to the third threshold.
广播第一超主信息的时间越长,对应的接收到第二超主信息的轮次数则越多。若广播第一超主信息的时间够长,可以认为已经进行足够轮次数的超主信息交互与更新,网络中各WLAN子网络已经选择到的统一的超主,从而结束超主选择的流程。The longer the time for broadcasting the first super master information is, the more rounds of receiving the second super master information will be. If the time for broadcasting the first super master information is long enough, it can be considered that sufficient rounds of super master information interaction and update have been carried out, and each WLAN subnet in the network has selected a unified super master, thus ending the super master selection process.
值得注意的是,图4c仅是一种网络示例,网络中还可以包括更多或者更少的WLAN子网络。目标条件的阈值取值,可以根据网络中的WLAN子网络数量确定,也可以依据经验值确定,本申请对此不做限定。It is worth noting that Figure 4c is only an example of a network, and the network may include more or fewer WLAN sub-networks. The threshold value of the target condition may be determined according to the number of WLAN sub-networks in the network or according to empirical values, and this application does not limit this.
404、若第一WLAN子网络的超主更新,第一WLAN设备根据携带目标超主信息的第一消息记录第一上报路径。404. If the super master of the first WLAN subnetwork is updated, the first WLAN device records a first reporting path according to a first message carrying target super master information.
在第一WLAN子网络的超主信息更新的轮次中,更新后的第一WLAN子网络的超主有可能为网络的超主。为了实现与网络超主之间的通信,应当记录与该子网络超主之间的路由信息。因此,在发生子网络超主更新的轮次中,确定根据目标超主信息(第二超主信息)更新子网络超主后,第一WLAN设备可以根据携带目标超主信息的第一消息,记录到达更新后的第一WLAN子网络的超主的第一上报路径。In the round of super master information update of the first WLAN sub-network, the super master of the updated first WLAN sub-network may be the super master of the network. In order to achieve communication with the super master of the network, the routing information between the super master of the sub-network should be recorded. Therefore, in the round of sub-network super master update, after determining to update the super master of the sub-network according to the target super master information (second super master information), the first WLAN device can record the first reporting path to the super master of the updated first WLAN sub-network according to the first message carrying the target super master information.
若后续出现新的更新轮次,则基于新的第一消息更新第一WLAN子网络的超主和第一上报路径。直到满足目标条件确定网络超主后,将该第一上报路径作为到达网络超主的上报路径。If a new update round occurs later, the super master and the first reporting path of the first WLAN subnetwork are updated based on the new first message. After the target condition is met and the network super master is determined, the first reporting path is used as the reporting path to the network super master.
值得注意的是,携带目标超主信息的第一消息,可以是图2所示实施例步骤202中的空口消息、图3a实施例中的更新消息,或者图3b实施例中第二WLAN设备发送给第一WLAN设备的消息,本申请对此不做限定。It is worth noting that the first message carrying the target super master information can be the air interface message in step 202 of the embodiment shown in Figure 2, the update message in the embodiment of Figure 3a, or the message sent by the second WLAN device to the first WLAN device in the embodiment of Figure 3b, and this application does not limit this.
转发第一消息的WLAN设备,可以是第一相邻WLAN子网络中的设备,也可以是第一WLAN子网络内的设备。接下来将分别展开描述:The WLAN device that forwards the first message may be a device in the first adjacent WLAN sub-network or a device in the first WLAN sub-network. The following will describe each of them separately:
A:更新轮次中,第一WLAN子网络接收来自第一相邻WLAN子网络的第三WLAN设备的第一消息。A: In an update round, the first WLAN subnetwork receives a first message from a third WLAN device in a first adjacent WLAN subnetwork.
若图4c中各FTTR内部的结构如图4d所示,且将FTTR C中的SFU C2作为第一WLAN设备分析。则FTTR B和FTTR D均为FTTR C的第一相邻WLAN子网络。If the internal structure of each FTTR in FIG4c is as shown in FIG4d, and SFU C2 in FTTR C is analyzed as the first WLAN device, then FTTR B and FTTR D are both the first adjacent WLAN sub-networks of FTTR C.
在图4d的第一轮次中,SFU C2(第一WLAN设备)接收来自FTTR D的SFU D1的第一消息,该第一消息为空口消息,且该第一消息中的第二超主信息指示MFU D。本申请实施例定义第一消息的发送方为第三WLAN设备。在该实施例中第三WLAN设备为SFU D1。In the first round of FIG4d , SFU C2 (first WLAN device) receives a first message from SFU D1 of FTTR D, the first message is an air interface message, and the second super master information in the first message indicates MFU D. The embodiment of the present application defines that the sender of the first message is a third WLAN device. In this embodiment, the third WLAN device is SFU D1.
第一WLAN设备(SFU C2)可以根据第一消息的接收路径,得到从第一WLAN设备到第三WLAN设备的第一发送路径,并将对应信息填入表1。其中,“本设备”项为第一发送路径的发送端,“到达第一相邻FTTR的设备”项为第一发送路径的接收端。The first WLAN device (SFU C2) can obtain the first transmission path from the first WLAN device to the third WLAN device according to the reception path of the first message, and fill the corresponding information into Table 1. Among them, the item "this device" is the transmission end of the first transmission path, and the item "the device reaching the first adjacent FTTR" is the receiving end of the first transmission path.
如表1所述。对于来自FTTR D的第一消息,接收路径为从SFU D1到SFU C2,则对应的第一发送路径为从SFU C2到SFU D1的传输路径,该第一发送路径被记录在表1的第一行数据中。As described in Table 1. For the first message from FTTR D, the receiving path is from SFU D1 to SFU C2, and the corresponding first sending path is the transmission path from SFU C2 to SFU D1. The first sending path is recorded in the first row of data in Table 1.
表1:图4d中SFU C2在第一轮次的第二超主信息与对应发送路径记录表Table 1: The second super master information and corresponding transmission path record table of SFU C2 in the first round in Figure 4d
在第一轮次中,SFU C2确定根据表1中的MFU D更新第一WLAN子网络的超主,则MFUD可能为网络超主。SFU C2将该行中从SFU C2到SFU D1的第一发送路径确定为到达(第一WLAN子网络的超主)MFU D的第一上报路径。若在目标条件后,确定网络超主为MFU D,则认为该第一上报路径为到达网络超主MFU D的目标上报路径。In the first round, SFU C2 determines to update the super master of the first WLAN sub-network according to MFU D in Table 1, then MFUD may be the network super master. SFU C2 determines the first transmission path from SFU C2 to SFU D1 in the row as the first reporting path to reach (the super master of the first WLAN sub-network) MFU D. If after the target condition, it is determined that the network super master is MFU D, then the first reporting path is considered to be the target reporting path to reach the network super master MFU D.
SFU C2通过与MFU C之间的管理通道接收的消息,可以记录得到表1中的第二行数据,该消息的传输参见上述分布式和集中式的超主选择过程,此处不再赘述。The message received by SFU C2 through the management channel between SFU C2 and MFU C can be recorded to obtain the second row of data in Table 1. The transmission of the message refers to the above-mentioned distributed and centralized super master selection process, which will not be repeated here.
B:更新轮次中,第一WLAN子网络通过第三WLAN设备(第一WLAN子网络的从设备)接收第一消息。B: In the update round, the first WLAN sub-network receives the first message through the third WLAN device (a slave device of the first WLAN sub-network).
若将FTTR C中的MFU C作为第一WLAN设备分析。则第一轮次记录的表格如表2所示。If MFU C in FTTR C is analyzed as the first WLAN device, the table of the first round of records is shown in Table 2.
表2:图4d中MFU C在第一轮次的第二超主信息与对应发送路径记录表Table 2: Record table of the second super master information and corresponding transmission path of MFU C in the first round in Figure 4d
在第一轮次中,MFU C确定根据表2中的MFU D更新第一WLAN子网络的超主,则MFUD可能为网络超主。MFU C将该行中从MFU C到SFU C2的第一发送路径确定为到达(第一WLAN子网络的超主)MFU D的第一上报路径。若在目标条件后,确定网络超主为MFU D,则认为该第一上报路径为到达网络超主MFU D的目标上报路径。In the first round, MFU C determines to update the super master of the first WLAN sub-network according to MFU D in Table 2, then MFUD may be the network super master. MFU C determines the first transmission path from MFU C to SFU C2 in the row as the first reporting path to MFU D (the super master of the first WLAN sub-network). If after the target condition, it is determined that the network super master is MFU D, then the first reporting path is considered to be the target reporting path to the network super master MFU D.
C:更新轮次中,第一WLAN子网络通过第三WLAN设备(第一WLAN子网络的主设备)接收第一消息。C: In the update round, the first WLAN sub-network receives the first message through the third WLAN device (the master device of the first WLAN sub-network).
若将FTTR C中的SFU C1作为第一WLAN设备分析。则第一轮次记录的表格如表3所示。If SFU C1 in FTTR C is analyzed as the first WLAN device, the table of the first round of records is shown in Table 3.
表3:图4d中SFU C1在第一轮次的第二超主信息与对应发送路径记录表Table 3: The second super master information of SFU C1 in the first round and the corresponding transmission path record table in Figure 4d
在第一轮次中,SFU C1确定根据表3中的MFU D更新第一WLAN子网络的超主(SFUC1通过与MFU C之间的管理通道接收的消息,可以记录得到该行数据,消息的传输参见上述分布式和集中式的超主选择过程),则MFU D可能为网络超主。SFU C1将该行中从SFU C1到MFU C的第一发送路径确定为到达(第一WLAN子网络的超主)MFU D的第一上报路径。若在目标条件后,确定网络超主为MFU D,则认为该第一上报路径为到达网络超主MFU D的目标上报路径。In the first round, SFU C1 determines to update the super master of the first WLAN sub-network according to MFU D in Table 3 (SFUC1 can record the data of this row through the message received through the management channel between SFUC1 and MFU C, and the transmission of the message refers to the above-mentioned distributed and centralized super master selection process), then MFU D may be the network super master. SFU C1 determines the first transmission path from SFU C1 to MFU C in this row as the first reporting path to MFU D (the super master of the first WLAN sub-network). If after the target condition, it is determined that the network super master is MFU D, then the first reporting path is considered to be the target reporting path to the network super master MFU D.
值得注意的是,若更新轮次中,第一WLAN设备通过有线端口接收第一消息,则第一上报路径为有线传输路径;第一WLAN设备通过无线端口接收第一消息,则第一上报路径为无线传输路径。It is worth noting that if the first WLAN device receives the first message through a wired port in the update round, the first reporting path is a wired transmission path; if the first WLAN device receives the first message through a wireless port, the first reporting path is a wireless transmission path.
值得注意的是,在更新轮次中,超主的更新与上报路径的记录可以同步执行,或者分开执行。例如,第一WLAN设备根据第一消息进行第一WLAN子网络的超主的更新,并根据第一消息记录第一上报路径。It is worth noting that in an update round, the super master update and the reporting path recording can be performed synchronously or separately. For example, the first WLAN device updates the super master of the first WLAN subnet according to the first message and records the first reporting path according to the first message.
或者,第一WLAN设备根据第一超主信息更新第一WLAN子网络的超主之后,接收第一消息。第一消息包含上述第一超主信息,第一WLAN设备根据第一消息记录到达更新后的(第一WLAN子网络的)超主的第一上报路径。Alternatively, after the first WLAN device updates the super master of the first WLAN sub-network according to the first super master information, it receives a first message. The first message includes the first super master information, and the first WLAN device records a first reporting path to the updated super master (of the first WLAN sub-network) according to the first message.
405、第一WLAN设备确定网络的超主,并确定到达网络超主的目标上报路径。405. The first WLAN device determines a super master of the network, and determines a target reporting path to reach the super master of the network.
满足目标条件后,第一WLAN子网络的超主可能会进行一次或多次更新。在满足目标条件后,第一WLAN设备可以确定第一WLAN子网络的超主为网络的超主。并将到达最后一次更新的第一WLAN子网络的超主的第一上传路径,作为到达网络超主的目标上报路径。After the target condition is met, the super master of the first WLAN sub-network may be updated once or multiple times. After the target condition is met, the first WLAN device may determine that the super master of the first WLAN sub-network is the super master of the network. And the first upload path to the super master of the first WLAN sub-network that was last updated is used as the target reporting path to the super master of the network.
406、第一WLAN设备通过目标上报路径向网络超主发送第一上报消息,接收来自网络超主的第一控制消息。406. The first WLAN device sends a first reporting message to the network super master through the target reporting path, and receives a first control message from the network super master.
第一WLAN设备可通过目标上报路径向超主发送第一上报消息。第一上报消息为单播消息,目的地址为网络的超主,源地址为第一WLAN设备。The first WLAN device may send a first reporting message to the super master through the target reporting path. The first reporting message is a unicast message, the destination address is the super master of the network, and the source address is the first WLAN device.
可选的,第一上报消息可以包括超主标识符。超主标识符用于指示该第一上报消息的目的地址所指示的设备为网络的超主。Optionally, the first reporting message may include a super master identifier. The super master identifier is used to indicate that the device indicated by the destination address of the first reporting message is a super master of the network.
在步骤404中,第一WLAN设备记录了到达超主的第一上报路径。在本申请实施例中,第一上报路径为WLAN设备与超主通信过程中,到达超主的下一跳设备。在本申请实施例中,网络中的每个WLAN设备都可以作为第一WLAN设备,记录到达超主的上报路径(即到达超主的下一跳设备)。则网络中任意位置上的WLAN设备(称为目标设备)来说,该目标设备到达超主的下一跳设备,也会记录到达超主的再下一跳设备,从而通过目标设备与超主之间的一个或多个设备的中转,将第一上报消息一跳一跳转发至超主。In step 404, the first WLAN device records the first reporting path to the super master. In the embodiment of the present application, the first reporting path is the next hop device to the super master during the communication between the WLAN device and the super master. In the embodiment of the present application, each WLAN device in the network can serve as the first WLAN device to record the reporting path to the super master (i.e., the next hop device to the super master). For a WLAN device (referred to as a target device) at any position in the network, the target device will record the next hop device to the super master, and will also record the next hop device to the super master, thereby forwarding the first reporting message to the super master hop by hop through the relay of one or more devices between the target device and the super master.
例如在图4d中,假设超主为MFU D,则MFU C会将SFU C2记录为MFU C到达超主MFUD的下一跳设备(第一上报路径),SFU C2会将SFU D1记录为SFU C2到达超主MFU D的下一跳设备(第一上报路径)。MFU C根据记录的第一上报路径,将第一上报消息发送给SFU C2;SFUC2根据记录的第一上报路径,将第一上报消息发送给SFU D1;SFU D1再将第一上报消息转发给超主MFU D。来自MFU C的第一上报消息,就这样经过多跳的转发到达超主MFU D。For example, in Figure 4d, assuming that the super master is MFU D, MFU C will record SFU C2 as the next hop device (first reporting path) from MFU C to the super master MFU D, and SFU C2 will record SFU D1 as the next hop device (first reporting path) from SFU C2 to the super master MFU D. MFU C sends the first reporting message to SFU C2 according to the recorded first reporting path; SFUC2 sends the first reporting message to SFU D1 according to the recorded first reporting path; SFU D1 then forwards the first reporting message to the super master MFU D. The first reporting message from MFU C reaches the super master MFU D through multi-hop forwarding.
407、第一WLAN设备通过第四WLAN设备接收第二上报消息,将第四WLAN设备记录为到达第二目标WLAN设备的第二下发路径。407. The first WLAN device receives the second reporting message through the fourth WLAN device, and records the fourth WLAN device as the second delivery path to the second target WLAN device.
可选的,在满足目标条件,确定网络超主之后,第一WLAN设备也可以向网络超主中转来自其他WLAN子网络的上报消息。本申请实施例将该上报消息称为第二上报消息。第二上报消息为单播消息,第二上报消息的目的地址为网络超主,源地址为网络中的第二目标WLAN设备。第二目标WLAN设备在第一WLAN子网络外。第二上报消息通过第四WLAN设备传输至第一WLAN设备。Optionally, after the target condition is met and the network super master is determined, the first WLAN device may also forward the report message from other WLAN subnets to the network super master. In the embodiment of the present application, the report message is referred to as a second report message. The second report message is a unicast message, the destination address of the second report message is the network super master, and the source address is a second target WLAN device in the network. The second target WLAN device is outside the first WLAN subnet. The second report message is transmitted to the first WLAN device via the fourth WLAN device.
与步骤404同理,第一WLAN设备可以根据该第二上报消息的接收路径,得到从第一WLAN设备到第四WLAN设备的第二发送路径,并将第二发送路径记录为到达第二目标WLAN设备的第二下发路径。Similar to step 404, the first WLAN device can obtain a second sending path from the first WLAN device to the fourth WLAN device according to the receiving path of the second reporting message, and record the second sending path as a second sending path to the second target WLAN device.
可选的,第四WLAN设备可以是第一WLAN子网络的主设备/从设备,也可以是第一WLAN子网络的第二相邻WLAN子网络的WLAN设备,本申请对此不做限定。Optionally, the fourth WLAN device may be a master device/slave device of the first WLAN sub-network, or may be a WLAN device of a second adjacent WLAN sub-network of the first WLAN sub-network, which is not limited in the present application.
值得注意的是,若第一WLAN设备通过有线端口接收第二上报消息,则第二下发路径为有线传输路径;若第一WLAN设备通过无线端口接收第二上报消息,则第二下发路径为无线传输路径。It is worth noting that if the first WLAN device receives the second reporting message through a wired port, the second sending path is a wired transmission path; if the first WLAN device receives the second reporting message through a wireless port, the second sending path is a wireless transmission path.
408、第一WLAN设备接收第二控制消息,通过第二下发路径向第二目标WLAN设备发送第二控制消息。408. The first WLAN device receives the second control message, and sends the second control message to the second target WLAN device through the second delivery path.
网络超主根据第一上报消息和第二上报消息进行集中管理,得到第一控制消息和第二控制消息。并向第一WLAN设备发送第一控制消息,向第二目标WLAN设备发送第二控制消息。The network super master performs centralized management according to the first reporting message and the second reporting message to obtain the first control message and the second control message, and sends the first control message to the first WLAN device and sends the second control message to the second target WLAN device.
由于第一WLAN设备在网络超主与第二目标WLAN设备之间的传输通路上,因此第一WLAN设备可以接收第二控制消息。Since the first WLAN device is on the transmission path between the network super host and the second target WLAN device, the first WLAN device can receive the second control message.
第一WLAN设备根据第二控制消息的目的地址,确定第二控制消息需要传输至第二目标WLAN设备。第一WLAN设备查询到达第二目标WLAN设备的第二下发路径(第二下发路径在步骤407中记录),通过第二下发路径向第二目标WLAN设备发送该第二控制消息。The first WLAN device determines that the second control message needs to be transmitted to the second target WLAN device according to the destination address of the second control message. The first WLAN device queries the second downlink path to the second target WLAN device (the second downlink path is recorded in step 407), and sends the second control message to the second target WLAN device through the second downlink path.
值得注意的是,步骤407-408为可选步骤,也可以不执行步骤407-408。It is worth noting that steps 407-408 are optional steps and may not be performed.
409、第一WLAN设备确定网络的超主为第一WLAN子网络的主设备。409. The first WLAN device determines that the super master of the network is the master device of the first WLAN sub-network.
第一WLAN子网络的超主默认为第一WLAN子网络的主设备。若在满足目标条件的情况下,第一WLAN子网络的超主都没有更新过,第一WLAN设备则可以确定第一WLAN子网络的主设备为网络的超主。The super master of the first WLAN sub-network is the master device of the first WLAN sub-network by default. If the super master of the first WLAN sub-network has not been updated under the condition that the target condition is met, the first WLAN device can determine that the master device of the first WLAN sub-network is the super master of the network.
410、第一WLAN设备接收来自第一目标WLAN设备的第一上报消息,根据第一上报消息记录到达第一目标WLAN设备的第一下发路径。410. The first WLAN device receives a first reporting message from a first target WLAN device, and records a first delivery path to the first target WLAN device according to the first reporting message.
在满足目标条件的情况下,网络中的第一目标WLAN设备也可以确定第一WLAN子网络的主设备为网络超主。于是,第一目标WLAN设备向网络超主发送第一上报消息。第一上报消息为单播消息,第一上报消息的源地址为第一目标WLAN设备,目的地址为网络超主(第一WLAN子网络的主设备)。When the target condition is met, the first target WLAN device in the network can also determine that the master device of the first WLAN sub-network is the network super master. Therefore, the first target WLAN device sends a first reporting message to the network super master. The first reporting message is a unicast message, the source address of the first reporting message is the first target WLAN device, and the destination address is the network super master (the master device of the first WLAN sub-network).
第一WLAN设备作为第一目标WLAN设备与网络超主之间的转发节点,可以接收第一上报消息。具体的,第一WLAN设备通过网络中的第四WLAN设备接收该第一上报消息。第一WLAN设备可以根据第一上报消息的接收路径,得到从第一WLAN设备到第四WLAN设备的第三发送路径,并将对应信息填入表4。其中,“本设备”项为第三发送路径的发送端,“到达目标WLAN设备的下一跳”项为第三发送路径的接收端。The first WLAN device, as a forwarding node between the first target WLAN device and the network super master, can receive the first report message. Specifically, the first WLAN device receives the first report message through the fourth WLAN device in the network. The first WLAN device can obtain the third transmission path from the first WLAN device to the fourth WLAN device according to the receiving path of the first report message, and fill the corresponding information into Table 4. Among them, the "this device" item is the sending end of the third transmission path, and the "next hop to the target WLAN device" item is the receiving end of the third transmission path.
例如表4中的第一行数据,若第一WLAN设备为图4d中的SFU C1,超主为MFU D。对于来自SFU B1的第一上报消息,接收路径为从SFU B2到SFU C1,则对应的第三发送路径为从SFU C1到SFU B2的传输路径,该第三发送路径被记录在表4的第一行数据中。For example, in the first row of data in Table 4, if the first WLAN device is SFU C1 in Figure 4d, the super master is MFU D. For the first reporting message from SFU B1, the receiving path is from SFU B2 to SFU C1, and the corresponding third sending path is the transmission path from SFU C1 to SFU B2, and the third sending path is recorded in the first row of data in Table 4.
表4:第一WLAN设备的到达对应WLAN设备的路径记录表Table 4: Path record table of the first WLAN device reaching the corresponding WLAN device
可选的,该第一下发路径中的第四WLAN设备,可以是第一相邻WLAN子网络的WLAN设备,也可以是第一WLAN子网络的某个从设备(第一WLAN设备为第一WLAN子网络的主设备),也可以是第一WLAN子网络的主设备(第一WLAN设备为第一WLAN子网络的从设备),本申请对此不做限定。Optionally, the fourth WLAN device in the first sending path may be a WLAN device of the first adjacent WLAN subnet, or a slave device of the first WLAN subnet (the first WLAN device is the master device of the first WLAN subnet), or a master device of the first WLAN subnet (the first WLAN device is the slave device of the first WLAN subnet), and this application does not limit this.
值得注意的是,若第一WLAN设备通过有线端口接收第一上报消息,则第一下发路径为有线传输路径;第一WLAN设备通过无线端口接收第一上报消息,则第一下发路径为无线传输路径。It is worth noting that if the first WLAN device receives the first reporting message through a wired port, the first sending path is a wired transmission path; if the first WLAN device receives the first reporting message through a wireless port, the first sending path is a wireless transmission path.
411、第一WLAN设备通过第一下发路径向第一目标WLAN设备发送第一控制消息。411. The first WLAN device sends a first control message to a first target WLAN device through a first delivery path.
在本申请实施例中,通过在各WLAN子网络间传输空口消息,实现各WLAN子网络选择的超主的交互,从而统一多个WLAN子网络选择的超主,完成整个网络对超主的选择。该方案仅通过WLAN子网络即可实现对超主的选择,不需要上层通信设备的帮助,也就不需要增设或改动上层通信设备,对网络的变动小。且由于上层通信设备不参与到超主的选择中,不占用上层通信设备的算力资源。In the embodiment of the present application, the interaction of the super master selected by each WLAN subnetwork is realized by transmitting air interface messages between each WLAN subnetwork, thereby unifying the super masters selected by multiple WLAN subnetworks and completing the selection of the super master by the entire network. This solution can realize the selection of the super master only through the WLAN subnetwork, without the help of the upper-layer communication equipment, and there is no need to add or modify the upper-layer communication equipment, and the change to the network is small. And because the upper-layer communication equipment does not participate in the selection of the super master, it does not occupy the computing power resources of the upper-layer communication equipment.
并且,若网络的局部发生故障,导致网络中部分WLAN出现故障。通过该方法也可以在不发生故障的区域中选择出局部超主,实现对网络未故障部分(可能包括多个WLAN子网络)的局部调优。Furthermore, if a local failure occurs in the network, causing a failure in some WLANs in the network, this method can also be used to select a local super master in the area where the failure does not occur, thereby achieving local optimization of the non-failed part of the network (which may include multiple WLAN sub-networks).
在本申请实施例中,第一下发路径,第二下发路径是到达某个WLAN设备的传输路径。值得注意的是,第一下发路径和第二下发路径也可以是到达某WLAN子网络的传输路径,则在记录下发路径时以WLAN子网络为单位记录,本申请对此不做限定。In the embodiment of the present application, the first sending path and the second sending path are transmission paths to a certain WLAN device. It is worth noting that the first sending path and the second sending path can also be transmission paths to a certain WLAN subnet. When recording the sending path, the WLAN subnet is recorded as a unit, and the present application does not limit this.
上面的实施例描述了本申请实施例提供的网络控制方法,下面描述该方法在共建、拼接等场景下的应用。The above embodiments describe the network control method provided by the embodiments of the present application. The following describes the application of the method in scenarios such as co-construction and splicing.
若网络中的多个WLAN子网络为图1a所示的共建场景,且各WLAN子网络均包括主设备MFU和从设备SFU。其中,FTTR A为第一WLAN子网络, FTTR B和FTTR C均为FTTR A的第一相邻WLAN子网络。则超主选择、路径记录以及上报消息、控制消息的发送等过程具体可以如图5所示:If multiple WLAN sub-networks in the network are co-built as shown in Figure 1a, and each WLAN sub-network includes a master device MFU and a slave device SFU. Among them, FTTR A is the first WLAN sub-network, and FTTR B and FTTR C are both the first adjacent WLAN sub-networks of FTTR A. Then the process of super master selection, path recording, reporting message, and control message sending can be specifically shown in Figure 5:
501、FTTR A的主设备A1和从设备A2、A3广播第一超主信息。501. The master device A1 and slave devices A2 and A3 of FTTR A broadcast first super master information.
FTTR A的主设备MFU A1(也称为主设备A1)可以将自身的第一超主信息通过第一WLAN子网络内的有线传输通道传输给从设备SFU A2、SFU A3(也称为从设备A2、A3)。然后主设备A1和从设备A2、A3都通过空口消息向周围广播第一超主信息,从而在第一WLAN子网络的覆盖范围内尽可能地传播第一超主信息。第一超主信息默认为FTTRA的主设备A1。The master device MFU A1 (also called master device A1) of FTTRA A can transmit its first super master information to the slave devices SFU A2 and SFU A3 (also called slave devices A2 and A3) through the wired transmission channel in the first WLAN sub-network. Then the master device A1 and the slave devices A2 and A3 broadcast the first super master information to the surroundings through air interface messages, so as to spread the first super master information as much as possible within the coverage of the first WLAN sub-network. The first super master information defaults to the master device A1 of FTTRA.
第一超主信息中可以包括第一超主的能力信息,能力信息用于实现超主的选择。第一超主默认为FTTR A的主设备A1。The first super master information may include capability information of the first super master, and the capability information is used to implement the selection of the super master. The first super master is the master device A1 of FTTR A by default.
可选的,超主的能力信息可以是超主的FTTR标识,通过比较FTTR标识的大小即可选择超主。Optionally, the capability information of the super master may be an FTTR identifier of the super master, and the super master may be selected by comparing the sizes of the FTTR identifiers.
值得注意的是,若第一超主的能力信息是超主的设备代际、CPU核数、内存大小等信息,则第一超主信息中还包括FTTR A的标识。FTTR A的标识用于表示第一超主信息来自FTTR A。It is worth noting that if the capability information of the first super master is information such as the device generation, number of CPU cores, memory size, etc. of the super master, the first super master information also includes the identifier of FTTR A. The identifier of FTTR A is used to indicate that the first super master information comes from FTTR A.
502、FTTR B的主设备MFU B1(也称为主设备B1)和从设备SFU B2、SFU B3(也称为从设备B2、B3)广播第二超主信息-1。502. The master device MFU B1 (also referred to as the master device B1) and the slave devices SFU B2 and SFU B3 (also referred to as the slave devices B2 and B3) of FTTR B broadcast the second super master information-1.
503、FTTR C的主设备MFU C1(也称为主设备C1)和从设备SFU C2、SFU C3(也称为从设备C2、C3)广播第二超主信息-2。503. The master device MFU C1 (also referred to as the master device C1) and the slave devices SFU C2 and SFU C3 (also referred to as the slave devices C2 and C3) of FTTR C broadcast the second super master information-2.
第二超主信息-1、第二超主信息-2的传输与步骤501同理,此处不再赘述。在本申请实施例中,不限定步骤501、502、503的先后顺序。The transmission of the second super master information-1 and the second super master information-2 is similar to step 501, and will not be repeated here. In the embodiment of the present application, the order of steps 501, 502, and 503 is not limited.
504、FTTR A的从设备向主设备A1上报收集到的第二超主信息,主设备A1根据收集到的第二超主信息-1、第二超主信息-2,确定不更新第一WLAN子网络的超主。504. The slave device of FTTR A reports the collected second super master information to the master device A1. The master device A1 determines not to update the super master of the first WLAN sub-network according to the collected second super master information-1 and second super master information-2.
在图1a所示的共建场景中,三个WLAN子网络的布设位置较近。因此主设备A1在步骤502、503中可以接收到第二超主信息-1和第二超主信息-2,从设备A2、A3在步骤502、503中可以接收到第二超主信息-1和第二超主信息-2。In the co-construction scenario shown in FIG1a , the three WLAN sub-networks are arranged close to each other. Therefore, the master device A1 can receive the second super master information-1 and the second super master information-2 in steps 502 and 503 , and the slave devices A2 and A3 can receive the second super master information-1 and the second super master information-2 in steps 502 and 503 .
于是,在步骤504中,主设备A1获取了网络中所有WLAN子网络的超主信息(第二超主信息-1、第二超主信息-2和第一超主信息),即可根据这些超主信息确定第一WLAN子网络的超主。Therefore, in step 504, the master device A1 obtains the super master information (second super master information-1, second super master information-2 and first super master information) of all WLAN sub-networks in the network, and can determine the super master of the first WLAN sub-network according to the super master information.
主设备A1根据第二超主信息-1和第二超主信息-2的能力信息均不优于第一超主信息的能力信息,确定不更新第一WLAN子网络的超主。The master device A1 determines not to update the super master of the first WLAN sub-network according to the fact that the capability information of the second super master information-1 and the second super master information-2 is not better than the capability information of the first super master information.
例如,FTTR B和FTTR C的FTTR标识(第二超主的能力信息)均小于FTTRA的FTTR标识(第一超主的能力信息),主设备A1则可以确定不更新第一超主,第一超主仍为默认的A1。For example, if the FTTR identifiers of FTTR B and FTTR C (capability information of the second super master) are both smaller than the FTTR identifier of FTTRA (capability information of the first super master), the master device A1 may determine not to update the first super master, and the first super master is still the default A1.
505、FTTR B的从设备向主设备B1上报收集到的超主信息,主设备B1根据收集到的第一超主信息和第二超主信息-2,确定将FTTR B的超主(第二超主-1)更新为A1,并记录到达A1的第一上报路径-1。505. The slave device of FTTR B reports the collected super master information to the master device B1. The master device B1 determines to update the super master (second super master-1) of FTTR B to A1 according to the collected first super master information and second super master information-2, and records the first reporting path-1 reaching A1.
在步骤502中,从设备B2或B3可以从从设备A2或A3接收到第一超主信息,记录到达第一超主的上报路径,并在步骤505中将第一超主信息上报给主设备B1。主设备B1通过第一超主信息的接收路径(从设备B2、B3到主设备B1),得到主设备B1到从设备B2、B3的发送路径,并将该发送路径记录为到达第一超主的第一上报路径-1。In step 502, slave device B2 or B3 may receive the first super master information from slave device A2 or A3, record the reporting path to the first super master, and report the first super master information to master device B1 in step 505. Master device B1 obtains the sending path from master device B1 to slave devices B2 and B3 through the receiving path of the first super master information (slave devices B2 and B3 to master device B1), and records the sending path as the first reporting path-1 to the first super master.
506、FTTR C的从设备向主设备C1上报收集到的超主信息,主设备C1根据收集到的第一超主信息和第二超主信息-1,确定将FTTR C的超主(第二超主-2)更新为A1,并记录到达A1的第一上报路径-2。506. The slave device of FTTR C reports the collected super master information to the master device C1. The master device C1 determines to update the super master (second super master-2) of FTTR C to A1 according to the collected first super master information and second super master information-1, and records the first reporting path-2 reaching A1.
主设备C1记录第一上报路径-2的步骤与步骤505中的第一上报路径-1同理,此处不再赘述。The step of the master device C1 recording the first reporting path-2 is the same as the first reporting path-1 in step 505, and will not be repeated here.
在本申请实施例中,不限定步骤504、505、506的先后顺序。In the embodiment of the present application, the order of steps 504, 505, and 506 is not limited.
通过步骤501-506完成了超主的选择与上报路径的记录,下面将进行网络信息的上报与下发路径的记录、控制消息的下发:The selection of the super master and the recording of the reporting path are completed through steps 501-506. Next, the reporting of network information and the recording of the sending path and the sending of control messages will be carried out:
507、FTTR B的从设备B2、B3向主设备B1上报B2、B3的网络信息,主设备B1通过第一上报路径-1向超主A1上报FTTR B的网络信息。507. The slave devices B2 and B3 of FTTR B report the network information of B2 and B3 to the master device B1, and the master device B1 reports the network information of FTTR B to the super master A1 through the first reporting path-1.
满足目标条件后,FTTR B的主设备B1确定FTTR A的主设备A1为网络的超主,确定向超主A1发送上报消息。After the target condition is met, the master device B1 of FTTR B determines that the master device A1 of FTTR A is the super master of the network, and determines to send a report message to the super master A1.
主设备B1向FTTR B的从设备获取网络信息,从设备B2、B3通过有线传输通道将网络信息上报给主设备B1,主设备B1将FTTR B内的网络信息(包括B1、B2、B3等的网络信息)汇总为第一上报消息-1,通过第一上报路径-1将第一上报消息-1发送给超主A1。The master device B1 obtains network information from the slave devices of FTTR B. The slave devices B2 and B3 report the network information to the master device B1 through the wired transmission channel. The master device B1 summarizes the network information in FTTR B (including the network information of B1, B2, B3, etc.) into a first reporting message-1, and sends the first reporting message-1 to the super master A1 through the first reporting path-1.
508、FTTR C的从设备C2、C3向主设备C1上报C2、C3的网络信息,主设备C1通过第一上报路径-2向超主A1上报FTTR C的网络信息。508. The slave devices C2 and C3 of the FTTR C report the network information of C2 and C3 to the master device C1, and the master device C1 reports the network information of the FTTR C to the super master A1 through the first reporting path-2.
满足目标条件后,FTTR C的主设备C1确定FTTR A的主设备A1为网络的超主,确定向超主A1发送上报消息。After the target condition is met, the master device C1 of FTTR C determines that the master device A1 of FTTR A is the super master of the network, and determines to send a report message to the super master A1.
主设备C1向FTTR C的从设备获取网络信息,从设备C2、C3通过有线传输通道将网络信息上报给主设备C1,主设备C1将FTTR C的网络信息(包括C1、C2、C3等的网络信息)汇总为第一上报消息-2,通过第一上报路径-2将第一上报消息-1发送给超主A1。The master device C1 obtains network information from the slave devices of FTTR C. The slave devices C2 and C3 report the network information to the master device C1 through the wired transmission channel. The master device C1 summarizes the network information of FTTR C (including the network information of C1, C2, C3, etc.) into a first reporting message-2, and sends the first reporting message-1 to the super master A1 through the first reporting path-2.
509、FTTR A的主设备A1根据来自FTTR B的第一上报消息-1,记录到达FTTR B的第一下发路径-1。509. The master device A1 of FTTR A records the first sending path-1 reaching FTTR B according to the first reporting message-1 from FTTR B.
满足目标条件后,主设备A1确定不更新第一WLAN子网络的超主,确定A1为网络的超主。After the target condition is met, the master device A1 determines not to update the super master of the first WLAN sub-network, and determines A1 as the super master of the network.
超主A1可以从主设备B1接收到FTTR B的第一上报消息-1,从而将超主A1与主设备B1之间的发送路径记录为到达FTTR B的第一下发路径-1。The super master A1 may receive the first reporting message -1 of FTTR B from the master device B1, and thus record the sending path between the super master A1 and the master device B1 as the first sending path -1 to FTTR B.
510、FTTR A的主设备A1根据来自FTTR B的第一上报消息-2,记录到达FTTR C的第一下发路径-2。510. The master device A1 of FTTR A records the first sending path -2 reaching FTTR C according to the first reporting message -2 from FTTR B.
超主A1可以从主设备C1接收到FTTR C的第一上报消息-2,从而将超主A1与主设备C1之间的发送路径记录为到达FTTR C的第一下发路径-2。The super master A1 may receive the first reporting message -2 of the FTTR C from the master device C1, and thus record the sending path between the super master A1 and the master device C1 as the first sending path -2 to reach the FTTR C.
511、FTTR A的从设备A2、A3向主设备A1上报A2、A3的网络信息。511. Slave devices A2 and A3 of FTTR A report network information of A2 and A3 to master device A1.
确定自己是超主后,超主A1可以向FTTR A的从设备获取网络信息,FTTR A的从设备向主设备A1上报网络信息。After confirming that it is the super master, the super master A1 can obtain network information from the slave device of FTTR A, and the slave device of FTTR A reports the network information to the master device A1.
512、超主A1根据各WLAN子网络的网络信息进行集中调优,得到网络中各WLAN设备的调优结果。512. Super master A1 performs centralized optimization according to network information of each WLAN sub-network to obtain optimization results of each WLAN device in the network.
513、超主A1向从设备A2、A3发送A2、A3的调优结果。513. Super master A1 sends the tuning results of A2 and A3 to slave devices A2 and A3.
514、超主A1通过第一下发路径-1向主设备B1发送FTTR B的调优结果,主设备B1向从设备B2、B3发送B2、B3的调优结果。514. Super master A1 sends the optimization result of FTTR B to master device B1 through the first delivery path -1, and master device B1 sends the optimization result of B2 and B3 to slave devices B2 and B3.
515、超主A1通过第一下发路径-2向主设备C1发送FTTR C的调优结果,主设备C1向从设备C2、C3发送C2、C3的调优结果。515. The super master A1 sends the optimization result of FTTR C to the master device C1 through the first sending path-2, and the master device C1 sends the optimization result of C2 and C3 to the slave devices C2 and C3.
若网络中的多个WLAN子网络为图1b所示的拼接场景,且各WLAN子网络均包括主设备和从设备。其中, FTTR B为第一WLAN子网络, FTTR A和FTTR C均为FTTR B的第一相邻WLAN子网络。则选择超主、记录上报路径与下发路径等过程,具体可以如图6a所示:If multiple WLAN sub-networks in the network are the splicing scenario shown in Figure 1b, and each WLAN sub-network includes a master device and a slave device. Among them, FTTR B is the first WLAN sub-network, and FTTR A and FTTR C are both the first adjacent WLAN sub-networks of FTTR B. Then the process of selecting the super master, recording the reporting path and the sending path, etc., can be specifically shown in Figure 6a:
601、FTTR A的主设备MFU A1(也称为主设备A1)和从设备SFU A2、A3(也称为从设备A2、A3)广播第二超主信息-1。601. The master device MFU A1 (also referred to as the master device A1) and the slave devices SFU A2 and A3 (also referred to as the slave devices A2 and A3) of FTTR A broadcast the second super master information-1.
602、FTTR B的主设备MFU B1(也称为主设备B1)和从设备SFU B2、B3(也称为从设备B2、B3)广播第一超主信息。602. The master device MFU B1 (also referred to as the master device B1) and the slave devices SFU B2 and B3 (also referred to as the slave devices B2 and B3) of FTTR B broadcast first super master information.
603、FTTR C的主设备MFU C1(也称为主设备C1)和从设备SFU C2、C3(也称为从设备C2、C3)广播第二超主信息-2。603. The master device MFU C1 (also referred to as the master device C1) and the slave devices SFU C2 and C3 (also referred to as the slave devices C2 and C3) of FTTR C broadcast the second super master information-2.
步骤601-603参见图5所示实施例的步骤501-503,此处不再赘述。For steps 601 - 603 , please refer to steps 501 - 503 of the embodiment shown in FIG. 5 , and will not be described in detail here.
604、FTTR A的从设备向主设备A1上报收集到的超主信息,主设备A1根据收集到的第一超主信息、第二超主信息-2,确定不更新第二超主-1(FTTR A的超主)。604. The slave device of FTTR A reports the collected super master information to the master device A1. The master device A1 determines not to update the second super master-1 (super master of FTTR A) according to the collected first super master information and second super master information-2.
在图1b所示的拼接场景中,A1 在B1的覆盖范围内,但是不在C1的覆盖范围内。因此主设备A1仅能获取第一超主信息。A1根据第一超主信息确定不更新第二超主-1(FTTR A的超主),第二超主-1仍为默认的A1。In the splicing scenario shown in Figure 1b, A1 is within the coverage of B1, but not within the coverage of C1. Therefore, the master device A1 can only obtain the first super master information. A1 determines not to update the second super master-1 (the super master of FTTR A) based on the first super master information, and the second super master-1 is still the default A1.
605、FTTR B的从设备向主设备B1上报收集到的超主信息,主设备B1根据收集到的第二超主信息-1、第二超主信息-2,确定将第一超主(FTTR B的超主)更新为A1,并记录到达A1的上报路径。605. The slave device of FTTR B reports the collected super master information to the master device B1. The master device B1 determines to update the first super master (the super master of FTTR B) to A1 according to the collected second super master information-1 and second super master information-2, and records the reporting path to A1.
步骤605参见图5所示实施例的步骤505,此处不再赘述 。Step 605 refers to step 505 of the embodiment shown in FIG5 , and will not be described in detail here.
示例地,在第一轮次的步骤601-603中,跨WLAN子网络接收的消息可以被记录成图6b中的A表。如图6b中的A表所示,B2接收来自A3的空口消息,消息显示B2通过A3接收来自FTTR A的消息,且FTTR A当前的超主标识符为A;B3接收来自C2的空口消息,消息显示B3通过C2接收来自FTTR C的消息,且FTTRC当前的超主标识符为C。For example, in the first round of steps 601-603, the messages received across the WLAN subnetworks may be recorded as Table A in FIG6b. As shown in Table A in FIG6b, B2 receives an air interface message from A3, and the message shows that B2 receives a message from FTTR A through A3, and the current super primary identifier of FTTR A is A; B3 receives an air interface message from C2, and the message shows that B3 receives a message from FTTR C through C2, and the current super primary identifier of FTTRC is C.
各WLAN子网络中从设备将记录下来的信息传递给主设备,则得到图6b中B表所示的信息。如B表所示,在FTTR B中,来自B2的空口消息显示FTTR A的第二超主-1的能力标识为A,来自B3的空口消息显示FTTR C的第二超主-2的能力标识为C,而B2和B3所在的FTTR B自身的第一超主的能力标识为B。其中第二超主的能力标识A最小,所以选择A作为FTTR B的超主。The slave devices in each WLAN subnet transmit the recorded information to the master device, and the information shown in Table B in FIG6b is obtained. As shown in Table B, in FTTR B, the air interface message from B2 shows that the capability identifier of the second super master-1 of FTTR A is A, and the air interface message from B3 shows that the capability identifier of the second super master-2 of FTTR C is C, and the capability identifier of the first super master of FTTR B where B2 and B3 are located is B. Among them, the capability identifier A of the second super master is the smallest, so A is selected as the super master of FTTR B.
若主设备B1不在主设备A1的无线覆盖范围内,则主设备B1通过从设备B2、从设备A3接收来自FTTR A的第二超主信息-1,可以将从设备B2和从设备A3记录在路由表中。If the master device B1 is not within the wireless coverage of the master device A1, the master device B1 receives the second super master information-1 from the FTTR A through the slave devices B2 and A3, and can record the slave devices B2 and A3 in the routing table.
具体的,主设备B1可以根据B表中邻居FTTR标识符为超主A的那行数据,将B1到从设备B2的发送路径记录为到达主设备A1的上报路径。从设备B2可以根据A表中邻居FTTR标识符为超主A的那行数据,将B2到A3的发送路径记录为到达A1的上报路径。Specifically, the master device B1 can record the sending path from B1 to the slave device B2 as the reporting path to the master device A1 according to the row of data in the B table where the neighbor FTTR identifier is the super master A. The slave device B2 can record the sending path from B2 to A3 as the reporting path to A1 according to the row of data in the A table where the neighbor FTTR identifier is the super master A.
606、FTTR C的从设备向主设备C1上报收集到的超主信息,主设备C1根据收集到的第一超主信息,确定将第二超主-2(FTTR C的超主)更新为B1,并记录到达B1的上报路径。606. The slave device of FTTR C reports the collected super master information to the master device C1. The master device C1 determines to update the second super master-2 (super master of FTTR C) to B1 according to the collected first super master information, and records the reporting path to B1.
示例地,在第一轮次的步骤601-603中,跨WLAN子网络接收的消息可以被记录成图6b中的A表,然后通过B表实现超主选择。For example, in the first round of steps 601-603, messages received across WLAN sub-networks may be recorded into table A in FIG. 6b, and then super master selection is implemented through table B.
若主设备B1不在主设备C1的无线覆盖范围内,则主设备C1通过从设备C2、从设备B3接收来自FTTR B的第一超主信息,可以将从设备C2和从设备B3记录在路由表中。If the master device B1 is not within the wireless coverage of the master device C1, the master device C1 receives the first super master information from the FTTR B through the slave devices C2 and B3, and can record the slave devices C2 and B3 in the routing table.
具体的,主设备C1根据B表中邻居FTTR标识符为超主B的那行数据,将C1到从设备C2的发送路径记录为到达主设备B1的上报路径。从设备C2可以根据A表中邻居FTTR标识符为超主B的那行数据,将C2到B3的发送路径记录为到达B1的上报路径。Specifically, the master device C1 records the sending path from C1 to the slave device C2 as the reporting path to the master device B1 according to the row of data in the B table where the neighbor FTTR identifier is the super master B. The slave device C2 can record the sending path from C2 to B3 as the reporting path to B1 according to the row of data in the A table where the neighbor FTTR identifier is the super master B.
在本申请实施例中,不限定步骤604、605、606的先后顺序。In the embodiment of the present application, the order of steps 604, 605, and 606 is not limited.
在步骤601-606中,实现了各WLAN子网络的第一轮超主选择。但是如图1b所示,由于FTTR A不在FTTR C的覆盖范围内,导致第一轮选择超主的过程中未进行FTTR A与FTTR C之间的交互,FTTR A与FTTR C选择的子网络超主不同。因此,还要进行如下的第二轮超主选择:In steps 601-606, the first round of super master selection of each WLAN subnet is implemented. However, as shown in FIG1b , since FTTR A is not within the coverage of FTTR C, the interaction between FTTR A and FTTR C is not performed during the first round of super master selection, and FTTR A and FTTR C select different subnet super masters. Therefore, the second round of super master selection is performed as follows:
607、FTTR A的主设备A1和从设备A2、A3广播第二超主信息-1。607. The master device A1 and slave devices A2 and A3 of FTTR A broadcast the second super master information-1.
608、FTTR B的主设备B1和从设备B2、B3广播第一超主信息。608. The master device B1 and slave devices B2 and B3 of FTTR B broadcast the first super master information.
609、FTTR C的主设备C1和从设备C2、C3广播第二超主信息-2。609. The master device C1 and slave devices C2 and C3 of FTTR C broadcast the second super master information-2.
经过第一轮超主选择,FTTR A的第二超主-1仍为A1,FTTR B的第一超主已更新为A1,FTTR C的第二超主-2已经更新为B1。After the first round of super master selection, the second super master-1 of FTTR A is still A1, the first super master of FTTR B has been updated to A1, and the second super master-2 of FTTR C has been updated to B1.
610、FTTR A的从设备向主设备A1上报收集到的超主信息,主设备A1根据收集到的第一超主信息,确定不更新第二超主-1。610. The slave device of FTTR A reports the collected super master information to the master device A1. The master device A1 determines not to update the second super master-1 according to the collected first super master information.
主设备A1可以获取第一超主信息。由于第一超主信息已经更新为A1,因此主设备A1确定不更新第二超主-1,第二超主-1仍为默认的A1。The master device A1 can obtain the first super master information. Since the first super master information has been updated to A1, the master device A1 determines not to update the second super master-1, and the second super master-1 is still the default A1.
611、FTTR B的从设备向主设备B1上报收集到的超主信息,主设备B1根据收集到的第二超主信息-1、第二超主信息-2,确定不更新第一超主。611. The slave device of FTTR B reports the collected super master information to the master device B1. The master device B1 determines not to update the first super master according to the collected second super master information-1 and second super master information-2.
主设备B1可以获取第二超主信息-1、第二超主信息-2。由于在上一轮超主选择的过程中(步骤601-606)第一超主信息已经更新为A1,且A1的能力信息优于第二超主-2(即B1)的能力信息,因此主设备B1确定不更新第一超主,第一超主仍为A1。The master device B1 can obtain the second super master information-1 and the second super master information-2. Since the first super master information has been updated to A1 in the previous round of super master selection (steps 601-606), and the capability information of A1 is better than the capability information of the second super master-2 (i.e., B1), the master device B1 determines not to update the first super master, and the first super master is still A1.
612、FTTR C的从设备向主设备C1上报收集到的超主信息,主设备C1根据收集到的第一超主信息,确定将第二超主-2更新为A1,并记录到达A1的上报路径。612. The slave device of FTTR C reports the collected super master information to the master device C1. The master device C1 determines to update the second super master-2 to A1 according to the collected first super master information, and records the reporting path to A1.
主设备C1可以在步骤608(第二轮次)中获取第一超主信息。在上一轮超主选择的过程中(步骤601-606)第一超主已经更新为主设备A1,第二超主-2已经更新为B1。且第一超主A1的能力信息优于第二超主-2(B1)的能力信息,因此主设备C1确定根据当前的第一超主信息更新第二超主信息-2。即,将第二超主信息-2更新为A1。The master device C1 can obtain the first super master information in step 608 (the second round). In the process of the previous round of super master selection (steps 601-606), the first super master has been updated to master device A1, and the second super master-2 has been updated to B1. And the capability information of the first super master A1 is better than the capability information of the second super master-2 (B1), so the master device C1 determines to update the second super master information-2 according to the current first super master information. That is, the second super master information-2 is updated to A1.
在第二轮次的步骤612中,跨WLAN子网络接收的消息可以被记录成图6c中的C表。各WLAN子网络中从设备将记录下来的信息传递给主设备,则得到图6c中D表所示的信息。In the second round of step 612, the messages received across the WLAN sub-networks may be recorded as Table C in Figure 6c. The slave devices in each WLAN sub-network transmit the recorded information to the master device, and the information shown in Table D in Figure 6c is obtained.
主设备C1根据D表中邻居FTTR标识符为超主A的那行数据,将C1到从设备C2的发送路径记录为到达主设备A1的上报路径。从设备C2可以根据C表中邻居FTTR标识符为超主A的那行数据,将C2到B3的发送路径记录为到达A1的上报路径。Master device C1 records the transmission path from C1 to slave device C2 as the reporting path to master device A1 based on the row of data in table D where the neighbor FTTR identifier is super master A. Slave device C2 can record the transmission path from C2 to B3 as the reporting path to A1 based on the row of data in table C where the neighbor FTTR identifier is super master A.
根据超主选择过程中交互的信息,可以生成如图6d所示的路由信息。According to the information exchanged during the super master selection process, routing information as shown in FIG. 6d may be generated.
如图6d所示,在FTTR A内,A3从B2接收FTTR B的标识符后转发给A1,A1记录需要经过A3到达FTTR B的主设备,A3记录需要经过B2到达FTTR B的主设备。若FTTR C经过B2给A3发消息,A3接收到FTTR C的标识符后转发给A1;A3记录从B2收到FTTR C的标识符,A1记录需要经过A3到达FTTR C的主设备,A3记录需要经过B2到达FTTR C的主设备。As shown in Figure 6d, within FTTR A, A3 receives the identifier of FTTR B from B2 and forwards it to A1. A1 records need to pass through A3 to reach the main device of FTTR B, and A3 records need to pass through B2 to reach the main device of FTTR B. If FTTR C sends a message to A3 via B2, A3 receives the identifier of FTTR C and forwards it to A1; A3 records receive the identifier of FTTR C from B2, A1 records need to pass through A3 to reach the main device of FTTR C, and A3 records need to pass through B2 to reach the main device of FTTR C.
在FTTR B内,B2从A3接收FTTR A的标识符后转发给B1,B1再将FTTR A的标识符转发给B3。B1记录需要经过B2到达FTTR A的主设备,B2记录需要经过A3到达FTTR A的主设备,B3记录需要经过B1(FTTR B的主设备,即当前FTTR的主设备,也称为当前主)到达FTTR A的主设备。B3从C2接收FTTR C的标识符后转发给B1,B1再将FTTR C的标识符转发给B2。B1记录需要经过B3到达FTTR C的主设备,B2记录需要经过B1(当前主)到达FTTR C的主设备,B3记录需要经过C2到达FTTR C的主设备。In FTTR B, B2 receives the identifier of FTTR A from A3 and forwards it to B1, and B1 then forwards the identifier of FTTR A to B3. B1 records need to pass through B2 to reach the master device of FTTR A, B2 records need to pass through A3 to reach the master device of FTTR A, and B3 records need to pass through B1 (the master device of FTTR B, that is, the master device of the current FTTR, also known as the current master) to reach the master device of FTTR A. B3 receives the identifier of FTTR C from C2 and forwards it to B1, and B1 then forwards the identifier of FTTR C to B2. B1 records need to pass through B3 to reach the master device of FTTR C, B2 records need to pass through B1 (the current master) to reach the master device of FTTR C, and B3 records need to pass through C2 to reach the master device of FTTR C.
在FTTR C内,C2从B3接收FTTR A和FTTR B的标识符后转发给C1,C1记录需要经过C2到达FTTR A和FTTR B的主设备,C2记录需要经过B3到达FTTR A和FTTR B的主设备。In FTTR C, C2 receives the identifiers of FTTR A and FTTR B from B3 and forwards them to C1. C1 records need to pass through C2 to reach the main devices of FTTR A and FTTR B, and C2 records need to pass through B3 to reach the main devices of FTTR A and FTTR B.
至此,通过两个轮次的超主选择(第一轮次,步骤601-606;第二轮次,步骤607-612)完成了网络中三个WLAN子网络的超主的统一。So far, the unification of the super masters of the three WLAN sub-networks in the network is completed through two rounds of super master selection (the first round, steps 601-606; the second round, steps 607-612).
在第一轮次的超主选择的过程中(步骤601-606)FTTR B通过与FTTR A的交互,将第一超主更新为FTTR A的主设备A1。因此在第二轮次步骤608中FTTR C获取第一超主信息的动作,实际上是通过上一轮的超主选择将FTTR A的第二超主信息-1传递至FTTR C。这里实际上是中间间隔了一个WLAN子网络(FTTR B)的FTTR A与FTTR C(即间隔两跳空口传输),通过两轮次的超主信息传输,实现超主信息的交互与超主选择。In the first round of super master selection (steps 601-606), FTTR B updates the first super master to the master device A1 of FTTR A through interaction with FTTR A. Therefore, the action of FTTR C obtaining the first super master information in step 608 of the second round is actually to transmit the second super master information -1 of FTTR A to FTTR C through the previous round of super master selection. Here, FTTR A and FTTR C are actually separated by a WLAN sub-network (FTTR B) (i.e., two-hop air interface transmission), and the interaction of super master information and super master selection are realized through two rounds of super master information transmission.
若网络中包括两个WLAN子网络之间间隔更多个WLAN子网络,则可以通过更多轮次的超主信息传递,实现该两个WLAN子网络之间的超主信息交互,从而统一整个网络的超主。If the network includes two WLAN sub-networks separated by more WLAN sub-networks, the super master information interaction between the two WLAN sub-networks can be achieved through more rounds of super master information transmission, thereby unifying the super master of the entire network.
在本申请实施例中,对于无法直接通信的两个WLAN子网络来说,以该两WLAN子网络中间隔的至少一个WLAN子网络为传递介质,通过多轮次的超主信息交互,实现该两WLAN子网络的超主信息的交互。保证了网络中任意两个WLAN子网络之间都可以交互超主信息,保证整个网络选取到统一的超主,确保了整个网络被一个网络超主集中控制,可以更好地实现全网络的集中控制。In the embodiment of the present application, for two WLAN sub-networks that cannot communicate directly, at least one WLAN sub-network between the two WLAN sub-networks is used as a transmission medium, and multiple rounds of super master information interaction are performed to achieve the interaction of super master information between the two WLAN sub-networks. This ensures that any two WLAN sub-networks in the network can exchange super master information, ensures that the entire network selects a unified super master, and ensures that the entire network is centrally controlled by a network super master, which can better achieve centralized control of the entire network.
在图6a所示的实施例中,完成了网络超主的选择与上报路径的记录,则这之后进行拼接场景下的下发路径的记录、网络信息的上报和调优结果的下发,可以如图7所示。其中,主设备B1在A1的无线覆盖范围内,C1不在A1的无线覆盖范围内。如图7所示,该过程包括:In the embodiment shown in FIG6a, the selection of the network super master and the recording of the reporting path are completed. Then, the recording of the sending path in the splicing scenario, the reporting of network information and the sending of the tuning result are performed, as shown in FIG7. Among them, the master device B1 is within the wireless coverage range of A1, and C1 is not within the wireless coverage range of A1. As shown in FIG7, the process includes:
701、FTTR B的从设备向主设备B1发送上报信息。701. The slave device of FTTR B sends reporting information to the master device B1.
FTTR B的主设备B1确定网络超主为主设备A1后,向FTTR B内的从设备获取上报信息。从设备B2、B3将B2、B3的上报信息发送给主设备B1。加上B1的上报信息,即可得到FTTR B的第一上报消息-1。After the master device B1 of FTTR B determines that the network super master is the master device A1, it obtains the reporting information from the slave devices in FTTR B. The slave devices B2 and B3 send the reporting information of B2 and B3 to the master device B1. Together with the reporting information of B1, the first reporting message -1 of FTTR B can be obtained.
702、FTTR B的主设备B1通过第一上报路径-1向超主A1(主设备A1)发送第一上报消息-1。702. The master device B1 of FTTR B sends a first reporting message-1 to the super master A1 (master device A1) through the first reporting path-1.
若A1不在B1的无线覆盖范围内,则A1与B1之间的各个路由节点(第一上报路径-1),都会在步骤605中被记录下来。If A1 is not within the wireless coverage of B1 , each routing node between A1 and B1 (first reporting path- 1 ) will be recorded in step 605 .
于是,主设备B1可以查询之前记录的路由信息(图6d所示的表格、图6c中的表D),查询到达超主A1(FTTR A)的第一上报路径-1(B1àB2),(通过B1与B2之间的第一管理通道)向B2发送第一上报消息-1。从设备B2查询之前记录的路由信息(图6d所示的表格、图6c中的表D或表C),查询到达超主A1(FTTR A)的第一上报路径(B2àA3),向A3转发该第一上报消息-1。A3通过FTTR A内的管理通道向主设备A1转发该第一上报消息-1。Therefore, the master device B1 can query the previously recorded routing information (the table shown in FIG6d, Table D in FIG6c), query the first reporting path-1 (B1 à B2) to reach the super master A1 (FTTR A), and send the first reporting message-1 to B2 (via the first management channel between B1 and B2). The slave device B2 queries the previously recorded routing information (the table shown in FIG6d, Table D or Table C in FIG6c), queries the first reporting path (B2 à A3) to reach the super master A1 (FTTR A), and forwards the first reporting message-1 to A3. A3 forwards the first reporting message-1 to the master device A1 through the management channel in FTTR A.
703、FTTR C的从设备向主设备C1发送上报信息。703. The slave device of FTTR C sends reporting information to the master device C1.
FTTR C的主设备C1确定网络超主为主设备A1后,向FTTR C的从设备获取上报信息。从设备C2、C3将C2、C3的上报信息发送给主设备C1。加上C1的上报信息,即可得到FTTR C的第一上报消息-2。After the master device C1 of FTTR C determines that the network super master is the master device A1, it obtains the reporting information from the slave devices of FTTR C. The slave devices C2 and C3 send the reporting information of C2 and C3 to the master device C1. Together with the reporting information of C1, the first reporting message -2 of FTTR C can be obtained.
704、FTTR C的主设备C1通过第一上报路径-2向超主A1发送第一上报消息-2。704. The master device C1 of the FTTR C sends a first reporting message-2 to the super master A1 through the first reporting path-2.
若C1不在B1的无线覆盖范围内,则C1与B1之间的各个路由节点,都会在步骤606中被记录下来。If C1 is not within the wireless coverage of B1, each routing node between C1 and B1 will be recorded in step 606.
于是,主设备C1可以查询之前记录的路由信息(图6d所示的表格、图6c中的表D),查询到达超主A1(FTTR A)的第一上报路径-2(C1àC2),(通过C1与C2之间的第二管理通道)向C2发送第一上报消息-2。从设备C2查询之前记录的路由信息(图6d所示的表格、图6c中的表D或表C),查询到达超主A1(FTTR A)的第一上报路径(C2àB3),向B3转发该第一上报消息-2。Therefore, the master device C1 can query the previously recorded routing information (the table shown in FIG6d, Table D in FIG6c), query the first reporting path-2 (C1 à C2) reaching the super master A1 (FTTR A), and send the first reporting message-2 to C2 (via the second management channel between C1 and C2). The slave device C2 queries the previously recorded routing information (the table shown in FIG6d, Table D or Table C in FIG6c), query the first reporting path (C2 à B3) reaching the super master A1 (FTTR A), and forward the first reporting message-2 to B3.
705、FTTR B的主设备B1通过第一上报路径-1向超主A1发送第一上报消息-2。705. The master device B1 of FTTR B sends a first reporting message-2 to the super master A1 through the first reporting path-1.
B1通过步骤702中的第一上报路径-1,将第一上报消息-2传输至网络超主A1。B1 transmits the first reporting message-2 to the network super master A1 through the first reporting path-1 in step 702.
706、FTTR A内的WLAN设备记录到达FTTR B的第一下发路径-1和到达FTTR C的第一下发路径-2。706. The WLAN device in FTTR A records the first delivery path-1 to FTTR B and the first delivery path-2 to FTTR C.
FTTR B发送给超主A1的第一上报消息-1为单播消息,单播消息的目的地址为网络超主A1,源地址为FTTR B内的WLAN设备。FTTR A内转发或接收该第一上报消息-1的WLAN设备,记录到达FTTR B的第一下发路径-1。第一下发路径-1的记录过程参见图4a所示实施例的步骤410,此处不再赘述。The first report message-1 sent by FTTR B to super master A1 is a unicast message, the destination address of the unicast message is the network super master A1, and the source address is the WLAN device in FTTR B. The WLAN device in FTTR A that forwards or receives the first report message-1 records the first delivery path-1 to FTTR B. The recording process of the first delivery path-1 refers to step 410 of the embodiment shown in FIG. 4a, which will not be repeated here.
FTTR C发送给超主A1的第一上报消息-2为单播消息,单播消息的目的地址为网络超主A1,源地址为FTTR C内的WLAN设备。FTTR B内转发或接收该第一上报消息-2的WLAN设备,记录到达FTTR C的第二下发路径。第二下发路径的记录过程参见图4a所示实施例的步骤407,此处不再赘述。FTTR A内转发或接收该第一上报消息-2的WLAN设备,记录到达FTTRC的第一下发路径-2。第一下发路径-2的记录过程参见图4a所示实施例的步骤410,此处不再赘述。The first report message-2 sent by FTTR C to super master A1 is a unicast message, the destination address of the unicast message is the network super master A1, and the source address is the WLAN device in FTTR C. The WLAN device in FTTR B that forwards or receives the first report message-2 records the second downlink path to FTTR C. The recording process of the second downlink path refers to step 407 of the embodiment shown in FIG4a, which will not be repeated here. The WLAN device in FTTR A that forwards or receives the first report message-2 records the first downlink path-2 to FTTRC. The recording process of the first downlink path-2 refers to step 410 of the embodiment shown in FIG4a, which will not be repeated here.
707、FTTR A的从设备向主设备A1发送上报信息。707. The slave device of FTTR A sends reporting information to the master device A1.
A1确定自己是网络超主后,向FTTR A的从设备获取上报信息。从设备A2、A3将A2、A3的上报信息发送给主设备A1。加上A1的上报信息,即可得到FTTR A的上报消息。After A1 determines that it is the network super master, it obtains the reporting information from the slave device of FTTR A. The slave devices A2 and A3 send the reporting information of A2 and A3 to the master device A1. Together with the reporting information of A1, the reporting message of FTTR A can be obtained.
708、超主A1根据FTTR A、FTTR B、FTTR C的上报消息进行网络调优。708. Super master A1 performs network optimization according to the reports from FTTR A, FTTR B, and FTTR C.
709、超主A1通过第一下发路径-1向B1发送FTTR B的第一控制消息-1。709. Super master A1 sends a first control message -1 of FTTR B to B1 through a first delivery path -1.
710、FTTR B的主设备B1向从设备B2、B3发送B2、B3的控制指令。710. The master device B1 of FTTR B sends a control instruction of B2 and B3 to the slave devices B2 and B3.
主设备B1将B2、B3的控制指令发送给从设备B2、B3。The master device B1 sends control instructions of B2 and B3 to the slave devices B2 and B3.
711、超主A1通过第一下发路径-2向B1发送FTTR C的第一控制消息-2。711. Super master A1 sends a first control message -2 of FTTR C to B1 through a first delivery path -2.
712、B1通过第二下发路径向C1发送FTTR C的第一控制消息-2。712. B1 sends the first control message -2 of FTTR C to C1 through the second delivery path.
713、FTTR C的主设备C1向从设备C2、C3发送C2、C3的控制指令。713. The master device C1 of FTTR C sends a control instruction of C2 and C3 to the slave devices C2 and C3.
可选的,超主信息也可以通过有线传输的方式广播。网络中还包括上层通信设备。图8中的上层通信设备为OLT,上层通信设备也可以为交换机等设备,本申请对此不做限定。上层通信设备与网络中不同的WLAN子网络之间均建有连接,该连接可以是有线连接。上层通信设备与网络中不同的WLAN子网络通过不同的管理方式实现有线通信。如图9所示,本申请实施例提供的网络控制方法包括:Optionally, super master information can also be broadcast via wired transmission. The network also includes upper-layer communication devices. The upper-layer communication device in Figure 8 is an OLT, and the upper-layer communication device can also be a switch or other device, which is not limited in this application. There is a connection between the upper-layer communication device and different WLAN subnets in the network, and the connection can be a wired connection. The upper-layer communication device and different WLAN subnets in the network achieve wired communication through different management methods. As shown in Figure 9, the network control method provided in the embodiment of the present application includes:
901、第一WLAN设备向上层通信设备发送广播请求,上层通信设备向网络中的第一相邻WLAN子网络广播第一超主信息。901. A first WLAN device sends a broadcast request to an upper-layer communication device, and the upper-layer communication device broadcasts first super master information to a first adjacent WLAN sub-network in the network.
该广播请求包括第一超主信息。The broadcast request includes first super master information.
902、至少一个第一相邻WLAN子网络向上层通信设备发送第二超主信息,上层通信设备向第一WLAN子网络发送至少一个第二超主信息。902. At least one first adjacent WLAN sub-network sends second super master information to an upper layer communication device, and the upper layer communication device sends at least one second super master information to the first WLAN sub-network.
与上层通信设备连接的多个WLAN子网络中,除第一WLAN子网络外的WLAN子网络为第一相邻WLAN子网络。第一相邻WLAN子网络也会向上层通信设备请求广播第一相邻WLAN子网络的第二超主信息。Among the multiple WLAN subnetworks connected to the upper layer communication device, the WLAN subnetworks other than the first WLAN subnetwork are first adjacent WLAN subnetworks. The first adjacent WLAN subnetwork also requests the upper layer communication device to broadcast the second super master information of the first adjacent WLAN subnetwork.
903、第一WLAN设备根据第二超主信息确定是否更新第一WLAN子网络的超主。903. The first WLAN device determines whether to update the super master of the first WLAN subnetwork according to the second super master information.
904、第一WLAN设备确定网络的超主。904. The first WLAN device determines a super master of the network.
步骤903和904参见图2所示实施例的步骤203和204,此处不再赘述。Steps 903 and 904 refer to steps 203 and 204 of the embodiment shown in FIG. 2 , and are not described in detail here.
905、若网络的超主在第一WLAN子网络外,第一WLAN设备通过上层通信设备向超主发送第一上报消息,并通过上层通信设备接收来自超主的述第一控制消息。905. If the super master of the network is outside the first WLAN sub-network, the first WLAN device sends a first reporting message to the super master through an upper-layer communication device, and receives the first control message from the super master through the upper-layer communication device.
第一WLAN设备将从第一WLAN设备到上层通信设备的传输路径记录为到达超主的第一上报路径,并通过第一上报路径向超主发送第一上报消息。The first WLAN device records the transmission path from the first WLAN device to the upper-layer communication device as a first reporting path to the super master, and sends a first reporting message to the super master through the first reporting path.
超主将从超主到上层通信设备的传输路径记录为到达第一WLAN设备的第一下发路径,并通过第一下发路径向第一WLAN设备发送第一控制消息。The super master records the transmission path from the super master to the upper-layer communication device as a first downward path to the first WLAN device, and sends a first control message to the first WLAN device through the first downward path.
906、若网络的超主为第一WLAN子网络的主设备,第一WLAN设备通过上层通信设备接收来自第一目标WLAN设备的第一上报消息,通过上层通信设备向第一目标WLAN设备发送第一控制消息。906. If the super master of the network is a master device of the first WLAN sub-network, the first WLAN device receives a first reporting message from the first target WLAN device through an upper-layer communication device, and sends a first control message to the first target WLAN device through the upper-layer communication device.
第一目标WLAN设备将从目标WLAN设备到上层通信设备的传输路径记录为到达超主的第一上报路径,并通过第一上报路径向超主发送第一上报消息。The first target WLAN device records the transmission path from the target WLAN device to the upper-layer communication device as a first reporting path to the super master, and sends a first reporting message to the super master through the first reporting path.
第一WLAN设备(超主或第一WLAN子网络内的WLAN设备)将从超主到上层通信设备的传输路径记录为到达第一目标WLAN设备的第一下发路径,并通过第一下发路径向第一目标WLAN设备发送第一控制消息。The first WLAN device (super master or WLAN device in the first WLAN subnet) records the transmission path from the super master to the upper-layer communication device as the first downlink path to the first target WLAN device, and sends a first control message to the first target WLAN device through the first downlink path.
可选的,也可以多轮次执行步骤901-903,以便多个WLAN子网络可以多次协商超主,使得整个网络得以选择出统一的超主。Optionally, steps 901-903 may be performed in multiple rounds, so that multiple WLAN sub-networks can negotiate for a super master multiple times, so that the entire network can select a unified super master.
可选的,在步骤904和906中,也可以在满足目标条件的情况下确定超主,具体参见图4a所示实施例的说明,此处不再赘述。Optionally, in steps 904 and 906, a super master may be determined when the target condition is met. For details, please refer to the description of the embodiment shown in FIG. 4a, which will not be described again here.
可选的,OLT也可以在多个WLAN子网络的主设备中选择一个超主(例如图8中最左侧的主设备)作为超主,并向各WLAN子网络发送超主的信息。然后,将OLT作为各WLAN子网络与超主之间的第一上报路径,即可实现超主与网络中的其他WLAN子网络之间的通信。Optionally, the OLT may also select a super master (e.g., the leftmost master in FIG8 ) from the master devices of multiple WLAN sub-networks as the super master, and send the super master information to each WLAN sub-network. Then, the OLT is used as the first reporting path between each WLAN sub-network and the super master, so that the communication between the super master and other WLAN sub-networks in the network can be realized.
值得注意的是,步骤904和步骤905,是超主为第一WLAN子网络外的WLAN子网络的主设备的情况;步骤906和步骤907,是超主为第一WLAN子网络的主设备的情况;两种情况不会同时出现。即,若执行了步骤904和905,则不执行步骤906和907;若执行了步骤906和907,则不执行步骤904和905。It is worth noting that step 904 and step 905 are the cases where the super master is the master device of a WLAN subnet other than the first WLAN subnet; step 906 and step 907 are the cases where the super master is the master device of the first WLAN subnet; the two cases will not occur at the same time. That is, if steps 904 and 905 are executed, steps 906 and 907 will not be executed; if steps 906 and 907 are executed, steps 904 and 905 will not be executed.
本申请实施例还提供了一种WLAN设备。如图10所示,该WLAN设备1000包括广播模块1001、接收模块1002和处理模块1003。The embodiment of the present application further provides a WLAN device. As shown in FIG10 , the WLAN device 1000 includes a broadcast module 1001 , a receiving module 1002 and a processing module 1003 .
广播模块1001,用于广播第一超主信息,第一超主信息用于指示第一WLAN子网络的超主,超主为用于对多个WLAN子网络进行集中控制的WLAN设备。The broadcast module 1001 is used to broadcast first super master information, where the first super master information is used to indicate a super master of a first WLAN sub-network, where the super master is a WLAN device used to centrally control multiple WLAN sub-networks.
接收模块1002,用于接收第二超主信息,第二超主信息用于指示第一WLAN子网络的第一相邻WLAN子网络的超主。The receiving module 1002 is configured to receive second super master information, where the second super master information is used to indicate a super master of a first adjacent WLAN subnetwork of a first WLAN subnetwork.
处理模块1003,用于根据第二超主信息确定是否更新述第一WLAN子网络的超主,以及向第一WLAN子网络的第一主设备发送第二超主信息,第一主设备用于根据第二超主信息确定是否更新第一WLAN子网络的超主。The processing module 1003 is used to determine whether to update the super master of the first WLAN subnet according to the second super master information, and send the second super master information to the first master device of the first WLAN subnet, and the first master device is used to determine whether to update the super master of the first WLAN subnet according to the second super master information.
该WLAN设备1000用于执行图2至图9中任一实施例所述的方法。The WLAN device 1000 is used to execute the method described in any one of the embodiments in FIG. 2 to FIG. 9 .
本申请提供了一种WLAN设备。如图11所示,该WLAN设备1100包括处理器1110和接口电路1120。处理器1110和接口电路1120之间相互耦合。可以理解的是,接口电路1120可以为收发器或输入输出接口。The present application provides a WLAN device. As shown in FIG11 , the WLAN device 1100 includes a processor 1110 and an interface circuit 1120. The processor 1110 and the interface circuit 1120 are coupled to each other. It is understood that the interface circuit 1120 may be a transceiver or an input/output interface.
可选的,WLAN设备1100还可以包括存储器1130,用于存储处理器1110执行的指令或存储处理器1110运行指令所需要的输入数据或存储处理器1110运行指令后产生的数据。Optionally, the WLAN device 1100 may further include a memory 1130 for storing instructions executed by the processor 1110 or storing input data required by the processor 1110 to execute instructions or storing data generated after the processor 1110 executes instructions.
当上述WLAN设备1100为图2至图9所示实施例中的第一WLAN设备或应用于第一WLAN设备的芯片时,该WLAN设备1100实现上述方法实施例中第一WLAN设备的功能。When the WLAN device 1100 is the first WLAN device or a chip applied to the first WLAN device in the embodiments shown in FIG. 2 to FIG. 9 , the WLAN device 1100 implements the functions of the first WLAN device in the method embodiment.
将图10或图11所示的WLAN设备应用在图1a至图1c中任一WLAN网络中,即为本申请实施例提供的光通信网络。The WLAN device shown in FIG. 10 or FIG. 11 is applied to any WLAN network in FIG. 1a to FIG. 1c , that is, the optical communication network provided in the embodiment of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411012522.3ACN118540724B (en) | 2024-07-26 | 2024-07-26 | Network control method and related equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411012522.3ACN118540724B (en) | 2024-07-26 | 2024-07-26 | Network control method and related equipment |
| Publication Number | Publication Date |
|---|---|
| CN118540724A CN118540724A (en) | 2024-08-23 |
| CN118540724Btrue CN118540724B (en) | 2024-10-01 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411012522.3AActiveCN118540724B (en) | 2024-07-26 | 2024-07-26 | Network control method and related equipment |
| Country | Link |
|---|---|
| CN (1) | CN118540724B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08110881A (en)* | 1994-10-07 | 1996-04-30 | Nec Corp | Network system |
| JP2003186765A (en)* | 2001-12-20 | 2003-07-04 | Fuji Xerox Co Ltd | Network connecting device, network connecting device management system and network connecting device management method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100474485B1 (en)* | 2002-03-11 | 2005-03-09 | 삼성전자주식회사 | Apparatus for controlling sub-network in home-network |
| TWI339964B (en)* | 2007-07-31 | 2011-04-01 | Ind Tech Res Inst | Management architecture and diagnostic method for remote configuration of heterogeneous local networks |
| US11051229B1 (en)* | 2018-07-30 | 2021-06-29 | Nxp Usa, Inc. | Communicating network management parameters in a WLAN |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08110881A (en)* | 1994-10-07 | 1996-04-30 | Nec Corp | Network system |
| JP2003186765A (en)* | 2001-12-20 | 2003-07-04 | Fuji Xerox Co Ltd | Network connecting device, network connecting device management system and network connecting device management method |
| Publication number | Publication date |
|---|---|
| CN118540724A (en) | 2024-08-23 |
| Publication | Publication Date | Title |
|---|---|---|
| US10554733B2 (en) | Controlling clients in distributed Wi-Fi networks | |
| CN101151853B (en) | Method and apparatus for using wireless spanning tree protocol for wireless mesh networks | |
| Casetti et al. | Content-centric routing in Wi-Fi direct multi-group networks | |
| JP4383878B2 (en) | Communication system and communication method between wireless networks integrating a plurality of points | |
| US10931477B2 (en) | Layer two network tunnels for Wi-Fi client bridging in a distributed Wi-Fi network | |
| US8300578B2 (en) | System, apparatus and method for seamless roaming through the use of routing update messages | |
| WO2017020619A1 (en) | Routing method and device | |
| CN109714745B (en) | Transmission line monitoring data transmission system | |
| EP1733516A1 (en) | Method, communication device and system for detecting neighboring nodes in a wireless multihop network using ndp | |
| CN102801623B (en) | Multi-access data transmitting method and device | |
| JP2008533809A (en) | Hybrid mesh routing protocol | |
| US10051455B2 (en) | Systems and methods for changing topology and firmware in distributed wi-fi networks | |
| US11140215B2 (en) | Claiming network devices for a home network in a distributed Wi-Fi network | |
| CN110249634B (en) | Electricity meter comprising a power line interface and at least one radio frequency interface | |
| JP2021525028A (en) | Mobile ad hoc wireless network | |
| KR20050020043A (en) | Method for Automatically Configuring Network Address in Mobile Multi-Hop Netwrok | |
| JP2007142612A (en) | Wireless multi-hop network, communication terminal and resource reservation communication method for use therein | |
| US20230209439A1 (en) | Route discovery in a mesh network | |
| CN118632224A (en) | An open communication networking method for power distribution secondary equipment IoT based on Bluetooth Mesh | |
| JP2009273140A (en) | Hybrid type mesh routing protocol | |
| CN113438634B (en) | Intelligent door lock Bluetooth node role switching and networking method based on Internet of things | |
| CN112583688A (en) | Communication method and device of hybrid network | |
| WO2019149035A9 (en) | Method for discovering device in mesh network | |
| CN112333014B (en) | Device management method and communication device | |
| CN118540724B (en) | Network control method and related equipment |
| 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |