Movatterモバイル変換


[0]ホーム

URL:


WO2023185214A1 - Network switching method, node, electronic device and readable storage medium - Google Patents

Network switching method, node, electronic device and readable storage medium
Download PDF

Info

Publication number
WO2023185214A1
WO2023185214A1PCT/CN2023/071922CN2023071922WWO2023185214A1WO 2023185214 A1WO2023185214 A1WO 2023185214A1CN 2023071922 WCN2023071922 WCN 2023071922WWO 2023185214 A1WO2023185214 A1WO 2023185214A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
node
child node
communication
status information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2023/071922
Other languages
French (fr)
Chinese (zh)
Inventor
冯敏超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE CorpfiledCriticalZTE Corp
Publication of WO2023185214A1publicationCriticalpatent/WO2023185214A1/en
Anticipated expirationlegal-statusCritical
Ceasedlegal-statusCriticalCurrent

Links

Classifications

Definitions

Landscapes

Abstract

Embodiments of the present application provide a network switching method, a node, an electronic device and a readable storage medium, and relate to the technical field of navigations. The method comprises: generating a first switching message in the case of determining a failure in a child node according to network state information of the child node; and sending the first switching message to the child node, such that the child node switches a network connection mode thereof to a network connection mode supporting end-to-end communication. According to the end-to-end communication connection with the child node, the faulty child node can be in direct communication with the current main node, and the child node can continue to be in communication with other nodes by means of the current main node, thereby reducing the possibility of network breakdown and improving the system stability of a communication network.

Description

Translated fromChinese
网络切换方法、节点、电子设备和可读存储介质Network switching method, node, electronic device and readable storage medium技术领域Technical field

本申请实施例涉及通信技术领域,具体涉及一种网络切换方法、节点、电子设备和可读存储介质。The embodiments of the present application relate to the field of communication technology, and specifically relate to a network switching method, a node, an electronic device and a readable storage medium.

背景技术Background technique

随着网络技术的发展,无线路由器的使用场景越来越多。单个无线路由器的网络传输速度也在稳步提升,但单个无线路由器的网络覆盖范围却越来越小,用户可以通过多个具有Mesh功能的无线路由器,构建无线Mesh网络(Wireless Mesh Network),能够通过无线Mesh网络来扩展网络覆盖范围。With the development of network technology, wireless routers are used in more and more scenarios. The network transmission speed of a single wireless router is also steadily increasing, but the network coverage of a single wireless router is getting smaller and smaller. Users can build a wireless Mesh network (Wireless Mesh Network) through multiple wireless routers with Mesh functions. Wireless Mesh network to extend network coverage.

但是,若无线Mesh网络中的某个路由节点出现故障或该路由节点存在无线信号的干扰,则会导致与该路由节点相连接的其他节点无法进行网络通信,降低了用户的使用体验;若无线Mesh网络中的多个路由节点都出现故障,则会导致Mesh网络的瘫痪,降低了无线Mesh网络的系统稳定性。However, if a routing node in the wireless Mesh network fails or there is wireless signal interference in the routing node, other nodes connected to the routing node will be unable to communicate with the network, reducing the user experience; if the wireless If multiple routing nodes in the Mesh network fail, the Mesh network will be paralyzed and the system stability of the wireless Mesh network will be reduced.

发明内容Contents of the invention

本申请实施例提供一种网络切换方法、节点、电子设备和可读存储介质。Embodiments of the present application provide a network switching method, a node, an electronic device, and a readable storage medium.

本申请实施例提供一种网络切换方法,方法包括:在依据子节点的网络状态信息确定子节点发生故障的情况下,生成第一切换消息;向子节点发送第一切换消息,以供子节点将其网络连接模式切换为支持端到端通信的网络连接模式。Embodiments of the present application provide a network switching method. The method includes: generating a first switching message when it is determined that the sub-node fails based on the network status information of the sub-node; sending the first switching message to the sub-node for use by the sub-node. Switch its network connection mode to one that supports end-to-end communication.

本申请实施例提供一种网络切换方法,方法包括:向主节点发送子节点的网络状态信息,网络状态信息为表征子节点发生故障的信息;响应于主节点发送的第一切换消息,将子节点的网络连接模式切换为支持端到端通信的网络连接模式。Embodiments of the present application provide a network switching method. The method includes: sending network status information of a sub-node to a master node, where the network status information is information indicating a failure of the sub-node; in response to the first switching message sent by the master node, switching the sub-node The node's network connection mode is switched to a network connection mode that supports end-to-end communication.

本申请实施例提供一种网络切换主节点,其包括:生成模块,被配置为在依据子节点的网络状态信息确定子节点发生故障的情况下,生成第一切换消息;切换模块,被配置为向子节点发送第一切换消息,以供子节点将其网络连接模式切换为支持端到端通信的网络连接模式。Embodiments of the present application provide a network switching master node, which includes: a generating module configured to generate a first switching message when it is determined that the sub-node fails based on the network status information of the sub-node; the switching module is configured as A first switching message is sent to the child node, so that the child node switches its network connection mode to a network connection mode that supports end-to-end communication.

本申请实施例提供一种网络切换子节点,其包括:发送模块,被配置为向主节点发送子节点的网络状态信息,网络状态信息为表征子节点发生故障的信息;响应模块,被配置为响应于主节点发送的第一切换消息,将子节点的网络连接模式切换为支持端到端通信的网络连接模式。Embodiments of the present application provide a network switching sub-node, which includes: a sending module configured to send network status information of the sub-node to the master node, where the network status information is information indicating a failure of the sub-node; a response module configured as In response to the first switching message sent by the master node, the network connection mode of the child node is switched to a network connection mode that supports end-to-end communication.

本申请实施例提供一种电子设备,包括:一个或多个处理器;存储器,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现本申请实施例中的任意一种网络切换方法。Embodiments of the present application provide an electronic device, including: one or more processors; and a memory on which one or more programs are stored. When one or more programs are executed by one or more processors, one or more A processor implements any network switching method in the embodiments of this application.

本申请实施例提供了一种可读存储介质,该可读存储介质存储有计算机程序,计算机程序被处理器执行时实现本申请实施例中的任意一种网络切换方法。Embodiments of the present application provide a readable storage medium that stores a computer program. When the computer program is executed by a processor, any network switching method in the embodiments of the present application is implemented.

关于本申请的以上实施例和其他方面以及其实现方式,在附图说明、具体实施方式和权利要求中提供更多说明。Regarding the above embodiments and other aspects of the application and the manner in which they may be implemented, further description is provided in the description of the drawings, the detailed description and the claims.

附图说明Description of drawings

图1示出本申请实施例提供的一种网络切换方法的流程示意图。Figure 1 shows a schematic flowchart of a network switching method provided by an embodiment of the present application.

图2示出本申请实施例提供的网络切换系统的结构示意图。Figure 2 shows a schematic structural diagram of a network switching system provided by an embodiment of the present application.

图3示出本申请实施例提供的一种网络切换方法的流程示意图。Figure 3 shows a schematic flowchart of a network switching method provided by an embodiment of the present application.

图4示出本申请实施例提供的一种网络切换方法的流程示意图。Figure 4 shows a schematic flowchart of a network switching method provided by an embodiment of the present application.

图5示出本申请实施例提供的一种网络切换主节点的组成方框图。Figure 5 shows a block diagram of a network switching master node provided by an embodiment of the present application.

图6示出本申请实施例提供的一种网络切换子节点的组成方框图。Figure 6 shows a block diagram of a network switching sub-node provided by an embodiment of the present application.

图7示出本申请实施例提供的一种网络切换系统的组成方框图。Figure 7 shows a block diagram of a network switching system provided by an embodiment of the present application.

图8示出本申请实施例提供的一种网络切换系统的工作方法的流程示意图。FIG. 8 shows a schematic flowchart of a working method of a network switching system provided by an embodiment of the present application.

图9示出能够实现根据本申请实施例的网络切换方法和装置的计算设备的示例性硬件架构的结构图。Figure 9 shows a structural diagram of an exemplary hardware architecture of a computing device capable of implementing the network switching method and apparatus according to embodiments of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚明白,下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, as long as there is no conflict, the embodiments and features in the embodiments of this application can be arbitrarily combined with each other.

随着无线Mesh网络技术的快速发展,越来越多的具有Mesh功能的路由器进入家庭。随着无线路由器的速率越来越高,其价格也在逐步降低;但是,由于无线Mesh路由器的高发射功率会对人体的健康造成伤害,因此,无线路由器的网络覆盖范围在逐步减小。在家庭应用场景中,可以通过多个无线路由器来构建家庭内网,以实现全屋的无线网络的覆盖。With the rapid development of wireless Mesh network technology, more and more routers with Mesh functions are entering homes. As the speed of wireless routers gets higher and higher, their prices are gradually decreasing; however, because the high transmission power of wireless Mesh routers can cause harm to human health, the network coverage of wireless routers is gradually decreasing. In home application scenarios, multiple wireless routers can be used to build a home intranet to achieve wireless network coverage throughout the house.

但是,若某个无线Mesh路由器出现故障,易导致与该无线Mesh路由器网络连接的多个设备都无法获得通信服务,降低了Mesh网络系统的稳定性。However, if a wireless Mesh router fails, multiple devices connected to the wireless Mesh router network may be unable to obtain communication services, reducing the stability of the Mesh network system.

基于上述问题,本申请实施例提供了一种网络切换方法、节点、电子设备和可读存储介质,能够通过网络切换主节点与子节点之间的端到端的通信连接,不仅能够使产生故障的子节点与当前的主节点进行直接通信,还可以使该子节点能够通过当前的主节点继续与其他节点进行通信,减少网络瘫痪的可能性,并提升通信网络的系统稳定性。Based on the above problems, embodiments of the present application provide a network switching method, node, electronic device and readable storage medium, which can switch the end-to-end communication connection between the main node and the sub-node through the network, not only can the fault occur The direct communication between the child node and the current master node also enables the child node to continue to communicate with other nodes through the current master node, reducing the possibility of network paralysis and improving the system stability of the communication network.

图1示出本申请实施例提供的一种网络切换方法的流程示意图。该网络切换方法可应用于网络切换主节点。如图1所示,本申请实施例中的网络切换方法包括但不限于以下步骤。Figure 1 shows a schematic flowchart of a network switching method provided by an embodiment of the present application. This network switching method can be applied to network switching master nodes. As shown in Figure 1, the network switching method in the embodiment of the present application includes but is not limited to the following steps.

步骤S101,在依据子节点的网络状态信息确定子节点发生故障的情况下,生成第一切换消息。Step S101: When it is determined that the child node fails based on the network status information of the child node, a first switching message is generated.

步骤S102,向子节点发送第一切换消息,以供子节点将其网络连接模式切换为支持端到端通信的网络连接模式。Step S102: Send a first switching message to the child node so that the child node switches its network connection mode to a network connection mode that supports end-to-end communication.

在本实施例中,通过获取子节点的网络状态信息,能够监控各个子节点的网络状态情况,便于对各个子节点进行网络管理;在依据子节点的网络状态信息确定子节点发生故障的情况下,生成第一切换消息,能够对发生故障的子节点及时进行处理,降低因子节点发生故障而导致的其他节点无法进行通信的故障比例;向子节点发送第一切换消息,以供子节点将其网络连接模式切换为支持端到端通信的网络连接模式,通过与子节点之间的端到端的通信连接,不仅能够使产生故障的子节点与当前的主节点进行直接通信,还可以使该子节点能够通过当前的主节点继续与其他节点进行通信,减少网络瘫痪的可能性,并提升通信网络的系统稳定性。In this embodiment, by obtaining the network status information of the sub-node, the network status of each sub-node can be monitored to facilitate network management of each sub-node; when it is determined that the sub-node fails based on the network status information of the sub-node , generate the first switching message, which can process the failed child node in a timely manner and reduce the failure ratio of other nodes that are unable to communicate due to the failure of the factor node; send the first switching message to the child node for the child node to transfer it net The network connection mode is switched to a network connection mode that supports end-to-end communication. Through the end-to-end communication connection with the child node, not only the failed child node can communicate directly with the current master node, but also the child node can communicate directly with the current master node. Nodes can continue to communicate with other nodes through the current master node, reducing the possibility of network paralysis and improving the system stability of the communication network.

需要说明的是,网络切换主节点可以是支持网状网络(Mesh网络)的连接模式的节点,并同时支持端到端通信的节点(如,支持端到端的行动热点(WiFi Peer-to-Peer,WiFi-P2P)的节点)。该网络切换主节点还可以是支持传统通信(如,移动通信)并支持端到端通信的节点。以上对于网络切换主节点的通信方式仅是举例说明,可根据实际需要进行具体设定,其他未说明的网络切换主节点的通信方式也在本申请的保护范围之内,在此不再赘述。It should be noted that the network switching master node can be a node that supports the connection mode of the mesh network (Mesh network) and also supports end-to-end communication (for example, supports end-to-end mobile hotspot (WiFi Peer-to-Peer) , WiFi-P2P) node). The network switching master node may also be a node that supports traditional communications (eg, mobile communications) and supports end-to-end communications. The above communication methods of the network switching master node are only examples, and can be specifically set according to actual needs. Other unexplained communication methods of the network switching master node are also within the protection scope of this application and will not be described again.

例如,图2示出本申请实施例提供的网络切换系统的结构示意图。如图2所示,Mesh网络主节点220可以包括Mesh网络助手221,分别与多个子节点(图中未示出)构建Mesh网络210,以及WiFi-P2P网络230。For example, FIG. 2 shows a schematic structural diagram of a network switching system provided by an embodiment of the present application. As shown in Figure 2, the Mesh network master node 220 may include a Mesh network assistant 221, which constructs a Mesh network 210 and a WiFi-P2P network 230 with multiple child nodes (not shown in the figure) respectively.

其中,Mesh网络210中的子节点也可以是WiFi-P2P网络230中的子节点,即,与Mesh网络主节点220网络连接的子节点能够同时支持两种不同的通信模式。Among them, the child nodes in the Mesh network 210 may also be the child nodes in the WiFi-P2P network 230. That is, the child nodes connected to the Mesh network master node 220 can support two different communication modes at the same time.

需要说明的是,在Mesh网络210中,通过动态的自组织和自配置,可以减少多个子节点的安装开销,减少了运营成本。子节点的自我配置的能力可以实现工作负载的动态分配。而WiFi-P2P是WiFi技术中的一种端对端的通信技术,在两个或者多个设备之间,通过端到端的通信技术进行连接,以构成一个小范围的通信网络。在WiFi-P2P网络中,可以包括一个群组拥有设备(Group Owner,GO)和多个群组用户(Group Client,GC)。It should be noted that in the Mesh network 210, through dynamic self-organization and self-configuration, the installation overhead of multiple sub-nodes can be reduced and the operating cost can be reduced. The ability of child nodes to self-configure enables dynamic allocation of workloads. WiFi-P2P is an end-to-end communication technology in WiFi technology. Two or more devices are connected through end-to-end communication technology to form a small-scale communication network. In a WiFi-P2P network, it can include a group owner device (Group Owner, GO) and multiple group users (Group Client, GC).

Mesh网络助手221,设置为收集Mesh网络210中的各个子节点的网络状态信息,并基于各个子节点的网络状态信息,对不同的子节点的通信状态进行监控,能够实时检测各个子节点可能存在的故障,并及时对各个子节点进行处理,提升Mesh网络的安全性。The Mesh network assistant 221 is configured to collect the network status information of each sub-node in the Mesh network 210, and monitor the communication status of different sub-nodes based on the network status information of each sub-node, and can detect the possible existence of each sub-node in real time. faults, and handle each sub-node in a timely manner to improve the security of the Mesh network.

例如,Mesh网络主节点220通过Mesh网络助手221搜集Mesh网络210中的各个子节点的网络状态信息后,可以将这些子节点的网络状态信息以及子节点对应的当前的通信网络连接方式存储到数据库中,以方便后续查询或更新。For example, after the Mesh network master node 220 collects the network status information of each sub-node in the Mesh network 210 through the Mesh network assistant 221, the network status information of these sub-nodes and the current communication network connection mode corresponding to the sub-node can be stored in the database. in to facilitate subsequent inquiries or updates.

在一些具体实现中,Mesh网络主节点220还可以通过Mesh网络助手221,每间隔预设时长(例如,5秒或10秒等),对各个子节点进行“ping”操作,从而获得各个子节点的网络连接状态。例如,在对某个子节点执行“ping”操作时,若该子节点反馈的时延小于预设时延阈值(例如,20ms等),则表征该子节点与Mesh网络主节点220是连通的;否则,则表征该子节点与Mesh网络主节点220是不连通的。In some specific implementations, the Mesh network master node 220 can also perform a "ping" operation on each sub-node through the Mesh network assistant 221 at a preset interval (for example, 5 seconds or 10 seconds, etc.), thereby obtaining each sub-node. network connection status. For example, when performing a "ping" operation on a certain sub-node, if the delay fed back by the sub-node is less than the preset delay threshold (for example, 20 ms, etc.), it indicates that the sub-node is connected to the Mesh network master node 220; Otherwise, it indicates that the child node is not connected to the Mesh network master node 220 .

其中,网络切换主节点220可以是Mesh无线路由器,也可以是支持不同通信模式的终端(例如,智能手机等)。以上对于网络切换主节点的类型仅是举例说明,可以根据实际需要进行具体设置,网络切换主节点以及与其建立通信连接的子节点均可以支持至少两种不同网络通信连接的功能即可,本申请实施例中对于网络切换主节点的类型不做限制。The network switching master node 220 may be a Mesh wireless router or a terminal that supports different communication modes (for example, a smart phone, etc.). The above types of network switching master nodes are only examples, and specific settings can be made according to actual needs. Both the network switching master node and the sub-nodes that establish communication connections with it can support at least two different network communication connection functions. This application In the embodiment, there is no restriction on the type of network switching master node.

该网络切换主节点220能够具备对Mesh网络中的各个子节点的网络状态信息的采集;还能够对各个子节点的状态进行监控;并在确定某个子节点发生通信故障的情况下,将网络切换主节点220与该子节点之间的通信连接模式切换为支持端到端通信的网络连接模式,以使该子节点可以继续与其他节点进行通信,提升通信效率。The network switching master node 220 can collect network status information of each sub-node in the Mesh network; can also monitor the status of each sub-node; and when it is determined that a communication failure occurs in a certain sub-node, switch the network The communication connection mode between the master node 220 and the child node is switched to a network connection mode that supports end-to-end communication, so that the child node can continue to communicate with other nodes and improve communication efficiency.

本实施例中,通过网络切换主节点220能够对Mesh网络中的各个子节点的网络状态信息进行监测,可及时发现发生通信故障的子节点,进而使网络切换主节点220与故障子节点之间建立端到端的通信方式,能够将WiFi-P2P网络的GO或GC融合到Mesh网络中,保障Mesh网络中的各个子节点的通信稳定性,还能够提升用户对无线Mesh网络的使用体验。In this embodiment, the master node 220 can switch the network status information of each sub-node in the Mesh network through the network. By monitoring the information, the sub-node with communication failure can be discovered in time, thereby establishing an end-to-end communication method between the network switching master node 220 and the failed sub-node, and integrating the GO or GC of the WiFi-P2P network into the Mesh network. It ensures the communication stability of each sub-node in the Mesh network and also improves the user experience of the wireless Mesh network.

图3示出本申请实施例提供的一种网络切换方法的流程示意图。该网络切换方法可应用于网络切换主节点。如图3所示,本申请实施例中的网络切换方法包括但不限于以下步骤。Figure 3 shows a schematic flowchart of a network switching method provided by an embodiment of the present application. This network switching method can be applied to network switching master nodes. As shown in Figure 3, the network switching method in the embodiment of the present application includes but is not limited to the following steps.

步骤S301,基于网状网络的连接模式,与多个子节点建立第一通信连接。Step S301: Establish first communication connections with multiple sub-nodes based on the connection mode of the mesh network.

其中,网状网络的连接模式可以包括:移动自组织(Ad Hoc)网络的连接模式,和/或,Mesh网络的连接模式。Among them, the connection mode of the mesh network may include: the connection mode of the mobile self-organizing (Ad Hoc) network, and/or the connection mode of the Mesh network.

通过与多个子节点建立第一通信连接,能够使网络切换主节点能够基于该第一通信连接,与多个子节点进行通信,获取多个子节点的通信信息。By establishing first communication connections with multiple sub-nodes, the network switching master node can communicate with multiple sub-nodes based on the first communication connections and obtain communication information of the multiple sub-nodes.

步骤S302,基于端到端通信的网络连接模式,与多个子节点建立第二通信连接。Step S302: Establish second communication connections with multiple child nodes based on the network connection mode of end-to-end communication.

其中,子节点为群组用户GC。Among them, the child node is the group user GC.

需要说明的是,基于端到端通信的网络连接模式,能够使网络切换主节点可以分别与每个子节点进行端到端的通信,减少中间节点转发通信信息的比例,使网络切换主节点能够更快速准确的获取多个子节点的通信信息,提升通信效率。It should be noted that the network connection mode based on end-to-end communication enables the network switching master node to conduct end-to-end communication with each sub-node respectively, reducing the proportion of intermediate nodes forwarding communication information, and enabling the network switching master node to be faster Accurately obtain communication information from multiple child nodes and improve communication efficiency.

步骤S303,在依据子节点的网络状态信息确定子节点发生故障的情况下,生成第一切换消息。Step S303: When it is determined that the child node fails based on the network status information of the child node, a first switching message is generated.

步骤S304,向子节点发送第一切换消息,以供子节点将其网络连接模式切换为支持端到端通信的网络连接模式。Step S304: Send a first switching message to the child node so that the child node switches its network connection mode to a network connection mode that supports end-to-end communication.

需要说明的是,本实施例中的步骤S303~步骤S304与图1所示的实施例中的步骤S101~步骤S102相同,在此不再赘述。It should be noted that steps S303 to S304 in this embodiment are the same as steps S101 to S102 in the embodiment shown in FIG. 1 and will not be described again.

在本实施例中,通过分别与多个子节点建立第一通信连接和第二通信连接,能够使网络切换主节点可以通过多种不同的通信连接方式,与多个子节点进行通信,扩展通信方式;在依据子节点的网络状态信息确定子节点发生故障的情况下,能够将生成的第一切换消息发送给子节点,以使该子节点将其网络连接模式由基于网状网络的连接模式切换为支持端到端通信的网络连接模式,使产生故障的子节点与网络切换主节点可以进行直接通信,减少因子节点故障而导致的通信中断的比例,进而能够减少网络瘫痪的可能性,并提升通信网络的系统稳定性。In this embodiment, by establishing first communication connections and second communication connections with multiple sub-nodes respectively, the network switching master node can communicate with multiple sub-nodes through a variety of different communication connection methods and expand the communication methods; When it is determined that the child node fails based on the network status information of the child node, the generated first switching message can be sent to the child node, so that the child node switches its network connection mode from the mesh network-based connection mode to the child node. The network connection mode that supports end-to-end communication enables direct communication between the failed sub-node and the network switching master node, reducing the proportion of communication interruption caused by sub-node failure, thereby reducing the possibility of network paralysis and improving communication System stability of the network.

在一些具体实现中,网络状态信息,包括:子节点在第一通信连接中的连接状态信息;步骤S303中的依据子节点的网络状态信息确定子节点发生故障,包括:在确定第一通信连接中的连接状态信息为表征子节点与主节点间不连通的情况下,确定子节点发生连接故障;其中,主节点为群组拥有设备GO。In some specific implementations, the network status information includes: connection status information of the child node in the first communication connection; determining that the child node is faulty based on the network status information of the child node in step S303 includes: determining that the first communication connection The connection status information in represents the disconnection between the child node and the master node, and it is determined that the child node has a connection failure; where the master node is the group-owned device GO.

例如,获取子节点的网络状态信息,包括:每间隔预设时长,向子节点发送测量指示消息;响应于子节点反馈的测量结果消息,获取子节点的网络状态信息。For example, obtaining the network status information of the child node includes: sending a measurement instruction message to the child node at a preset interval; and obtaining the network status information of the child node in response to the measurement result message fed back by the child node.

其中的预设时长可以是5秒、10秒等特定的时间间隔,以使主节点可以定期的对多个子节点进行网络连接状态进行测量,从而可以实时获取子节点在第一通信连接中的连接状态信息,使该连接状态信息更准确。The preset time can be a specific time interval such as 5 seconds, 10 seconds, etc., so that the master node can regularly measure the network connection status of multiple child nodes, so that the connection of the child nodes in the first communication connection can be obtained in real time status information to make the connection status information more accurate.

例如,子节点在第一通信连接中的连接状态信息可以包括:主节点与子节点之间预先设定的心跳消息。通过子节点定时上报心跳消息,能够使主节点获知该子节点与主节点之间的通信连接情况。若主节点在预设周期内没有收到子节点上报的心跳消息,或,接收到的心跳消息是错误的(例如,预设的心跳消息中携带有心跳次数,若某次接收到的心跳次数不是顺序排列的,或该心跳次数为乱码),则表征该子节点与主节点之间是不连通的,即子节点发生连接故障。For example, the connection status information of the child node in the first communication connection may include: a preset heartbeat message between the master node and the child node. By regularly reporting heartbeat messages from child nodes, the master node can learn the relationship between the child node and the master node. Communication connection status. If the master node does not receive the heartbeat message reported by the child node within the preset period, or the heartbeat message received is wrong (for example, the preset heartbeat message carries the number of heartbeats, if the number of heartbeats received at a certain time are not arranged sequentially, or the number of heartbeats is garbled), it means that the child node is not connected to the main node, that is, a connection failure occurs on the child node.

又例如,子节点在第一通信连接中的连接状态信息,还可以包括:待验证连接标识,该连接标识能够表征子节点与主节点之间的通信连接状态。通过将该待验证连接标识与预设的连接标识进行比较,以确定该待验证连接标识与预设的连接标识是否相同。在确定该待验证连接标识与预设的连接标识是相同的情况下,确定子节点与主节点间是连通的;否则,确定子节点与主节点间是不连通的。For another example, the connection status information of the sub-node in the first communication connection may also include: a connection identification to be verified, which connection identification can represent the communication connection status between the sub-node and the master node. By comparing the connection identification to be verified with a preset connection identification, it is determined whether the connection identification to be verified is the same as the preset connection identification. When it is determined that the connection identifier to be verified is the same as the preset connection identifier, it is determined that the child node and the master node are connected; otherwise, it is determined that the child node and the master node are not connected.

通过子节点在第一通信连接中的连接状态信息,来确定子节点是否发生连接故障,能够对子节点进行及时的检测,使发生连接故障的子节点能够快速获得修复和处理,减少通信中断的比例,提升通信效率。The connection status information of the child node in the first communication connection is used to determine whether a connection failure occurs in the child node, and the child node can be detected in a timely manner, so that the child node that has a connection failure can be quickly repaired and processed, and the risk of communication interruption is reduced. ratio to improve communication efficiency.

在一些具体实现中,网络状态信息,包括:信令配置信息和子节点在第一通信连接中的连接状态信息;步骤S303中的依据子节点的网络状态信息确定子节点发生故障,包括:在确定信令配置信息与子节点的预设配置信息不同,且,连接状态信息为表征子节点与主节点间不连通的情况下,确定子节点存在配置异常故障。In some specific implementations, the network status information includes: signaling configuration information and the connection status information of the sub-node in the first communication connection; determining that the sub-node is faulty based on the network status information of the sub-node in step S303 includes: determining When the signaling configuration information is different from the preset configuration information of the child node, and the connection status information indicates that there is no connectivity between the child node and the master node, it is determined that the child node has a configuration abnormality fault.

其中,信令配置信息可以包括:业务配置信息、网络参数配置信息和通信制式的配置信息中的至少一种。The signaling configuration information may include: at least one of service configuration information, network parameter configuration information, and communication format configuration information.

通过将信令配置信息与子节点的预设配置信息进行对比,获得第一对比结果;并对节点在第一通信连接中的连接状态信息进行判断,以确定子节点与主节点间是连通状态或不连通状态;能够多维度的对子节点的通信情况进行衡量,以便对子节点的故障情况判断更准确。在确定信令配置信息与子节点的预设配置信息不同,且,连接状态信息为表征子节点与主节点间不连通的情况下,确定子节点存在配置异常故障,以方便对子节点进行有针对性的配置信息的修正,从而使子节点能够快速的回复正常通信。By comparing the signaling configuration information with the preset configuration information of the child node, the first comparison result is obtained; and the connection status information of the node in the first communication connection is judged to determine whether the connection state between the child node and the master node is or disconnected state; it can measure the communication status of sub-nodes in multiple dimensions so that the failure status of sub-nodes can be judged more accurately. When it is determined that the signaling configuration information is different from the preset configuration information of the child node, and the connection status information indicates that there is no connectivity between the child node and the master node, it is determined that the child node has a configuration abnormality fault, so as to facilitate proper maintenance of the child node. Targeted modification of configuration information enables child nodes to quickly resume normal communication.

需要说明的是,其中的对子节点的配置信息的修正,可以是通过主节点与子节点之间的支持端到端通信的网络连接模式进行的,以使发生故障的子节点可以快速准确的获得主节点的修正后的配置信息,降低配置信息的错误比例,加快对子节点的修复效率。It should be noted that the modification of the configuration information of the child node can be performed through a network connection mode that supports end-to-end communication between the master node and the child node, so that the failed child node can be quickly and accurately repaired. Obtain the corrected configuration information of the master node, reduce the error ratio of configuration information, and speed up the repair efficiency of child nodes.

在一些具体实现中,网络状态信息,包括:子节点的实时业务处理量;步骤S303中的依据子节点的网络状态信息确定子节点发生故障,包括:获取子节点的业务处理能力;依据子节点的实时业务处理量和子节点的业务处理能力,确定子节点发生网络拥塞故障。In some specific implementations, the network status information includes: the real-time business processing volume of the sub-node; determining that the sub-node is faulty based on the network status information of the sub-node in step S303 includes: obtaining the business processing capability of the sub-node; based on the sub-node Based on the real-time business processing volume and the business processing capabilities of the sub-node, it is determined that a network congestion failure occurs on the sub-node.

其中,子节点的业务处理能力能够表征该子节点可以处理的业务数据量的最大峰值,而将子节点的实时业务处理量和该子节点的业务处理能力进行比较,可确定该子节点在当前时刻所处理的业务数据量是否超出其处理能力,进而在确定子节点的实时业务处理量超过该子节点的业务处理能力的情况下,确定该子节点发生网络拥塞故障。Among them, the business processing capability of a child node can represent the maximum peak amount of business data that the child node can process. By comparing the real-time business processing volume of the child node with the business processing capability of the child node, it can be determined that the child node is currently Whether the amount of business data processed at any time exceeds its processing capacity, and then when it is determined that the real-time business processing volume of the sub-node exceeds the business processing capacity of the sub-node, it is determined that the sub-node has a network congestion failure.

当该子节点发生网络拥塞故障时,需要对该子节点的业务数据量进行分流,以减少该子节点的业务处理压力。例如,通过主节点与子节点之间的支持端到端通信的网络连接模式,将该子节点的部分业务分流至主节点,以使主节点可以缓解该子节点的业务处理压力。When a network congestion failure occurs on the sub-node, the business data volume of the sub-node needs to be offloaded to reduce the business processing pressure of the sub-node. For example, through a network connection mode that supports end-to-end communication between the main node and the sub-node, part of the business of the sub-node is offloaded to the main node, so that the main node can relieve the business processing pressure of the sub-node.

在一些具体实现中,向子节点发送第一切换消息,以供子节点将其网络连接模式切换为支持端到端通信的网络连接模式之后,还包括:在依据网络状态信息确定子节点恢复正常的情况下,生成第二切换消息;依据第二通信连接,向子节点发送第二切换消息,以供子节点将其网络连接模式切换为网状网络的连接模式。In some specific implementations, after sending the first switching message to the child node for the child node to switch its network connection mode to a network connection mode that supports end-to-end communication, it also includes: determining that the child node returns to normal based on the network status information. of In this case, a second switching message is generated; according to the second communication connection, the second switching message is sent to the child node, so that the child node switches its network connection mode to the connection mode of the mesh network.

其中,第二切换消息用于指示子节点恢复其初始的网络连接模式(如,网状网络的连接模式等)。The second switching message is used to instruct the child node to restore its initial network connection mode (such as the connection mode of a mesh network, etc.).

当主节点获得的网络状态信息能够表征子节点与主节点之间的基于第一通信连接(如,网状网络的连接模式等)的通信恢复正常时,表征该子节点可以继续通过第一通信连接与主节点进行通信,从而可以断开子节点与主节点之间的基于第二通信连接(如,端到端的通信连接)的连接方式,使主节点可以与子节点之间能够通过网状网络的连接模式进行通信,以减少主节点的处理压力。此时,主节点无需再与子节点之间保持端到端的通信连接,能够使主节点可以释放通信资源,用以处理其他故障子节点的通信信息,提升通信网络的系统稳定性。When the network status information obtained by the master node can indicate that the communication between the child node and the master node based on the first communication connection (such as the connection mode of the mesh network, etc.) returns to normal, it indicates that the child node can continue to communicate through the first communication connection. Communicate with the master node, so that the connection between the child node and the master node based on the second communication connection (such as an end-to-end communication connection) can be disconnected, so that the master node can communicate with the child nodes through the mesh network Communicate in connection mode to reduce the processing pressure on the master node. At this time, the master node no longer needs to maintain an end-to-end communication connection with the child nodes, which allows the master node to release communication resources to process the communication information of other failed child nodes and improve the system stability of the communication network.

在一些具体实现中,在依据网络状态信息确定子节点恢复正常之前,还包括:依据第二通信连接,采用子节点的预设配置信息对子节点使用的通信资源进行配置,以使子节点获取其需求的通信资源。In some specific implementations, before determining that the child node returns to normal based on the network status information, the method further includes: using the preset configuration information of the child node to configure the communication resources used by the child node according to the second communication connection, so that the child node obtains the communication resources it requires.

例如,预设配置信息可以包括:预设业务配置信息、预设网络参数配置信息和预设通信制式的配置信息中的至少一种。For example, the preset configuration information may include: at least one of preset service configuration information, preset network parameter configuration information, and preset communication format configuration information.

采用第二通信连接,将子节点所需的多个不同维度的预设配置信息发送给该节点,能够使该子节点快速准确的获取其需要的通信资源,加快子节点的通信效率,降低子节点发生故障的可能性,提升用户的使用体验。Using the second communication connection to send the preset configuration information of multiple different dimensions required by the sub-node to the node can enable the sub-node to quickly and accurately obtain the communication resources it needs, speed up the communication efficiency of the sub-node, and reduce the cost of the sub-node. The possibility of node failure improves the user experience.

在一些具体实现中,依据网络状态信息确定子节点恢复正常,包括:在确定子节点满足如下条件中至少一种的情况下,确定子节点恢复正常:In some specific implementations, determining that the child node returns to normal based on network status information includes: determining that the child node returns to normal when it is determined that the child node meets at least one of the following conditions:

子节点在第一通信连接中的连接状态为连通;The connection status of the child node in the first communication connection is connected;

子节点的实时业务处理量与子节点的业务处理能力相匹配;The real-time business processing volume of the child node matches the business processing capability of the child node;

子节点反馈的信令配置信息与预设配置信息相同。The signaling configuration information fed back by the child node is the same as the preset configuration information.

通过上述多个条件的不同角度的判断,能够明确子节点所处的通信状态,进而确定该子节点是否恢复正常(例如,恢复至该子节点使用初始配置的网络连接模式进行正常通信的状态等),从而及时对恢复正常的子节点进行处理,使其与主节点之间的端到端通信的网络连接模式可以恢复至初始配置的网络连接模式,以降低主节点的处理压力,方便主节点释放更多的通信资源,用以对其他故障节点进行处理,减少网络瘫痪的可能性,并提升通信网络的系统稳定性。By judging the above multiple conditions from different angles, the communication state of the child node can be clarified, and then it can be determined whether the child node has returned to normal (for example, returning to a state where the child node uses the initially configured network connection mode for normal communication, etc. ), so as to promptly process the child nodes that have returned to normal, so that the network connection mode of end-to-end communication with the master node can be restored to the initially configured network connection mode, so as to reduce the processing pressure of the master node and facilitate the master node. Release more communication resources to handle other faulty nodes, reduce the possibility of network paralysis, and improve the system stability of the communication network.

图4示出本申请实施例提供的一种网络切换方法的流程示意图。该网络切换方法可应用于网络切换子节点。如图4所示,本申请实施例中的网络切换方法包括但不限于以下步骤。Figure 4 shows a schematic flowchart of a network switching method provided by an embodiment of the present application. This network switching method can be applied to network switching sub-nodes. As shown in Figure 4, the network switching method in the embodiment of the present application includes but is not limited to the following steps.

步骤S401,向主节点发送子节点的网络状态信息。Step S401: Send the network status information of the child node to the master node.

其中,网络状态信息为表征子节点发生故障的信息。例如,子节点发生通信连接中断的故障,或子节点发生网络拥塞的故障,或子节点所获得的配置信息异常的故障等等。以上对于子节点发生的故障的类型仅是举例说明,可根据实际情况进行具体处理,其他未说明的子节点发生的故障的类型也在本申请实施例的保护范围之内,在此不再赘述。Among them, the network status information is information indicating the failure of a child node. For example, the communication connection of the sub-node is interrupted, or the sub-node suffers from network congestion, or the configuration information obtained by the sub-node is abnormal, etc. The above are only examples of the types of faults that occur in child nodes, and specific processing can be carried out according to actual conditions. Other unexplained types of faults that occur in child nodes are also within the protection scope of the embodiments of this application and will not be described again here. .

通过将子节点发生故障的信息发送给主节点,能够使主节点及时准确的获知该子节点存在异常,并快速对该子节点进行故障处理,从而使该子节点的通信能够快速回复正常,减少因通信中断而导致的用户体验不佳的比例,提升网络切换子节点与网络切换主节点之间的通信稳定性。By sending the failure information of the child node to the master node, the master node can promptly and accurately learn that the child node is abnormal, and quickly handle the fault of the child node, so that the communication of the child node can quickly return to normal, reducing The proportion of poor user experience caused by communication interruptions improves the communication stability between network switching sub-nodes and network switching master nodes.

步骤S402,响应于主节点发送的第一切换消息,将子节点的网络连接模式切换为支持端到端通信的网络连接模式。Step S402: In response to the first switching message sent by the master node, switch the network connection mode of the child node to a network connection mode that supports end-to-end communication.

其中,第一切换消息是用于指示子节点进行通信网络连接模式的切换的消息。The first switching message is a message used to instruct the child node to switch the communication network connection mode.

因在获得第一切换消息之前,主节点与子节点之间的通信连接是基于非端到端的通信连接(如,基于Mesh网络的通信连接等),若该子节点的通信中断,会使与该子节点相连接的其他设备的通信受到影响(例如,无法及时获得主节点的配置信息,或,获取到的主节点发送的信息为错误信息等);通过将子节点的网络连接模式切换为支持端到端通信的网络连接模式,能够使该子节点可以直接与主节点进行通信,加快从主节点获取信息的速度;还能够使该子节点通过与主节点之间的通信信息的转发,使该子节点与其他设备进行通信,减少通信网络瘫痪的可能性,从而提升通信网络的系统稳定性。Because before the first switching message is obtained, the communication connection between the master node and the sub-node is based on a non-end-to-end communication connection (such as a communication connection based on a Mesh network, etc.). If the communication with the sub-node is interrupted, the communication connection with the sub-node will be interrupted. The communication of other devices connected to the child node is affected (for example, the configuration information of the master node cannot be obtained in time, or the information sent by the master node is error information, etc.); by switching the network connection mode of the child node to The network connection mode that supports end-to-end communication enables the child node to communicate directly with the master node, speeding up the acquisition of information from the master node; it also enables the child node to forward the communication information with the master node, Allow the sub-node to communicate with other devices, reducing the possibility of paralysis of the communication network, thereby improving the system stability of the communication network.

下面结合附图,详细介绍根据本申请实施例的各个节点。图5示出本申请实施例提供的一种网络切换主节点的组成方框图。如图5所示,网络切换主节点500包括如下模块。Each node according to the embodiment of the present application will be introduced in detail below with reference to the accompanying drawings. Figure 5 shows a block diagram of a network switching master node provided by an embodiment of the present application. As shown in Figure 5, the network switching master node 500 includes the following modules.

生成模块501,被配置为在依据子节点的网络状态信息确定子节点发生故障的情况下,生成第一切换消息。The generating module 501 is configured to generate a first switching message when it is determined that the child node fails based on the network status information of the child node.

切换模块502,被配置为向子节点发送第一切换消息,以供子节点将其网络连接模式切换为支持端到端通信的网络连接模式。The switching module 502 is configured to send a first switching message to the child node, so that the child node switches its network connection mode to a network connection mode that supports end-to-end communication.

在一些具体实现中,网络切换主节点500,还包括:通信连接建立模块,设置为基于网状网络的连接模式,与多个子节点建立第一通信连接;基于端到端通信的网络连接模式,与多个子节点建立第二通信连接,其中,子节点为群组用户GC。In some specific implementations, the network switching master node 500 also includes: a communication connection establishment module, set to a mesh network-based connection mode, to establish a first communication connection with multiple sub-nodes; a network connection mode based on end-to-end communication, Establish a second communication connection with multiple child nodes, where the child nodes are group users GC.

在一些具体实现中,网络状态信息,包括:子节点在第一通信连接中的连接状态信息;生成模块501,设置为:在确定第一通信连接中的连接状态信息为表征子节点与主节点间不连通的情况下,确定子节点发生连接故障;其中,主节点为群组拥有设备GO。In some specific implementations, the network status information includes: connection status information of the sub-node in the first communication connection; the generation module 501 is configured to: determine that the connection status information in the first communication connection is representative of the sub-node and the master node. If there is no connectivity between the sub-nodes, it is determined that a connection failure occurs on the sub-node; among them, the master node is the group-owned device GO.

在一些具体实现中,网络状态信息,包括:信令配置信息和子节点在第一通信连接中的连接状态信息;生成模块501,设置为:在确定信令配置信息与子节点的预设配置信息不同,且,连接状态信息为表征子节点与主节点间不连通的情况下,确定子节点存在配置异常故障。In some specific implementations, the network status information includes: signaling configuration information and connection status information of the sub-node in the first communication connection; the generation module 501 is configured to: determine the signaling configuration information and the preset configuration information of the sub-node. Different, and the connection status information indicates the disconnection between the child node and the master node, it is determined that the child node has a configuration abnormality fault.

在一些具体实现中,网络状态信息,包括:子节点的实时业务处理量;生成模块501,设置为:获取子节点的业务处理能力;依据子节点的实时业务处理量和子节点的业务处理能力,确定子节点发生网络拥塞故障。In some specific implementations, the network status information includes: the real-time business processing volume of the child node; the generation module 501 is set to: obtain the business processing capability of the child node; based on the real-time business processing volume of the child node and the business processing capability of the child node, It is determined that a network congestion failure occurs on the child node.

在一些具体实现中,网络切换主节点500,还包括:恢复模块,设置为在依据网络状态信息确定子节点恢复正常的情况下,生成第二切换消息;依据第二通信连接,向子节点发送第二切换消息,以供子节点将其网络连接模式切换为网状网络的连接模式。In some specific implementations, the network switching master node 500 also includes: a recovery module configured to generate a second switching message when the child node is determined to return to normal based on the network status information; and send a second switching message to the child node based on the second communication connection. The second switching message is for the child node to switch its network connection mode to the connection mode of the mesh network.

在一些具体实现中,网络切换主节点500,还包括:配置模块,设置为依据第二通信连接,采用子节点的预设配置信息对子节点使用的通信资源进行配置,以使子节点获取其需求的通信资源。In some specific implementations, the network switching master node 500 also includes: a configuration module configured to use the preset configuration information of the child node to configure the communication resources used by the child node according to the second communication connection, so that the child node obtains its Required communication resources.

在一些具体实现中,恢复模块中的依据网络状态信息确定子节点恢复正常,包括:在确定子节点满足如下条件中至少一种的情况下,确定子节点恢复正常:子节点在第一通信连接中的连接状态为连通;子节点的实时业务处理量与子节点的业务处理能力相匹配;子节点反馈的信令配置信息与预设配置信息相同。In some specific implementations, determining that the child node returns to normal based on the network status information in the recovery module includes: determining that the child node returns to normal when it is determined that the child node meets at least one of the following conditions: the child node is in the first communication connection The connection status in is connected; the real-time business processing volume of the child node matches the business processing capability of the child node; the child node reverses The fed signaling configuration information is the same as the default configuration information.

在本实施例中,通过获取子节点的网络状态信息,能够监控各个子节点的网络状态情况,便于对各个子节点进行网络管理;生成模块在依据子节点的网络状态信息确定子节点发生故障的情况下,生成第一切换消息,能够对发生故障的子节点及时进行处理,降低因子节点发生故障而导致的其他节点无法进行通信的故障比例;切换模块向子节点发送第一切换消息,以供子节点将其网络连接模式切换为支持端到端通信的网络连接模式,通过与子节点之间的端到端的通信连接,不仅能够使产生故障的子节点与当前的主节点进行直接通信,还可以使该子节点能够通过当前的主节点继续与其他节点进行通信,减少网络瘫痪的可能性,并提升通信网络的系统稳定性。In this embodiment, by obtaining the network status information of the sub-nodes, the network status of each sub-node can be monitored to facilitate network management of each sub-node; the generation module determines when a sub-node fails based on the network status information of the sub-node. In this case, the first switching message is generated to process the failed child node in a timely manner and reduce the failure ratio of other nodes that are unable to communicate due to the failure of the child node; the switching module sends the first switching message to the child node for The child node switches its network connection mode to a network connection mode that supports end-to-end communication. Through the end-to-end communication connection with the child node, not only the failed child node can communicate directly with the current master node, but also the child node can directly communicate with the current master node. This allows the child node to continue communicating with other nodes through the current master node, reducing the possibility of network paralysis and improving the system stability of the communication network.

图6示出本申请实施例提供的一种网络切换子节点的组成方框图。如图6所示,网络切换子节点600包括如下模块。Figure 6 shows a block diagram of a network switching sub-node provided by an embodiment of the present application. As shown in Figure 6, the network switching sub-node 600 includes the following modules.

发送模块601,被配置为向主节点发送子节点的网络状态信息,网络状态信息为表征子节点发生故障的信息。The sending module 601 is configured to send the network status information of the sub-node to the master node, where the network status information is information indicating a failure of the sub-node.

响应模块602,被配置为响应于主节点发送的第一切换消息,将子节点的网络连接模式切换为支持端到端通信的网络连接模式。The response module 602 is configured to, in response to the first switching message sent by the master node, switch the network connection mode of the child node to a network connection mode that supports end-to-end communication.

在本实施例中,通过发送模块向主节点发送子节点的网络状态信息,该网络状态信息为表征子节点发生故障的信息,能够使主节点及时准确的获知该子节点存在异常,并快速对该子节点进行故障处理,从而使该子节点的通信能够快速回复正常;使用响应模块响应于主节点发送的第一切换消息,将子节点的网络连接模式切换为支持端到端通信的网络连接模式,能够使该子节点可以直接与主节点进行通信,加快从主节点获取信息的速度;还能够使该子节点通过与主节点之间的通信信息的转发,使该子节点与其他设备进行通信,减少通信网络瘫痪的可能性,从而提升通信网络的系统稳定性。In this embodiment, the network status information of the sub-node is sent to the master node through the sending module. The network status information is information indicating the failure of the sub-node, which enables the master node to promptly and accurately learn that the sub-node is abnormal and quickly respond to the problem. The sub-node performs fault handling so that the communication of the sub-node can quickly return to normal; use the response module to respond to the first switching message sent by the master node to switch the network connection mode of the sub-node to a network connection that supports end-to-end communication mode, which enables the child node to communicate directly with the master node to speed up the acquisition of information from the master node; it also enables the child node to communicate with other devices through the forwarding of communication information with the master node. communication, reducing the possibility of communication network paralysis, thereby improving the system stability of the communication network.

图7示出本申请实施例提供的一种网络切换系统的组成方框图。如图7所示,该网络切换系统可以包括如下设备。Figure 7 shows a block diagram of a network switching system provided by an embodiment of the present application. As shown in Figure 7, the network switching system may include the following equipment.

基于Mesh网络连接的网络切换主节点710和多个网络切换子节点(如,第一子节点721、第二子节点722、……、第K子节点72K、第N子节点72N等,N表示子节点的数量,N为大于或等于1的整数,K为大于2且小于N的整数)。The network switching master node 710 and multiple network switching sub-nodes based on Mesh network connection (such as the first sub-node 721, the second sub-node 722, ..., the K-th sub-node 72K, the N-th sub-node 72N, etc., N represents The number of child nodes, N is an integer greater than or equal to 1, K is an integer greater than 2 and less than N).

需要说明的是,网络切换主节点710可以与任意一个网络子节点间建立端到端的通信。例如,网络切换主节点710不仅可以与第二子节点722和第K子节点72K之间建立多跳Mesh的网络连接,网络切换主节点710还可以直接与第K子节点72K之间建立端到端的网络连接,以使第K子节点72K能够通过多种网络连接方式,与其他子节点进行通信,提升通信效率的同时,还能够减少网络瘫痪的可能性,提升通信网络的系统稳定性。It should be noted that the network switching master node 710 can establish end-to-end communication with any network sub-node. For example, the network switching master node 710 can not only establish a multi-hop Mesh network connection with the second sub-node 722 and the K-th sub-node 72K, but also directly establish an end-to-end Mesh connection with the K-th sub-node 72K. terminal network connection, so that the K-th sub-node 72K can communicate with other sub-nodes through a variety of network connection methods, which not only improves communication efficiency, but also reduces the possibility of network paralysis and improves the system stability of the communication network.

图8示出本申请实施例提供的一种网络切换系统的工作方法的流程示意图。如图8所示,该网络切换系统的工作方法包括但不限于如下步骤。FIG. 8 shows a schematic flowchart of a working method of a network switching system provided by an embodiment of the present application. As shown in Figure 8, the working method of the network switching system includes but is not limited to the following steps.

步骤S801,网络切换主节点710与多个网络切换子节点之间,按照网状网络的连接模式,建立第一通信连接。同时,网络切换主节点710开启Mesh网络助手的主控端,多个网络切换子节点(如,第二子节点722或第K子节点72K等)开启Mesh网络组手的客户端;网络切换主节点710通过WiFi-P2P网络功能组件,与多个网络切换子节点之间建立第二通信连接(如,端到端的通信连接)。Step S801: A first communication connection is established between the network switching master node 710 and multiple network switching sub-nodes according to the connection mode of the mesh network. At the same time, the network switching master node 710 turns on the main control terminal of the Mesh network assistant, and multiple network switching sub-nodes (such as the second sub-node 722 or the K-th sub-node 72K, etc.) turn on the clients of the Mesh network assistant; the network switching main node The node 710 establishes a second communication connection (eg, an end-to-end communication connection) with multiple network switching sub-nodes through the WiFi-P2P network functional component.

例如,第一通信连接可以采用如下方式建立:网络切换主节点710与第一子节点721、第二子节点722、……、第K子节点72K、第N子节点72N等,按照Mesh网络标准协议,构建Mesh网络连接。For example, the first communication connection can be established in the following manner: the network switches the master node 710 and the first sub-node 721, the second sub-node 722, ..., the K-th sub-node 72K, the N-th sub-node 72N, etc., according to the Mesh network standard. protocol to build Mesh network connections.

又例如,在网络切换主节点710接收到各个网络切换子节点反馈的Mesh网络连接建立完成消息之后,网络切换主节点710可以向多个网络切换子节点发送开启WiFi-P2P软件功能指示,以使各个网络切换子节点可以启动WiFi-P2P功能。For another example, after the network switching master node 710 receives the Mesh network connection establishment completion message fed back by each network switching sub-node, the network switching master node 710 may send an instruction to enable the WiFi-P2P software function to multiple network switching sub-nodes to enable Each network switching sub-node can activate the WiFi-P2P function.

其中,网络切换主节点710在WiFi-P2P网络中作为GO,各个网络切换子节点在WiFi-P2P网络中作为GC。Among them, the network switching master node 710 serves as GO in the WiFi-P2P network, and each network switching sub-node serves as GC in the WiFi-P2P network.

步骤S802,网络切换主节点710通过Mesh网络助手的主控端对多个网络切换子节点的网络状态进行监测,获得各个网络切换子节点在第一通信连接中的连接状态信息;并将该第一通信连接中的连接状态信息保存到子节点状态信息表中。Step S802, the network switching master node 710 monitors the network status of multiple network switching sub-nodes through the main control terminal of the Mesh network assistant, and obtains the connection status information of each network switching sub-node in the first communication connection; and obtains the connection status information of the first communication connection. The connection status information in a communication connection is saved in the child node status information table.

其中,子节点状态信息表可以包括:各个网络切换的网络模式,网络切换子节点的工作状态信息等。Among them, the sub-node status information table may include: network modes of each network switch, working status information of network switch sub-nodes, etc.

步骤S803,网络切换主节点710周期性向第二子节点722和第K子节点72K发送测量消息。Step S803: The network switching master node 710 periodically sends measurement messages to the second sub-node 722 and the K-th sub-node 72K.

其中,测量消息用于获取第二子节点722和第K子节点72K的网络状态信息。网络状态信息可以包括:第二子节点722在第一通信连接(如,Mesh网络连接)中的连接状态信息、第二子节点722的实时业务处理量和信令配置信息中的至少一种。连接状态信息用于表征第二子节点722与网络切换主节点710间是否连通,例如,可以采用心跳消息来表征两个节点之间的通信连通状态。The measurement message is used to obtain network status information of the second sub-node 722 and the K-th sub-node 72K. The network status information may include: at least one of connection status information of the second sub-node 722 in the first communication connection (eg, Mesh network connection), real-time business processing volume of the second sub-node 722, and signaling configuration information. The connection status information is used to represent whether the second child node 722 is connected to the network switching master node 710. For example, a heartbeat message can be used to represent the communication connectivity status between the two nodes.

若网络切换主节点710能够在预设周期内接收到第二子节点722(或第K子节点72K)发送的正确的心跳消息,则表征第二子节点722(或第K子节点72K)与网络切换主节点710间是连通的;否则,若网络切换主节点710在预设周期内没有接收到第二子节点722(或第K子节点72K)发送的正确的心跳消息,或接收到的心跳消息是异常消息,则表征第二子节点722(或第K子节点72K)与网络切换主节点710间是不连通的,可能存在通信故障。If the network switching master node 710 can receive the correct heartbeat message sent by the second child node 722 (or the K-th child node 72K) within the preset period, it means that the second child node 722 (or the K-th child node 72K) and The network switching master nodes 710 are connected; otherwise, if the network switching master node 710 does not receive the correct heartbeat message sent by the second child node 722 (or the K-th child node 72K) within the preset period, or the received If the heartbeat message is an abnormal message, it indicates that the second sub-node 722 (or the K-th sub-node 72K) and the network switching master node 710 are not connected, and there may be a communication failure.

步骤S804,第K子节点72K响应于测量消息,向网络切换主节点710反馈其在第一通信连接状态下测量获得的网络状态信息。Step S804: In response to the measurement message, the K-th sub-node 72K feeds back to the network switching master node 710 the network status information obtained by measurement in the first communication connection state.

步骤S805,网络切换主节点710根据第K子节点72K反馈的网络状态信息,确定第K子节点72K与网络切换主节点710间是不连通的,生成第一切换消息。Step S805: The network switching master node 710 determines that the K-th sub-node 72K and the network switching master node 710 are disconnected based on the network status information fed back by the K-th sub-node 72K, and generates a first switching message.

其中,第一切换消息用于使第K子节点72K将其网络连接模式切换为支持端到端通信的网络连接模式。The first switching message is used to cause the K-th child node 72K to switch its network connection mode to a network connection mode that supports end-to-end communication.

步骤S806,网络切换主节点710通过第二通信连接,向第K子节点72K发送第一切换消息。Step S806: The network switching master node 710 sends the first switching message to the K-th child node 72K through the second communication connection.

步骤S807,第K子节点72K在接收到第一切换消息后,基于第二通信连接,使第K子节点72K可以与网络切换主节点710进行端到端的通信。Step S807: After receiving the first switching message, the K-th sub-node 72K enables end-to-end communication with the network switching master node 710 based on the second communication connection.

步骤S808,第K子节点72K将测量获得的其在第一通信连接中的连接状态信息,通过第二通信连接,发送给网络切换主节点710。Step S808: The K-th sub-node 72K sends the measured connection status information in the first communication connection to the network switching master node 710 through the second communication connection.

步骤S809,网络切换主节点710根据获得的不同的网络切换子节点发送的网络状态信息,更新子节点状态信息表。Step S809: The network switching master node 710 updates the child node status information table according to the obtained network status information sent by different network switching child nodes.

步骤S810,根据更新后的子节点状态信息表,确定第K子节点72K在第一通信连接中的连接状态信息能够表征第K子节点72K与网络切换主节点710之间的第一通信连接恢复正常,则网络切换主节点710生成第二切换消息,并通过第二通信连接,向第K子节点72K发送该第二切换消息。Step S810, according to the updated child node status information table, determine that the connection status information of the K-th child node 72K in the first communication connection can represent the restoration of the first communication connection between the K-th child node 72K and the network switching master node 710. If normal, the network switching master node 710 generates a second switching message and sends the second switching message to the K-th child node 72K through the second communication connection.

步骤S811,第K子节点72K在接收到第二切换消息后,将其与网络切换主节点710之间的通信连接方式由第二通信连接切换为第一通信连接;并基于第一通信连接,第K子节点72K与网络切换主节点710进行通信。Step S811, after receiving the second switching message, the K-th child node 72K switches the communication connection mode with the network switching master node 710 from the second communication connection to the first communication connection; and based on the first communication connection, The Kth child node 72K communicates with the network switching master node 710.

在本实施例中,通过网络切换主节点710与多个网络切换子节点之间建立第一通信连接和第二通信连接,并使网络切换主节点710能够对多个网络切换子节点在第一通信连接中的连接状态信息进行监测,能够实时准确的确定各个网络切换子节点是否发生故障;在确定某个子节点与网络切换主节点710之间的第一通信连接处于中断状态的情况下,能够及时将该子节点与网络切换主节点710之间的通信连接切换至第二通信连接,保证该子节点仍然可以通过第二通信连接方式,与其他节点进行通信(如,直接与网络切换主节点710进行基于第二通信连接的通信,或,通过网络切换主节点710的转发,与其他节点进行通信等),可降低因子节点发生故障而导致的其他节点无法进行通信的故障比例。并且,在检测到故障子节点在第一通信连接中的连接状态信息能够表征第K子节点72K与网络切换主节点710之间的第一通信连接恢复正常,再将该故障子节点由第二通信连接切换回第一通信连接,能够适时切换到不同的可用的网络模式(如,将WiFi-P2P网络连接作为Mesh网络连接的备用通信连接),减少网络瘫痪的可能性,并提升通信网络的系统稳定性。In this embodiment, the first communication connection and the second communication connection are established between the network switching master node 710 and multiple network switching sub-nodes, so that the network switching master node 710 can communicate with the multiple network switching sub-nodes in the first Monitoring the connection status information in the communication connection can accurately determine whether each network switching sub-node fails in real time; when it is determined that the first communication connection between a certain sub-node and the network switching master node 710 is in an interrupted state, it can Timely switch the communication connection between the child node and the network switching master node 710 to the second communication connection to ensure that the child node can still communicate with other nodes through the second communication connection method (for example, directly with the network switching master node 710 performs communication based on the second communication connection, or switches the forwarding of the master node 710 through the network to communicate with other nodes, etc.), which can reduce the failure ratio of other nodes that are unable to communicate due to failure of the sub-node. Moreover, after detecting that the connection status information of the faulty sub-node in the first communication connection can indicate that the first communication connection between the K-th sub-node 72K and the network switching master node 710 is restored to normal, the faulty sub-node is then replaced by the second communication connection. The communication connection is switched back to the first communication connection and can be switched to different available network modes in a timely manner (for example, using the WiFi-P2P network connection as a backup communication connection for the Mesh network connection), reducing the possibility of network paralysis and improving the performance of the communication network. System stability.

需要明确的是,本申请并不局限于上文实施例中所描述并在图中示出的特定配置和处理。为了描述的方便和简洁,这里省略了对已知方法的详细描述,并且上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It should be understood that the present application is not limited to the specific configurations and processes described in the embodiments above and illustrated in the figures. For the convenience and simplicity of description, detailed descriptions of known methods are omitted here, and for the specific working processes of the systems, modules and units described above, reference can be made to the corresponding processes in the foregoing method embodiments, which will not be described again here.

图9示出能够实现根据本申请实施例的网络切换方法和装置的计算设备的示例性硬件架构的结构图。Figure 9 shows a structural diagram of an exemplary hardware architecture of a computing device capable of implementing the network switching method and apparatus according to embodiments of the present application.

如图9所示,计算设备900包括输入设备901、输入接口902、中央处理器903、存储器904、输出接口905、以及输出设备906。其中,输入接口902、中央处理器903、存储器904、以及输出接口905通过总线907相互连接,输入设备901和输出设备906分别通过输入接口902和输出接口905与总线907连接,进而与计算设备900的其他组件连接。As shown in FIG. 9 , computing device 900 includes an input device 901 , an input interface 902 , a central processing unit 903 , a memory 904 , an output interface 905 , and an output device 906 . Among them, the input interface 902, the central processing unit 903, the memory 904, and the output interface 905 are connected to each other through the bus 907. The input device 901 and the output device 906 are connected to the bus 907 through the input interface 902 and the output interface 905 respectively, and then to the computing device 900 to connect other components.

具体地,输入设备901接收来自外部的输入信息,并通过输入接口902将输入信息传送到中央处理器903;中央处理器903基于存储器904中存储的计算机可执行指令对输入信息进行处理以生成输出信息,将输出信息临时或者永久地存储在存储器904中,然后通过输出接口905将输出信息传送到输出设备906;输出设备906将输出信息输出到计算设备900的外部供用户使用。Specifically, the input device 901 receives input information from the outside and transmits the input information to the central processor 903 through the input interface 902; the central processor 903 processes the input information based on computer-executable instructions stored in the memory 904 to generate output. Information, the output information is temporarily or permanently stored in the memory 904, and then the output information is transmitted to the output device 906 through the output interface 905; the output device 906 outputs the output information to the outside of the computing device 900 for use by the user.

在一个实施例中,图9所示的计算设备可以被实现为一种电子设备,该电子设备可以包括:存储器,被配置为存储程序;处理器,被配置为运行存储器中存储的程序,以执行上述实施例描述的网络切换方法。In one embodiment, the computing device shown in FIG. 9 may be implemented as an electronic device, and the electronic device may include: a memory configured to store a program; a processor configured to run the program stored in the memory to Execute the network switching method described in the above embodiment.

在一个实施例中,图9所示的计算设备可以被实现为一种网络切换系统,该网络切换系统可以包括:存储器,被配置为存储程序;处理器,被配置为运行存储器中存储的程序,以执行上述实施例描述的网络切换方法。In one embodiment, the computing device shown in Figure 9 may be implemented as a network switching system, and the network switching system may include: a memory configured to store a program; a processor configured to run the program stored in the memory , to perform the network switching method described in the above embodiment.

以上所述,仅为本申请的示例性实施例而已,并非用于限定本申请的保护范围。一般来说,本申请的多种实施例可以在硬件或专用电路、软件、逻辑或其任何组合中实现。例如,一些方面可以被实现在硬件中,而其它方面可以被实现在可以被控制器、微处理器或其它计算装置执行的固件或软件中,尽管本申请不限于此。The above descriptions are only exemplary embodiments of the present application and are not used to limit the protection scope of the present application. Generally speaking, the various embodiments of the present application may be implemented in hardware or special purpose circuitry, software, logic, or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device, although the application is not limited thereto.

本申请的实施例可以通过移动装置的数据处理器执行计算机程序指令来实现,例如在处理器实体中,或者通过硬件,或者通过软件和硬件的组合。计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码。Embodiments of the present application may be implemented by a data processor of the mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. Computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code written in any combination of one or more programming languages or target code.

本申请实施例附图中的任何逻辑流程的框图可以表示程序步骤,或者可以表示相互连接的逻辑电路、模块和功能,或者可以表示程序步骤与逻辑电路、模块和功能的组合。计算机程序可以存储在存储器上。存储器可以具有任何适合于本地技术环境的类型并且可以使用任何适合的数据存储技术实现,例如但不限于只读存储器(ROM)、随机访问存储器(RAM)、光存储器装置和系统(数码多功能光碟DVD或CD光盘)等。计算机可读介质可以包括非瞬时性存储介质。数据处理器可以是任何适合于本地技术环境的类型,例如但不限于通用计算机、专用计算机、微处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、可编程逻辑器件(FGPA)以及基于多核处理器架构的处理器。Any block diagram of a logic flow in the drawings of the embodiments of this application may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions. Computer programs can be stored on memory. The memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, read only memory (ROM), random access memory (RAM), optical storage devices and systems (digital versatile disc DVD or CD), etc. Computer-readable media may include non-transitory storage media. The data processor may be of any type suitable for the local technical environment, such as, but not limited to, general purpose computers, special purpose computers, microprocessors, digital signal processors (DSP), application specific integrated circuits (ASIC), programmable logic devices (FGPA) and processors based on multi-core processor architecture.

通过示范性和非限制性的示例,上文已提供了对本申请的示范实施例的详细描述。但结合附图和权利要求来考虑,对以上实施例的多种修改和调整对本领域技术人员来说是显而易见的,但不偏离本申请的范围。因此,本申请的恰当范围将根据权利要求确定。A detailed description of exemplary embodiments of the present application has been provided above, by way of illustrative and non-limiting examples. However, considering the accompanying drawings and claims, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art without departing from the scope of the present application. Accordingly, the proper scope of the application will be determined from the claims.

Claims (13)

Translated fromChinese
一种网络切换方法,所述方法包括:A network switching method, the method includes:在依据子节点的网络状态信息确定所述子节点发生故障的情况下,生成第一切换消息;When it is determined that the child node fails based on the network status information of the child node, generate a first switching message;向所述子节点发送所述第一切换消息,以供所述子节点将其网络连接模式切换为支持端到端通信的网络连接模式。The first switching message is sent to the child node, so that the child node switches its network connection mode to a network connection mode that supports end-to-end communication.根据权利要求1所述的方法,其中,所述在依据子节点的网络状态信息确定所述子节点发生故障之前,还包括:The method according to claim 1, wherein before determining that the child node is faulty based on the network status information of the child node, it further includes:基于网状网络的连接模式,与多个所述子节点建立第一通信连接;Based on the connection mode of the mesh network, establish a first communication connection with a plurality of the child nodes;基于所述端到端通信的网络连接模式,与多个所述子节点建立第二通信连接,其中,所述子节点为群组用户GC。Based on the network connection mode of the end-to-end communication, a second communication connection is established with a plurality of the sub-nodes, where the sub-nodes are group users GC.根据权利要求2所述的方法,其中,所述网络状态信息,包括:所述子节点在所述第一通信连接中的连接状态信息;The method according to claim 2, wherein the network status information includes: connection status information of the sub-node in the first communication connection;所述依据子节点的网络状态信息确定所述子节点发生故障,包括:Determining that the child node is faulty based on the network status information of the child node includes:在确定所述第一通信连接中的连接状态信息为表征所述子节点与主节点间不连通的情况下,确定所述子节点发生连接故障;其中,所述主节点为群组拥有设备GO。When it is determined that the connection status information in the first communication connection indicates a disconnection between the child node and the master node, it is determined that a connection failure occurs in the child node; wherein the master node is a group-owned device GO .根据权利要求2所述的方法,其中,所述网络状态信息,包括:信令配置信息和所述子节点在所述第一通信连接中的连接状态信息;The method according to claim 2, wherein the network status information includes: signaling configuration information and connection status information of the sub-node in the first communication connection;所述依据子节点的网络状态信息确定所述子节点发生故障,包括:Determining that the child node is faulty based on the network status information of the child node includes:在确定所述信令配置信息与所述子节点的预设配置信息不同,且,所述连接状态信息为表征所述子节点与主节点间不连通的情况下,确定所述子节点存在配置异常故障。When it is determined that the signaling configuration information is different from the preset configuration information of the child node, and the connection status information indicates that there is no connectivity between the child node and the master node, it is determined that the child node has a configuration. Abnormal failure.根据权利要求1或2所述的方法,其中,所述网络状态信息,包括:所述子节点的实时业务处理量;The method according to claim 1 or 2, wherein the network status information includes: the real-time business processing volume of the sub-node;所述依据子节点的网络状态信息确定所述子节点发生故障,包括:Determining that the child node is faulty based on the network status information of the child node includes:获取所述子节点的业务处理能力;Obtain the business processing capabilities of the child node;依据所述子节点的实时业务处理量和所述子节点的业务处理能力,确定所述子节点发生网络拥塞故障。Based on the real-time business processing volume of the child node and the business processing capability of the child node, it is determined that a network congestion fault occurs in the child node.根据权利要求2所述的方法,其中,所述向所述子节点发送所述第一切换消息,以供所述子节点将其网络连接模式切换为支持端到端通信的网络连接模式之后,还包括:The method according to claim 2, wherein the first switching message is sent to the child node for the child node to switch its network connection mode to a network connection mode that supports end-to-end communication, Also includes:在依据所述网络状态信息确定所述子节点恢复正常的情况下,生成第二切换消息;When it is determined that the child node returns to normal based on the network status information, generate a second switching message;依据所述第二通信连接,向所述子节点发送所述第二切换消息,以供所述子节点将其网络连接模式切换为所述网状网络的连接模式。According to the second communication connection, the second switching message is sent to the child node, so that the child node switches its network connection mode to the connection mode of the mesh network.根据权利要求6所述的方法,其中,所述在依据所述网络状态信息确定所述子节点恢复正常之前,还包括:The method according to claim 6, wherein the step of determining that the child node is restored based on the network status information is Before returning to normal, it also includes:依据所述第二通信连接,采用所述子节点的预设配置信息对所述子节点使用的通信资源进行配置,以使所述子节点获取其需求的通信资源。According to the second communication connection, the communication resources used by the child node are configured using the preset configuration information of the child node, so that the child node obtains the communication resources it requires.根据权利要求6所述的方法,其中,所述依据所述网络状态信息确定所述子节点恢复正常,包括:The method according to claim 6, wherein determining that the child node returns to normal based on the network status information includes:在确定所述子节点满足如下条件中至少一种的情况下,确定所述子节点恢复正常:When it is determined that the child node meets at least one of the following conditions, it is determined that the child node returns to normal:所述子节点在所述第一通信连接中的连接状态为连通;The connection status of the child node in the first communication connection is connected;所述子节点的实时业务处理量与所述子节点的业务处理能力相匹配;The real-time business processing volume of the child node matches the business processing capability of the child node;所述子节点反馈的信令配置信息与预设配置信息相同。The signaling configuration information fed back by the child node is the same as the preset configuration information.一种网络切换方法,所述方法包括:A network switching method, the method includes:向主节点发送子节点的网络状态信息,所述网络状态信息为表征所述子节点发生故障的信息;Send network status information of the child node to the master node, where the network status information is information indicating that the child node has failed;响应于所述主节点发送的第一切换消息,将所述子节点的网络连接模式切换为支持端到端通信的网络连接模式。In response to the first switching message sent by the master node, the network connection mode of the child node is switched to a network connection mode that supports end-to-end communication.一种网络切换主节点,其包括:A network switching master node, which includes:生成模块,被配置为在依据子节点的网络状态信息确定所述子节点发生故障的情况下,生成第一切换消息;A generating module configured to generate a first switching message when it is determined that the child node fails based on the network status information of the child node;切换模块,被配置为向所述子节点发送所述第一切换消息,以供所述子节点将其网络连接模式切换为支持端到端通信的网络连接模式。A switching module configured to send the first switching message to the child node so that the child node switches its network connection mode to a network connection mode that supports end-to-end communication.一种网络切换子节点,其包括:A network switching sub-node, which includes:发送模块,被配置为向主节点发送子节点的网络状态信息,所述网络状态信息为表征所述子节点发生故障的信息;A sending module configured to send network status information of the child node to the master node, where the network status information is information indicating a failure of the child node;响应模块,被配置为响应于所述主节点发送的第一切换消息,将所述子节点的网络连接模式切换为支持端到端通信的网络连接模式。A response module configured to, in response to the first switching message sent by the master node, switch the network connection mode of the child node to a network connection mode that supports end-to-end communication.一种电子设备,包括:An electronic device including:一个或多个处理器;one or more processors;存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-8中任一项,或如权利要求9所述的网络切换方法。A memory having one or more programs stored thereon, which when the one or more programs are executed by the one or more processors, causes the one or more processors to implement any one of claims 1-8 item, or the network switching method according to claim 9.一种可读存储介质,其中,所述可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-8中任一项,或如权利要求9所述的网络切换方法。A readable storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements any one of claims 1-8, or the network of claim 9 Switch method.
PCT/CN2023/0719222022-04-012023-01-12Network switching method, node, electronic device and readable storage mediumCeasedWO2023185214A1 (en)

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
CN202210339051.12022-04-01
CN202210339051.1ACN116938689A (en)2022-04-012022-04-01Network switching method, node, electronic device, and readable storage medium

Publications (1)

Publication NumberPublication Date
WO2023185214A1true WO2023185214A1 (en)2023-10-05

Family

ID=88199042

Family Applications (1)

Application NumberTitlePriority DateFiling Date
PCT/CN2023/071922CeasedWO2023185214A1 (en)2022-04-012023-01-12Network switching method, node, electronic device and readable storage medium

Country Status (2)

CountryLink
CN (1)CN116938689A (en)
WO (1)WO2023185214A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN117768261A (en)*2023-12-222024-03-26深圳市汇顶科技股份有限公司Digital control method, chip and system of networking system
CN119697005A (en)*2025-02-262025-03-25深圳网锋通讯有限公司 A video data transmission system and control method suitable for unmanned areas

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20090111456A1 (en)*2007-10-302009-04-30Cisco Technology, Inc.Mesh Communication Network and Devices
US20140169152A1 (en)*2012-12-172014-06-19Itron, Inc.Intelligent Network Operation
CN109716823A (en)*2016-08-292019-05-03昕诺飞控股有限公司Outdoor lighting network as emergency connection infrastructure
CN111526543A (en)*2019-02-022020-08-11索尼公司 Electronic device, communication method and storage medium
CN111869166A (en)*2018-03-162020-10-30施耐德电器工业公司 Method for configuring and/or controlling end devices for home automation
CN113965474A (en)*2020-06-292022-01-21中兴通讯股份有限公司Network quality evaluation method, electronic device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20090111456A1 (en)*2007-10-302009-04-30Cisco Technology, Inc.Mesh Communication Network and Devices
US20140169152A1 (en)*2012-12-172014-06-19Itron, Inc.Intelligent Network Operation
CN109716823A (en)*2016-08-292019-05-03昕诺飞控股有限公司Outdoor lighting network as emergency connection infrastructure
CN111869166A (en)*2018-03-162020-10-30施耐德电器工业公司 Method for configuring and/or controlling end devices for home automation
CN111526543A (en)*2019-02-022020-08-11索尼公司 Electronic device, communication method and storage medium
CN113965474A (en)*2020-06-292022-01-21中兴通讯股份有限公司Network quality evaluation method, electronic device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN117768261A (en)*2023-12-222024-03-26深圳市汇顶科技股份有限公司Digital control method, chip and system of networking system
CN119697005A (en)*2025-02-262025-03-25深圳网锋通讯有限公司 A video data transmission system and control method suitable for unmanned areas

Also Published As

Publication numberPublication date
CN116938689A (en)2023-10-24

Similar Documents

PublicationPublication DateTitle
US10708132B2 (en)Technique for handling a status change in an interconnect node
CN112448877B (en)SBFD session establishment method, device and system
WO2023185214A1 (en)Network switching method, node, electronic device and readable storage medium
CN106487679B (en) Active-standby switching system and switching method of Ethernet switch
US20230254377A1 (en)Establishment of operational status of a machine-to-machine device
CN113726556B (en)Edge internet of things proxy node operation and maintenance method, system, storage medium and computing equipment
WO2015109443A1 (en)Method for processing network service faults, service management system and system management module
CN103109560B (en)The fault recovery method of a kind of OM channel and network management terminal
CN109218126B (en)Method, device and system for monitoring node survival state
CN103684716A (en)Method for transmitting messages in a redundantly operable industrial communication network and communication device for the redundantly operable industrial communication network
CN111447101B (en)Link detection method, device, computer equipment and storage medium
CN110691398B (en)Network interaction method, system, equipment and storage medium of intelligent equipment
CN112218321A (en)Main/standby link switching method and device, communication equipment and storage medium
US20080267080A1 (en)Fault Verification for an Unpaired Unidirectional Switched-Path
US11223965B2 (en)Method and apparatus for controlling network sensors
JP7416793B2 (en) System and method for determining and reporting node malfunction
CN102546304B (en)BFD detection method, equipment and system
CN114090342A (en) Link management method for storage disaster recovery, message execution node, and storage control cluster
CN102811153B (en)VLAN state negotiating method and edge device
WO2014113957A1 (en)Link management method, device and communication system
CN101340320B (en)Link detection method, apparatus and system
CN106304241B (en)Data transmission method, repeater and gateway
WO2014180286A1 (en)Method, cse, and system for transmitting m2m application request
CN110233713B (en)Multi-link communication method and system based on LLDP message
US20150372894A1 (en)Direct-link quality monitoring method, communications device, and system

Legal Events

DateCodeTitleDescription
121Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number:23777593

Country of ref document:EP

Kind code of ref document:A1

NENPNon-entry into the national phase

Ref country code:DE

122Ep: pct application non-entry in european phase

Ref document number:23777593

Country of ref document:EP

Kind code of ref document:A1


[8]ページ先頭

©2009-2025 Movatter.jp