WO2023273533A1 - Network management method and apparatus - Google Patents

Network management method and apparatus Download PDF

Info

Publication number
WO2023273533A1
WO2023273533A1 PCT/CN2022/087930 CN2022087930W WO2023273533A1 WO 2023273533 A1 WO2023273533 A1 WO 2023273533A1 CN 2022087930 W CN2022087930 W CN 2022087930W WO 2023273533 A1 WO2023273533 A1 WO 2023273533A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
network
network function
information
auxiliary
Prior art date
Application number
PCT/CN2022/087930
Other languages
French (fr)
Chinese (zh)
Inventor
邱泽令
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023273533A1 publication Critical patent/WO2023273533A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of communication technologies, and in particular to a network management method and device.
  • a traditional network that is, a network composed of network devices
  • it is generally divided into two networking modes: centralized and distributed.
  • Centralized networking requires centralized management of network node resources, traffic, data and other information.
  • Distributed networking which will be independently managed on each node of the network, through mutual negotiation to realize the interaction of resources, traffic, data and other information, so as to achieve the purpose of decentralization and avoid increasing the number of master nodes (also called central nodes) power consumption and improve reliability.
  • master nodes also called central nodes
  • Centralized networking that is, a master node or a form similar to a master node is used to manage terminal devices in a unified manner.
  • wireless fidelity wireless fidelity, WiFi
  • access point access point
  • Bluetooth networking etc.
  • Centralized networking has relatively high requirements for the capability and power consumption of the master node. Only devices such as routers and large screens can meet the requirements, while mobile terminal devices such as mobile phones, tablets, speakers, and car machines are difficult to meet.
  • Form 2 distributed networking, for example, distributed wireless mesh network (Mesh) networking (for example, Bluetooth low energy (bluetooth low energy, BLE) Mesh, Zigbee (Zigbee) Mesh, WiFi Mesh, etc.), this The networking mode interacts with each other in the form of service publishing and subscription, which can realize decentralized terminal device networking.
  • This networking method has a fixed heartbeat mechanism. Therefore, fixed constant power supply devices or low-power devices are used. For mobile terminal devices, it is often necessary to turn off the screen for rest. At this time, the fixed heartbeat mechanism will cause The power consumption of mobile terminal equipment is relatively high.
  • the present application relates to a network management method and device, which are used to make the power consumption of mobile terminal equipment in a mobile network meet the requirements of the mobile terminal equipment.
  • a network management method including: the master node determines the first auxiliary node among the at least one node according to the information of the network function supported by at least one node and the information of the first network function of the master node, and sends the first auxiliary node to the first
  • the assistant node sends first configuration information, where the first configuration information is used to configure a network information reporting method of the first assistant node and an execution policy of the first network function.
  • the first network function is part of the network functions of the master node, and the first assistant node is used to replace the master node to perform the first network function.
  • the semi-centralized management of the master node is realized, thereby reducing the power consumption of the master node.
  • the first configuration information includes first indication information and second indication information
  • the first indication information is used to indicate the network information reporting method of the first auxiliary node
  • the network information reporting method is that the first auxiliary node
  • the second auxiliary node is used to report the network information related to the first network function reported by the first auxiliary node to the main node
  • the second The indication information is used to indicate network function parameters when the first network function is performed between the first auxiliary node and other nodes, and the other nodes refer to some or all of the at least one node except the first auxiliary node.
  • the first assistant node can realize the interaction with the master node and other nodes, thereby realizing the first Proxy for network functions.
  • the method further includes: the master node sends second configuration information to the first node, the second configuration information includes third indication information and fourth indication information, and the third indication information is used to indicate the first
  • the network function is represented by the first auxiliary node
  • the fourth indication information is used to indicate network function parameters when the first network function is executed between the first node and the first auxiliary node, and the first node is a node among other nodes.
  • the method further includes: the master node respectively receives information about network functions supported by at least one node from at least one node.
  • the master node can obtain information about network functions of other nodes.
  • the information about a network function supported by a node includes one or more of the following information: the identifier of the node, the name of the network function supported by the node, the network function supported by the node The identification of the network function supported by the node, the power consumption of the network function supported by the node, the execution strategy of the network function supported by the node, whether the node supports proxying the network function, and whether the node supports the execution strategy of the master node controlling the network function.
  • the first network function is a network topology management function, a network access management function, a network device information management function, or a heartbeat function.
  • the method further includes: the master node sends third configuration information to the first assistant node, and the third configuration information is used to update the first network function between the first assistant node and other nodes. Network function parameters; and/or, the master node sends fourth configuration information to the first node, and the fourth configuration information is used to update network function parameters when performing the first network function between the first node and the first assistant node.
  • the configuration information of the first auxiliary node can be updated, so that the master node can control how the first auxiliary node performs the first network function.
  • the method further includes: performing the first network function between the master node and other nodes; The first network function selects a secondary node.
  • the master node or the re-selected auxiliary node can continue to execute the first network function, thereby ensuring the normal operation of the first network function.
  • the master node determines the first assistant node among the at least one node according to the information of the network function supported by at least one node and the information of the first network function of the master node, including: the master node according to at least one node The information of the supported network function and the information of the first network function determine that a node that supports the first network function and satisfies one or more of the following conditions is the first auxiliary node: 1) supporting the execution of the first network function instead of the main node; 2 ) Constant power supply; 3) The power consumption when executing the first network function is less than or equal to the power consumption when the master node executes the first network function; 4) Support the execution strategy of the master node to control the first network function; 5) Execute the first network function The time delay when performing the function is less than or equal to the time delay when the master node performs the first network function; 6) the reliability when performing the first network function is higher than or equal to the reliability when the master node performs the first network function
  • the network function parameter includes one or more of the following information: the name of the first network function, the identifier of the first network function, whether the first network function is proxied, The address of the node, the execution policy when the first network function is proxied, and the power consumption when the first network function is proxied.
  • a network management method including: the first auxiliary node receives first configuration information from the master node, and the first configuration information is used to configure the network information reporting method of the first auxiliary node and the execution of the first network function Policy, the first assistant node executes the first network function according to the execution strategy of the first network function, and reports the network information according to the network information reporting method of the first assistant node.
  • the first auxiliary node is used to replace the main node to perform the first network function
  • the first auxiliary node is a node in at least one node except the main node.
  • the semi-centralized management of the master node is realized, thereby reducing the power consumption of the master node.
  • the first configuration information includes first indication information and second indication information
  • the first indication information is used to indicate the network information reporting method of the first auxiliary node
  • the network information reporting method is that the first auxiliary node
  • the second auxiliary node is used to report the network information related to the first network function reported by the first auxiliary node to the main node
  • the second The indication information is used to indicate network function parameters when the first network function is performed between the first auxiliary node and other nodes, and the other nodes refer to some or all of the at least one node except the first auxiliary node.
  • the first assistant node can realize the interaction with the master node and other nodes, thereby realizing the first Proxy for network functions.
  • the method further includes: the first auxiliary node sends information about network functions supported by the first auxiliary node to the master node.
  • the master node can obtain information about network functions of other nodes.
  • the information about a network function supported by a node includes one or more of the following information: the identifier of the node, the name of the network function supported by the node, the network function supported by the node The identification of the network function supported by the node, the power consumption of the network function supported by the node, the execution strategy of the network function supported by the node, whether the node supports proxying the network function, and whether the node supports the execution strategy of the master node controlling the network function.
  • the first network function is a network topology management function, a network access management function, a network device information management function, or a heartbeat function.
  • the method further includes: the first auxiliary node receives third configuration information from the main node, and the third configuration information is used to update the first network function between the first auxiliary node and other nodes.
  • Network function parameters the first auxiliary node executes the first network function with other nodes according to the updated network function parameters.
  • the configuration information of the first auxiliary node can be updated, so that the master node can control how the first auxiliary node performs the first network function.
  • the method further includes: The first assistant node determines not to proxy the first network function any more.
  • the first auxiliary node can determine whether to continue acting as the first network function according to the change of the network function parameter, and the master node can control whether the first auxiliary node continues to act as the first network function by indicating the network function parameter.
  • At least one of the nodes that supports the first network function and meets one or more of the following conditions is a first auxiliary node: 1) supports performing the first network function instead of the main node; 2 ) Constant power supply; 3) The power consumption when executing the first network function is less than or equal to the power consumption when the master node executes the first network function; 4) Support the execution strategy of the master node to control the first network function; 5) Execute the first network function The time delay when performing the function is less than or equal to the time delay when the master node performs the first network function; 6) the reliability when performing the first network function is higher than or equal to the reliability when the master node performs the first network function.
  • This possible implementation can reduce the power consumption of the master node and improve the timeliness and reliability of the network.
  • the network function parameter includes one or more of the following information: the name of the first network function, the identifier of the first network function, whether the first network function is proxied, The address of the node, the execution policy when the first network function is proxied, and the power consumption when the first network function is proxied.
  • a network management method including: the first node receives second configuration information from the master node, the second configuration information includes third indication information and fourth indication information, and the third indication information is used to indicate the first The network function is represented by the first auxiliary node, the fourth indication information is used to indicate the network function parameters when the first network function is executed between the first node and the first auxiliary node, and the first node determines the first auxiliary node according to the third indication information , performing the first network function with the first assistant node according to the network function parameter indicated by the fourth indication information.
  • the first auxiliary node is used to replace the main node to perform the first network function
  • the first node is a node other than the first auxiliary node in at least one node
  • at least one node is one or more nodes other than the main node nodes.
  • the method further includes: the first node sends information about network functions supported by the first node to the master node.
  • the master node can obtain information about network functions of other nodes.
  • the information about a network function supported by a node includes one or more of the following information: the identifier of the node, the name of the network function supported by the node, the network function supported by the node The identification of the network function supported by the node, the power consumption of the network function supported by the node, the execution strategy of the network function supported by the node, whether the node supports proxying the network function, and whether the node supports the execution strategy of the master node controlling the network function.
  • the first network function is a network topology management function, a network access management function, a network device information management function, or a heartbeat function.
  • the method further includes: the first node receives fourth configuration information from the master node, and the fourth configuration information is used to update the first network function between the first node and the first assistant node.
  • Network function parameters the first node executes the first network function with the first assistant node according to the updated network function parameters.
  • the configuration information of the first node can be updated, so that the master node can control how the first node executes the first network function.
  • the method further includes : The first network function is executed between the first node and the master node; or, the first network function is executed between the first node and an auxiliary node re-determined by the master node as an agent of the first network function.
  • the first auxiliary node no longer acts as the proxy for the first network function the first node can continue to perform the first network function with the master node or the reselected auxiliary node, thereby ensuring that the first network normal operation of the function.
  • At least one of the nodes that supports the first network function and meets one or more of the following conditions is a first auxiliary node: 1) supports performing the first network function instead of the main node; 2 ) Constant power supply; 3) The power consumption when executing the first network function is less than or equal to the power consumption when the master node executes the first network function; 4) Support the execution strategy of the master node to control the first network function; 5) Execute the first network function The time delay when performing the function is less than or equal to the time delay when the master node performs the first network function; 6) the reliability when performing the first network function is higher than or equal to the reliability when the master node performs the first network function.
  • This possible implementation can reduce the power consumption of the master node and improve the timeliness and reliability of the network.
  • the network function parameter includes one or more of the following information: the name of the first network function, the identifier of the first network function, whether the first network function is proxied, The address of the node, the execution policy when the first network function is proxied, and the power consumption when the first network function is proxied.
  • a network management device including: functional units for executing any one of the methods provided in the first aspect above; wherein, the actions performed by these functional units are realized by hardware or corresponding software is executed by hardware accomplish.
  • the network management device may be the above-mentioned master node.
  • a fifth aspect provides a network management device, including: a functional unit for executing any one of the methods provided in the second aspect above; wherein, the actions performed by these functional units are realized by hardware or corresponding software is executed by hardware accomplish.
  • the network management device may be the above-mentioned first assistant node.
  • a sixth aspect provides a network management device, including: functional units for executing any one of the methods provided in the third aspect above; wherein, the actions performed by these functional units are implemented by hardware or corresponding software is executed by hardware accomplish.
  • the network management device may be the above-mentioned first node.
  • a network management device including: a processor.
  • the processor is connected to the memory, and the memory is used to store computer-executable instructions, and the processor executes the computer-executable instructions stored in the memory, so as to implement any method provided in any one of the first aspect to the third aspect.
  • the memory and the processor can be integrated together, or can be independent devices. If it is the latter, the memory can be located inside the network management device or outside the network management device.
  • the network management device may be the above-mentioned master node, the first assistant node or the first node.
  • the processor includes a logic circuit, and further includes an input interface and/or an output interface.
  • the output interface is used to perform the sending action in the corresponding method
  • the input interface is used to perform the receiving action in the corresponding method.
  • the network management device further includes a communication interface and a communication bus, and the processor, the memory, and the communication interface are connected through the communication bus.
  • the communication interface is used to perform the actions of sending and receiving in the corresponding method.
  • a communication interface may also be referred to as a transceiver.
  • the communication interface includes at least one of a transmitter and a receiver. In this case, the transmitter is used to perform the action of sending in the corresponding method, and the receiver is used to perform the action of receiving in the corresponding method.
  • the network management device exists in the product form of a chip.
  • a chip including: a processor and an interface, the processor is coupled to the memory through the interface, and when the processor executes the computer program or instructions in the memory, any one of the first to third aspects Any method provided by the aspect is executed.
  • a communication system including: the above-mentioned master node, the above-mentioned first auxiliary node, and the above-mentioned first node.
  • a computer-readable storage medium including instructions, which, when run on a computer, cause the computer to execute any one of the methods provided in any one of the first to third aspects.
  • a computer program product containing instructions is provided, and when the instructions are run on a computer, the computer is made to execute any one of the methods provided in any one of the first to third aspects.
  • Fig. 1 is a schematic structural diagram of a network topology provided by the present application.
  • FIG. 2 is a schematic structural diagram of another network topology provided by the present application.
  • FIG. 3 is a schematic structural diagram of another network topology provided by the present application.
  • FIG. 4 is a schematic diagram of communication between various auxiliary nodes provided by the present application.
  • FIG. 5 is a schematic diagram of a classification of nodes provided by the present application.
  • FIG. 6 is a flowchart of a network management method provided by the present application.
  • FIG. 7 is a schematic diagram of information about a network function provided by the present application.
  • FIG. 8 is a schematic diagram of information of a heartbeat function provided by the present application.
  • FIG. 9 is a schematic diagram of a first configuration information provided by the present application.
  • FIG. 10 is a schematic diagram of a second configuration information provided by the present application.
  • FIG. 11 is a flowchart of another network management method provided by the present application.
  • FIG. 12 is a flowchart of another network management method provided by the present application.
  • FIG. 13 is a schematic diagram of the composition of a node provided by the present application.
  • FIG. 14 is a schematic diagram of the composition of a network management device provided by the present application.
  • FIG. 15 is a schematic diagram of a hardware structure of a network management device provided by the present application.
  • FIG. 16 is a schematic diagram of a hardware structure of another network management device provided by the present application.
  • this application provides a network management method, the method specifies an auxiliary node in the network, and transfers part or all of the network functions of the master node to an auxiliary node that is more suitable for performing the network function Execution, thereby reducing the power consumption of the master node.
  • a secondary node can perform one network function instead of the primary node, and can also perform multiple network functions instead of the primary node.
  • the secondary node performs a certain network function instead of the primary node, that is, the secondary node acts as a proxy for the network function.
  • the network functions of different assistant node agents may be the same or different, which is not limited in this application.
  • Network topology refers to the specific arrangement of nodes that make up the network, and is generally divided into physical, real, and online structures, or logical, virtual, and programming structures. If two networks have the same connection structure, they are considered to have the same network topology.
  • the nodes in the network in this application may include mobile terminal equipment.
  • Mobile terminal devices can be mobile phones, tablets, wireless speakers, vehicles, mobile stations (mobile station, MS), user units, drones, Internet of things (internet of things, IoT) devices, wireless local area networks (wireless local area networks) , WLAN) in the station (station, ST), cellular phone (cellular phone), smart phone (smart phone), cordless phone, wireless data card, tablet PC, session initiation protocol (session initiation protocol, SIP) phone, wireless Local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA) equipment, laptop computer (laptop computer), machine type communication (machine type communication, MTC) terminal equipment, wireless modem, with Handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices (also called wearable smart devices), device-to-device communication (device-to-device, D2D) terminals Equipment, vehicle-to-everything (V2X) terminal equipment
  • the terminal equipment in this application may also be referred to as user equipment (user equipment, UE), terminal, access terminal, subscriber unit (subscriber unit), subscriber station, remote station, remote terminal, user terminal, wireless communication device, user agent or user equipment, etc.
  • user equipment user equipment
  • UE user equipment
  • access terminal access terminal
  • subscriber unit subscriber unit
  • subscriber station remote station
  • remote terminal user terminal
  • wireless communication device user agent or user equipment, etc.
  • a node in this application may also be called a network node, a node device, a network device, a device, and the like.
  • Properties of a network topology include:
  • connection mode of the network topology refers to the connection mode between nodes in the network topology, for example, a BLE connection, a WiFi connection, a universal serial bus (universal serial bus, USB) connection, and the like. It should be noted that the connection modes between different nodes may be the same or different, therefore, the connection modes of the network topology may include multiple types. Moreover, when performing different services, the connection mode between two nodes can be switched from one connection mode to another.
  • mobile terminal equipment can be connected to different nodes through different connection methods, for example, in a home
  • the mobile phone and the large screen are connected through a router in the home.
  • the connection mode of the network topology is WiFi wireless local area networks (wireless local area networks, WLAN).
  • point to point (P2P) technology can provide an exclusive WiFi link, which can effectively reduce the problem of bandwidth reduction when the router accesses multiple nodes, so it can switch to WiFi P2P communication when the mobile phone and the large screen are performing screen projection services.
  • two nodes are connected through a router means that both nodes are connected to the router, and the logical data path between the two nodes is transited by the router. Since a router can connect multiple nodes, the router's bandwidth is shared by multiple nodes connected to the router. In WiFi P2P, only two nodes are interconnected, therefore, the WiFi link bandwidth is exclusive (that is, the WiFi exclusive link).
  • the interaction mode of the network topology refers to the interaction mode between nodes in the network topology, for example, the mode may be interaction through heartbeat mode or lease management mode. It should be noted that the interaction modes between different nodes may be the same or different, therefore, the interaction modes of the network topology may include multiple types.
  • the structure of the network topology refers to the connection structure of nodes in the network topology.
  • the structure of the network topology mainly includes star, ring, tree, network and so on.
  • the network topology after the auxiliary node is added can be referred to FIG. 2 (one auxiliary node) and FIG. 3 (multiple auxiliary nodes).
  • Figure 1, Figure 2 and Figure 3 are only illustrations of the network topology, the number of nodes in the actual network topology, the structure of the network topology, etc. may be different from those shown in the illustrations, which are not limited in this application.
  • Heartbeat means that a node (assumed to be node A) sends a small data packet (which can be called a heartbeat signal) to another interconnected node (assumed to be node B) at regular intervals, and node A is judged by the reply of node B.
  • node A and node B for example, auxiliary node and main node, auxiliary node and ordinary node in the following
  • it can be carried by heartbeat signal, or carried in the heartbeat signal to indicate the follow-up Instructions for information interaction are required, so that the information interaction can be completed in the subsequent process.
  • an ordinary node refers to a node other than the main node and the auxiliary node in the network.
  • ordinary nodes refer to nodes other than the primary node and auxiliary node A in the network, but among these ordinary nodes, there may be auxiliary nodes that act as agents for other network functions.
  • Heartbeat is applied between nodes that have already been networked.
  • Lease management means that when a node (assumed to be node C) accesses another node (assumed to be node D), node C can declare online time (that is, the lease period) to node D. During the lease period, node D thinks that node C is online and can communicate with node C at any time. The lease period can be extended. For example, node C can apply to node D to extend the lease period at 1/2 or 3/4 or the end of the previous lease period, and node D can reply that the lease period extension is successful or failed.
  • the network functions involved in this application include, but are not limited to, network topology management functions, network access management functions, network device information management functions, and heartbeat functions.
  • the network topology management function is used to manage network topology information
  • the network topology information includes one or more of the information of nodes joining the network, information of nodes leaving the network, connection relationships between nodes, and network routing information. Can contain other network topology related information.
  • the ordinary node managed by the auxiliary node can send the network topology information to the auxiliary node, and the auxiliary node will then send the network topology information to the main node (at this time, the heartbeat function is not Auxiliary node that is proxied by an auxiliary node or an auxiliary node that acts as a proxy for the network topology management function and also acts as a proxy for the heartbeat function) or an auxiliary node that acts as an agent for the heartbeat function.
  • Network topology information focuses on data related to the structural composition and structural changes of the network topology.
  • the network access management function is responsible for node access. If the network access management function is delegated to the auxiliary node, the master node can configure the auxiliary node to enable the auxiliary node to perform network access. These configurations include whether to support authentication and binding information, and access after binding and authentication Or access after successful authentication, access method (for example, which connection method is allowed to access), bandwidth for ordinary node access, etc., the auxiliary node can send the information of the node joining the network to the main node (At this time, the network topology management function is not delegated by the auxiliary node, or the auxiliary node acting as the agent of the network access management function also acts as the agent of the network topology management function) or the auxiliary node acting as the agent of the network topology management function.
  • the network device information management function is used to obtain and manage network device information.
  • the network device information in this application includes, but is not limited to, node information (for example, node identification, node WiFi status (for example, whether to turn on WiFi), node Bluetooth status (for example, whether to turn on Bluetooth), node status information (such as , the node is offline or online), the screen resolution of the node that supports screen projection, etc.), the service information of the node (for example, the attribute information of the service, the data of the service, the status of the service), etc.
  • the ordinary node managed by the auxiliary node can send the network device information to the auxiliary node, and the auxiliary node then sends the network device information to the main node (at this time, the heartbeat function Auxiliary nodes that are not proxied by the auxiliary node or that have the network device information management function also act as the agent for the heartbeat function) or the auxiliary node that acts as the agent for the heartbeat function.
  • Network device information focuses on the information of a single device in the network itself. For convenience of description, hereinafter in this application, network device information and/or network topology information are referred to as network information. That is to say, the network information mentioned below includes network topology information and/or network device information.
  • the heartbeat function is used to report and synchronize network information. If the network device information management function and/or network topology management function is delegated, the auxiliary node acting for the network device information management function and/or the auxiliary node acting for the network topology management function may send the network device information and/or network topology information to The auxiliary node that acts as the proxy heartbeat function, and the auxiliary node that acts as the agent heartbeat function reports the information to the primary node according to its own heartbeat policy.
  • the network information reporting or synchronization cycle, mode, etc. can be configured by the master node to the auxiliary node that acts as a proxy heartbeat function, that is, the heartbeat management function can be realized by the master node.
  • the auxiliary node A can synchronize information to the auxiliary node B, and in the case that the network topology management function is not delegated by the auxiliary node B, the auxiliary node A can synchronize information to the main node.
  • the auxiliary node B that acts as a proxy network topology management function
  • the auxiliary node B when the heartbeat function is delegated by the auxiliary node C, the auxiliary node B can synchronize information to the auxiliary node C; when the heartbeat function is not delegated by the auxiliary node C, the auxiliary node B Information can be synchronized to the master node.
  • the assistant node D for the proxy network device information management function is similar to the assistant node B, and can be understood by referring to it.
  • Secondary node C can synchronize information to the primary node.
  • one auxiliary node can act as an agent for multiple network functions, that is, any two or more of auxiliary node A, auxiliary node B, auxiliary node C, and auxiliary node D in the figure can be the same node , at this time, the process of synchronizing information between nodes or the process of synchronizing information related to a certain node does not exist or the process is an internal realization process of the node.
  • auxiliary node C and the auxiliary node B are the same node, the process of synchronizing information from the auxiliary node B to the auxiliary node C does not exist or this process is an internal implementation process of the node. If auxiliary node C and auxiliary node A are the same node, the process of synchronizing information from auxiliary node A to auxiliary node B (that is, the process of synchronizing information related to auxiliary node A) does not exist.
  • the nodes in the network topology can be divided into various types of nodes according to different functions, including the main node (admin node), homogeneous routing gateway node (router node), heterogeneous routing gateway node (gateway node), end node (endpoint node).
  • the relevant information of each type of nodes can be found in Table 1.
  • the main connection mode of the network defined by the master node in Table 1 refers to the connection mode between most of the nodes in the master node. All nodes in the network can use the connection mode defined by the master node to communicate, or some Nodes use the connection method defined by the master node to communicate, and other nodes use other connection methods to communicate.
  • the Bluetooth data packet in Table 1 refers to a data packet transmitted between two nodes connected via Bluetooth
  • the WiFi data packet refers to a data packet transmitted between two nodes connected via WiFi.
  • Heterogeneous routing gateway nodes can be connected to different nodes through different connection media. For example, heterogeneous routing gateway nodes can be connected to node A through Bluetooth and node B through WiFi. At this time, the heterogeneous routing gateway nodes will be different The terminal of the protocol is connected to the network, and the heterogeneous routing gateway node can receive the Bluetooth data packet from node A, and send the WiFi data packet to node B through conversion.
  • auxiliary nodes In addition to the various types of nodes shown in Table 1 above, another node type is introduced in this application, that is, auxiliary nodes. For information about auxiliary nodes, refer to Table 2.
  • the nodes in the network topology can also be divided into various types of nodes according to the networking situation, see Figure 5, including non-networking nodes and networking nodes, networking nodes include offline nodes and online nodes, and online nodes include master nodes One or more of an auxiliary node, a homogeneous routing gateway node, a heterogeneous routing gateway node, and an end node.
  • non-networking nodes can join the network through binding and authentication after discovering the network.
  • Offline nodes can return to the network through authentication after discovering the historically joined network.
  • the master node can be determined through elections to manage network topology information, network device information, and heartbeat policies.
  • the auxiliary node can be determined by the master node, and an auxiliary node can act as an agent for one or more of network topology management functions, network access management functions, network device information management functions, and heartbeat functions.
  • Homogeneous routing gateway nodes can manage homogeneous routing information.
  • the heterogeneous routing gateway node can manage heterogeneous routing information.
  • End nodes can manage node information, for example, homogeneous routing gateway node information, heterogeneous routing gateway node information, and so on.
  • the network management method provided by this application includes:
  • One or more nodes (assumed to be node a, node b, and node c in FIG. 6 ) perform a network search, and establish connections with other searched nodes to form a network (which may be referred to as a first network).
  • the first network can include mobile terminals and/or non-mobile terminals.
  • a node can search the network through a certain connection method, for example, it can search other surrounding nodes through WiFi or Bluetooth.
  • the connection modes between different nodes in the first network may be the same or different, which is not limited in this application.
  • each node Before performing network search, each node can be initialized. For the node performing network search, the network search function can be turned on through initialization to perform network search. For other nodes, the network search function can be turned on through initialization to be searched.
  • the device management module can also be enabled through initialization, so that the connection between nodes can be established through binding and authentication. The relevant description about the device management module can be found below.
  • the first network may be a distributed network composed of mobile phones, tablets, large screens, speakers, etc.
  • the mobile phones, tablets, and large screens may be connected through a router, and the speakers may be connected to the large screen through Bluetooth.
  • the first network may also be a network in a vehicle scene, an office scene, or other scenes, which is not limited in this application.
  • Each node in the first network negotiates to determine a master node of the first network (assumed to be node c in FIG. 6 ).
  • the master node of the first network is used for centralized control of the first network.
  • the master node can also be called the central control node, central node, etc.
  • the master node of the first network may be a node with stronger functions in the first network, and/or a node with more user operations. For example, in a home scenario, since users will operate more mobile terminal devices (such as mobile phones and tablets), the main node of the network may be a mobile terminal device.
  • One or more other nodes (assumed to be node d in FIG. 6 ) that have not yet joined the first network join the first network through binding and authentication with the master node.
  • the user can enter the searched network access password corresponding to the first network on a node to perform binding and authentication, and join the first network. After the initial binding and authentication, if the node wants to join the first network after leaving the first network, the node can rejoin the first network only through authentication.
  • the master node can create an account, and the user can join the first network by logging in the account on a node to bind and authenticate with the master node.
  • step 602 if there are other nodes that need to join the first network, they can join the first network through step 603, and if there are no other nodes that need to join the first network, then step 603 does not need to be executed.
  • At least one node in the first network (assumed to be N nodes, where N is an integer greater than 0) reports information about network functions supported by each to the master node.
  • the master node receives information about network functions supported by each of the N nodes.
  • the N nodes may be all nodes in the first network except the master node, or may be some nodes in the first network except the master node.
  • FIG. 6 it is drawn by taking N nodes as all nodes in the first network except the master node (that is, the N nodes are node a, node b and node d). It can be understood that all the N nodes are non-master nodes in the first network.
  • the non-master node may actively report the information of supported network functions to the master node, or may report the information of supported network functions based on the instructions of the master node. If it is the latter, the method further includes: the master node sends first indication information to the non-master node, where the first indication information is used to instruct to report information about supported network functions. The non-master node receives the first indication information from the master node, and reports the supported network function information to the master node under the instruction of the first indication information.
  • all the nodes in the N nodes may report the information of supported network functions to the master node actively or based on the instruction of the master node, or some of the nodes in the N nodes may actively report to the master node.
  • the nodes report the information of the supported network functions, and the other part of the nodes report the information of the supported network functions based on the instruction of the master node.
  • a node can support one or more network functions.
  • a node can report information about all network functions it supports to the master node, and can also report information about some network functions it supports to the master node, which is not limited in this application.
  • the information about a network function (assumed to be network function 1) supported by a node includes one or more of the following information: the identifier of the node, the name of the network function 1 supported by the node, the The identification of the network function 1, the power consumption of the network function 1 supported by the node, the execution strategy of the network function 1 supported by the node, whether the node supports proxying the network function 1, whether the node supports the master node to control the network Execution strategy for function 1.
  • the information about the network function 1 supported by a node may also include other information, which is not limited in this application.
  • the identifier of the node may be, for example, a medium access control (medium access control, MAC) address of the node, an Internet protocol (internet protocol, IP) address of the node, a port number (port) of the node, a device name of the node, or Other information that can uniquely identify a node in the first network.
  • the identifier of the network function is used to identify the network function. If a node supports a proxy for a network function, the node can perform the network function instead of the master node.
  • a node supports the execution strategy of the master node controlling the network function
  • the master node can send the execution strategy of the network function to the node, and the node can execute the network function according to the execution strategy sent by the master node.
  • a node supports the master node to control the execution strategy of the network function, which means: the node supports the master node to formulate or modify or manage the execution strategy, the node only executes the execution strategy, and the node does not manage the execution strategy permission.
  • the power consumption of the network function, the execution strategy of the network function, whether to support the proxy network function, whether to support the execution strategy of the master node to control the network function and other information can be considered as the service attributes of the network function, and these information can belong to the same service attribute. Can also belong to a different service attribute.
  • the service attributes may also include other information, which is not limited in this application.
  • the information included in the service attributes of different network functions may be different or the same.
  • FIG. 7 information about the network function 1 supported by node 1 can be seen in FIG. 7 , which specifically includes the following information:
  • Network function 1 Name of network function 1: XXX (for example, network access management function)
  • XXX (eg, MAC address of node 1)
  • the information of the heartbeat function can be referred to in FIG. 8 , which specifically includes the following information:
  • Node ID MAC address of node 1
  • Heartbeat cycle range: 100 milliseconds (ms), 500 milliseconds, 1 second (s), 5 seconds, 10 seconds, 30 seconds
  • Heartbeat window time 100 milliseconds
  • the value in the range of the heartbeat period shown in Figure 8 refers to the heartbeat period, that is, how long it takes to perform a heartbeat with other nodes except the master node
  • the heartbeat window time refers to the time range for performing a heartbeat within a heartbeat period
  • the power consumption during the local heartbeat refers to the power consumption corresponding to a heartbeat window time.
  • the master node sends the information of the master node to other nodes in the first network.
  • the information of the master node can include information such as the identity of the master node and the connection mode supported by the master node.
  • the identifier determines whether the received information is information sent by the master node.
  • the master node determines the auxiliary node among the M nodes (denoted as the th An auxiliary node, assumed as node d) in FIG. 6 , the first auxiliary node is used to replace the main node to perform the first network function.
  • the M nodes may be part or all of the above N nodes.
  • FIG. 6 it is drawn by taking the M nodes as all the above-mentioned N nodes (that is, the M nodes are node a, node b, and node d) as an example.
  • the first network function is a network topology management function, a network access management function, a network device information management function or a heartbeat function, and may also be other network functions. It should be noted that the first network function is a network function that can be delegated to the master node.
  • the network function that the master node can delegate can be preset in the master node, or it can be the master node according to some principles (for example, related to user security). Strongly related network functions cannot be delegated) determined.
  • the master node if the master node cannot determine the first auxiliary node according to the information of the network functions supported by the M nodes and the information of the first network function of the master node, the master node executes the first network function by itself.
  • the situation that the first auxiliary node cannot be determined may be that there is no node meeting the requirements among the M nodes. That is to say, the master node can determine whether there is a node among the M nodes that can act as a proxy for the first network function according to the information of the network functions supported by the M nodes and the information of the first network function of the master node, and if so, perform step 605 Subsequent steps, if not, the master node executes the first network function by itself.
  • the first auxiliary node may be a constant power supply node among the M nodes that supports the first network function (for example, if the first network function is a network access management function, then The first auxiliary node can be a router or other devices with network access capabilities.
  • the first network function is the heartbeat function, due to the constant power supply of the large screen, the main node can delegate the heartbeat function to the large screen for implementation.
  • the first auxiliary node may be a node whose power consumption when performing the first network function is less than or equal to the power consumption when the main node performs the first network function.
  • the constant power supply node refers to a node that is powered by connecting an AC point through a power plug.
  • An extraordinary power supply node refers to a node that is powered by devices such as batteries and charging treasures.
  • the master node may select a node among the M nodes that supports the first network function and meets one or more of the following conditions as the first auxiliary node: 1) supporting the execution of the first network function instead of the master node ; 2) Constant power supply; 3) The power consumption when executing the first network function is less than or equal to the power consumption when the master node executes the first network function; 4) Support the execution strategy of the master node to control the first network function; 5) Execute the first network function The delay when performing a network function is less than or equal to the delay when the master node executes the first network function; 6) the reliability when executing the first network function is higher than or equal to the reliability when the master node executes the first network function.
  • the node that meets more of these conditions can be determined as the first auxiliary node, or a specific node that meets these conditions can be selected as the first auxiliary node.
  • the conditional node is determined as the first auxiliary node, and the specific condition may be preset according to network requirements.
  • the timeliness of the first network can be improved, and when the first auxiliary node performs the first network function
  • the reliability is higher than the reliability when the master node performs the first network function, which can improve the reliability of the first network.
  • the master node after receiving the information of the heartbeat function of a certain node, the master node will compare the information of the heartbeat function with the information of the local heartbeat function of the master node. Assuming that a heartbeat cycle is selected to be 500ms, the average power consumption of heartbeat execution on a certain node is: That is to say, when the heartbeat period is 500ms, the maximum delay for the node to perceive other nodes except the master node is 500ms, and the average power consumption generated at the same time is 0.2mAh. The master node can also calculate the average power consumption of heartbeat execution on the master node when the heartbeat period is 500ms according to the information of its own heartbeat function.
  • the master node compares the two, and if the average power consumption of a certain node is smaller, it can be judged that the node can be used as the first auxiliary node, but whether the node needs to be the first auxiliary node in the end still needs to be obtained according to the calculation
  • the average power consumption of other nodes or other information of other nodes can be judged comprehensively. It should be noted that the average power consumption of performing heartbeat is used as an example for description here, and in actual implementation, direct comparison can also be made according to the power consumption during the local heartbeat period, which is not limited in this application.
  • the method provided in this application is described by taking the first assistant node acting as an example of the first network function as an example.
  • the first network function needs to be replaced by Other network functions can be understood.
  • the first assistant node may also act as agent of other network functions at the same time.
  • the first auxiliary node may maintain network topology information instead of the main node. If the first network function is a network access management function, the first auxiliary node may perform network access instead of the main node. If the first network function is a network device information management function, the first auxiliary node may maintain the network device information instead of the master node. If the first network function is a heartbeat function, the first auxiliary node may replace the master node to perform heartbeat communication with other nodes, thereby maintaining synchronization of network information.
  • the network function of the assistant node agent is part of the network functions of the master node.
  • the master node sends first configuration information to the first assistant node, where the first configuration information is used to configure an execution policy of the first network function and/or a network information reporting manner of the first assistant node.
  • the first auxiliary node receives the first configuration information sent by the master node.
  • the first configuration information includes first indication information and/or second indication information
  • the first indication information is used to indicate the network information reporting method of the first auxiliary node
  • the network information reporting method is that the first auxiliary node reports to the master node Or the way that the second auxiliary node reports the network information related to the first network function
  • the second auxiliary node is used to report the network information related to the first network function reported by the first auxiliary node to the master node
  • the second indication information is used Network function parameters when instructing the first auxiliary node to perform the first network function with other nodes, where other nodes refer to some or all of the M nodes except the first auxiliary node, assuming Q node.
  • Q nodes have communication interaction with the first assistant node.
  • the heartbeat may adopt a connection mode (that is, perform heartbeat interaction through a wired connection), or a connectionless mode (that is, perform heartbeat interaction through a wireless connection), such as periodic broadcasting.
  • the master node determines the first assistant node acting as the agent for the first network function
  • the Q nodes have communication interaction with the first assistant node, and before the master node determines the first assistant node, for any of the Q nodes
  • the node may or may not have communication interaction with the first auxiliary node.
  • the network information reporting method includes reporting to the master node within the first preset time period when the network information changes, reporting to the master node according to the heartbeat cycle (that is, periodic heartbeat synchronization), reporting to the master node when Wifi or Bluetooth is connected, It may also include other methods (for example, active query by the master node, subscription by the master node), which are not limited in this application.
  • the master node can obtain the network information of the first network, for example, obtain the real-time status of the overall network or the real-time status of some specified nodes in the network.
  • the auxiliary node at least acts as the proxy for the heartbeat function, and the primary node and the auxiliary node will be periodically synchronized according to the execution policy of the heartbeat function.
  • the heartbeat strategy here includes heartbeat period, heartbeat mode (for example, BLE or WiFi), etc., and the heartbeat strategy can be determined by the master node.
  • heartbeat strategy can be determined by the master node.
  • On the auxiliary node at least two sets of heartbeat strategies will be run. The first set of strategies is for the primary node, and the second set of strategies is for some or all nodes other than the primary node (for example, routing nodes, end nodes, etc.) of.
  • the auxiliary node needs to complete a heartbeat interaction with some or all nodes in the first network except the main node in each heartbeat cycle (assumed to be the first heartbeat cycle), so as to determine the first network Network information in .
  • the secondary node reports network information to the primary node every heartbeat period (assumed to be the second heartbeat period).
  • the second heartbeat period may be an integer multiple of the first heartbeat period, or a heartbeat period greater than or equal to or less than the first heartbeat period, so as to achieve the purpose of reducing power consumption of the master node.
  • the two sets of heartbeat strategies can be decided by the master node according to the actual situation of the network.
  • the master node after the master node delegates the heartbeat function, on the one hand, the master node only needs to perform heartbeat interactions with the auxiliary nodes, and does not need to perform heartbeat interactions with a large number of nodes. Therefore, the workload of the master node can be greatly reduced. power consumption. On the other hand, if the second heartbeat period is longer than the first heartbeat period, the frequency of interaction between the master node and the assistant node is reduced, which can further reduce the power consumption of the master node.
  • the primary node actively queries the information in the secondary node, and the secondary node provides feedback.
  • the query action can be initiated by the primary node at any time, and the secondary node needs to quickly feed back the information queried by the primary node (for example, current node information) in real time.
  • the primary node subscribes to the network information in the secondary node. For example, sometimes the main node pays more attention to the node information of some nodes in the first network.
  • the mobile phone ie, the main node
  • the mobile phone may pay attention to the real-time network status of the tablet. Monitor the network status of the tablet. If the network status of the tablet changes, you can follow the strategy issued by the mobile phone to wake up the mobile phone in real time or according to the heartbeat cycle to synchronize the network status of the tablet. At this time, the mobile phone can know the real-time network status of the surrounding nodes without being frequently woken up, so as to reduce the power consumption of the mobile phone and maintain the consistency of the network status of the nodes in the first network.
  • the master node can subscribe to the online and offline status of a certain type of equipment in the network topology information, so as to obtain the status of nodes joining and leaving the network in real time.
  • the subscription function can be implemented by the primary node by configuring or updating the attributes of the service information to the secondary node.
  • the network information reporting methods corresponding to different network information may be the same or different, which is not limited in this application.
  • the network information related to the first network function includes node information, node status information, node service information, and the like.
  • the network information reporting method corresponding to the node information can be to report the master node within the first preset time period when there is a change
  • the network information reporting method corresponding to the node status information can be to report the master node according to the heartbeat cycle
  • the service information of the node The corresponding network information reporting method may be to report to the master node when Wifi or Bluetooth connection.
  • auxiliary nodes can be represented by different auxiliary nodes.
  • first auxiliary node proxies a first network function
  • other network functions may be proxied by other auxiliary nodes, eg by a second auxiliary node.
  • the first auxiliary node reports network information related to the first network function to the second auxiliary node
  • the second auxiliary node may be a node that acts as a proxy for the network topology management function
  • the second auxiliary node can report the network information related to the first network function to the primary node through the auxiliary node proxying the heartbeat function.
  • the auxiliary node acts as a proxy for network topology management and heartbeat functions at the same time.
  • the second auxiliary node can directly report network information related to the first network function to the primary node. If the first auxiliary node at least acts as a proxy for network access management and heartbeat functions, then Secondary node does not exist.
  • the first network function is the network topology management function
  • the second auxiliary node can be a node that acts as a proxy for the heartbeat function.
  • the second auxiliary node does not exist.
  • the first network function is a network device information management function
  • the first network function is a network topology management function
  • the second auxiliary node does not exist.
  • the network function parameter includes one or more of the following information: the name of the first network function, the identifier of the first network function, whether the first network function is proxied, the address of the node that proxies the first network function (ie The address of the first assistant node), the execution policy when the first network function is proxied, and the power consumption when the first network function is proxied.
  • the first auxiliary node is node 1
  • the first auxiliary node acts as an agent for the heartbeat function and the network device information management function
  • FIG. 9 an example of the first configuration information can be seen in FIG. 9 , which specifically includes the following information:
  • Node ID MAC address of node 1
  • Heartbeat cycle range 500 milliseconds (ms)
  • Heartbeat window time 100 milliseconds
  • service attribute 1 and service attribute 2 in FIG. 9 are network function parameters, and service attribute 3 is a network information reporting method.
  • the service attribute 1 is the execution strategy when the heartbeat function is proxied
  • the service attribute 2 is the information whether the heartbeat function is proxied by node 1.
  • the master node sends second configuration information to the first node, the second configuration information includes third indication information and/or fourth indication information, the third indication information is used to indicate that the first network function is proxied by the first auxiliary node, and the second The four indication information is used to indicate network function parameters when the first network function is executed between the first node and the first auxiliary node, and the first node is a node among the Q nodes.
  • the first node receives second configuration information from the master node.
  • the master node may send second configuration information to each of the Q nodes for configuring network function parameters when performing the first network function between the corresponding node and the first assistant node
  • the master node sends the second configuration information to the first node as an example for description, and the process of the master node sending the second configuration information to other nodes can refer to the first node, and will not be repeated here.
  • the master node sends the second configuration information to each of the Q nodes (that is, to node a and node b) as an example for drawing.
  • first configuration information and second configuration information are deployment information of the first network function.
  • network function parameters please refer to the above.
  • the address of the node that proxies the first network function determines whether it is the first auxiliary node, and determines the execution cycle of the first network function according to the execution cycle of the first network function when it is proxied (for example, if the first network function is a heartbeat function, it can be based on the cycle Determine the period for reporting network information, if you are the first auxiliary node, report to the master node, if you are not the first auxiliary node, report to the first auxiliary node).
  • the types of network function parameters in the network function parameters sent by the master node to the first auxiliary node and in the network function parameters sent to the first node may be the same or different.
  • the value of the same network function parameter sent by the master node to the first assistant node and sent to the first node may be the same or different, which is not limited in this application.
  • FIG. 10 an example of the second configuration information sent by the master node to the first node can be seen in FIG. 10 , which specifically includes the following information:
  • Node ID MAC address of node 1
  • Heartbeat cycle range 500 milliseconds (ms)
  • Heartbeat window time 100 milliseconds
  • the second configuration information also includes fifth indication information, the fifth indication information is used to indicate the network information reporting method of the first node, and the network information reporting method of the first node is that the first node reports to the first auxiliary node A mode of network information related to the first network function.
  • the fifth indication information is used to indicate the network information reporting method of the first node
  • the network information reporting method of the first node is that the first node reports to the first auxiliary node A mode of network information related to the first network function.
  • the first node may report the network information by using a certain network information reporting manner by default.
  • step 606 the execution sequence between step 606 and step 607 is not in any order.
  • the first auxiliary node executes the first network function according to the execution policy of the first network function, and/or, the first auxiliary node reports the network information according to the network information reporting mode of the first auxiliary node.
  • the first auxiliary node reports the network information related to the first network function to the master node according to the network information reporting method indicated by the first indication information.
  • the first assistant node executes the first network function with other nodes according to the network function parameters indicated by the second indication information.
  • the first auxiliary node When reporting network information, specifically, the first auxiliary node receives network information related to the first network function from Q nodes, and reports the network information related to the first auxiliary node to the main node or the second auxiliary node according to the network information reporting method of the first auxiliary node. - Network information related to network functions.
  • the first assistant node after receiving the first configuration information sent by the master node, the first assistant node can start acting as a proxy for the first network function.
  • the master node it is not necessary for the master node to uniformly manage the overall network as in the prior art (at this time, the master node needs to obtain the entire network information with a relatively high heartbeat cycle), and the assistant node interacts with other nodes to obtain Network information, while the master node only needs to obtain network information from the auxiliary node, so the power consumption of the master node can be reduced.
  • the first node determines the first assistant node according to the third indication information, and/or, the first node performs the first network function with the first assistant node according to the network function parameter indicated by the fourth indication information.
  • the first auxiliary node may maintain network information in a heartbeat manner. Taking the example shown in FIG. 10 , if the network information changes, the first node may use a heartbeat period of 500 ms to perform heartbeat with the first auxiliary node, thereby synchronizing the network information.
  • the first auxiliary node may also maintain network information through lease management. For example, the first node may communicate with the first auxiliary node during the lease to synchronize network information and/or network topology information.
  • each of the Q nodes can be configured according to the difference between the network function parameters indicated by the fourth indication information and the first auxiliary node. Execute the first network function between each node in FIG. 6 by taking the execution of the first network function between each of the Q nodes (that is, node a and node b) and the first auxiliary node as an example.
  • step 608 and step 609 are not in any order.
  • the primary node sends third configuration information to the first secondary node, and sends fourth configuration information to the first node.
  • the third configuration information is used to update the network function parameters when the first network function is executed between the first auxiliary node and Q nodes
  • the fourth configuration information is used to update the first network function parameters executed between the first auxiliary node and the first auxiliary nodes.
  • the network function parameter when the network function is used.
  • the first auxiliary node receives third configuration information from the master node, and the first node receives fourth configuration information from the master node.
  • the master node may send fourth configuration information to each of the Q nodes, for updating network function parameters when the first network function is executed between the corresponding node and the first assistant node.
  • FIG. 6 is drawn by taking the master node sending fourth configuration information to each of the Q nodes (that is, node a and node b) as an example.
  • the first assistant node and/or the first node may feed back an update status to the master node, where the update status is used to indicate whether the network function parameter is successfully updated.
  • the first assistant node performs the first network function with the first node according to the updated network function parameter. If each of the Q nodes has received the fourth configuration information, the first assistant node may perform the first network function with the Q nodes according to the updated network function parameters.
  • FIG. 6 is drawn by taking the master node executing the first network function with each of the Q nodes (ie, node a and node b) according to the updated network function parameters as an example.
  • the method further includes: the first secondary node determines that it will no longer act as a proxy for the first network function.
  • the method further includes: performing the first network function between the master node and other nodes in the first network; or, the master node re-assigns The first network function selects an auxiliary node, and the first network function is executed between the re-selected auxiliary node and Q nodes. At this time, the first network function is executed between the first node and the auxiliary nodes re-selected by the master node.
  • the master node controls the function of the first assistant node mainly by updating network function parameters when the first assistant node executes the first network function.
  • the primary node can first send a command to the first secondary node to ask the first secondary node to update the network function parameters (for example, heartbeat period) of the first network function it proxies. After the first secondary node performs the update operation, it will reply to the primary node The update status of the network function parameter of the first network function of the node, such as success or failure. If the network function parameters of the first network function are successfully updated, this update operation is completed.
  • the primary node will implement the failure protection strategy based on the update failure information of the first secondary node, including update retry, or forcibly withdraw the proxy capability of the first secondary node, and at the same time, relevant information (for example, the first secondary node will no longer execute The information of the first network function) is synchronized to other common nodes in the network (such as routing nodes, end nodes, etc.).
  • other nodes in the network after receiving the synchronization message from the master node, stop performing the first network function with the first auxiliary node, and switch to execute the first network function with the master node or other auxiliary nodes designated by the master node. 1. Network function.
  • the information that the first auxiliary node no longer performs the first network function may be indicated to each node through the updated network function parameters of the first network function, or may be indicated to each node by the master node alone. Applications are not restricted. If it is the latter, the interaction between the first auxiliary node and the master node includes: the master node sends an indication message (denoted as the sixth indication information) to the first auxiliary node and the first node, and the sixth indication information is used to indicate that the first auxiliary node An auxiliary node stops acting for the first network function; the first auxiliary node and the first node reply feedback information to the main node, and the feedback information is used to notify whether to acquire information that the first auxiliary node stops acting for the first network function.
  • the interaction between the first auxiliary node and the master node includes: the master node sends an indication message (denoted as the sixth indication information) to the first auxiliary node and the first node, and the sixth indication information is used to indicate that the first auxiliary node An
  • the indication information is a mandatory command, that is to say, after the master node sends out the indication information, the master node considers that the first auxiliary node no longer acts as the agent of the first network function. It is an optional process for the first assistant node to reply the feedback information.
  • the first auxiliary node After the first auxiliary node receives the stop proxy service command sent by the master node (the above-mentioned sixth indication information or the updated network function parameter of the first network function indicating that the first auxiliary node no longer acts as an agent of the first network function), the first The secondary node stops proxying the first network function, and releases data during the proxy task execution. It should be added here that when the first auxiliary node stops acting as a proxy for the first network function, whether the data maintained by it and the data maintained by the master node are consistent and synchronized is determined by the parameters in the stop proxy service command issued by the master node.
  • auxiliary node determines whether these data are consistent and synchronized. For example, if the proxy network topology management function, in order to avoid new network managers (for example, new auxiliary nodes proxying the network topology management function) to collect network topology information and reduce the impact on the first network, it will require the first The auxiliary node performs consistent synchronization of network topology information.
  • new network managers for example, new auxiliary nodes proxying the network topology management function
  • the primary node acts as a proxy for the heartbeat function, and the primary node selects a new secondary node to act as the agent for the heartbeat function, it is not necessary to perform consistent synchronization at this time, and the primary node and the new secondary node can perform consistent synchronization.
  • step 610 and step 611 may not be executed.
  • the first auxiliary node may also leave the first network.
  • the master node can perform the first network function by itself, or The secondary node is re-elected to perform the first network function.
  • the master node leaves the first network.
  • step 612 the first network is released. It should be noted that the master node may not leave the network, therefore, step 612 may not be executed. It should be noted that step 612 may be performed after any of the above steps, depending on the behavior of the master node.
  • the first auxiliary node can communicate with the master node about the maximum offline duration of the master node, such as 1 day, or 1 week.
  • the first auxiliary node will think that the primary node of the first network has left the first network, and the first network will be released.
  • the first auxiliary node can negotiate with other nodes that have established connections to re-select the primary node, and the primary node can re-select the secondary node.
  • the maximum offline duration may be configured by the primary node to the first secondary node in the first configuration information. If there are multiple auxiliary nodes, the maximum offline duration configured by the master node for different auxiliary nodes can be the same or different, which is not limited in this application. In one case, when the master node does not complete any interaction with the slave node within the maximum offline duration corresponding to the slave node, it is considered that the master node has left the first network. In another case, when the master node does not complete any interaction with multiple auxiliary nodes within the maximum offline duration corresponding to multiple auxiliary nodes (which may be some or all of the auxiliary nodes), it is considered that the main node has left the first network.
  • each auxiliary node will continue to perform the network function of its own agent during the master node's departure. Do it later. That is to say, the method provided by this application can meet the mobility requirements of the master node in the distributed network. Due to the introduction of the auxiliary node, the master node in the network can leave the network for a period of time without affecting the network operation, that is, without It will affect the steady state of the network too much (that is, the steady state).
  • the steady state refers to the stable state in which the data to be transmitted generated by one or more sending nodes in the network is transmitted through the medium in the network, reaches other one or more receiving nodes, and is received and processed.
  • the network is in a steady state. It should be noted that a network will have multiple steady states, but as long as a node leaves or enters the network, the current steady state will be destroyed, requiring the network to adaptively find and match the next steady state.
  • this application can choose a relatively stable node in the network when selecting an auxiliary node.
  • This node can monitor the steady state of the network, so that when other nodes enter or leave the network
  • the auxiliary node can optimize the network status more specifically and provide better network delay and bandwidth guarantee.
  • the process shown in FIG. 6 briefly introduces the process of determining the auxiliary node by the master node and decentralizing the network function.
  • the method provided by this application realizes the semi-centralized management of the master node by handing over (or decentralizing) some of the network functions of the master node to the auxiliary nodes in a distributed network, thereby reducing the power consumption of the master node and improving Network timeliness and reliability.
  • the network function of the master node is split, and the master node can designate other nodes to act as network functions according to the capabilities of other nodes in the network, and transfer one or more network functions that need to be processed by the master node to other nodes for execution.
  • the network functions limited by the capabilities of the master node equipment can be transferred to other nodes in the network that can perform more optimized network functions. For example, transferring the network function (for example, heartbeat function) of the master node that is sensitive to power consumption to a node that is not sensitive to power consumption (for example, a large screen) can realize the perception of the master node with lower power consumption.
  • the heartbeat function further, differentiated communication methods between the primary node and the secondary node can also be combined (for example, the heartbeat period between the primary node and the secondary node is greater than the heartbeat period between the secondary node and other nodes), thereby reducing the number of primary nodes. power consumption.
  • bandwidth-sensitive network functions can be transferred to high-bandwidth nodes (such as routers, large screens, PCs, etc.) in the distributed network, thereby improving network transmission rate and reliability. It should be noted that if there is no suitable node in the network to act as a proxy for the network function, the master node still needs to perform the network function by itself.
  • start, change and stop of the network function of the agent of the secondary node can only be decided by the primary node. Secondary nodes do not have the ability to ask non-primary nodes to switch to other nodes.
  • the first assistant node searches for a distributed network node (that is, a master node).
  • the first auxiliary node can be initialized, so as to enable the network search function to perform network search.
  • the first assistant node joins the first network by binding and authenticating with the searched master node.
  • the first auxiliary node reports information about supported network functions to the master node, and acquires information about the master node.
  • the information of the primary node can be information such as the identity of the primary node, the connection mode supported by the primary node, etc.
  • the first secondary node can communicate using the connection mode supported by both The identity of the node determines whether the received message is sent by the master node.
  • the first auxiliary node receives first configuration information of the master node.
  • the first assistant node determines that it acts as a proxy for the first network function according to the first configuration information, executes the first network function according to the execution policy of the first network function, and reports network information according to the network information reporting method of the first assistant node.
  • the first auxiliary node receives third configuration information from the master node, where the third configuration information is used to update network function parameters when the first auxiliary node executes the first network function.
  • the first assistant node executes the first network function according to the updated network function parameter.
  • the first auxiliary node leaves the first network.
  • step 1108 may not be performed.
  • the first assistant node acts as a proxy for the network access management function
  • the first assistant node can actively broadcast search , the active broadcast search is mainly used to scan and discover other unnetworked nodes.
  • the new node can scan the active broadcast search of the first auxiliary node to obtain the information of the first auxiliary node and establish a connection with the first auxiliary node.
  • the information that the new node joins (for example, the node’s identity) will be kept on the first auxiliary node first, and then fed back to the main node according to the heartbeat strategy of the main node, or, if the main node makes an active query, the first auxiliary node can quickly return Information about new node joining.
  • the network access of the new node and the subsequent information processing flow can be seen in Figure 12, including:
  • Node X searches for distributed network nodes.
  • the searched distributed network node may be the primary node, or may be the first auxiliary node. If the searched distributed network node is the first auxiliary node, the first auxiliary node may be responsible for authentication, or for binding and authentication. In FIG. 12, description is made by taking node X searching for the first assistant node as an example.
  • the first network will push the node that performs the network access management function to node X, and node X determines the node that performs network access based on this, but node X will not distinguish between nodes that perform the network access management function. Whether the node is primary or first secondary.
  • Node X joins the first network through the searched distributed network nodes.
  • node X joins the first network through authentication; if the first auxiliary node is responsible for binding and authentication, node X joins the first network through binding and authentication.
  • the first auxiliary node sends the information of the first auxiliary node and the information of the master node to node X.
  • node X receives an instruction with contradictory functions sent by the master node and the first auxiliary node at the same time, it will execute according to the instruction of the master node.
  • Node X sends the information that node X joins (for example, the identity of node X, the connection mode of node X, etc.) to the first assistant node.
  • the first secondary node performs heartbeat communication with the primary node.
  • the function of the heartbeat communication is to determine whether the devices communicating with each other are online.
  • the first auxiliary node sends the information that node X joins to the main node.
  • step 1207 may not be performed.
  • each node above can be seen in FIG. 13 , and the included modules may be different for different nodes, which is not limited in this application.
  • the function of each module in Fig. 13 is as follows.
  • the device management module is used to manage the information of each node in the network that has been established (for example, the first network above), and is also used to process the binding and authentication of network-connected nodes and maintain node information in the overall network.
  • the network state management module is responsible for the synchronization and maintenance of the state information of each node in the network.
  • the active heartbeat scheme can be combined with the lease scheme to maintain the state information of each node.
  • the configuration management module is used to manage various configuration items and policy items of the network.
  • the routing management module is responsible for the construction and maintenance of information such as routing forwarding tables and routing tables.
  • routing is divided into heterogeneous routing management according to the difference in forwarding type or routing data type (for example, 3 devices A, B, and C, A and B are connected through Bluetooth, B and C are connected through WiFi, A is connected through Bluetooth link Communication data to B that supports Wifi, and then B forwards it to other WiFi access devices C) and isomorphic routing management (for example, 3 devices A, B, and C are all connected through WiFi, and A can pass B The WiFI forwards and transmits the data to C).
  • forwarding type or routing data type for example, 3 devices A, B, and C, A and B are connected through Bluetooth, B and C are connected through WiFi, A is connected through Bluetooth link Communication data to B that supports Wifi, and then B forwards it to other WiFi access devices C
  • isomorphic routing management for example, 3 devices A, B, and C are all connected through WiFi, and A can pass B The WiFI forwards and transmits the data to
  • the routing selection module is responsible for selecting the best network path for calculation by calculating the network path and time delay in the network.
  • the device address management module is responsible for the allocation and management of network device addresses.
  • the routing engine module based on the abstract management of various low-level communication technologies, adopts the event state mechanism to manage the low-level specific implementation of physical communication media.
  • the lowest layer Bluetooth communication, basic WiFi communication, WiFi P2P communication, virtual wireless access point (WiFi SoftAP) communication, USB communication, etc. are packaged for various specific communication technology protocols.
  • On the control plane it will interact with the control protocol of the specific protocol , such as Bluetooth's generic access profile (GAP) protocol, WiFi's 802.11MAC protocol, and at the data level, it will also interact with specific protocol standards to achieve data interconnection, such as classic Bluetooth (that is, Bluetooth BR)
  • GAP generic access profile
  • WiFi's 802.11MAC protocol WiFi's 802.11MAC protocol
  • specific protocol standards to achieve data interconnection such as classic Bluetooth (that is, Bluetooth BR)
  • the radio frequency communication protocol radio frequency communication, RFCOMM
  • BLE attribute protocol Attribute Protocol, ATT
  • Generic attribute profile geneeric attribute profile, GATT
  • differentiated deployments will be made on the primary node and secondary nodes. Specifically, the ability of the overall framework will be fully deployed on the master node, but differentiated deployment will be deployed on the auxiliary node, so that the auxiliary node has the ability to manage network information, but such capabilities can only be implemented according to the strategy required by the master node Execution, such as the heartbeat strategy, needs to be aligned with the clock of the master node.
  • the master node can know the wake-up cycle of the overall network managed by the auxiliary node, but the master node can confirm that it can tick according to the clock, according to its own energy consumption strategy ( For example, two clock cycles, or a dynamic clock cycle) are used to interact with the auxiliary node to obtain real-time information maintained by the auxiliary node.
  • the master node can confirm that it can tick according to the clock, according to its own energy consumption strategy ( For example, two clock cycles, or a dynamic clock cycle) are used to interact with the auxiliary node to obtain real-time information maintained by the auxiliary node.
  • the physical devices involved in this application include but are not limited to WiFi, Bluetooth, USB, network card, central processing unit (central processing unit, CPU) in the node.
  • each network element for example, the main node, the auxiliary node and the first node, includes at least one of corresponding hardware structures and software modules for performing each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • the embodiment of the present application can divide the functional units of the main node, the auxiliary node and the first node according to the above method example, for example, each functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
  • FIG. 14 shows a possible structural diagram of the network management device (referred to as the network management device 140 ) involved in the above-mentioned embodiment, and the network management device 140 includes a processing unit 1401 and a communication unit 1402 .
  • a storage unit 1403 is also included.
  • the network management device 140 may be used to illustrate the structures of the primary node, the secondary node, and the first node in the foregoing embodiments.
  • the processing unit 1401 is used to control and manage the actions of the master node.
  • the processing unit 1401 is used to execute the 601-607, 610, and 612, and/or actions performed by the master node in other processes described in the embodiments of this application.
  • the processing unit 1401 may communicate with other network entities through the communication unit 1402, for example, communicate with the first assistant node in FIG. 6 .
  • the storage unit 1403 is used to store program codes and data of the master node.
  • the processing unit 1401 is used to control and manage the actions of the first auxiliary node, for example, the processing unit 1401 is used to execute Actions performed by the first assistant node in 603, 604, 606, 608-611 in FIG. 6, FIG. 11, FIG. 12, and/or other processes described in the embodiments of this application.
  • the processing unit 1401 may communicate with other network entities through the communication unit 1402, for example, communicate with the master node in FIG. 6 .
  • the storage unit 1403 is used for storing program codes and data of the first assistant node.
  • the processing unit 1401 is used to control and manage the actions of the first node.
  • the processing unit 1401 is used to execute the 601, 602, 604, 607, 609-611 in (the first node at this time may be node a or node b), and/or executed by the first node in other processes described in the embodiments of this application action.
  • the processing unit 1401 may communicate with other network entities through the communication unit 1402, for example, communicate with the first assistant node in FIG. 6 .
  • the storage unit 1403 is used for storing program codes and data of the first node.
  • the structural schematic diagram shown in FIG. 14 can also be used to illustrate the structure of other nodes involved in the above-mentioned embodiments (for example, node X, the second auxiliary node).
  • the processing unit 1401 is used to perform actions on the other nodes
  • the processing unit 1401 is configured to perform the actions performed by the other nodes described in the embodiment of this application.
  • the processing unit 1401 can communicate with other network entities through the communication unit 1402 .
  • the storage unit 1403 is used for program codes and data of the other nodes.
  • the network management apparatus 140 may be a device or a chip or a chip system.
  • the processing unit 1401 may be a processor; the communication unit 1402 may be a communication interface, a transceiver, or an input interface and/or an output interface.
  • the transceiver may be a transceiver circuit.
  • the input interface may be an input circuit, and the output interface may be an output circuit.
  • the communication unit 1402 may be a communication interface, an input interface and/or an output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit on the chip or the chip system.
  • the processing unit 1401 may be a processor, a processing circuit, a logic circuit, or the like.
  • the integrated units in FIG. 14 are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the embodiment 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, and the computer software product is stored in a storage
  • several instructions are included to make a computer device (which may be a personal computer, server, or network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk, etc., which can store program codes. medium.
  • the embodiment of the present application also provides a schematic diagram of a hardware structure of a network management device.
  • the network management device includes a processor 1501 and, optionally, a memory 1502 connected to the processor 1501 .
  • the processor 1501 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, a specific application integrated circuit (application-specific integrated circuit, ASIC), or one or more devices used to control the execution of the program program of this application. integrated circuit.
  • the processor 1501 may also include multiple CPUs, and the processor 1501 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
  • a processor herein may refer to one or more devices, circuits, or processing cores for processing data such as computer program instructions.
  • Memory 1502 can be ROM or other types of static storage devices that can store static information and instructions, RAM or other types of dynamic storage devices that can store information and instructions, and can also be electrically erasable programmable read-only memory (electrically erasable programmable read-only memory) read-only memory, EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk
  • EEPROM electrically erasable programmable read-only memory
  • CD-ROM compact disc read-only memory
  • optical disc storage including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.
  • magnetic disk The embodiment of the present application does not impose any limitation on storage media or other magnetic storage devices, or any other media that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer.
  • the memory 1502 may exist independently (in this case, the memory 1502 may be located outside the network management device or within the network management device), or may be integrated with the processor 1501 . Wherein, the memory 1502 may contain computer program codes.
  • the processor 1501 is configured to execute the computer program code stored in the memory 1502, so as to implement the method provided in the embodiment of the present application.
  • the network management device further includes a transceiver 1503 .
  • the processor 1501, the memory 1502 and the transceiver 1503 are connected through a bus.
  • the transceiver 1503 is used to communicate with other devices or a communication network.
  • the transceiver 1503 may include a transmitter and a receiver.
  • the device in the transceiver 1503 for implementing the receiving function may be regarded as a receiver, and the receiver is configured to perform the receiving step in the embodiment of the present application.
  • the device in the transceiver 1503 for implementing the sending function may be regarded as a transmitter, and the transmitter is used to perform the sending step in the embodiment of the present application.
  • the schematic structural diagram shown in FIG. 15 may be used to illustrate the structures of the primary node, the secondary node, and the first node involved in the foregoing embodiments.
  • the processor 1501 is used to control and manage the actions of the master node.
  • the processor 1501 is used to execute the 601-607, 610, and 612, and/or actions performed by the master node in other processes described in the embodiments of this application.
  • the processor 1501 may communicate with other network entities through the transceiver 1503, for example, communicate with the first auxiliary node in FIG. 6 .
  • the memory 1502 is used to store program codes and data of the master node.
  • the processor 1501 is used to control and manage the actions of the first auxiliary node, for example, the processor 1501 is used to execute Actions performed by the first assistant node in 603, 604, 606, 608-611 in FIG. 6, FIG. 11, FIG. 12, and/or other processes described in the embodiments of this application.
  • the processor 1501 may communicate with other network entities through the transceiver 1503, for example, communicate with the master node in FIG. 6 .
  • the memory 1502 is used to store program codes and data of the first assistant node.
  • the processor 1501 is used to control and manage the actions of the first node.
  • the processor 1501 is used to execute the 601, 602, 604, 607, 609-611 in (the first node at this time may be node a or node b), and/or executed by the first node in other processes described in the embodiments of this application action.
  • the processor 1501 may communicate with other network entities through the transceiver 1503, for example, communicate with the first auxiliary node in FIG. 6 .
  • the memory 1502 is used to store program codes and data of the first node.
  • the structural schematic diagram shown in FIG. 15 can also be used to illustrate the structure of other nodes involved in the above-mentioned embodiments (for example, node X, the second auxiliary node).
  • the processor 1501 is used to perform
  • For control and management for example, the processor 1501 is configured to perform actions performed by the other nodes described in the embodiments of the present application.
  • Processor 1501 may communicate with other network entities through transceiver 1503 .
  • Memory 1502 is used for program codes and data for the other nodes.
  • the processor 1501 includes a logic circuit, and an input interface and/or an output interface.
  • the output interface is used to perform the sending action in the corresponding method
  • the input interface is used to perform the receiving action in the corresponding method.
  • the schematic structural diagram shown in FIG. 16 may be used to illustrate the structures of the primary node, the secondary node, and the first node involved in the foregoing embodiments.
  • the processor 1501 is used to control and manage the actions of the master node.
  • the processor 1501 is used to execute the 601-607, 610, and 612, and/or actions performed by the master node in other processes described in the embodiments of this application.
  • the processor 1501 may communicate with other network entities through an input interface and/or an output interface, for example, communicate with the first auxiliary node in FIG. 6 .
  • the memory 1502 is used to store program codes and data of the master node.
  • the processor 1501 is used to control and manage the actions of the first auxiliary node, for example, the processor 1501 is used to execute Actions performed by the first assistant node in 603, 604, 606, 608-611 in FIG. 6, FIG. 11, FIG. 12, and/or other processes described in the embodiments of this application.
  • the processor 1501 may communicate with other network entities through an input interface and/or an output interface, for example, communicate with the master node in FIG. 6 .
  • the memory 1502 is used to store program codes and data of the first assistant node.
  • the processor 1501 is used to control and manage the actions of the first node.
  • the processor 1501 is used to execute the 601, 602, 604, 607, 609-611 in (the first node at this time may be node a or node b), and/or executed by the first node in other processes described in the embodiments of this application action.
  • the processor 1501 may communicate with other network entities through an input interface and/or an output interface, for example, communicate with the first auxiliary node in FIG. 6 .
  • the memory 1502 is used to store program codes and data of the first node.
  • the schematic structural diagram shown in FIG. 16 can also be used to illustrate the structure of other nodes (for example, node X, the second auxiliary node) involved in the above-mentioned embodiment.
  • the processor 1501 is used to perform actions on the other nodes
  • the processor 1501 is configured to perform actions performed by the other nodes described in the embodiments of the present application.
  • Processor 1501 may communicate with other network entities through input interfaces and/or output interfaces.
  • Memory 1502 is used for program codes and data for the other nodes.
  • each step in the method provided by this embodiment may be implemented by an integrated logic circuit of hardware in a processor or an instruction in the form of software.
  • the steps of the methods disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
  • An embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute any one of the above methods.
  • the embodiment of the present application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute any one of the above methods.
  • the embodiment of the present application also provides a communication system, including: the above-mentioned main node, the above-mentioned auxiliary node, and one or more other nodes.
  • the embodiment of the present application also provides a chip, including: a processor and an interface, the processor is coupled to the memory through the interface, and when the processor executes the computer program or instructions in the memory, any method provided in the above embodiments is executed implement.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • a software program When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • a computer can be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g.
  • a computer-readable storage medium may be any available medium that can be accessed by a computer, or may contain one or more data storage devices such as servers and data centers that can be integrated with the medium.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Provided in the present application are a network management method and apparatus, relating to the technical field of communication. In the method, on the basis of information of the network functions supported by at least one node and the information of a first network function of a master node, the master node determines a first auxiliary node amongst the at least one nodes, and sends first configuration information to the first auxiliary node, the first configuration information being used for configuring the network information reporting mode of the first auxiliary node and the execution policy of the first network function. The first network function is a portion of the network functions of the master node, and the first auxiliary node is used for substituting for the master node to execute the first network function. In the present method, a portion of the network functions of the master node are handed over to the auxiliary node for execution to realise master node semi-centralised management, thereby reducing the power consumption of the master node, and improving the timeliness and reliability of the network.

Description

网络管理方法及装置Network management method and device
本申请要求于2021年06月30日提交国家知识产权局、申请号为202110736813.7、申请名称为“网络管理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110736813.7 and the application name "Network Management Method and Device" submitted to the State Intellectual Property Office on June 30, 2021, the entire contents of which are incorporated in this application by reference.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种网络管理方法及装置。The present application relates to the field of communication technologies, and in particular to a network management method and device.
背景技术Background technique
在传统网络(即由网络设备组成的网络)中,一般分为集中式和分布式两种组网方式。集中式组网,需要把网络各节点资源、流量、数据等信息进行集中管理。分布式组网,会在网络各节点上独立管理,通过彼此协商来实现资源、流量、数据等信息的交互,进而达到去中心化的目的,避免增加主节点(也可以称为中心节点)的功耗,提高可靠性。In a traditional network (that is, a network composed of network devices), it is generally divided into two networking modes: centralized and distributed. Centralized networking requires centralized management of network node resources, traffic, data and other information. Distributed networking, which will be independently managed on each node of the network, through mutual negotiation to realize the interaction of resources, traffic, data and other information, so as to achieve the purpose of decentralization and avoid increasing the number of master nodes (also called central nodes) power consumption and improve reliability.
近些年来,随着移动互联网、物联网及人工智能的快速发展,移动式终端设备越来越多,与此同时,如何将这些功能性能迥异,连接手段多样的众多移动式终端设备更好地连接到一起,构成围绕用户服务为核心的移动网络,成为当前比较迫切的需求。相对于传统网络,移动网络更偏向于面向移动式终端设备进行组网,而不是面向网络设备组网,这需要针对各移动式终端设备的移动性、稳定性、能耗等特性做专门的设计。In recent years, with the rapid development of mobile Internet, Internet of Things and artificial intelligence, there are more and more mobile terminal devices. At the same time, how to better integrate these mobile terminal devices with different functional performance and various connection means Connecting together to form a mobile network centered around user services has become an urgent need at present. Compared with traditional networks, mobile networks are more inclined to network for mobile terminal devices than for network devices. This requires special design for the mobility, stability, and energy consumption of each mobile terminal device. .
目前,对于终端设备的组网,常见的有以下两种形式:Currently, there are two common forms of networking for terminal devices:
形式1、集中式组网,即采用主节点或者类似主节点的形式,来统一管理终端设备。例如,无线保真(wireless fidelity,WiFi)接入点(access point,AP)组网、蓝牙组网等都是集中式组网。集中式组网对主节点的能力和功耗要求都比较高,只有类似路由器、大屏等设备满足要求,而像手机、平板、音箱、车机等移动式终端设备都很难满足。Form 1. Centralized networking, that is, a master node or a form similar to a master node is used to manage terminal devices in a unified manner. For example, wireless fidelity (wireless fidelity, WiFi) access point (access point, AP) networking, Bluetooth networking, etc. are all centralized networking. Centralized networking has relatively high requirements for the capability and power consumption of the master node. Only devices such as routers and large screens can meet the requirements, while mobile terminal devices such as mobile phones, tablets, speakers, and car machines are difficult to meet.
形式2、分布式组网,例如,分布式无线网格网络(Mesh)组网(例如,蓝牙低能耗(bluetooth low energy,BLE)Mesh、紫蜂(Zigbee)Mesh、WiFi Mesh等),这种组网方式通过服务发布、订阅的形式彼此交互,可以实现无中心化的终端设备组网。这种组网方式具有固定的心跳机制,因此,都是采用固定的常供电设备或者低功耗设备,而对于移动式终端设备而言,经常需要灭屏休息,此时固定的心跳机制会导致移动式终端设备的功耗较高。Form 2, distributed networking, for example, distributed wireless mesh network (Mesh) networking (for example, Bluetooth low energy (bluetooth low energy, BLE) Mesh, Zigbee (Zigbee) Mesh, WiFi Mesh, etc.), this The networking mode interacts with each other in the form of service publishing and subscription, which can realize decentralized terminal device networking. This networking method has a fixed heartbeat mechanism. Therefore, fixed constant power supply devices or low-power devices are used. For mobile terminal devices, it is often necessary to turn off the screen for rest. At this time, the fixed heartbeat mechanism will cause The power consumption of mobile terminal equipment is relatively high.
由此可知,受限于功耗要求,目前的终端设备的组网方式都无法应用到移动式终端设备上。It can be seen that, limited by power consumption requirements, none of the current networking methods of terminal devices can be applied to mobile terminal devices.
发明内容Contents of the invention
本申请涉及一种网络管理方法及装置,用于使得移动网络中的移动式终端设备的功耗可以满足移动式终端设备的需求。The present application relates to a network management method and device, which are used to make the power consumption of mobile terminal equipment in a mobile network meet the requirements of the mobile terminal equipment.
第一方面,提供了一种网络管理方法,包括:主节点根据至少一个节点支持的网 络功能的信息和主节点的第一网络功能的信息确定至少一个节点中的第一辅助节点,向第一辅助节点发送第一配置信息,第一配置信息用于配置第一辅助节点的网络信息上报方式和第一网络功能的执行策略。其中,第一网络功能为主节点的部分网络功能,第一辅助节点用于替代主节点执行第一网络功能。第一方面提供的方法,在分布式网络中,通过将主节点的部分网络功能交由(或者说下放)辅助节点执行,实现了主节点半集中式管理,从而可以降低主节点的功耗,提高网络时效性、可靠性。According to the first aspect, a network management method is provided, including: the master node determines the first auxiliary node among the at least one node according to the information of the network function supported by at least one node and the information of the first network function of the master node, and sends the first auxiliary node to the first The assistant node sends first configuration information, where the first configuration information is used to configure a network information reporting method of the first assistant node and an execution policy of the first network function. Wherein, the first network function is part of the network functions of the master node, and the first assistant node is used to replace the master node to perform the first network function. In the method provided by the first aspect, in a distributed network, by handing over (or decentralizing) some of the network functions of the master node to the auxiliary node, the semi-centralized management of the master node is realized, thereby reducing the power consumption of the master node. Improve network timeliness and reliability.
在一种可能的实现方式中,第一配置信息包括第一指示信息和第二指示信息,第一指示信息用于指示第一辅助节点的网络信息上报方式,网络信息上报方式为第一辅助节点向主节点或第二辅助节点上报与第一网络功能相关的网络信息的方式,第二辅助节点用于将第一辅助节点上报的与第一网络功能相关的网络信息上报给主节点,第二指示信息用于指示第一辅助节点与其他节点之间执行第一网络功能时的网络功能参数,其他节点是指至少一个节点中的除第一辅助节点之外的部分或全部节点。该种可能的实现方式,通过为第一辅助节点配置网络信息上报方式和执行第一网络功能时的网络功能参数,可以使得第一辅助节点实现与主节点和其他节点的交互,从而实现第一网络功能的代理。In a possible implementation manner, the first configuration information includes first indication information and second indication information, the first indication information is used to indicate the network information reporting method of the first auxiliary node, and the network information reporting method is that the first auxiliary node The method of reporting the network information related to the first network function to the main node or the second auxiliary node, the second auxiliary node is used to report the network information related to the first network function reported by the first auxiliary node to the main node, and the second The indication information is used to indicate network function parameters when the first network function is performed between the first auxiliary node and other nodes, and the other nodes refer to some or all of the at least one node except the first auxiliary node. In this possible implementation, by configuring the network information reporting method for the first assistant node and the network function parameters when performing the first network function, the first assistant node can realize the interaction with the master node and other nodes, thereby realizing the first Proxy for network functions.
在一种可能的实现方式中,该方法还包括:主节点向第一节点发送第二配置信息,第二配置信息包括第三指示信息和第四指示信息,第三指示信息用于指示第一网络功能被第一辅助节点代理,第四指示信息用于指示第一节点与第一辅助节点之间执行第一网络功能时的网络功能参数,第一节点为其他节点中的节点。该种可能的实现方式,通过为第一节点指示第一辅助节点和执行第一网络功能时的网络功能参数,可以使得第一辅助节点实现与第一节点的交互,从而实现第一网络功能的代理。In a possible implementation manner, the method further includes: the master node sends second configuration information to the first node, the second configuration information includes third indication information and fourth indication information, and the third indication information is used to indicate the first The network function is represented by the first auxiliary node, and the fourth indication information is used to indicate network function parameters when the first network function is executed between the first node and the first auxiliary node, and the first node is a node among other nodes. In this possible implementation, by indicating the first auxiliary node and the network function parameters when performing the first network function for the first node, the first auxiliary node can realize the interaction with the first node, thereby realizing the first network function acting.
在一种可能的实现方式中,该方法还包括:主节点分别从至少一个节点接收至少一个节点支持的网络功能的信息。该种可能的实现方式,可以使得主节点获取其他节点的网络功能的信息。In a possible implementation manner, the method further includes: the master node respectively receives information about network functions supported by at least one node from at least one node. In this possible implementation manner, the master node can obtain information about network functions of other nodes.
在一种可能的实现方式中,一个节点支持的一个网络功能的信息包括以下信息中的一个或多个:该节点的标识、该节点支持的该网络功能的名称、该节点支持的该网络功能的标识、该节点支持的该网络功能的功耗、该节点支持的该网络功能的执行策略、该节点是否支持代理该网络功能、该节点是否支持主节点控制该网络功能的执行策略。In a possible implementation manner, the information about a network function supported by a node includes one or more of the following information: the identifier of the node, the name of the network function supported by the node, the network function supported by the node The identification of the network function supported by the node, the power consumption of the network function supported by the node, the execution strategy of the network function supported by the node, whether the node supports proxying the network function, and whether the node supports the execution strategy of the master node controlling the network function.
在一种可能的实现方式中,第一网络功能为网络拓扑管理功能、网络接入管理功能、网络设备信息管理功能或心跳功能。In a possible implementation manner, the first network function is a network topology management function, a network access management function, a network device information management function, or a heartbeat function.
在一种可能的实现方式中,该方法还包括:主节点向第一辅助节点发送第三配置信息,第三配置信息用于更新第一辅助节点与其他节点之间执行第一网络功能时的网络功能参数;和/或,主节点向第一节点发送第四配置信息,第四配置信息用于更新第一节点与第一辅助节点之间执行第一网络功能时的网络功能参数。该种可能的实现方式,可以实现对第一辅助节点的配置信息的更新,从而主节点可以控制第一辅助节点如何执行第一网络功能。In a possible implementation manner, the method further includes: the master node sends third configuration information to the first assistant node, and the third configuration information is used to update the first network function between the first assistant node and other nodes. Network function parameters; and/or, the master node sends fourth configuration information to the first node, and the fourth configuration information is used to update network function parameters when performing the first network function between the first node and the first assistant node. In this possible implementation manner, the configuration information of the first auxiliary node can be updated, so that the master node can control how the first auxiliary node performs the first network function.
在一种可能的实现方式中,若主节点确定不再通过第一辅助节点执行第一网络功能,该方法还包括:主节点与其他节点之间执行第一网络功能;或者,主节点重新为 第一网络功能选择辅助节点。该种可能的实现方式,在第一辅助节点不再代理第一网络功能的情况下,主节点或重新选择的辅助节点可以继续执行第一网络功能,从而保证第一网络功能的正常运行。In a possible implementation manner, if the master node determines not to perform the first network function through the first auxiliary node, the method further includes: performing the first network function between the master node and other nodes; The first network function selects a secondary node. In this possible implementation manner, when the first auxiliary node no longer acts as the proxy for the first network function, the master node or the re-selected auxiliary node can continue to execute the first network function, thereby ensuring the normal operation of the first network function.
在一种可能的实现方式中,主节点根据至少一个节点支持的网络功能的信息和主节点的第一网络功能的信息确定至少一个节点中的第一辅助节点,包括:主节点根据至少一个节点支持的网络功能的信息和第一网络功能的信息确定支持第一网络功能且满足以下条件中的一个或多个的节点为第一辅助节点:1)支持代替主节点执行第一网络功能;2)常供电;3)执行第一网络功能时的功耗小于或等于主节点执行第一网络功能时的功耗;4)支持主节点控制第一网络功能的执行策略;5)执行第一网络功能时的时延小于或等于主节点执行第一网络功能时的时延;6)执行第一网络功能时的可靠性高于或等于主节点执行第一网络功能时的可靠性。该种可能的实现方式,可以降低主节点的功耗,提高网络时效性、可靠性。In a possible implementation manner, the master node determines the first assistant node among the at least one node according to the information of the network function supported by at least one node and the information of the first network function of the master node, including: the master node according to at least one node The information of the supported network function and the information of the first network function determine that a node that supports the first network function and satisfies one or more of the following conditions is the first auxiliary node: 1) supporting the execution of the first network function instead of the main node; 2 ) Constant power supply; 3) The power consumption when executing the first network function is less than or equal to the power consumption when the master node executes the first network function; 4) Support the execution strategy of the master node to control the first network function; 5) Execute the first network function The time delay when performing the function is less than or equal to the time delay when the master node performs the first network function; 6) the reliability when performing the first network function is higher than or equal to the reliability when the master node performs the first network function. This possible implementation can reduce the power consumption of the master node and improve the timeliness and reliability of the network.
在一种可能的实现方式中,网络功能参数包括以下信息中的一个或多个:第一网络功能的名称、第一网络功能的标识、第一网络功能是否被代理、代理第一网络功能的节点的地址、第一网络功能被代理时的执行策略、第一网络功能被代理时的功耗。In a possible implementation manner, the network function parameter includes one or more of the following information: the name of the first network function, the identifier of the first network function, whether the first network function is proxied, The address of the node, the execution policy when the first network function is proxied, and the power consumption when the first network function is proxied.
第二方面,提供了一种网络管理方法,包括:第一辅助节点从主节点接收第一配置信息,第一配置信息用于配置第一辅助节点的网络信息上报方式和第一网络功能的执行策略,第一辅助节点根据第一网络功能的执行策略执行第一网络功能,根据第一辅助节点的网络信息上报方式进行网络信息的上报。其中,第一辅助节点用于替代主节点执行第一网络功能,第一辅助节点为除主节点之外的至少一个节点中的节点。第二方面提供的方法,在分布式网络中,通过将主节点的部分网络功能交由(或者说下放)辅助节点执行,实现了主节点半集中式管理,从而可以降低主节点的功耗,提高网络时效性、可靠性。In a second aspect, a network management method is provided, including: the first auxiliary node receives first configuration information from the master node, and the first configuration information is used to configure the network information reporting method of the first auxiliary node and the execution of the first network function Policy, the first assistant node executes the first network function according to the execution strategy of the first network function, and reports the network information according to the network information reporting method of the first assistant node. Wherein, the first auxiliary node is used to replace the main node to perform the first network function, and the first auxiliary node is a node in at least one node except the main node. In the method provided by the second aspect, in a distributed network, by handing over (or decentralizing) some of the network functions of the master node to the auxiliary node, the semi-centralized management of the master node is realized, thereby reducing the power consumption of the master node. Improve network timeliness and reliability.
在一种可能的实现方式中,第一配置信息包括第一指示信息和第二指示信息,第一指示信息用于指示第一辅助节点的网络信息上报方式,网络信息上报方式为第一辅助节点向主节点或第二辅助节点上报与第一网络功能相关的网络信息的方式,第二辅助节点用于将第一辅助节点上报的与第一网络功能相关的网络信息上报给主节点,第二指示信息用于指示第一辅助节点与其他节点之间执行第一网络功能时的网络功能参数,其他节点是指至少一个节点中的除第一辅助节点之外的部分或全部节点。该种可能的实现方式,通过为第一辅助节点配置网络信息上报方式和执行第一网络功能时的网络功能参数,可以使得第一辅助节点实现与主节点和其他节点的交互,从而实现第一网络功能的代理。In a possible implementation manner, the first configuration information includes first indication information and second indication information, the first indication information is used to indicate the network information reporting method of the first auxiliary node, and the network information reporting method is that the first auxiliary node The method of reporting the network information related to the first network function to the main node or the second auxiliary node, the second auxiliary node is used to report the network information related to the first network function reported by the first auxiliary node to the main node, and the second The indication information is used to indicate network function parameters when the first network function is performed between the first auxiliary node and other nodes, and the other nodes refer to some or all of the at least one node except the first auxiliary node. In this possible implementation, by configuring the network information reporting method for the first assistant node and the network function parameters when performing the first network function, the first assistant node can realize the interaction with the master node and other nodes, thereby realizing the first Proxy for network functions.
在一种可能的实现方式中,该方法还包括:第一辅助节点向主节点发送第一辅助节点支持的网络功能的信息。该种可能的实现方式,可以使得主节点获取其他节点的网络功能的信息。In a possible implementation manner, the method further includes: the first auxiliary node sends information about network functions supported by the first auxiliary node to the master node. In this possible implementation manner, the master node can obtain information about network functions of other nodes.
在一种可能的实现方式中,一个节点支持的一个网络功能的信息包括以下信息中的一个或多个:该节点的标识、该节点支持的该网络功能的名称、该节点支持的该网络功能的标识、该节点支持的该网络功能的功耗、该节点支持的该网络功能的执行策略、该节点是否支持代理该网络功能、该节点是否支持主节点控制该网络功能的执行 策略。In a possible implementation manner, the information about a network function supported by a node includes one or more of the following information: the identifier of the node, the name of the network function supported by the node, the network function supported by the node The identification of the network function supported by the node, the power consumption of the network function supported by the node, the execution strategy of the network function supported by the node, whether the node supports proxying the network function, and whether the node supports the execution strategy of the master node controlling the network function.
在一种可能的实现方式中,第一网络功能为网络拓扑管理功能、网络接入管理功能、网络设备信息管理功能或心跳功能。In a possible implementation manner, the first network function is a network topology management function, a network access management function, a network device information management function, or a heartbeat function.
在一种可能的实现方式中,该方法还包括:第一辅助节点从主节点接收第三配置信息,第三配置信息用于更新第一辅助节点与其他节点之间执行第一网络功能时的网络功能参数;第一辅助节点根据更新后的网络功能参数与其他节点之间执行第一网络功能。该种可能的实现方式,可以实现对第一辅助节点的配置信息的更新,从而主节点可以控制第一辅助节点如何执行第一网络功能。In a possible implementation manner, the method further includes: the first auxiliary node receives third configuration information from the main node, and the third configuration information is used to update the first network function between the first auxiliary node and other nodes. Network function parameters: the first auxiliary node executes the first network function with other nodes according to the updated network function parameters. In this possible implementation manner, the configuration information of the first auxiliary node can be updated, so that the master node can control how the first auxiliary node performs the first network function.
在一种可能的实现方式中,若更新后的第一辅助节点与其他节点之间执行第一网络功能时的网络功能参数表明第一辅助节点不再代理第一网络功能,该方法还包括:第一辅助节点确定不再代理第一网络功能。该种可能的实现方式,第一辅助节点可以根据网络功能参数的变化确定自身是否继续代理第一网络功能,主节点可以通过指示网络功能参数从而控制第一辅助节点是否继续代理第一网络功能。In a possible implementation manner, if the updated network function parameters between the first auxiliary node and other nodes when performing the first network function indicate that the first auxiliary node no longer acts as an agent for the first network function, the method further includes: The first assistant node determines not to proxy the first network function any more. In this possible implementation, the first auxiliary node can determine whether to continue acting as the first network function according to the change of the network function parameter, and the master node can control whether the first auxiliary node continues to act as the first network function by indicating the network function parameter.
在一种可能的实现方式中,至少一个节点中的支持第一网络功能且满足以下条件中的一个或多个的节点为第一辅助节点:1)支持代替主节点执行第一网络功能;2)常供电;3)执行第一网络功能时的功耗小于或等于主节点执行第一网络功能时的功耗;4)支持主节点控制第一网络功能的执行策略;5)执行第一网络功能时的时延小于或等于主节点执行第一网络功能时的时延;6)执行第一网络功能时的可靠性高于或等于主节点执行第一网络功能时的可靠性。该种可能的实现方式,可以降低主节点的功耗,提高网络时效性、可靠性。In a possible implementation, at least one of the nodes that supports the first network function and meets one or more of the following conditions is a first auxiliary node: 1) supports performing the first network function instead of the main node; 2 ) Constant power supply; 3) The power consumption when executing the first network function is less than or equal to the power consumption when the master node executes the first network function; 4) Support the execution strategy of the master node to control the first network function; 5) Execute the first network function The time delay when performing the function is less than or equal to the time delay when the master node performs the first network function; 6) the reliability when performing the first network function is higher than or equal to the reliability when the master node performs the first network function. This possible implementation can reduce the power consumption of the master node and improve the timeliness and reliability of the network.
在一种可能的实现方式中,网络功能参数包括以下信息中的一个或多个:第一网络功能的名称、第一网络功能的标识、第一网络功能是否被代理、代理第一网络功能的节点的地址、第一网络功能被代理时的执行策略、第一网络功能被代理时的功耗。In a possible implementation manner, the network function parameter includes one or more of the following information: the name of the first network function, the identifier of the first network function, whether the first network function is proxied, The address of the node, the execution policy when the first network function is proxied, and the power consumption when the first network function is proxied.
第三方面,提供了一种网络管理方法,包括:第一节点从主节点接收第二配置信息,第二配置信息包括第三指示信息和第四指示信息,第三指示信息用于指示第一网络功能被第一辅助节点代理,第四指示信息用于指示第一节点与第一辅助节点之间执行第一网络功能时的网络功能参数,第一节点根据第三指示信息确定第一辅助节点,根据第四指示信息指示的网络功能参数与第一辅助节点之间执行第一网络功能。其中,第一辅助节点用于替代主节点执行第一网络功能,第一节点为至少一个节点中的除第一辅助节点之外的一个节点,至少一个节点为除主节点之外的一个或多个节点。第三方面提供的方法,在分布式网络中,通过将主节点的部分网络功能交由(或者说下放)辅助节点执行,实现了主节点半集中式管理,从而可以降低主节点的功耗,提高网络时效性、可靠性,通过为第一节点指示第一辅助节点和执行第一网络功能时的网络功能参数,可以使得第一辅助节点实现与第一节点的交互,从而实现第一网络功能的代理。In a third aspect, a network management method is provided, including: the first node receives second configuration information from the master node, the second configuration information includes third indication information and fourth indication information, and the third indication information is used to indicate the first The network function is represented by the first auxiliary node, the fourth indication information is used to indicate the network function parameters when the first network function is executed between the first node and the first auxiliary node, and the first node determines the first auxiliary node according to the third indication information , performing the first network function with the first assistant node according to the network function parameter indicated by the fourth indication information. Wherein, the first auxiliary node is used to replace the main node to perform the first network function, the first node is a node other than the first auxiliary node in at least one node, and at least one node is one or more nodes other than the main node nodes. In the method provided by the third aspect, in a distributed network, by handing over (or decentralizing) some of the network functions of the master node to the auxiliary nodes, the semi-centralized management of the master node is realized, thereby reducing the power consumption of the master node. Improve the timeliness and reliability of the network. By indicating the first auxiliary node and the network function parameters when performing the first network function for the first node, the first auxiliary node can realize the interaction with the first node, thereby realizing the first network function agent.
在一种可能的实现方式中,该方法还包括:第一节点向主节点发送第一节点支持的网络功能的信息。该种可能的实现方式,可以使得主节点获取其他节点的网络功能的信息。In a possible implementation manner, the method further includes: the first node sends information about network functions supported by the first node to the master node. In this possible implementation manner, the master node can obtain information about network functions of other nodes.
在一种可能的实现方式中,一个节点支持的一个网络功能的信息包括以下信息中 的一个或多个:该节点的标识、该节点支持的该网络功能的名称、该节点支持的该网络功能的标识、该节点支持的该网络功能的功耗、该节点支持的该网络功能的执行策略、该节点是否支持代理该网络功能、该节点是否支持主节点控制该网络功能的执行策略。In a possible implementation manner, the information about a network function supported by a node includes one or more of the following information: the identifier of the node, the name of the network function supported by the node, the network function supported by the node The identification of the network function supported by the node, the power consumption of the network function supported by the node, the execution strategy of the network function supported by the node, whether the node supports proxying the network function, and whether the node supports the execution strategy of the master node controlling the network function.
在一种可能的实现方式中,第一网络功能为网络拓扑管理功能、网络接入管理功能、网络设备信息管理功能或心跳功能。In a possible implementation manner, the first network function is a network topology management function, a network access management function, a network device information management function, or a heartbeat function.
在一种可能的实现方式中,该方法还包括:第一节点从主节点接收第四配置信息,第四配置信息用于更新第一节点与第一辅助节点之间执行第一网络功能时的网络功能参数;第一节点根据更新后的网络功能参数与第一辅助节点之间执行第一网络功能。该种可能的实现方式,可以实现对第一节点的配置信息的更新,从而主节点可以控制第一节点如何执行第一网络功能。In a possible implementation manner, the method further includes: the first node receives fourth configuration information from the master node, and the fourth configuration information is used to update the first network function between the first node and the first assistant node. Network function parameters: the first node executes the first network function with the first assistant node according to the updated network function parameters. In this possible implementation manner, the configuration information of the first node can be updated, so that the master node can control how the first node executes the first network function.
在一种可能的实现方式中,若更新后的第一节点与第一辅助节点之间执行第一网络功能时的网络功能参数表明第一辅助节点不再代理第一网络功能,该方法还包括:第一节点与主节点之间执行第一网络功能;或者,第一节点与主节点重新确定的代理第一网络功能的辅助节点之间执行第一网络功能。该种可能的实现方式,在第一辅助节点不再代理第一网络功能的情况下,第一节点可以与主节点或重新选择的辅助节点之间继续执行第一网络功能,从而保证第一网络功能的正常运行。In a possible implementation manner, if the updated network function parameters between the first node and the first auxiliary node when performing the first network function indicate that the first auxiliary node no longer acts as an agent for the first network function, the method further includes : The first network function is executed between the first node and the master node; or, the first network function is executed between the first node and an auxiliary node re-determined by the master node as an agent of the first network function. In this possible implementation, when the first auxiliary node no longer acts as the proxy for the first network function, the first node can continue to perform the first network function with the master node or the reselected auxiliary node, thereby ensuring that the first network normal operation of the function.
在一种可能的实现方式中,至少一个节点中的支持第一网络功能且满足以下条件中的一个或多个的节点为第一辅助节点:1)支持代替主节点执行第一网络功能;2)常供电;3)执行第一网络功能时的功耗小于或等于主节点执行第一网络功能时的功耗;4)支持主节点控制第一网络功能的执行策略;5)执行第一网络功能时的时延小于或等于主节点执行第一网络功能时的时延;6)执行第一网络功能时的可靠性高于或等于主节点执行第一网络功能时的可靠性。该种可能的实现方式,可以降低主节点的功耗,提高网络时效性、可靠性。In a possible implementation, at least one of the nodes that supports the first network function and meets one or more of the following conditions is a first auxiliary node: 1) supports performing the first network function instead of the main node; 2 ) Constant power supply; 3) The power consumption when executing the first network function is less than or equal to the power consumption when the master node executes the first network function; 4) Support the execution strategy of the master node to control the first network function; 5) Execute the first network function The time delay when performing the function is less than or equal to the time delay when the master node performs the first network function; 6) the reliability when performing the first network function is higher than or equal to the reliability when the master node performs the first network function. This possible implementation can reduce the power consumption of the master node and improve the timeliness and reliability of the network.
在一种可能的实现方式中,网络功能参数包括以下信息中的一个或多个:第一网络功能的名称、第一网络功能的标识、第一网络功能是否被代理、代理第一网络功能的节点的地址、第一网络功能被代理时的执行策略、第一网络功能被代理时的功耗。In a possible implementation manner, the network function parameter includes one or more of the following information: the name of the first network function, the identifier of the first network function, whether the first network function is proxied, The address of the node, the execution policy when the first network function is proxied, and the power consumption when the first network function is proxied.
第四方面,提供了一种网络管理装置,包括:用于执行上述第一方面提供的任意一种方法的功能单元;其中,这些功能单元所执行的动作通过硬件实现或通过硬件执行相应的软件实现。该网络管理装置可以为上述主节点。In a fourth aspect, a network management device is provided, including: functional units for executing any one of the methods provided in the first aspect above; wherein, the actions performed by these functional units are realized by hardware or corresponding software is executed by hardware accomplish. The network management device may be the above-mentioned master node.
第五方面,提供了一种网络管理装置,包括:用于执行上述第二方面提供的任意一种方法的功能单元;其中,这些功能单元所执行的动作通过硬件实现或通过硬件执行相应的软件实现。该网络管理装置可以为上述第一辅助节点。A fifth aspect provides a network management device, including: a functional unit for executing any one of the methods provided in the second aspect above; wherein, the actions performed by these functional units are realized by hardware or corresponding software is executed by hardware accomplish. The network management device may be the above-mentioned first assistant node.
第六方面,提供了一种网络管理装置,包括:用于执行上述第三方面提供的任意一种方法的功能单元;其中,这些功能单元所执行的动作通过硬件实现或通过硬件执行相应的软件实现。该网络管理装置可以为上述第一节点。A sixth aspect provides a network management device, including: functional units for executing any one of the methods provided in the third aspect above; wherein, the actions performed by these functional units are implemented by hardware or corresponding software is executed by hardware accomplish. The network management device may be the above-mentioned first node.
第七方面,提供了一种网络管理装置,包括:处理器。处理器与存储器连接,存储器用于存储计算机执行指令,处理器执行存储器存储的计算机执行指令,从而实现第一方面至第三方面中任一方面提供的任意一种方法。示例性的,存储器和处理器可 以集成在一起,也可以为独立的器件。若为后者,存储器可以位于网络管理装置内,也可以位于网络管理装置外。该网络管理装置可以为上述主节点、第一辅助节点或第一节点。In a seventh aspect, a network management device is provided, including: a processor. The processor is connected to the memory, and the memory is used to store computer-executable instructions, and the processor executes the computer-executable instructions stored in the memory, so as to implement any method provided in any one of the first aspect to the third aspect. Exemplarily, the memory and the processor can be integrated together, or can be independent devices. If it is the latter, the memory can be located inside the network management device or outside the network management device. The network management device may be the above-mentioned master node, the first assistant node or the first node.
在一种可能的实现方式中,处理器包括逻辑电路,还包括输入接口和/或输出接口。示例性的,输出接口用于执行相应方法中的发送的动作,输入接口用于执行相应方法中的接收的动作。In a possible implementation manner, the processor includes a logic circuit, and further includes an input interface and/or an output interface. Exemplarily, the output interface is used to perform the sending action in the corresponding method, and the input interface is used to perform the receiving action in the corresponding method.
在一种可能的实现方式中,网络管理装置还包括通信接口和通信总线,处理器、存储器和通信接口通过通信总线连接。通信接口用于执行相应方法中的收发的动作。通信接口也可以称为收发器。可选的,通信接口包括发送器和接收器中的至少一种,该情况下,发送器用于执行相应方法中的发送的动作,接收器用于执行相应方法中的接收的动作。In a possible implementation manner, the network management device further includes a communication interface and a communication bus, and the processor, the memory, and the communication interface are connected through the communication bus. The communication interface is used to perform the actions of sending and receiving in the corresponding method. A communication interface may also be referred to as a transceiver. Optionally, the communication interface includes at least one of a transmitter and a receiver. In this case, the transmitter is used to perform the action of sending in the corresponding method, and the receiver is used to perform the action of receiving in the corresponding method.
在一种可能的实现方式中,网络管理装置以芯片的产品形态存在。In a possible implementation manner, the network management device exists in the product form of a chip.
第八方面,提供了一种芯片,包括:处理器和接口,处理器通过接口与存储器耦合,当处理器执行存储器中的计算机程序或指令时,使得第一方面至第三方面中的任意一个方面提供的任意一种方法被执行。In an eighth aspect, there is provided a chip, including: a processor and an interface, the processor is coupled to the memory through the interface, and when the processor executes the computer program or instructions in the memory, any one of the first to third aspects Any method provided by the aspect is executed.
第九方面,提供了一种通信系统,包括:上述主节点、上述第一辅助节点和上述第一节点。In a ninth aspect, a communication system is provided, including: the above-mentioned master node, the above-mentioned first auxiliary node, and the above-mentioned first node.
第十方面,提供了一种计算机可读存储介质,包括指令,当该指令在计算机上运行时,使得计算机执行第一方面至第三方面中任一方面提供的任意一种方法。In a tenth aspect, a computer-readable storage medium is provided, including instructions, which, when run on a computer, cause the computer to execute any one of the methods provided in any one of the first to third aspects.
第十一方面,提供了一种包含指令的计算机程序产品,当该指令在计算机上运行时,使得计算机执行第一方面至第三方面中任一方面提供的任意一种方法。In an eleventh aspect, a computer program product containing instructions is provided, and when the instructions are run on a computer, the computer is made to execute any one of the methods provided in any one of the first to third aspects.
第四方面至第十一方面中的任一种实现方式所带来的技术效果可参见第一方面至第三方面中对应实现方式所带来的技术效果,此处不再赘述。For the technical effects brought about by any one of the implementations from the fourth aspect to the eleventh aspect, refer to the technical effects brought about by the corresponding implementations in the first aspect to the third aspect, which will not be repeated here.
需要说明的是,在方案不矛盾的前提下,上述各个方面中的方案均可以结合。It should be noted that, on the premise that the solutions are not contradictory, the solutions in the above aspects can be combined.
附图说明Description of drawings
图1为本申请提供的一种网络拓扑的结构示意图;Fig. 1 is a schematic structural diagram of a network topology provided by the present application;
图2为本申请提供的另一种网络拓扑的结构示意图;FIG. 2 is a schematic structural diagram of another network topology provided by the present application;
图3为本申请提供的又一种网络拓扑的结构示意图;FIG. 3 is a schematic structural diagram of another network topology provided by the present application;
图4为本申请提供的各个辅助节点之间的通信示意图;FIG. 4 is a schematic diagram of communication between various auxiliary nodes provided by the present application;
图5为本申请提供的一种节点的分类示意图;FIG. 5 is a schematic diagram of a classification of nodes provided by the present application;
图6为本申请提供的一种网络管理方法的流程图;FIG. 6 is a flowchart of a network management method provided by the present application;
图7为本申请提供的一种网络功能的信息的示意图;FIG. 7 is a schematic diagram of information about a network function provided by the present application;
图8为本申请提供的一种心跳功能的信息的示意图;FIG. 8 is a schematic diagram of information of a heartbeat function provided by the present application;
图9为本申请提供的一种第一配置信息的示意图;FIG. 9 is a schematic diagram of a first configuration information provided by the present application;
图10为本申请提供的一种第二配置信息的示意图;FIG. 10 is a schematic diagram of a second configuration information provided by the present application;
图11为本申请提供的又一种网络管理方法的流程图;FIG. 11 is a flowchart of another network management method provided by the present application;
图12为本申请提供的再一种网络管理方法的流程图;FIG. 12 is a flowchart of another network management method provided by the present application;
图13为本申请提供的一种节点的组成示意图;FIG. 13 is a schematic diagram of the composition of a node provided by the present application;
图14为本申请提供的一种网络管理装置的组成示意图;FIG. 14 is a schematic diagram of the composition of a network management device provided by the present application;
图15为本申请提供的一种网络管理装置的硬件结构示意图;FIG. 15 is a schematic diagram of a hardware structure of a network management device provided by the present application;
图16为本申请提供的又一种网络管理装置的硬件结构示意图。FIG. 16 is a schematic diagram of a hardware structure of another network management device provided by the present application.
具体实施方式detailed description
在本申请的描述中,除非另有说明,“/”表示“或”的意思,例如,A/B可以表示A或B。本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。此外,“至少一个”是指一个或多个,“多个”是指两个或两个以上。“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In the description of the present application, unless otherwise specified, "/" means "or", for example, A/B may mean A or B. The "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone These three situations. In addition, "at least one" means one or more, and "plurality" means two or more. Words such as "first" and "second" do not limit the number and order of execution, and words such as "first" and "second" do not necessarily limit the difference.
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in this application, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design described herein as "exemplary" or "for example" is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
为了解决背景技术中提出的问题,本申请提供了一种网络管理方法,该方法通过在网络中指定辅助节点,并将主节点的部分或全部网络功能交由更适合执行该网络功能的辅助节点执行,从而降低主节点的功耗。辅助节点可以有一个,也可以有多个,本申请不作限制。一个辅助节点可以代替主节点执行一个网络功能,也可以代替主节点执行多个网络功能。辅助节点代替主节点执行某个网络功能也就是辅助节点代理了该网络功能。不同的辅助节点代理的网络功能可以相同也可以不同,本申请不作限制。In order to solve the problems raised in the background technology, this application provides a network management method, the method specifies an auxiliary node in the network, and transfers part or all of the network functions of the master node to an auxiliary node that is more suitable for performing the network function Execution, thereby reducing the power consumption of the master node. There can be one or more auxiliary nodes, which is not limited in this application. A secondary node can perform one network function instead of the primary node, and can also perform multiple network functions instead of the primary node. The secondary node performs a certain network function instead of the primary node, that is, the secondary node acts as a proxy for the network function. The network functions of different assistant node agents may be the same or different, which is not limited in this application.
为了使得本申请实施例更加的清楚,首先对本申请涉及到的部分概念作简单介绍。In order to make the embodiments of the present application more clear, some concepts involved in the present application are briefly introduced first.
1、网络拓扑1. Network topology
网络拓扑是指构成网络的节点间特定的排列方式,一般分为物理的、真实的、在线的结构,或逻辑的、虚拟的、程序设计上的结构。如果两个网络的连接结构相同,则认为它们的网络拓扑相同。Network topology refers to the specific arrangement of nodes that make up the network, and is generally divided into physical, real, and online structures, or logical, virtual, and programming structures. If two networks have the same connection structure, they are considered to have the same network topology.
本申请中的网络中的节点可以包括移动式终端设备。移动式终端设备可以是手机、平板、无线音箱、车机、移动站(mobile station,MS)、用户单元、无人机、物联网(internet of things,IoT)设备、无线局域网(wireless local area networks,WLAN)中的站点(station,ST)、蜂窝电话(cellular phone)、智能电话(smart phone)、无绳电话、无线数据卡、平板型电脑、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)设备、膝上型电脑(laptop computer)、机器类型通信(machine type communication,MTC)终端设备、无线调制解调器、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备(也可以称为穿戴式智能设备)、设备到设备通信(device-to-device,D2D)终端设备、车与外界(vehicle-to-everything,V2X)终端设备、机器到机器通信(machine-to-machine,M2M)终端设备、物联网(internet of things,IoT)终端设备、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的终端设备、无人驾驶(self driving)中的终端设备、远程医疗(remote medical)中的终端设备、智能电网(smart grid)中的终端设备、运输安全(transportation safety)中的终端设备、智慧城市(smart city)中的终端设备、智慧家庭(smart home)中的 终端设备等。终端设备还可以为下一代通信系统中的终端设备。本申请中的网络中还可以包括非移动式终端设备,例如,大屏(也可以称为TV设备)、有线音箱。The nodes in the network in this application may include mobile terminal equipment. Mobile terminal devices can be mobile phones, tablets, wireless speakers, vehicles, mobile stations (mobile station, MS), user units, drones, Internet of things (internet of things, IoT) devices, wireless local area networks (wireless local area networks) , WLAN) in the station (station, ST), cellular phone (cellular phone), smart phone (smart phone), cordless phone, wireless data card, tablet PC, session initiation protocol (session initiation protocol, SIP) phone, wireless Local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA) equipment, laptop computer (laptop computer), machine type communication (machine type communication, MTC) terminal equipment, wireless modem, with Handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices (also called wearable smart devices), device-to-device communication (device-to-device, D2D) terminals Equipment, vehicle-to-everything (V2X) terminal equipment, machine-to-machine communication (machine-to-machine, M2M) terminal equipment, Internet of things (IoT) terminal equipment, virtual reality (virtual reality) , VR) terminal equipment, augmented reality (augmented reality, AR) terminal equipment, terminal equipment in industrial control (industrial control), terminal equipment in self driving (self driving), terminal equipment in remote medical (remote medical) , terminal equipment in smart grid, terminal equipment in transportation safety, terminal equipment in smart city, terminal equipment in smart home, etc. The terminal device may also be a terminal device in the next generation communication system. The network in this application may also include non-mobile terminal devices, for example, large screens (also called TV devices), and wired speakers.
本申请中的终端设备还可以称为用户设备(user equipment,UE)、终端、接入终端、用户单元(subscriber unit)、用户站、远方站、远程终端、用户终端、无线通信设备、用户代理或用户装置等。The terminal equipment in this application may also be referred to as user equipment (user equipment, UE), terminal, access terminal, subscriber unit (subscriber unit), subscriber station, remote station, remote terminal, user terminal, wireless communication device, user agent or user equipment, etc.
本申请中的节点也可以称为网络节点、节点设备、网络设备、设备等。A node in this application may also be called a network node, a node device, a network device, a device, and the like.
网络拓扑的属性包括:Properties of a network topology include:
(1)网络拓扑的连接方式(或者说连接介质)。网络拓扑的连接方式是指网络拓扑中节点之间的连接方式,例如,BLE连接、WiFi连接、通用串行总线(universal serial bus,USB)连接等。需要说明的是,不同的节点之间,连接方式可以是相同的,也可以是不同的,因此,网络拓扑的连接方式可以包括多种。并且,在执行不同的业务时,两个节点之间的连接方式可以从一种连接方式切换到另外一种连接方式。示例性的,由于移动式终端设备常常包含多种通信能力,所以在不同场景下,根据功耗以及业务的需求,移动式终端设备可以通过不同的连接方式与不同的节点连接,例如,在家庭场景下,手机和大屏通过家庭中的路由器连接,此时网络拓扑的连接方式为WiFi无线局域网(wireless local area networks,WLAN),但是在手机与大屏进行投屏业务时,由于WiFi点对点(point to point,P2P)技术可以提供WiFi的独占链路,能够有效降低路由器接入多个节点时带宽降低的问题,所以在手机与大屏进行投屏业务时可以切换到WiFi P2P通信。其中,两个节点通过路由器连接是指两个节点都连接在路由器上,两个节点之间的逻辑数据通路由路由器中转。由于路由器可以连接多个节点,路由器的带宽由连接到路由器上的多个节点共享。而在WiFi P2P中,只有两个节点互联,因此,WiFi链路带宽是独享的(即WiFi独占链路)。(1) The connection method (or connection medium) of the network topology. The connection mode of the network topology refers to the connection mode between nodes in the network topology, for example, a BLE connection, a WiFi connection, a universal serial bus (universal serial bus, USB) connection, and the like. It should be noted that the connection modes between different nodes may be the same or different, therefore, the connection modes of the network topology may include multiple types. Moreover, when performing different services, the connection mode between two nodes can be switched from one connection mode to another. Exemplarily, since mobile terminal equipment often includes multiple communication capabilities, in different scenarios, according to power consumption and service requirements, mobile terminal equipment can be connected to different nodes through different connection methods, for example, in a home In the scenario, the mobile phone and the large screen are connected through a router in the home. At this time, the connection mode of the network topology is WiFi wireless local area networks (wireless local area networks, WLAN). point to point (P2P) technology can provide an exclusive WiFi link, which can effectively reduce the problem of bandwidth reduction when the router accesses multiple nodes, so it can switch to WiFi P2P communication when the mobile phone and the large screen are performing screen projection services. Wherein, two nodes are connected through a router means that both nodes are connected to the router, and the logical data path between the two nodes is transited by the router. Since a router can connect multiple nodes, the router's bandwidth is shared by multiple nodes connected to the router. In WiFi P2P, only two nodes are interconnected, therefore, the WiFi link bandwidth is exclusive (that is, the WiFi exclusive link).
(2)网络拓扑的交互方式。网络拓扑的交互方式是指网络拓扑中的节点之间的交互方式,例如,该方式可以为通过心跳方式或租期管理方式进行交互。需要说明的是,不同的节点之间,交互方式可以是相同的,也可以是不同的,因此,网络拓扑的交互方式可以包括多种。(2) The interactive mode of network topology. The interaction mode of the network topology refers to the interaction mode between nodes in the network topology, for example, the mode may be interaction through heartbeat mode or lease management mode. It should be noted that the interaction modes between different nodes may be the same or different, therefore, the interaction modes of the network topology may include multiple types.
(3)网络拓扑的结构。网络拓扑的结构是指网络拓扑中的节点的连接结构。参见图1,网络拓扑的结构主要包含星型、环型、树型、网型等。在本申请中,增加辅助节点之后的网络拓扑可参见图2(辅助节点有一个)和图3(辅助节点有多个)。图1、图2和图3仅仅为对网络拓扑的示意,实际的网络拓扑中的节点个数、网络拓扑的结构等都可以与图示不同,本申请不作限制。(3) The structure of the network topology. The structure of the network topology refers to the connection structure of nodes in the network topology. Referring to Figure 1, the structure of the network topology mainly includes star, ring, tree, network and so on. In this application, the network topology after the auxiliary node is added can be referred to FIG. 2 (one auxiliary node) and FIG. 3 (multiple auxiliary nodes). Figure 1, Figure 2 and Figure 3 are only illustrations of the network topology, the number of nodes in the actual network topology, the structure of the network topology, etc. may be different from those shown in the illustrations, which are not limited in this application.
2、心跳、租期管理2. Heartbeat and lease management
心跳是指一个节点(假设为节点A)每隔一段时间向互联的另一个节点(假设为节点B)发送一个很小的数据包(可以称为心跳信号),通过节点B回复情况判断节点A和节点B之间的通讯链路是否已经断开的方法。在本申请中,节点A和节点B(例如,下文中的辅助节点和主节点,辅助节点和普通节点)需要交互信息时,可以通过心跳信号携带,也可以在心跳信号中携带用于指示后续需要进行信息交互的指示信息,从而在后续过程中完成信息交互。本申请中,针对一个辅助节点,普通节点是指网络中主节点和该辅助节点之外的节点。例如,针对代理心跳功能的辅助节点A, 普通节点是指网络中主节点和辅助节点A之外的节点,但是这些普通节点中,可能会有代理其他网功能的辅助节点。心跳应用于已经组网的节点之间。Heartbeat means that a node (assumed to be node A) sends a small data packet (which can be called a heartbeat signal) to another interconnected node (assumed to be node B) at regular intervals, and node A is judged by the reply of node B. The method of whether the communication link with Node B has been disconnected. In this application, when node A and node B (for example, auxiliary node and main node, auxiliary node and ordinary node in the following) need to exchange information, it can be carried by heartbeat signal, or carried in the heartbeat signal to indicate the follow-up Instructions for information interaction are required, so that the information interaction can be completed in the subsequent process. In this application, for an auxiliary node, an ordinary node refers to a node other than the main node and the auxiliary node in the network. For example, for the auxiliary node A that acts as a proxy for the heartbeat function, ordinary nodes refer to nodes other than the primary node and auxiliary node A in the network, but among these ordinary nodes, there may be auxiliary nodes that act as agents for other network functions. Heartbeat is applied between nodes that have already been networked.
租期管理是指一个节点(假设为节点C)在接入到另一个节点(假设为节点D)时,节点C可以向节点D声明在线时间(也就是租期),在租期内,节点D认为节点C为在线状态,可以随时与节点C进行通信。租期可以延长,例如,节点C可以在前一次的租期的1/2或3/4或结尾向节点D申请延长租期,节点D可以回复租期延长成功或失败。Lease management means that when a node (assumed to be node C) accesses another node (assumed to be node D), node C can declare online time (that is, the lease period) to node D. During the lease period, node D thinks that node C is online and can communicate with node C at any time. The lease period can be extended. For example, node C can apply to node D to extend the lease period at 1/2 or 3/4 or the end of the previous lease period, and node D can reply that the lease period extension is successful or failed.
3、网络功能3. Network function
本申请涉及到的网络功能包括但不限于网络拓扑管理功能、网络接入管理功能、网络设备信息管理功能、心跳功能。The network functions involved in this application include, but are not limited to, network topology management functions, network access management functions, network device information management functions, and heartbeat functions.
其中,网络拓扑管理功能用于管理网络拓扑信息,网络拓扑信息包括加入网络的节点的信息、离开网络的节点的信息、各节点之间的连接关系以及网络路由信息中的一个或多个,还可以包含其他与网络拓扑相关的信息。若将网络拓扑管理功能下放到辅助节点,则该辅助节点管理的普通节点可以将网络拓扑信息发送给该辅助节点,该辅助节点再将这些网络拓扑信息发送给主节点(此时,心跳功能未被辅助节点代理或者代理了网络拓扑管理功能的辅助节点同时代理了心跳功能)或代理心跳功能的辅助节点。网络拓扑信息关注与网络拓扑的结构组成及结构变化相关的数据。Among them, the network topology management function is used to manage network topology information, and the network topology information includes one or more of the information of nodes joining the network, information of nodes leaving the network, connection relationships between nodes, and network routing information. Can contain other network topology related information. If the network topology management function is delegated to the auxiliary node, the ordinary node managed by the auxiliary node can send the network topology information to the auxiliary node, and the auxiliary node will then send the network topology information to the main node (at this time, the heartbeat function is not Auxiliary node that is proxied by an auxiliary node or an auxiliary node that acts as a proxy for the network topology management function and also acts as a proxy for the heartbeat function) or an auxiliary node that acts as an agent for the heartbeat function. Network topology information focuses on data related to the structural composition and structural changes of the network topology.
网络接入管理功能用于负责节点接入。若将网络接入管理功能下放到辅助节点,主节点可以通过对辅助节点进行配置使得辅助节点执行网络接入,这些配置包括是否支持认证绑定的信息、绑定和认证成功后即可接入还是认证成功后即可接入、接入方式(例如,允许通过何种连接方式接入)、用于普通节点接入的带宽等,该辅助节点可以将加入网络的节点的信息发送给主节点(此时,网络拓扑管理功能未被辅助节点代理或者代理了网络接入管理功能的辅助节点同时代理了网络拓扑管理功能)或代理网络拓扑管理功能的辅助节点。The network access management function is responsible for node access. If the network access management function is delegated to the auxiliary node, the master node can configure the auxiliary node to enable the auxiliary node to perform network access. These configurations include whether to support authentication and binding information, and access after binding and authentication Or access after successful authentication, access method (for example, which connection method is allowed to access), bandwidth for ordinary node access, etc., the auxiliary node can send the information of the node joining the network to the main node (At this time, the network topology management function is not delegated by the auxiliary node, or the auxiliary node acting as the agent of the network access management function also acts as the agent of the network topology management function) or the auxiliary node acting as the agent of the network topology management function.
网络设备信息管理功能用于获取和管理网络设备信息。本申请中的网络设备信息包括但不限于节点信息(例如,节点的标识、节点的WiFi状态(例如,是否打开WiFi)、节点的蓝牙状态(例如,是否打开蓝牙)、节点的状态信息(例如,节点离线或在线)、支持投屏的节点的投屏分辨率等)、节点的服务信息(例如,服务的属性信息、服务的数据、服务的状态)等。若将网络设备信息管理功能下放到辅助节点,则该辅助节点管理的普通节点可以将网络设备信息发送给该辅助节点,该辅助节点再将这些网络设备信息发送给主节点(此时,心跳功能未被辅助节点代理或者代理了网络设备信息管理功能的辅助节点同时代理了心跳功能)或代理心跳功能的辅助节点。网络设备信息关注网络中单个设备本身的信息。为了方便描述,本申请下文中,将网络设备信息和/或网络拓扑信息称为网络信息。也就是说,下文中提到的网络信息包括网络拓扑信息和/或网络设备信息。The network device information management function is used to obtain and manage network device information. The network device information in this application includes, but is not limited to, node information (for example, node identification, node WiFi status (for example, whether to turn on WiFi), node Bluetooth status (for example, whether to turn on Bluetooth), node status information (such as , the node is offline or online), the screen resolution of the node that supports screen projection, etc.), the service information of the node (for example, the attribute information of the service, the data of the service, the status of the service), etc. If the network device information management function is delegated to the auxiliary node, the ordinary node managed by the auxiliary node can send the network device information to the auxiliary node, and the auxiliary node then sends the network device information to the main node (at this time, the heartbeat function Auxiliary nodes that are not proxied by the auxiliary node or that have the network device information management function also act as the agent for the heartbeat function) or the auxiliary node that acts as the agent for the heartbeat function. Network device information focuses on the information of a single device in the network itself. For convenience of description, hereinafter in this application, network device information and/or network topology information are referred to as network information. That is to say, the network information mentioned below includes network topology information and/or network device information.
心跳功能用于进行网络信息上报和同步。若网络设备信息管理功能和/或网络拓扑管理功能被代理,则代理网络设备信息管理功能的辅助节点和/或代理网络拓扑管理功能的辅助节点可以将网络设备信息和/或网络拓扑信息发送给代理心跳功能的辅助节点,代理心跳功能的辅助节点再根据自身的心跳策略将这些信息上报给主节点。其中, 网络信息上报或者说同步的周期、方式等可以由主节点配置给代理心跳功能的辅助节点,即心跳管理功能可以由主节点实现。The heartbeat function is used to report and synchronize network information. If the network device information management function and/or network topology management function is delegated, the auxiliary node acting for the network device information management function and/or the auxiliary node acting for the network topology management function may send the network device information and/or network topology information to The auxiliary node that acts as the proxy heartbeat function, and the auxiliary node that acts as the agent heartbeat function reports the information to the primary node according to its own heartbeat policy. Among them, the network information reporting or synchronization cycle, mode, etc. can be configured by the master node to the auxiliary node that acts as a proxy heartbeat function, that is, the heartbeat management function can be realized by the master node.
需要说明的是,不同的网络功能可以由不同的辅助节点代理,此时,参见图4,针对代理网络接入管理功能的辅助节点A,在网络拓扑管理功能被辅助节点B代理的情况下,辅助节点A可以同步信息到辅助节点B,在网络拓扑管理功能未被辅助节点B代理的情况下,辅助节点A可以同步信息到主节点。针对代理网络拓扑管理功能的辅助节点B,在心跳功能被辅助节点C代理的情况下,辅助节点B可以同步信息到辅助节点C,在心跳功能未被辅助节点C代理的情况下,辅助节点B可以同步信息到主节点。针对代理网络设备信息管理功能的辅助节点D与辅助节点B类似,可参考进行理解。辅助节点C可以同步信息到主节点。需要说明的是,一个辅助节点可以代理多个网络功能,也就是说,图中的辅助节点A、辅助节点B、辅助节点C和辅助节点D中的任意两个或多个可以为同一个节点,此时,节点之间的信息同步的过程或者与其中某个节点相关的信息同步的过程不存在或者该过程为节点内部的实现过程。例如,若辅助节点C和辅助节点B为同一个节点,则辅助节点B同步信息到辅助节点C的过程不存在或者说该过程为节点内部的实现过程。若辅助节点C和辅助节点A为同一个节点,则辅助节点A同步信息到辅助节点B的过程(即与辅助节点A相关的信息同步的过程)不存在。It should be noted that different network functions can be represented by different auxiliary nodes. At this time, referring to FIG. The auxiliary node A can synchronize information to the auxiliary node B, and in the case that the network topology management function is not delegated by the auxiliary node B, the auxiliary node A can synchronize information to the main node. For the auxiliary node B that acts as a proxy network topology management function, when the heartbeat function is delegated by the auxiliary node C, the auxiliary node B can synchronize information to the auxiliary node C; when the heartbeat function is not delegated by the auxiliary node C, the auxiliary node B Information can be synchronized to the master node. The assistant node D for the proxy network device information management function is similar to the assistant node B, and can be understood by referring to it. Secondary node C can synchronize information to the primary node. It should be noted that one auxiliary node can act as an agent for multiple network functions, that is, any two or more of auxiliary node A, auxiliary node B, auxiliary node C, and auxiliary node D in the figure can be the same node , at this time, the process of synchronizing information between nodes or the process of synchronizing information related to a certain node does not exist or the process is an internal realization process of the node. For example, if the auxiliary node C and the auxiliary node B are the same node, the process of synchronizing information from the auxiliary node B to the auxiliary node C does not exist or this process is an internal implementation process of the node. If auxiliary node C and auxiliary node A are the same node, the process of synchronizing information from auxiliary node A to auxiliary node B (that is, the process of synchronizing information related to auxiliary node A) does not exist.
4、节点类型4. Node type
网络拓扑中的节点按照功能的不同可以分为多种类型的节点,包括主节点(admin node)、同构路由网关节点(router node)、异构路由网关节点(gateway node)、端节点(endpoint node)。各类型节点的相关信息可参见表1。The nodes in the network topology can be divided into various types of nodes according to different functions, including the main node (admin node), homogeneous routing gateway node (router node), heterogeneous routing gateway node (gateway node), end node (endpoint node). The relevant information of each type of nodes can be found in Table 1.
表1Table 1
Figure PCTCN2022087930-appb-000001
Figure PCTCN2022087930-appb-000001
针对上述表1,需要注意以下两点:In view of the above Table 1, the following two points need to be noted:
(1)表1中主节点定义的网络的主要连接方式是指主节点中大部分节点之间的连接方式,可以网络中所有节点之间均采用主节点定义的连接方式进行通信,也可以部 分节点采用主节点定义的连接方式进行通信,另一部分节点采用其他连接方式进行通信。(1) The main connection mode of the network defined by the master node in Table 1 refers to the connection mode between most of the nodes in the master node. All nodes in the network can use the connection mode defined by the master node to communicate, or some Nodes use the connection method defined by the master node to communicate, and other nodes use other connection methods to communicate.
(2)表1中的蓝牙数据包是指通过蓝牙连接的两个节点之间传输的数据包,WiFi数据包是指通过WiFi连接的两个节点之间传输的数据包。异构路由网关节点可以通过不同的连接介质与不同的节点连接,例如,异构路由网关节点可以通过蓝牙与节点A连接,通过WiFi与节点B连接,则此时,异构路由网关节点将不同协议的终端连接到了网络,异构路由网关节点可以接收来自于节点A的蓝牙数据包,并通过转换向节点B发送WiFi数据包。(2) The Bluetooth data packet in Table 1 refers to a data packet transmitted between two nodes connected via Bluetooth, and the WiFi data packet refers to a data packet transmitted between two nodes connected via WiFi. Heterogeneous routing gateway nodes can be connected to different nodes through different connection media. For example, heterogeneous routing gateway nodes can be connected to node A through Bluetooth and node B through WiFi. At this time, the heterogeneous routing gateway nodes will be different The terminal of the protocol is connected to the network, and the heterogeneous routing gateway node can receive the Bluetooth data packet from node A, and send the WiFi data packet to node B through conversion.
除了上述表1所示的各种类型的节点之外,本申请中还引入了另一种节点类型,即辅助节点,辅助节点相关信息可参见表2。In addition to the various types of nodes shown in Table 1 above, another node type is introduced in this application, that is, auxiliary nodes. For information about auxiliary nodes, refer to Table 2.
表2Table 2
Figure PCTCN2022087930-appb-000002
Figure PCTCN2022087930-appb-000002
网络拓扑中的节点按照组网情况也可以分为多种类型的节点,参见图5,包括非组网节点和组网节点,组网节点又包括离线节点和在线节点,在线节点又包括主节点、辅助节点、同构路由网关节点、异构路由网关节点、端节点中的一种或多种。其中,非组网节点可以在发现网络后通过绑定和认证加入网络。离线节点可以在发现历史加入的网络后通过认证重回网络。主节点可以通过选举确定,管理网络拓扑信息、网络设备信息以及心跳策略等。辅助节点可以由主节点确定,一个辅助节点可以代理网络拓扑管理功能、网络接入管理功能、网络设备信息管理功能、心跳功能中的一个或多个。同构路由网关节点可以管理同构路由信息。异构路由网关节点可以管理异构路由信息。端节点可以管理节点信息,例如,同构路由网关节点信息、异构路由网关节点信息等。The nodes in the network topology can also be divided into various types of nodes according to the networking situation, see Figure 5, including non-networking nodes and networking nodes, networking nodes include offline nodes and online nodes, and online nodes include master nodes One or more of an auxiliary node, a homogeneous routing gateway node, a heterogeneous routing gateway node, and an end node. Among them, non-networking nodes can join the network through binding and authentication after discovering the network. Offline nodes can return to the network through authentication after discovering the historically joined network. The master node can be determined through elections to manage network topology information, network device information, and heartbeat policies. The auxiliary node can be determined by the master node, and an auxiliary node can act as an agent for one or more of network topology management functions, network access management functions, network device information management functions, and heartbeat functions. Homogeneous routing gateway nodes can manage homogeneous routing information. The heterogeneous routing gateway node can manage heterogeneous routing information. End nodes can manage node information, for example, homogeneous routing gateway node information, heterogeneous routing gateway node information, and so on.
以上是对本申请涉及到的部分概念所作的介绍。The above is an introduction to some of the concepts involved in this application.
参见图6,本申请提供的网络管理方法包括:Referring to Figure 6, the network management method provided by this application includes:
601、一个或多个节点(图6中假设为节点a、节点b和节点c)进行网络搜索,并与搜索到的其他节点建立连接,形成网络(可以记为第一网络)。601. One or more nodes (assumed to be node a, node b, and node c in FIG. 6 ) perform a network search, and establish connections with other searched nodes to form a network (which may be referred to as a first network).
第一网络可以包括移动式终端设备和/或非移动式终端设备。一个节点可以通过某种连接方式进行网络搜索,例如,可以通过WiFi或蓝牙搜索到周边的其他节点。第一网络中不同节点之间的连接方式可以相同,也可以不同,本申请不作限制。The first network can include mobile terminals and/or non-mobile terminals. A node can search the network through a certain connection method, for example, it can search other surrounding nodes through WiFi or Bluetooth. The connection modes between different nodes in the first network may be the same or different, which is not limited in this application.
在进行网络搜索之前,每个节点可以进行初始化,针对进行网络搜索的节点,通过初始化可以打开网络搜索功能从而进行网络搜索,针对其他节点,通过初始化可以打开网络搜索功能从而被搜索到。通过初始化还可以使得设备管理模块启用,从而使得节点之间可以通过绑定和认证建立连接。关于设备管理模块的相关描述可参加下文。Before performing network search, each node can be initialized. For the node performing network search, the network search function can be turned on through initialization to perform network search. For other nodes, the network search function can be turned on through initialization to be searched. The device management module can also be enabled through initialization, so that the connection between nodes can be established through binding and authentication. The relevant description about the device management module can be found below.
示例性的,在家庭场景下,第一网络可以是由手机、平板、大屏、音箱等组成的 分布式网络,手机、平板、大屏可以通过路由器连接,音箱可以通过蓝牙与大屏连接。第一网络还可以为出行车机场景或办公场景或其他场景下的网络,本申请不作限制。Exemplarily, in a home scenario, the first network may be a distributed network composed of mobile phones, tablets, large screens, speakers, etc. The mobile phones, tablets, and large screens may be connected through a router, and the speakers may be connected to the large screen through Bluetooth. The first network may also be a network in a vehicle scene, an office scene, or other scenes, which is not limited in this application.
602、第一网络中的各个节点之间进行协商确定第一网络的主节点(图6中假设为节点c)。602. Each node in the first network negotiates to determine a master node of the first network (assumed to be node c in FIG. 6 ).
其中,第一网络的主节点用于对第一网络进行集中控制。主节点也可以称为中心控制节点、中心节点等。第一网络的主节点可以为第一网络中的功能较强的节点,和/或,用户操作较多的节点。例如,在家庭场景下,由于用户对移动式终端设备(例如,手机和平板等设备)的操作会比较多,因此,网络的主节点可以为移动式终端设备。Wherein, the master node of the first network is used for centralized control of the first network. The master node can also be called the central control node, central node, etc. The master node of the first network may be a node with stronger functions in the first network, and/or a node with more user operations. For example, in a home scenario, since users will operate more mobile terminal devices (such as mobile phones and tablets), the main node of the network may be a mobile terminal device.
603、其他还未加入第一网络的一个或多个节点(图6中假设为节点d)通过与主节点进行绑定和认证,加入到第一网络。603. One or more other nodes (assumed to be node d in FIG. 6 ) that have not yet joined the first network join the first network through binding and authentication with the master node.
例如,假设第一网络为WiFi网络,则用户可以通过在一个节点上输入搜索到的第一网络对应的入网密码进行绑定和认证,加入第一网络。首次绑定和认证之后,若该节点离开第一网络后又要加入第一网络,该节点可以仅通过认证再次加入到第一网络。For example, assuming that the first network is a WiFi network, the user can enter the searched network access password corresponding to the first network on a node to perform binding and authentication, and join the first network. After the initial binding and authentication, if the node wants to join the first network after leaving the first network, the node can rejoin the first network only through authentication.
再例如,主节点可以创建账号,用户可以通过在一个节点上登陆该账号与主节点进行绑定与认证,加入到第一网络。For another example, the master node can create an account, and the user can join the first network by logging in the account on a node to bind and authenticate with the master node.
需要说明的是,在步骤602之后,若还有其他节点需要加入第一网络,则可以通过步骤603加入第一网络,若没有其他节点需要加入第一网络,则步骤603不需要执行。It should be noted that after step 602, if there are other nodes that need to join the first network, they can join the first network through step 603, and if there are no other nodes that need to join the first network, then step 603 does not need to be executed.
604、第一网络中的至少一个节点(假设为N个节点,N为大于0的整数)向主节点上报各自支持的网络功能的信息。相应的,主节点接收N个节点上报的各自支持的网络功能的信息。604. At least one node in the first network (assumed to be N nodes, where N is an integer greater than 0) reports information about network functions supported by each to the master node. Correspondingly, the master node receives information about network functions supported by each of the N nodes.
步骤604在具体实现时,N个节点可以是第一网络中除主节点之外的全部的节点,也可以是第一网络中除主节点之外的部分节点。图6中以N个节点是第一网络中除主节点之外的全部的节点(即N个节点为节点a、节点b和节点d)为例进行绘制。可以理解的是,N个节点均为第一网络中的非主节点。When step 604 is implemented specifically, the N nodes may be all nodes in the first network except the master node, or may be some nodes in the first network except the master node. In FIG. 6 , it is drawn by taking N nodes as all nodes in the first network except the master node (that is, the N nodes are node a, node b and node d). It can be understood that all the N nodes are non-master nodes in the first network.
步骤604在具体实现时,针对任意一个非主节点,非主节点可以主动向主节点上报支持的网络功能的信息,也可以基于主节点的指示上报支持的网络功能的信息。若为后者,该方法还包括:主节点向非主节点发送第一指示信息,第一指示信息用于指示上报支持的网络功能的信息。非主节点接收来自于主节点的第一指示信息,在第一指示信息的指示下向主节点上报支持的网络功能的信息。需要说明的是,在实际实现时,可以N个节点中的全部节点均主动或基于主节点的指示向主节点上报支持的网络功能的信息的,也可以N个节点中的一部分节点主动向主节点上报支持的网络功能的信息,另一部分节点基于主节点的指示上报支持的网络功能的信息。In specific implementation of step 604, for any non-master node, the non-master node may actively report the information of supported network functions to the master node, or may report the information of supported network functions based on the instructions of the master node. If it is the latter, the method further includes: the master node sends first indication information to the non-master node, where the first indication information is used to instruct to report information about supported network functions. The non-master node receives the first indication information from the master node, and reports the supported network function information to the master node under the instruction of the first indication information. It should be noted that, in actual implementation, all the nodes in the N nodes may report the information of supported network functions to the master node actively or based on the instruction of the master node, or some of the nodes in the N nodes may actively report to the master node. The nodes report the information of the supported network functions, and the other part of the nodes report the information of the supported network functions based on the instruction of the master node.
其中,一个节点可以支持一个或多个网络功能。一个节点可以向主节点上报其支持的全部网络功能的信息,也可以向主节点上报其支持的部分网络功能的信息,本申请不作限制。Among them, a node can support one or more network functions. A node can report information about all network functions it supports to the master node, and can also report information about some network functions it supports to the master node, which is not limited in this application.
可选的,一个节点支持的一个网络功能(假设为网络功能1)的信息包括以下信息中的一个或多个:该节点的标识、该节点支持的该网络功能1的名称、该节点支持 的该网络功能1的标识、该节点支持的该网络功能1的功耗、该节点支持的该网络功能1的执行策略、该节点是否支持代理该网络功能1、该节点是否支持主节点控制该网络功能1的执行策略。除了这些信息之外,一个节点支持的该网络功能1的信息还可以包括其他信息,本申请不作限制。Optionally, the information about a network function (assumed to be network function 1) supported by a node includes one or more of the following information: the identifier of the node, the name of the network function 1 supported by the node, the The identification of the network function 1, the power consumption of the network function 1 supported by the node, the execution strategy of the network function 1 supported by the node, whether the node supports proxying the network function 1, whether the node supports the master node to control the network Execution strategy for function 1. In addition to these information, the information about the network function 1 supported by a node may also include other information, which is not limited in this application.
其中,节点的标识示例性的可以为节点的介质访问控制(medium access control,MAC)地址、节点的互联网协议(internet protocol,IP)地址、节点的端口号(port)、节点的设备名、或其他可以在第一网络中唯一确定节点的信息。网络功能的标识用于标识网络功能。若一个节点支持一个网络功能的代理,则该节点可以代替主节点执行该网络功能。若一个节点支持主节点控制该网络功能的执行策略,则主节点可以向该节点发送该网络功能的执行策略,该节点可以根据主节点发送的执行策略执行该网络功能。其中,一个节点支持主节点控制该网络功能的执行策略,指的是:该节点支持由主节点制定或修改或管理该执行策略,该节点只是执行该执行策略,该节点对该执行策略没有管理权限。Wherein, the identifier of the node may be, for example, a medium access control (medium access control, MAC) address of the node, an Internet protocol (internet protocol, IP) address of the node, a port number (port) of the node, a device name of the node, or Other information that can uniquely identify a node in the first network. The identifier of the network function is used to identify the network function. If a node supports a proxy for a network function, the node can perform the network function instead of the master node. If a node supports the execution strategy of the master node controlling the network function, the master node can send the execution strategy of the network function to the node, and the node can execute the network function according to the execution strategy sent by the master node. Among them, a node supports the master node to control the execution strategy of the network function, which means: the node supports the master node to formulate or modify or manage the execution strategy, the node only executes the execution strategy, and the node does not manage the execution strategy permission.
其中,网络功能的功耗、网络功能的执行策略、是否支持代理网络功能、是否支持主节点控制网络功能的执行策略等信息可以认为是网络功能的服务属性,这些信息可以属于同一个服务属性,也可以属于不同的服务属性。需要说明的是,服务属性中除了可以包括这些信息之外,还可以包含其他信息,本申请不作限制。并且,不同的网络功能的服务属性中包括的信息可能不同也可能相同。Among them, the power consumption of the network function, the execution strategy of the network function, whether to support the proxy network function, whether to support the execution strategy of the master node to control the network function and other information can be considered as the service attributes of the network function, and these information can belong to the same service attribute. Can also belong to a different service attribute. It should be noted that in addition to these information, the service attributes may also include other information, which is not limited in this application. Moreover, the information included in the service attributes of different network functions may be different or the same.
示例性的,以节点1为例,节点1支持的网络功能1的信息可参见图7,具体包括以下信息:Exemplarily, taking node 1 as an example, information about the network function 1 supported by node 1 can be seen in FIG. 7 , which specifically includes the following information:
网络功能1的名称:XXX(例如,网络接入管理功能)Name of network function 1: XXX (for example, network access management function)
网络功能1的标识:XXX(例如,0002)Identification of network function 1: XXX (for example, 0002)
节点1的标识:XXX(例如,节点1的MAC地址)Identity of node 1: XXX (eg, MAC address of node 1)
服务属性1Service attribute 1
网络功能1的执行策略:XXXExecution policy for network function 1: XXX
网络功能1的功耗:XXX(例如,每小时1毫安(1mAh))Power consumption of network function 1: XXX (for example, 1 milliamp (1mAh) per hour)
服务属性2Service attribute 2
是否支持代理网络功能1:XXX(例如,是)Whether to support proxy network function 1: XXX (for example, yes)
是否支持主节点控制网络功能1的执行策略:XXX(例如,是)Whether to support the master node to control the execution policy of network function 1: XXX (for example, yes)
......
服务属性NService attribute N
......
示例性的,若节点1支持的网络功能1为心跳功能,则心跳功能的信息可参见图8,具体包括以下信息:Exemplarily, if the network function 1 supported by node 1 is the heartbeat function, the information of the heartbeat function can be referred to in FIG. 8 , which specifically includes the following information:
网络功能的名称:心跳功能The name of the network function: heartbeat function
网络功能的标识:0001Identification of network functions: 0001
节点的标识:节点1的MAC地址Node ID: MAC address of node 1
服务属性1Service attribute 1
心跳周期范围:100毫秒(ms),500毫秒,1秒(s),5秒,10秒,30秒Heartbeat cycle range: 100 milliseconds (ms), 500 milliseconds, 1 second (s), 5 seconds, 10 seconds, 30 seconds
心跳窗口时间:100毫秒Heartbeat window time: 100 milliseconds
本地心跳期间功耗:每小时1毫安(1mAh)Power consumption during local heartbeat: 1 milliampere (1mAh) per hour
服务属性2Service attribute 2
是否支持代理该网络功能:是Whether to support proxying the network function: yes
是否支持主节点控制该网络功能的执行策略:是Whether to support the master node to control the execution strategy of the network function: yes
......
服务属性NService attribute N
......
其中,图8中所示的心跳周期范围中的数值是指心跳周期,即多长时间和除主节点之外的其他节点做一次心跳,心跳窗口时间是指一个心跳周期内进行心跳的时间范围,本地心跳期间功耗是指一个心跳窗口时间对应的功耗。Among them, the value in the range of the heartbeat period shown in Figure 8 refers to the heartbeat period, that is, how long it takes to perform a heartbeat with other nodes except the master node, and the heartbeat window time refers to the time range for performing a heartbeat within a heartbeat period , the power consumption during the local heartbeat refers to the power consumption corresponding to a heartbeat window time.
可选的,在确定主节点之后,主节点将主节点的信息发送给第一网络中的其他节点。其中,主节点的信息例如可以为主节点的标识、主节点支持的连接方式等信息,后续过程中,其他节点可以采用双方共同支持的连接方式进行通信,也可以在后续过程中根据主节点的标识确定接收到的信息是否为主节点发送的信息。Optionally, after the master node is determined, the master node sends the information of the master node to other nodes in the first network. Among them, the information of the master node can include information such as the identity of the master node and the connection mode supported by the master node. The identifier determines whether the received information is information sent by the master node.
605、主节点根据至少一个节点(假设为M个节点,M为大于0的整数)支持的网络功能的信息和主节点的第一网络功能的信息确定M个节点中的辅助节点(记为第一辅助节点,图6中假设为节点d),第一辅助节点用于替代主节点执行第一网络功能。605. The master node determines the auxiliary node among the M nodes (denoted as the th An auxiliary node, assumed as node d) in FIG. 6 , the first auxiliary node is used to replace the main node to perform the first network function.
其中,M个节点可以为上述N个节点中的部分或全部节点。图6中以M个节点为上述N个节点中的全部节点(即M个节点为节点a、节点b和节点d)为例进行绘制。第一网络功能为网络拓扑管理功能、网络接入管理功能、网络设备信息管理功能或心跳功能,还可以为其他网络功能。需要说明的是,第一网络功能为主节点能够下放的网络功能,主节点能够下放的网络功能可以是预设在主节点中的,也可以是主节点根据一些原则(例如,与用户的安全强相关的网络功能不能下放)确定的。Wherein, the M nodes may be part or all of the above N nodes. In FIG. 6 , it is drawn by taking the M nodes as all the above-mentioned N nodes (that is, the M nodes are node a, node b, and node d) as an example. The first network function is a network topology management function, a network access management function, a network device information management function or a heartbeat function, and may also be other network functions. It should be noted that the first network function is a network function that can be delegated to the master node. The network function that the master node can delegate can be preset in the master node, or it can be the master node according to some principles (for example, related to user security). Strongly related network functions cannot be delegated) determined.
需要说明的是,若主节点根据M个节点支持的网络功能的信息和主节点的第一网络功能的信息无法确定第一辅助节点,则主节点自行执行第一网络功能。无法确定第一辅助节点的情况可能为M个节点中没有满足要求的节点。也就是说,主节点可以根据M个节点支持的网络功能的信息和主节点的第一网络功能的信息确定M个节点中是否存在可以代理第一网络功能的节点,若是,则执行步骤605的后续步骤,若否,则主节点自行执行第一网络功能。It should be noted that if the master node cannot determine the first auxiliary node according to the information of the network functions supported by the M nodes and the information of the first network function of the master node, the master node executes the first network function by itself. The situation that the first auxiliary node cannot be determined may be that there is no node meeting the requirements among the M nodes. That is to say, the master node can determine whether there is a node among the M nodes that can act as a proxy for the first network function according to the information of the network functions supported by the M nodes and the information of the first network function of the master node, and if so, perform step 605 Subsequent steps, if not, the master node executes the first network function by itself.
可选的,考虑到主节点的功耗太大,第一辅助节点可以为M个节点中的支持第一网络功能的常供电节点(例如,若第一网络功能为网络接入管理功能,则第一辅助节点可以为路由器或者其它具有网络接入能力的设备,再例如,若第一网络功能为心跳功能,则由于大屏的常供电的属性,主节点可以将心跳功能下放到大屏实施);和/或,第一辅助节点可以为执行第一网络功能时的功耗小于或等于主节点执行第一网络功能时的功耗的节点。其中,常供电节点是指通过电源插头连接交流点进行供电的节点。非常供电节点是指通过电池、充电宝等设备进行供电的节点。Optionally, considering that the power consumption of the master node is too high, the first auxiliary node may be a constant power supply node among the M nodes that supports the first network function (for example, if the first network function is a network access management function, then The first auxiliary node can be a router or other devices with network access capabilities. For example, if the first network function is the heartbeat function, due to the constant power supply of the large screen, the main node can delegate the heartbeat function to the large screen for implementation. ); and/or, the first auxiliary node may be a node whose power consumption when performing the first network function is less than or equal to the power consumption when the main node performs the first network function. Wherein, the constant power supply node refers to a node that is powered by connecting an AC point through a power plug. An extraordinary power supply node refers to a node that is powered by devices such as batteries and charging treasures.
步骤605在具体实现时,主节点可以选择M个节点中的支持第一网络功能且满足 以下条件中的一个或多个的节点作为第一辅助节点:1)支持代替主节点执行第一网络功能;2)常供电;3)执行第一网络功能时的功耗小于或等于主节点执行第一网络功能时的功耗;4)支持主节点控制第一网络功能的执行策略;5)执行第一网络功能时的时延小于或等于主节点执行第一网络功能时的时延;6)执行第一网络功能时的可靠性高于或等于主节点执行第一网络功能时的可靠性。在实际实现时,若多个节点均可以满足这些条件中的一个或多个,则可以将满足这些条件中的较多条件的节点确定为第一辅助节点,也可以将满足这些条件中的特定条件的节点确定为第一辅助节点,特定条件可以是根据网络需求预设的。In the specific implementation of step 605, the master node may select a node among the M nodes that supports the first network function and meets one or more of the following conditions as the first auxiliary node: 1) supporting the execution of the first network function instead of the master node ; 2) Constant power supply; 3) The power consumption when executing the first network function is less than or equal to the power consumption when the master node executes the first network function; 4) Support the execution strategy of the master node to control the first network function; 5) Execute the first network function The delay when performing a network function is less than or equal to the delay when the master node executes the first network function; 6) the reliability when executing the first network function is higher than or equal to the reliability when the master node executes the first network function. In actual implementation, if multiple nodes can meet one or more of these conditions, the node that meets more of these conditions can be determined as the first auxiliary node, or a specific node that meets these conditions can be selected as the first auxiliary node. The conditional node is determined as the first auxiliary node, and the specific condition may be preset according to network requirements.
其中,当第一辅助节点执行第一网络功能时的时延小于主节点执行第一网络功能时的时延,可以提高第一网络的时效性,当第一辅助节点执行第一网络功能时的可靠性高于主节点执行第一网络功能时的可靠性,可以提高第一网络的可靠性。Wherein, when the delay when the first auxiliary node performs the first network function is smaller than the delay when the master node performs the first network function, the timeliness of the first network can be improved, and when the first auxiliary node performs the first network function The reliability is higher than the reliability when the master node performs the first network function, which can improve the reliability of the first network.
示例性的,以图8所示的心跳功能为例,主节点接收到某个节点的心跳功能的信息后,会将心跳功能的信息与主节点本地的心跳功能的信息进行比较。假定一次心跳周期选择500ms,则在该某个节点上执行心跳的平均功耗是:
Figure PCTCN2022087930-appb-000003
Figure PCTCN2022087930-appb-000004
也就是说,心跳周期为500ms时,该某个节点感知除主节点之外的其它节点的最大时延是500ms,同时产生的平均功耗是0.2mAh。主节点可以根据自身的心跳功能的信息,同样可以计算得到心跳周期为500ms时,主节点上执行心跳的平均功耗。主节点将二者进行比较,若该某个节点上的平均功耗更小,则判断该节点可以作为第一辅助节点,但是最终是否需要将该节点作为第一辅助节点,还需要根据计算得到的其他节点的平均功耗或其他信息综合进行判断。需要说明的是,此处以执行心跳的平均功耗为例进行描述,在实际实现时,还可以直接根据本地心跳期间功耗直接进行比较,本申请不作限制。
Exemplarily, taking the heartbeat function shown in FIG. 8 as an example, after receiving the information of the heartbeat function of a certain node, the master node will compare the information of the heartbeat function with the information of the local heartbeat function of the master node. Assuming that a heartbeat cycle is selected to be 500ms, the average power consumption of heartbeat execution on a certain node is:
Figure PCTCN2022087930-appb-000003
Figure PCTCN2022087930-appb-000004
That is to say, when the heartbeat period is 500ms, the maximum delay for the node to perceive other nodes except the master node is 500ms, and the average power consumption generated at the same time is 0.2mAh. The master node can also calculate the average power consumption of heartbeat execution on the master node when the heartbeat period is 500ms according to the information of its own heartbeat function. The master node compares the two, and if the average power consumption of a certain node is smaller, it can be judged that the node can be used as the first auxiliary node, but whether the node needs to be the first auxiliary node in the end still needs to be obtained according to the calculation The average power consumption of other nodes or other information of other nodes can be judged comprehensively. It should be noted that the average power consumption of performing heartbeat is used as an example for description here, and in actual implementation, direct comparison can also be made according to the power consumption during the local heartbeat period, which is not limited in this application.
需要说明的是,本申请中为了方便描述,以第一辅助节点代理第一网络功能为例对本申请提供的方法进行示例性的描述,针对其他的网络功能,只需要将第一网络功能替换为其他的网络功能进行理解即可。第一辅助节点除了代理第一网络功能之外,还可以同时代理其他网络功能。It should be noted that, for the convenience of description in this application, the method provided in this application is described by taking the first assistant node acting as an example of the first network function as an example. For other network functions, only the first network function needs to be replaced by Other network functions can be understood. In addition to acting as the agent of the first network function, the first assistant node may also act as agent of other network functions at the same time.
示例性的,若第一网络功能为网络拓扑管理功能,则第一辅助节点可以代替主节点维护网络拓扑信息。若第一网络功能为网络接入管理功能,则第一辅助节点可以代替主节点执行网络接入。若第一网络功能为网络设备信息管理功能,则第一辅助节点可以代替主节点维护网络设备信息。若第一网络功能为心跳功能,则第一辅助节点可以代替主节点与其他节点进行心跳通信,从而维护网络信息的同步。Exemplarily, if the first network function is a network topology management function, the first auxiliary node may maintain network topology information instead of the main node. If the first network function is a network access management function, the first auxiliary node may perform network access instead of the main node. If the first network function is a network device information management function, the first auxiliary node may maintain the network device information instead of the master node. If the first network function is a heartbeat function, the first auxiliary node may replace the master node to perform heartbeat communication with other nodes, thereby maintaining synchronization of network information.
需要说明的是,在本申请实施例中,辅助节点代理的网络功能为主节点的部分网络功能。It should be noted that, in the embodiment of the present application, the network function of the assistant node agent is part of the network functions of the master node.
606、主节点向第一辅助节点发送第一配置信息,第一配置信息用于配置第一网络功能的执行策略和/或第一辅助节点的网络信息上报方式。相应的,第一辅助节点接收主节点发送的第一配置信息。606. The master node sends first configuration information to the first assistant node, where the first configuration information is used to configure an execution policy of the first network function and/or a network information reporting manner of the first assistant node. Correspondingly, the first auxiliary node receives the first configuration information sent by the master node.
可选的,第一配置信息包括第一指示信息和/或第二指示信息,第一指示信息用于指示第一辅助节点的网络信息上报方式,网络信息上报方式为第一辅助节点向主节点或第二辅助节点上报与第一网络功能相关的网络信息的方式,第二辅助节点用于将第 一辅助节点上报的与第一网络功能相关的网络信息上报给主节点,第二指示信息用于指示第一辅助节点与其他节点之间执行第一网络功能时的网络功能参数,此处其他节点是指M个节点中的除第一辅助节点之外的部分或全部节点,假设为Q个节点。Optionally, the first configuration information includes first indication information and/or second indication information, the first indication information is used to indicate the network information reporting method of the first auxiliary node, and the network information reporting method is that the first auxiliary node reports to the master node Or the way that the second auxiliary node reports the network information related to the first network function, the second auxiliary node is used to report the network information related to the first network function reported by the first auxiliary node to the master node, and the second indication information is used Network function parameters when instructing the first auxiliary node to perform the first network function with other nodes, where other nodes refer to some or all of the M nodes except the first auxiliary node, assuming Q node.
其中,Q个节点与第一辅助节点有通信交互。例如,通过心跳交互,心跳可以采用有连接方式(即通过有线连接进行心跳交互),也可以采用无连接方式(即通过无线连接进行心跳交互),比如周期广播。另外,Q个节点在主节点确定代理第一网络功能的第一辅助节点之后,与第一辅助节点之间具有通信交互,在主节点确定第一辅助节点之前,针对Q个节点中的任意一个节点,可能与第一辅助节点有通信交互,也可以与第一辅助节点没有通信交互。Among them, Q nodes have communication interaction with the first assistant node. For example, through the heartbeat interaction, the heartbeat may adopt a connection mode (that is, perform heartbeat interaction through a wired connection), or a connectionless mode (that is, perform heartbeat interaction through a wireless connection), such as periodic broadcasting. In addition, after the master node determines the first assistant node acting as the agent for the first network function, the Q nodes have communication interaction with the first assistant node, and before the master node determines the first assistant node, for any of the Q nodes The node may or may not have communication interaction with the first auxiliary node.
可选的,网络信息上报方式包括网络信息发生变化时在第一预设时间段内上报主节点、按照心跳周期(即周期性心跳同步)上报主节点、在Wifi或蓝牙连接时上报主节点,还可以包括其他方式(例如,主节点主动查询、主节点订阅),本申请不作限制。通过网络信息上报,主节点可以获取第一网络的网络信息,例如,获取整体网络实时状态或者网络中指定的某些节点的实时状态。Optionally, the network information reporting method includes reporting to the master node within the first preset time period when the network information changes, reporting to the master node according to the heartbeat cycle (that is, periodic heartbeat synchronization), reporting to the master node when Wifi or Bluetooth is connected, It may also include other methods (for example, active query by the master node, subscription by the master node), which are not limited in this application. By reporting the network information, the master node can obtain the network information of the first network, for example, obtain the real-time status of the overall network or the real-time status of some specified nodes in the network.
为了更加清楚,以下对主节点和辅助节点之间的周期性心跳同步(记为方式1)、主节点主动查询(记为方式2)和主节点订阅(记为方式3)的通信方式分别进行介绍。For more clarity, the communication methods of periodic heartbeat synchronization between the primary node and the secondary node (denoted as mode 1), active query of the primary node (denoted as mode 2) and subscription of the primary node (denoted as mode 3) are respectively carried out below introduce.
方式1、周期性心跳同步。Mode 1. Periodic heartbeat synchronization.
在方式1中,辅助节点至少代理心跳功能,主节点和辅助节点之间会根据心跳功能的执行策略周期同步。这里的心跳策略包含心跳周期、心跳方式(例如,BLE或者WiFi)等,心跳策略可以由主节点决定。在辅助节点上,会运行至少两套心跳策略,第一套策略是面向主节点的,第二套策略是面向除主节点之外的其他部分或全部节点(例如,路由节点、端节点等)的。第二套策略中,辅助节点在每个心跳周期(假设为第一心跳周期)都需要与第一网络中的除主节点之外的其他部分或全部节点完成一次心跳交互,从而确定第一网络中的网络信息。第一套策略中,辅助节点在每个心跳周期(假设为第二心跳周期)向主节点上报网络信息。第二心跳周期可以为第一心跳周期的整数倍,也可以是大于或等于或小于第一心跳周期的一个心跳周期,从而达到降低主节点功耗的目的。两套心跳策略可以是主节点根据网络实际情况决策的。In mode 1, the auxiliary node at least acts as the proxy for the heartbeat function, and the primary node and the auxiliary node will be periodically synchronized according to the execution policy of the heartbeat function. The heartbeat strategy here includes heartbeat period, heartbeat mode (for example, BLE or WiFi), etc., and the heartbeat strategy can be determined by the master node. On the auxiliary node, at least two sets of heartbeat strategies will be run. The first set of strategies is for the primary node, and the second set of strategies is for some or all nodes other than the primary node (for example, routing nodes, end nodes, etc.) of. In the second set of strategies, the auxiliary node needs to complete a heartbeat interaction with some or all nodes in the first network except the main node in each heartbeat cycle (assumed to be the first heartbeat cycle), so as to determine the first network Network information in . In the first set of strategies, the secondary node reports network information to the primary node every heartbeat period (assumed to be the second heartbeat period). The second heartbeat period may be an integer multiple of the first heartbeat period, or a heartbeat period greater than or equal to or less than the first heartbeat period, so as to achieve the purpose of reducing power consumption of the master node. The two sets of heartbeat strategies can be decided by the master node according to the actual situation of the network.
需要说明的是,主节点在将心跳功能下放之后,一方面,主节点只需要与辅助节点进行心跳交互即可,不需要与大量的节点都进行心跳交互,因此,可以大大的降低主节点的功耗。另一方面,若第二心跳周期大于第一心跳周期,主节点与辅助节点交互的频率降低,可以进一步的降低主节点的功耗。It should be noted that after the master node delegates the heartbeat function, on the one hand, the master node only needs to perform heartbeat interactions with the auxiliary nodes, and does not need to perform heartbeat interactions with a large number of nodes. Therefore, the workload of the master node can be greatly reduced. power consumption. On the other hand, if the second heartbeat period is longer than the first heartbeat period, the frequency of interaction between the master node and the assistant node is reduced, which can further reduce the power consumption of the master node.
方式2、主节点主动查询。Method 2. The master node actively queries.
在方式2中,主节点主动查询辅助节点中的信息,辅助节点进行反馈。查询动作可以由主节点随时发起,辅助节点需要实时快速反馈主节点查询的信息(例如,当前的节点信息)。In mode 2, the primary node actively queries the information in the secondary node, and the secondary node provides feedback. The query action can be initiated by the primary node at any time, and the secondary node needs to quickly feed back the information queried by the primary node (for example, current node information) in real time.
方式3、主节点订阅。Method 3. The master node subscribes.
在方式3中,主节点订阅辅助节点中的网络信息。例如,有时主节点比较关注第一网络中部分节点的节点信息,例如,手机(即主节点)可能关注平板的实时网络状态,此时大屏(即代理心跳功能的辅助节点)可以通过心跳实时监听平板的网络状态, 如果平板的网络状态发现变化,可以按手机下发的策略,实时快速或者按心跳周期唤醒手机来同步平板的网络状态。此时,手机可以在不被经常唤醒的情况下,了解周边节点的实时的网络状态,从而达到降低手机功耗,并维持第一网络中节点的网络状态一致性的目的。再例如,在网络拓扑管理功能中,主节点可以订阅网络拓扑信息中的某一类设备的上下线状态,从而实时获取节点加入离开网络的情况。订阅功能可以是主节点通过向辅助节点配置或更新服务信息的属性实现的。In mode 3, the primary node subscribes to the network information in the secondary node. For example, sometimes the main node pays more attention to the node information of some nodes in the first network. For example, the mobile phone (ie, the main node) may pay attention to the real-time network status of the tablet. Monitor the network status of the tablet. If the network status of the tablet changes, you can follow the strategy issued by the mobile phone to wake up the mobile phone in real time or according to the heartbeat cycle to synchronize the network status of the tablet. At this time, the mobile phone can know the real-time network status of the surrounding nodes without being frequently woken up, so as to reduce the power consumption of the mobile phone and maintain the consistency of the network status of the nodes in the first network. For another example, in the network topology management function, the master node can subscribe to the online and offline status of a certain type of equipment in the network topology information, so as to obtain the status of nodes joining and leaving the network in real time. The subscription function can be implemented by the primary node by configuring or updating the attributes of the service information to the secondary node.
需要说明的是,与第一网络功能相关的网络信息可能有多种,不同的网络信息对应的网络信息上报方式可以相同也可以不同,本申请不作限制。例如,若第一网络功能为网络设备信息管理功能,则与第一网络功能相关的网络信息包括节点信息、节点的状态信息、节点的服务信息等。其中,节点信息对应的网络信息上报方式可以为发生变化时在第一预设时间段内上报主节点,节点的状态信息对应的网络信息上报方式可以为按照心跳周期上报主节点,节点的服务信息对应的网络信息上报方式可以为在Wifi或蓝牙连接时上报主节点。It should be noted that there may be multiple types of network information related to the first network function, and the network information reporting methods corresponding to different network information may be the same or different, which is not limited in this application. For example, if the first network function is a network device information management function, the network information related to the first network function includes node information, node status information, node service information, and the like. Among them, the network information reporting method corresponding to the node information can be to report the master node within the first preset time period when there is a change, the network information reporting method corresponding to the node status information can be to report the master node according to the heartbeat cycle, and the service information of the node The corresponding network information reporting method may be to report to the master node when Wifi or Bluetooth connection.
其中,不同的网络功能可以由不同的辅助节点代理。例如,在第一辅助节点代理第一网络功能的情况下,其他网络功能可能被其他辅助节点代理,例如,被第二辅助节点代理。若第一辅助节点向第二辅助节点上报与第一网络功能相关的网络信息,则在第一网络功能为网络接入管理功能的情况下,第二辅助节点可以为代理网络拓扑管理功能的节点,此时,若心跳功能被其他节点代理,则第二辅助节点可以通过代理心跳功能的辅助节点上报与第一网络功能相关的网络信息给主节点,若心跳功能未被其他节点代理或第二辅助节点同时代理网络拓扑管理功能和心跳功能,第二辅助节点可以直接上报与第一网络功能相关的网络信息给主节点,若第一辅助节点至少同时代理网络接入管理功能和心跳功能,则第二辅助节点不存在。在第一网络功能为网络拓扑管理功能的情况下,若心跳功能被其他节点代理,则第二辅助节点可以为代理心跳功能的节点,若心跳功能未被其他节点代理或第一辅助节点同时代理心跳功能和网络拓扑管理功能,则第二辅助节点不存在。在第一网络功能为网络设备信息管理功能的情况下,与第一网络功能为网络拓扑管理功能的情形类似,可参考进行理解。在第一网络功能为心跳功能的情况下,第二辅助节点不存在。Wherein, different network functions can be represented by different auxiliary nodes. For example, where a first auxiliary node proxies a first network function, other network functions may be proxied by other auxiliary nodes, eg by a second auxiliary node. If the first auxiliary node reports network information related to the first network function to the second auxiliary node, in the case where the first network function is a network access management function, the second auxiliary node may be a node that acts as a proxy for the network topology management function , at this time, if the heartbeat function is proxied by other nodes, the second auxiliary node can report the network information related to the first network function to the primary node through the auxiliary node proxying the heartbeat function. If the heartbeat function is not proxied by other nodes or the second The auxiliary node acts as a proxy for network topology management and heartbeat functions at the same time. The second auxiliary node can directly report network information related to the first network function to the primary node. If the first auxiliary node at least acts as a proxy for network access management and heartbeat functions, then Secondary node does not exist. In the case where the first network function is the network topology management function, if the heartbeat function is proxied by other nodes, the second auxiliary node can be a node that acts as a proxy for the heartbeat function. If the heartbeat function is not proxied by other nodes or the first auxiliary node is simultaneously proxied Heartbeat function and network topology management function, the second auxiliary node does not exist. In the case where the first network function is a network device information management function, it is similar to the case where the first network function is a network topology management function, which can be understood by referring to it. In the case where the first network function is the heartbeat function, the second auxiliary node does not exist.
可选的,网络功能参数包括以下信息中的一个或多个:第一网络功能的名称、第一网络功能的标识、第一网络功能是否被代理、代理第一网络功能的节点的地址(即第一辅助节点的地址)、第一网络功能被代理时的执行策略、第一网络功能被代理时的功耗。Optionally, the network function parameter includes one or more of the following information: the name of the first network function, the identifier of the first network function, whether the first network function is proxied, the address of the node that proxies the first network function (ie The address of the first assistant node), the execution policy when the first network function is proxied, and the power consumption when the first network function is proxied.
示例性的,假设第一辅助节点为节点1,第一辅助节点代理心跳功能和网络设备信息管理功能,则一种第一配置信息的示例可参见图9,具体包括以下信息:Exemplarily, assuming that the first auxiliary node is node 1, and the first auxiliary node acts as an agent for the heartbeat function and the network device information management function, an example of the first configuration information can be seen in FIG. 9 , which specifically includes the following information:
网络功能的名称:心跳功能The name of the network function: heartbeat function
网络功能的标识:0001Identification of network functions: 0001
节点的标识:节点1的MAC地址Node ID: MAC address of node 1
服务属性1Service attribute 1
心跳周期范围:500毫秒(ms)Heartbeat cycle range: 500 milliseconds (ms)
心跳窗口时间:100毫秒Heartbeat window time: 100 milliseconds
本地心跳期间功耗:每小时1毫安(1mAh)Power consumption during local heartbeat: 1 milliampere (1mAh) per hour
服务属性2Service attribute 2
是否代理该网络功能:是Whether to proxy the network function: yes
服务属性3:Service attribute 3:
支持XX能力的节点的状态变化时,马上上报主节点When the status of a node supporting XX capability changes, immediately report to the master node
(例如,支持投屏能力的节点的投屏分辨率变化时,马上上报主节点)(For example, when the screen resolution of a node that supports screen projection capabilities changes, immediately report to the master node)
支持XX能力的设备的服务信息变化时,按心跳周期同步给主节点When the service information of a device supporting XX capability changes, it will be synchronized to the master node according to the heartbeat cycle
(例如,支持图库能力的节点的服务的属性信息变化时,按心跳周期同步给主节点)(For example, when the attribute information of the service of the node supporting the gallery capability changes, it is synchronized to the master node according to the heartbeat cycle)
支持XX能力的节点的数据变化时,只在WiFi连接时同步When the data of a node that supports XX capabilities changes, it is only synchronized when it is connected to WiFi
(例如,支持图库能力的节点的服务的数据变化时,只在WiFi连接时同步给主节点)(For example, when the data of the service of the node supporting the gallery capability changes, it is only synchronized to the master node when the WiFi connection is connected)
......
服务属性NService attribute N
......
其中,图9中的服务属性1和服务属性2为网络功能参数,服务属性3为网络信息上报方式。具体的,服务属性1为心跳功能被代理时的执行策略,服务属性2为心跳功能是否被节点1代理的信息。Wherein, service attribute 1 and service attribute 2 in FIG. 9 are network function parameters, and service attribute 3 is a network information reporting method. Specifically, the service attribute 1 is the execution strategy when the heartbeat function is proxied, and the service attribute 2 is the information whether the heartbeat function is proxied by node 1.
607、主节点向第一节点发送第二配置信息,第二配置信息包括第三指示信息和/或第四指示信息,第三指示信息用于指示第一网络功能被第一辅助节点代理,第四指示信息用于指示第一节点与第一辅助节点之间执行第一网络功能时的网络功能参数,第一节点为Q个节点中的节点。相应的,第一节点从主节点接收第二配置信息。607. The master node sends second configuration information to the first node, the second configuration information includes third indication information and/or fourth indication information, the third indication information is used to indicate that the first network function is proxied by the first auxiliary node, and the second The four indication information is used to indicate network function parameters when the first network function is executed between the first node and the first auxiliary node, and the first node is a node among the Q nodes. Correspondingly, the first node receives second configuration information from the master node.
需要说明的是,在实际实现时,主节点可以向Q个节点中的每个节点发送第二配置信息,用于配置相应节点与第一辅助节点之间执行第一网络功能时的网络功能参数,本申请中以主节点向第一节点发送第二配置信息为例进行描述,主节点向其他节点发送第二配置信息过程可参考第一节点,不再赘述。其中,图6中以主节点向Q个节点中的每个节点(即向节点a和节点b)发送第二配置信息为例进行绘制。It should be noted that, in actual implementation, the master node may send second configuration information to each of the Q nodes for configuring network function parameters when performing the first network function between the corresponding node and the first assistant node In this application, the master node sends the second configuration information to the first node as an example for description, and the process of the master node sending the second configuration information to other nodes can refer to the first node, and will not be repeated here. Wherein, in FIG. 6 , the master node sends the second configuration information to each of the Q nodes (that is, to node a and node b) as an example for drawing.
其中,上述第一配置信息和第二配置信息均为第一网络功能的部署信息。关于网络功能参数的描述可参见上文,各个节点接收到网络功能参数之后,可以根据第一网络功能是否被代理的信息确定第一网络功能是否被代理,根据代理第一网络功能的节点的地址是否为自身的地址确定自身是否为第一辅助节点,根据第一网络功能被代理时执行的周期确定第一网络功能执行的周期(例如,若第一网络功能为心跳功能,则可以根据该周期确定上报网络信息的周期,若自身是第一辅助节点,则向主节点上报,若自身不是第一辅助节点,则向第一辅助节点上报)。Wherein, the above-mentioned first configuration information and second configuration information are deployment information of the first network function. For the description of network function parameters, please refer to the above. After each node receives the network function parameters, it can determine whether the first network function is proxied according to the information of whether the first network function is proxied. According to the address of the node that proxies the first network function Whether it is its own address determines whether it is the first auxiliary node, and determines the execution cycle of the first network function according to the execution cycle of the first network function when it is proxied (for example, if the first network function is a heartbeat function, it can be based on the cycle Determine the period for reporting network information, if you are the first auxiliary node, report to the master node, if you are not the first auxiliary node, report to the first auxiliary node).
需要说明的是,主节点发送给第一辅助节点的网络功能参数和发送给第一节点的网络功能参数中的网络功能参数的种类可以相同,也可以不同。主节点发送给第一辅助节点的和发送给第一节点的同一网络功能参数的值可以相同,也可以不同,本申请不作限制。It should be noted that, the types of network function parameters in the network function parameters sent by the master node to the first auxiliary node and in the network function parameters sent to the first node may be the same or different. The value of the same network function parameter sent by the master node to the first assistant node and sent to the first node may be the same or different, which is not limited in this application.
示例性的,以第一网络功能为心跳功能为例,主节点发送给第一节点的第二配置信息的示例可以参见图10,具体包括以下信息:Exemplarily, taking the first network function as the heartbeat function as an example, an example of the second configuration information sent by the master node to the first node can be seen in FIG. 10 , which specifically includes the following information:
网络功能的名称:心跳功能The name of the network function: heartbeat function
网络功能的标识:0001Identification of network functions: 0001
节点的标识:节点1的MAC地址Node ID: MAC address of node 1
服务属性1Service attribute 1
心跳周期范围:500毫秒(ms)Heartbeat cycle range: 500 milliseconds (ms)
心跳窗口时间:100毫秒Heartbeat window time: 100 milliseconds
本地心跳期间功耗:每小时1毫安(1mAh)Power consumption during local heartbeat: 1 milliampere (1mAh) per hour
服务属性2Service attribute 2
是否代理该网络功能:是Whether to proxy the network function: Yes
......
服务属性NService attribute N
......
可选的,第二配置信息中还包括第五指示信息,第五指示信息用于指示第一节点的网络信息上报方式,第一节点的网络信息上报方式为第一节点向第一辅助节点上报与第一网络功能相关的网络信息的方式。此时,主节点发送给第一节点的第二配置信息的示例可以参见图9,区别仅在于服务属性3中的主节点替换为第一辅助节点即可。关于网络信息上报方式的其他描述可参见上文,不再赘述。Optionally, the second configuration information also includes fifth indication information, the fifth indication information is used to indicate the network information reporting method of the first node, and the network information reporting method of the first node is that the first node reports to the first auxiliary node A mode of network information related to the first network function. At this time, an example of the second configuration information sent by the master node to the first node can be seen in FIG. 9 , the only difference is that the master node in service attribute 3 is replaced by the first assistant node. For other descriptions of the network information reporting method, refer to the above, and will not repeat them here.
需要说明的是,若第二配置信息中不包括第五指示信息,则第一节点可以默认采用某种网络信息上报方式进行网络信息的上报。It should be noted that, if the second configuration information does not include the fifth indication information, the first node may report the network information by using a certain network information reporting manner by default.
需要说明的是,步骤606和步骤607之间的执行顺序不分先后。It should be noted that the execution sequence between step 606 and step 607 is not in any order.
608、第一辅助节点根据第一网络功能的执行策略执行第一网络功能,和/或,第一辅助节点根据第一辅助节点的网络信息上报方式进行网络信息的上报。608. The first auxiliary node executes the first network function according to the execution policy of the first network function, and/or, the first auxiliary node reports the network information according to the network information reporting mode of the first auxiliary node.
可选的,若第一配置信息包括第一指示信息和/或第二指示信息,则第一辅助节点根据第一指示信息指示的网络信息上报方式向主节点上报与第一网络功能相关的网络信息,和/或,第一辅助节点根据第二指示信息指示的网络功能参数与其他节点之间执行第一网络功能。Optionally, if the first configuration information includes the first indication information and/or the second indication information, the first auxiliary node reports the network information related to the first network function to the master node according to the network information reporting method indicated by the first indication information. information, and/or, the first assistant node executes the first network function with other nodes according to the network function parameters indicated by the second indication information.
在进行网络信息上报时,具体的,第一辅助节点从Q个节点接收与第一网络功能相关的网络信息,根据第一辅助节点的网络信息上报方式向主节点或第二辅助节点上报与第一网络功能相关的网络信息。When reporting network information, specifically, the first auxiliary node receives network information related to the first network function from Q nodes, and reports the network information related to the first auxiliary node to the main node or the second auxiliary node according to the network information reporting method of the first auxiliary node. - Network information related to network functions.
步骤608在具体实现时,第一辅助节点在接收到主节点发送的第一配置信息后,即可开始代理第一网络功能。In specific implementation of step 608, after receiving the first configuration information sent by the master node, the first assistant node can start acting as a proxy for the first network function.
可以理解的是,本申请中不需要像现有技术一样,由主节点统一管理整体网络(此时,需要主节点以相对高的心跳周期获取整个网络信息),通过辅助节点与其他节点交互获取网络信息,而主节点只需要从辅助节点获取网络信息即可,因此,可以降低主节点的功耗。It can be understood that in this application, it is not necessary for the master node to uniformly manage the overall network as in the prior art (at this time, the master node needs to obtain the entire network information with a relatively high heartbeat cycle), and the assistant node interacts with other nodes to obtain Network information, while the master node only needs to obtain network information from the auxiliary node, so the power consumption of the master node can be reduced.
609、第一节点根据第三指示信息确定第一辅助节点,和/或,第一节点根据第四指示信息指示的网络功能参数与第一辅助节点之间执行第一网络功能。609. The first node determines the first assistant node according to the third indication information, and/or, the first node performs the first network function with the first assistant node according to the network function parameter indicated by the fourth indication information.
示例性的,若第一节点的网络信息上报方式为周期性心跳同步,则第一辅助节点可以通过心跳方式来维护网络信息。以图10所示的示例,若网络信息发生变化,则第一节点可以采用500ms的心跳周期和第一辅助节点进行心跳,从而同步网络信息。第 一辅助节点也可以通过租期管理的方式来维护网络信息,例如,第一节点可以在租期内和第一辅助节点进行通信,从而同步网络信息和/或网络拓扑信息。Exemplarily, if the network information reporting method of the first node is periodic heartbeat synchronization, the first auxiliary node may maintain network information in a heartbeat manner. Taking the example shown in FIG. 10 , if the network information changes, the first node may use a heartbeat period of 500 ms to perform heartbeat with the first auxiliary node, thereby synchronizing the network information. The first auxiliary node may also maintain network information through lease management. For example, the first node may communicate with the first auxiliary node during the lease to synchronize network information and/or network topology information.
需要说明的是,若主节点向Q个节点中的每个节点发送第二配置信息,则Q个节点中的每个节点均可以根据第四指示信息指示的网络功能参数与第一辅助节点之间执行第一网络功能,图6中以Q个节点中的每个节点(即节点a和节点b)与第一辅助节点之间执行第一网络功能为例进行绘制。It should be noted that, if the master node sends the second configuration information to each of the Q nodes, each of the Q nodes can be configured according to the difference between the network function parameters indicated by the fourth indication information and the first auxiliary node. Execute the first network function between each node in FIG. 6 by taking the execution of the first network function between each of the Q nodes (that is, node a and node b) and the first auxiliary node as an example.
需要说明的是,步骤608和步骤609之间的执行顺序不分先后。It should be noted that the execution sequence between step 608 and step 609 is not in any order.
610、若网络功能参数发生变化,主节点向第一辅助节点发送第三配置信息,向第一节点发送第四配置信息。其中,第三配置信息用于更新第一辅助节点与Q个节点之间执行第一网络功能时的网络功能参数,第四配置信息用于更新第一节点与第一辅助节点之间执行第一网络功能时的网络功能参数。相应的,第一辅助节点从主节点接收第三配置信息,第一节点从主节点接收第四配置信息。610. If the network function parameter changes, the primary node sends third configuration information to the first secondary node, and sends fourth configuration information to the first node. Wherein, the third configuration information is used to update the network function parameters when the first network function is executed between the first auxiliary node and Q nodes, and the fourth configuration information is used to update the first network function parameters executed between the first auxiliary node and the first auxiliary nodes. The network function parameter when the network function is used. Correspondingly, the first auxiliary node receives third configuration information from the master node, and the first node receives fourth configuration information from the master node.
需要说明的是,主节点可以向Q个节点中的每个节点发送第四配置信息,用于更新相应节点与第一辅助节点之间执行第一网络功能时的网络功能参数。图6中以主节点向Q个节点中的每个节点(即节点a和节点b)发送第四配置信息为例进行绘制。It should be noted that, the master node may send fourth configuration information to each of the Q nodes, for updating network function parameters when the first network function is executed between the corresponding node and the first assistant node. FIG. 6 is drawn by taking the master node sending fourth configuration information to each of the Q nodes (that is, node a and node b) as an example.
在步骤610之后,第一辅助节点和/或第一节点可以向主节点反馈更新状态,更新状态用于指示网络功能参数是否更新成功。After step 610, the first assistant node and/or the first node may feed back an update status to the master node, where the update status is used to indicate whether the network function parameter is successfully updated.
611、第一辅助节点根据更新后的网络功能参数与第一节点执行第一网络功能。若Q个节点中的每个节点均接收到了第四配置信息,则第一辅助节点可以根据更新后的网络功能参数与Q个节点之间执行第一网络功能。图6中以主节点根据更新后的网络功能参数与Q个节点中的每个节点(即节点a和节点b)之间执行第一网络功能为例进行绘制。611. The first assistant node performs the first network function with the first node according to the updated network function parameter. If each of the Q nodes has received the fourth configuration information, the first assistant node may perform the first network function with the Q nodes according to the updated network function parameters. FIG. 6 is drawn by taking the master node executing the first network function with each of the Q nodes (ie, node a and node b) according to the updated network function parameters as an example.
可选的,若更新后的第一辅助节点与Q个节点之间执行第一网络功能时的网络功能参数表明第一辅助节点不再代理第一网络功能(例如,代理第一网络功能的节点的地址修改为空或主节点的地址),该方法还包括:第一辅助节点确定不再代理第一网络功能。Optionally, if the updated network function parameters between the first auxiliary node and Q nodes when performing the first network function indicate that the first auxiliary node no longer acts as the agent for the first network function (for example, the node acting for the first network function The address of the primary node is changed to empty or the address of the primary node), the method further includes: the first secondary node determines that it will no longer act as a proxy for the first network function.
可选的,若主节点确定不再通过第一辅助节点代理第一网络功能(例如,在第一辅助节点离开第一网络,或者,主节点与第一辅助节点之间的通信质量变差等情况下,主节点可以确定不再通过第一辅助节点代理第一网络功能),该方法还包括:主节点与第一网络中的其他节点之间执行第一网络功能;或者,主节点重新为第一网络功能选择辅助节点,重新选择的辅助节点与Q个节点之间执行第一网络功能,此时,第一节点与主节点重新选择的辅助节点之间执行第一网络功能。Optionally, if the primary node determines not to use the first secondary node to act as a proxy for the first network function (for example, when the first secondary node leaves the first network, or the quality of communication between the primary node and the first secondary node deteriorates, etc. In this case, the master node may determine not to use the first assistant node to act as the proxy for the first network function), the method further includes: performing the first network function between the master node and other nodes in the first network; or, the master node re-assigns The first network function selects an auxiliary node, and the first network function is executed between the re-selected auxiliary node and Q nodes. At this time, the first network function is executed between the first node and the auxiliary nodes re-selected by the master node.
需要说明的是,主节点控制第一辅助节点的功能,主要是通过更新第一辅助节点执行第一网络功能时的网络功能参数实现的。主节点可以首先发命令给第一辅助节点,让第一辅助节点更新其代理的第一网络功能的网络功能参数(例如,心跳周期),在第一辅助节点执行完更新操作之后,会回复主节点第一网络功能的网络功能参数更新的状态,比如成功或者失败。如果第一网络功能的网络功能参数更新成功,则完成本次更新操作。否则,主节点会根据第一辅助节点的更新失败信息,执行失败保护策略,包含更新重试,或者强制收回第一辅助节点的代理能力,同时将相关信息(例如,第 一辅助节点不再执行第一网络功能的信息)同步给网络中的其它普通节点(比如路由节点、端节点等)。同时,网络中的其它节点,在接收到主节点的同步的消息后,停止与第一辅助节点之间执行第一网络功能,切换到与主节点或者主节点指定的其它辅助节点之间执行第一网络功能。It should be noted that the master node controls the function of the first assistant node mainly by updating network function parameters when the first assistant node executes the first network function. The primary node can first send a command to the first secondary node to ask the first secondary node to update the network function parameters (for example, heartbeat period) of the first network function it proxies. After the first secondary node performs the update operation, it will reply to the primary node The update status of the network function parameter of the first network function of the node, such as success or failure. If the network function parameters of the first network function are successfully updated, this update operation is completed. Otherwise, the primary node will implement the failure protection strategy based on the update failure information of the first secondary node, including update retry, or forcibly withdraw the proxy capability of the first secondary node, and at the same time, relevant information (for example, the first secondary node will no longer execute The information of the first network function) is synchronized to other common nodes in the network (such as routing nodes, end nodes, etc.). At the same time, other nodes in the network, after receiving the synchronization message from the master node, stop performing the first network function with the first auxiliary node, and switch to execute the first network function with the master node or other auxiliary nodes designated by the master node. 1. Network function.
需要说明的是,第一辅助节点不再执行第一网络功能的信息可以是通过更新的第一网络功能的网络功能参数指示给各个节点的,也可以是主节点单独指示给各个节点的,本申请不作限制。若为后者,第一辅助节点和主节点之间的交互包括:主节点向第一辅助节点以及第一节点发送一个指示信息(记为第六指示信息),第六指示信息用于指示第一辅助节点停止代理第一网络功能;第一辅助节点以及第一节点向主节点回复反馈信息,反馈信息用于通知是否获取第一辅助节点停止代理第一网络功能的信息。需要说明的是,这个指示信息为强制命令,即是说当主节点发出指示信息之后,主节点即认为第一辅助节点不再代理第一网络功能。第一辅助节点回复反馈信息为可选过程。It should be noted that the information that the first auxiliary node no longer performs the first network function may be indicated to each node through the updated network function parameters of the first network function, or may be indicated to each node by the master node alone. Applications are not restricted. If it is the latter, the interaction between the first auxiliary node and the master node includes: the master node sends an indication message (denoted as the sixth indication information) to the first auxiliary node and the first node, and the sixth indication information is used to indicate that the first auxiliary node An auxiliary node stops acting for the first network function; the first auxiliary node and the first node reply feedback information to the main node, and the feedback information is used to notify whether to acquire information that the first auxiliary node stops acting for the first network function. It should be noted that the indication information is a mandatory command, that is to say, after the master node sends out the indication information, the master node considers that the first auxiliary node no longer acts as the agent of the first network function. It is an optional process for the first assistant node to reply the feedback information.
当第一辅助节点接收到主节点发送的停止代理服务命令(上述第六指示信息或者表明第一辅助节点不再代理第一网络功能的更新的第一网络功能的网络功能参数)之后,第一辅助节点会停止代理第一网络功能,并释放掉执行代理任务期间的数据。这里补充一点,在第一辅助节点停止代理第一网络功能时,其维护的数据与主节点维护的数据是否做一致性同步的策略,由主节点下发的停止代理服务命令中的参数决定。一般这些数据是否做一致性同步是由第一辅助节点代理的网络功能的一致性要求决定的,不同网络功能的一致性要求会有差异。比如,如果代理网络拓扑管理功能,为避免新的网络管理者(例如,新的代理网络拓扑管理功能的辅助节点),再去收集网络拓扑信息,降低对第一网络的影响,会要求第一辅助节点进行网络拓扑信息的一致性同步。再比如,第一辅助节点代理了心跳功能,并且主节点选择了新的辅助节点用于代理心跳功能,此时可以不做一致性同步,主节点与新的辅助节点进行一致性同步即可。After the first auxiliary node receives the stop proxy service command sent by the master node (the above-mentioned sixth indication information or the updated network function parameter of the first network function indicating that the first auxiliary node no longer acts as an agent of the first network function), the first The secondary node stops proxying the first network function, and releases data during the proxy task execution. It should be added here that when the first auxiliary node stops acting as a proxy for the first network function, whether the data maintained by it and the data maintained by the master node are consistent and synchronized is determined by the parameters in the stop proxy service command issued by the master node. Generally, whether these data are consistent and synchronized is determined by the consistency requirements of the network functions proxied by the first auxiliary node, and the consistency requirements of different network functions will be different. For example, if the proxy network topology management function, in order to avoid new network managers (for example, new auxiliary nodes proxying the network topology management function) to collect network topology information and reduce the impact on the first network, it will require the first The auxiliary node performs consistent synchronization of network topology information. For another example, if the first auxiliary node acts as a proxy for the heartbeat function, and the primary node selects a new secondary node to act as the agent for the heartbeat function, it is not necessary to perform consistent synchronization at this time, and the primary node and the new secondary node can perform consistent synchronization.
需要说明的是,主节点有可能并不会对网络功能参数进行更新,因此,步骤610和步骤611可能不执行。It should be noted that the master node may not update the network function parameters, therefore, step 610 and step 611 may not be executed.
需要说明的是,除了主节点决定不再让第一辅助节点代理第一网络功能之外,第一辅助节点也可能离开第一网络,此时,主节点可以自行执行第一网络功能,也可以重新选择辅助节点执行第一网络功能。It should be noted that, in addition to the master node deciding not to let the first auxiliary node act as the agent of the first network function, the first auxiliary node may also leave the first network. At this time, the master node can perform the first network function by itself, or The secondary node is re-elected to perform the first network function.
612、主节点离开第一网络。612. The master node leaves the first network.
在步骤612之后,第一网络也就释放了。需要说明的是,主节点有可能并不会离开网络,因此,步骤612可能不执行。需要说明的是,步骤612可以在上述任意一个步骤之后执行,取决于主节点的行为。After step 612, the first network is released. It should be noted that the master node may not leave the network, therefore, step 612 may not be executed. It should be noted that step 612 may be performed after any of the above steps, depending on the behavior of the master node.
可选的,在主节点确定第一辅助节点之后,第一辅助节点可以与主节点沟通主节点的最大离线时长,比如1天,或者1周等,当主节点在最大离线时长内没有与第一辅助节点完成任意一次交互时,第一辅助节点会认为第一网络的主节点已经离开了第一网络,第一网络也就释放了。后续过程中,第一辅助节点可以与建立连接的其他节点进行协商,重新选取主节点,主节点可以重新选择辅助节点。Optionally, after the master node determines the first auxiliary node, the first auxiliary node can communicate with the master node about the maximum offline duration of the master node, such as 1 day, or 1 week. When the auxiliary node completes any interaction, the first auxiliary node will think that the primary node of the first network has left the first network, and the first network will be released. In the subsequent process, the first auxiliary node can negotiate with other nodes that have established connections to re-select the primary node, and the primary node can re-select the secondary node.
示例性的,最大离线时长可以是主节点在第一配置信息中配置给第一辅助节点的。若有多个辅助节点,主节点为不同的辅助节点配置的最大离线时长可以相同也可以不同,本申请不作限制。一种情况下,当主节点在一个辅助节点对应的最大离线时长内没有与该辅助节点完成任意一次交互时,认为主节点离开了第一网络。另一种情况下,当主节点在多个辅助节点(可以为部分或全部辅助节点)对应的最大离线时长内均没有与多个辅助节点完成任意一次交互时,认为主节点离开了第一网络。Exemplarily, the maximum offline duration may be configured by the primary node to the first secondary node in the first configuration information. If there are multiple auxiliary nodes, the maximum offline duration configured by the master node for different auxiliary nodes can be the same or different, which is not limited in this application. In one case, when the master node does not complete any interaction with the slave node within the maximum offline duration corresponding to the slave node, it is considered that the master node has left the first network. In another case, when the master node does not complete any interaction with multiple auxiliary nodes within the maximum offline duration corresponding to multiple auxiliary nodes (which may be some or all of the auxiliary nodes), it is considered that the main node has left the first network.
需要说明的是,若主节点离开第一网络的时间未达到最大离线时长,在主节点离开期间,各个辅助节点继续执行自身代理的网络功能,至于网络信息的同步,可以在主节点重回网络之后再进行。也就是说,本申请提供的方法,可以满足分布式网络中主节点的移动性要求,由于引入辅助节点,网络中的主节点是可以在一段时间内离开网络,而不影响网络运行,即不会过多的影响网络的稳态(即稳定状态)。其中,稳态是指在网络中,一个或者多个发送节点产生的待传输的数据,通过网络中的介质进行传输,到达其它一个或者多个接收节点,并接收处理的稳定状态。如果发送节点生产并传输的数据量,大于接收节点接收处理的数据量,则会有网络拥堵。如果发送节点生产并传输的数据量,小于或者等于接收节点接收处理的数据量,则网络处于稳态。需要说明的是,一个网络会有多个稳态情况,但是只要有节点离开或者进入网络,则会破坏当前的稳态,需要网络自适应地寻找并匹配下一个稳态。It should be noted that if the master node leaves the first network for less than the maximum offline duration, each auxiliary node will continue to perform the network function of its own agent during the master node's departure. Do it later. That is to say, the method provided by this application can meet the mobility requirements of the master node in the distributed network. Due to the introduction of the auxiliary node, the master node in the network can leave the network for a period of time without affecting the network operation, that is, without It will affect the steady state of the network too much (that is, the steady state). Among them, the steady state refers to the stable state in which the data to be transmitted generated by one or more sending nodes in the network is transmitted through the medium in the network, reaches other one or more receiving nodes, and is received and processed. If the amount of data produced and transmitted by the sending node is greater than the amount of data received and processed by the receiving node, there will be network congestion. If the amount of data produced and transmitted by the sending node is less than or equal to the amount of data received and processed by the receiving node, the network is in a steady state. It should be noted that a network will have multiple steady states, but as long as a node leaves or enters the network, the current steady state will be destroyed, requiring the network to adaptively find and match the next steady state.
为了满足各场景下网络体验最优的要求,本申请在选择辅助节点时,可以选择在网络中相对稳定的节点,这种节点可以监听网络的稳态情况,从而当有其他节点进入、离开网络时,辅助节点可以更有针对性优化网络状态,提供更好的网络时延和带宽的保障。In order to meet the requirements of optimal network experience in various scenarios, this application can choose a relatively stable node in the network when selecting an auxiliary node. This node can monitor the steady state of the network, so that when other nodes enter or leave the network When , the auxiliary node can optimize the network status more specifically and provide better network delay and bandwidth guarantee.
图6所示的过程对主节点确定辅助节点以及进行网络功能下放的过程进行了简单介绍。The process shown in FIG. 6 briefly introduces the process of determining the auxiliary node by the master node and decentralizing the network function.
本申请提供的方法,在分布式网络中,通过将主节点的部分网络功能交由(或者说下放)辅助节点执行,实现了主节点半集中式管理,从而可以降低主节点的功耗,提高网络时效性、可靠性。The method provided by this application realizes the semi-centralized management of the master node by handing over (or decentralizing) some of the network functions of the master node to the auxiliary nodes in a distributed network, thereby reducing the power consumption of the master node and improving Network timeliness and reliability.
具体的,将主节点的网络功能进行拆分,主节点可以根据网络中其它节点的能力,指定其他节点代理网络功能,将需要主节点处理的一个或者多个网络功能转移到其它节点上面执行,使其中受到主节点设备能力限制的网络功能,可以转移到网络中其它可以使该网络功能执行更优化的节点上面执行。例如,将主节点的对功耗敏感的网络功能(例如,心跳功能)转移到对功耗不敏感的常供电的节点(例如,大屏)上,可以实现主节点以较低的功耗感知并管理整体网络,从而在避免网络频繁更动(例如,不断的有节点加入或离开第一网络)的前提下,实现网络功耗与性能的平衡,并极大提升分布式网络的用户覆盖面。针对心跳功能,进一步的,还可以结合主节点与辅助节点之间差异化的通信方式(例如,主节点与辅助节点之间的心跳周期大于辅助节点与其他节点的心跳周期),从而降低主节点的功耗。再例如,针对带宽敏感的网络功能,可以转移到分布式网络中大带宽的节点(例如,路由器、大屏、PC等)上面,从而提高网络传输速率和可靠性。需要说明的是,如果网络中没有合适的节点代理网络功能,那么主节点仍然需要自己执行该网络功能。Specifically, the network function of the master node is split, and the master node can designate other nodes to act as network functions according to the capabilities of other nodes in the network, and transfer one or more network functions that need to be processed by the master node to other nodes for execution. The network functions limited by the capabilities of the master node equipment can be transferred to other nodes in the network that can perform more optimized network functions. For example, transferring the network function (for example, heartbeat function) of the master node that is sensitive to power consumption to a node that is not sensitive to power consumption (for example, a large screen) can realize the perception of the master node with lower power consumption. And manage the overall network, so as to avoid frequent network changes (for example, nodes constantly join or leave the first network), achieve a balance between network power consumption and performance, and greatly improve the user coverage of the distributed network. For the heartbeat function, further, differentiated communication methods between the primary node and the secondary node can also be combined (for example, the heartbeat period between the primary node and the secondary node is greater than the heartbeat period between the secondary node and other nodes), thereby reducing the number of primary nodes. power consumption. For another example, bandwidth-sensitive network functions can be transferred to high-bandwidth nodes (such as routers, large screens, PCs, etc.) in the distributed network, thereby improving network transmission rate and reliability. It should be noted that if there is no suitable node in the network to act as a proxy for the network function, the master node still needs to perform the network function by itself.
需要说明的是,辅助节点的代理的网络功能的开始、变更和停止,只能由主节点决定。辅助节点不具备要求非主节点切换到其他节点的能力。It should be noted that the start, change and stop of the network function of the agent of the secondary node can only be decided by the primary node. Secondary nodes do not have the ability to ask non-primary nodes to switch to other nodes.
为了使得本申请实施例更加的清楚,以下站在第一辅助节点的角度对上述方法的实现流程进行示例性说明,该示例中假设确定主节点之后第一辅助节点加入第一网络,参见图11,包括:In order to make the embodiment of the present application more clear, the implementation process of the above method is illustrated below from the perspective of the first auxiliary node. In this example, it is assumed that the first auxiliary node joins the first network after the master node is determined, see FIG. 11 ,include:
1101、第一辅助节点搜索分布式网络节点(即主节点)。1101. The first assistant node searches for a distributed network node (that is, a master node).
在步骤1101之前,第一辅助节点可以进行初始化,从而打开网络搜索功能进行网络搜索。Before step 1101, the first auxiliary node can be initialized, so as to enable the network search function to perform network search.
1102、第一辅助节点通过与搜索到的主节点进行绑定和认证加入第一网络。1102. The first assistant node joins the first network by binding and authenticating with the searched master node.
1103、第一辅助节点向主节点上报支持的网络功能的信息,并获取主节点的信息。1103. The first auxiliary node reports information about supported network functions to the master node, and acquires information about the master node.
其中,主节点的信息例如可以为主节点的标识、主节点支持的连接方式等信息,后续过程中,第一辅助节点可以采用双方共同支持的连接方式进行通信,也可以在后续过程中根据主节点的标识确定接收到的信息是否为主节点发送的信息。Among them, the information of the primary node can be information such as the identity of the primary node, the connection mode supported by the primary node, etc. In the subsequent process, the first secondary node can communicate using the connection mode supported by both The identity of the node determines whether the received message is sent by the master node.
1104、第一辅助节点接收主节点的第一配置信息。1104. The first auxiliary node receives first configuration information of the master node.
1105、第一辅助节点根据第一配置信息确定自身代理第一网络功能,并根据第一网络功能的执行策略执行第一网络功能,根据第一辅助节点的网络信息上报方式进行网络信息的上报。1105. The first assistant node determines that it acts as a proxy for the first network function according to the first configuration information, executes the first network function according to the execution policy of the first network function, and reports network information according to the network information reporting method of the first assistant node.
1106、若第一网络功能的网络功能参数发生变化,第一辅助节点从主节点接收第三配置信息,第三配置信息用于更新第一辅助节点执行第一网络功能时的网络功能参数。1106. If the network function parameters of the first network function change, the first auxiliary node receives third configuration information from the master node, where the third configuration information is used to update network function parameters when the first auxiliary node executes the first network function.
1107、第一辅助节点根据更新后的网络功能参数执行第一网络功能。1107. The first assistant node executes the first network function according to the updated network function parameter.
1108、第一辅助节点离开第一网络。1108. The first auxiliary node leaves the first network.
需要说明的是,第一辅助节点可能并不会离开第一网络,此时,步骤1108可以不执行。It should be noted that the first assistant node may not leave the first network, and in this case, step 1108 may not be performed.
在第一辅助节点代理网络接入管理功能的情况下,以第一辅助节点向主节点上报与网络接入管理功能相关的网络信息为例,后续过程中,第一辅助节点可以进行主动广播搜索,主动广播搜索主要用于扫描发现其它未组网节点,当有新节点加入时,新节点可以扫描第一辅助节点的主动广播搜索获取第一辅助节点的信息,与第一辅助节点建立连接,新节点加入的信息(例如,节点的标识)会先保留在第一辅助节点上,然后按主节点的心跳策略反馈给主节点,或者,如果主节点做主动查询,第一辅助节点可以快速返回新节点加入的信息。这种情况下,新节点的入网及后续的信息处理流程可参见图12,包括:In the case where the first assistant node acts as a proxy for the network access management function, take the first assistant node reporting network information related to the network access management function to the master node as an example. In the subsequent process, the first assistant node can actively broadcast search , the active broadcast search is mainly used to scan and discover other unnetworked nodes. When a new node joins, the new node can scan the active broadcast search of the first auxiliary node to obtain the information of the first auxiliary node and establish a connection with the first auxiliary node. The information that the new node joins (for example, the node’s identity) will be kept on the first auxiliary node first, and then fed back to the main node according to the heartbeat strategy of the main node, or, if the main node makes an active query, the first auxiliary node can quickly return Information about new node joining. In this case, the network access of the new node and the subsequent information processing flow can be seen in Figure 12, including:
1201、节点X搜索分布式网络节点。1201. Node X searches for distributed network nodes.
其中,搜索到的分布式网络节点可能为主节点,也可能为第一辅助节点。若搜索到的分布式网络节点为第一辅助节点,第一辅助节点可以负责认证,也可以负责绑定和认证。图12中以节点X搜索到第一辅助节点为例进行描述。Wherein, the searched distributed network node may be the primary node, or may be the first auxiliary node. If the searched distributed network node is the first auxiliary node, the first auxiliary node may be responsible for authentication, or for binding and authentication. In FIG. 12, description is made by taking node X searching for the first assistant node as an example.
步骤1201在具体实现时,第一网络会将执行网络接入管理功能的节点推送给节点X,节点X据此确定进行网络接入的节点,但是节点X不会区分执行网络接入管理功能的节点是主节点还是第一辅助节点。When step 1201 is actually implemented, the first network will push the node that performs the network access management function to node X, and node X determines the node that performs network access based on this, but node X will not distinguish between nodes that perform the network access management function. Whether the node is primary or first secondary.
1202、节点X通过搜索到的分布式网络节点加入第一网络。1202. Node X joins the first network through the searched distributed network nodes.
若第一辅助节点负责认证,节点X通过认证加入第一网络,若第一辅助节点负责绑定和认证,节点X通过绑定和认证加入第一网络。If the first auxiliary node is responsible for authentication, node X joins the first network through authentication; if the first auxiliary node is responsible for binding and authentication, node X joins the first network through binding and authentication.
1203、第一辅助节点将第一辅助节点的信息和主节点的信息发送给节点X。1203. The first auxiliary node sends the information of the first auxiliary node and the information of the master node to node X.
后续过程中,若节点X接收到主节点和第一辅助节点同时发送的作用相悖的指令时,按照主节点的指令执行。In the subsequent process, if node X receives an instruction with contradictory functions sent by the master node and the first auxiliary node at the same time, it will execute according to the instruction of the master node.
1204、节点X将节点X加入的信息(例如,节点X的标识、节点X的连接方式等)发送给第一辅助节点。1204. Node X sends the information that node X joins (for example, the identity of node X, the connection mode of node X, etc.) to the first assistant node.
1205、第一辅助节点与主节点进行心跳通信。此处的心跳通信的作用是用于确定互相通信的设备是否在线。1205. The first secondary node performs heartbeat communication with the primary node. The function of the heartbeat communication here is to determine whether the devices communicating with each other are online.
1206、第一辅助节点将节点X加入的信息发送给主节点。1206. The first auxiliary node sends the information that node X joins to the main node.
1207、节点X离开第一网络。1207. Node X leaves the first network.
需要说明的是,节点X可能并不会离开第一网络,此时,步骤1207可以不执行。It should be noted that node X may not leave the first network, and in this case, step 1207 may not be performed.
示例性的,上述各个节点的组成可参见图13,针对不同的节点,包含的模块可以不同,本申请不作限制。图13中的各个模块的作用如下。Exemplarily, the composition of each node above can be seen in FIG. 13 , and the included modules may be different for different nodes, which is not limited in this application. The function of each module in Fig. 13 is as follows.
设备管理模块,用于管理已经组网的网络(例如,上文中的第一网络)中各个节点的信息,还用于入网节点的绑定与认证工作的处理,维护整体网络中节点信息。The device management module is used to manage the information of each node in the network that has been established (for example, the first network above), and is also used to process the binding and authentication of network-connected nodes and maintain node information in the overall network.
网络状态管理模块,负责网络中各节点的状态信息的同步和维护,例如,可以采用主动心跳方案结合租期方案,维护各节点的状态信息。The network state management module is responsible for the synchronization and maintenance of the state information of each node in the network. For example, the active heartbeat scheme can be combined with the lease scheme to maintain the state information of each node.
配置管理模块,用于管理网络的各种配置项及策略项。The configuration management module is used to manage various configuration items and policy items of the network.
路由管理模块,负责路由的转发表、路由表等信息的构建和维护。其中,路由根据转发类型或者路由数据类型的差异,分为异构路由管理(例如,3台设备A、B、C,A与B通过蓝牙连接,B与C通过WiFi连接,A通过蓝牙链路通信数据到支持Wifi的B,然后B再通过Wifi转发给其它的WiFi接入设备C)和同构路由管理(例如,3台设备A、B、C,都是通过WiFi连接,A可以通过B的WiFI转发,将数据传送给C)。The routing management module is responsible for the construction and maintenance of information such as routing forwarding tables and routing tables. Among them, routing is divided into heterogeneous routing management according to the difference in forwarding type or routing data type (for example, 3 devices A, B, and C, A and B are connected through Bluetooth, B and C are connected through WiFi, A is connected through Bluetooth link Communication data to B that supports Wifi, and then B forwards it to other WiFi access devices C) and isomorphic routing management (for example, 3 devices A, B, and C are all connected through WiFi, and A can pass B The WiFI forwards and transmits the data to C).
路由选择模块,负责在网络中,通过对网络路径、时延等计算,选择最佳的网络路径进行计算。The routing selection module is responsible for selecting the best network path for calculation by calculating the network path and time delay in the network.
设备地址管理模块,负责网络设备地址的分配和管理。The device address management module is responsible for the allocation and management of network device addresses.
路由引擎模块,在基于低层各类通信技术的抽象管理,采用事件状态机制,管理低层具体的实现物理通信介质。The routing engine module, based on the abstract management of various low-level communication technologies, adopts the event state mechanism to manage the low-level specific implementation of physical communication media.
最低层蓝牙通信、基础WiFi通信、WiFi P2P通信、虚拟无线接入点(WiFi SoftAP)通信、USB通信等针对各类具体通信技术协议的封装,在控制面,会与具体协议的控制协议进行交互,比如蓝牙的通用访问规范(generic access profile,GAP)协议,WiFi的802.11MAC协议,而在数据层面也会通过与具体协议的标准进行交互,实现数据的互联,比如经典蓝牙(即蓝牙BR)的射频通信协议(radio frequency communication,RFCOMM)协议,BLE的属性协议(Attribute Protocol,ATT)/通用属性规范(generic attribute profile,GATT)等。The lowest layer Bluetooth communication, basic WiFi communication, WiFi P2P communication, virtual wireless access point (WiFi SoftAP) communication, USB communication, etc. are packaged for various specific communication technology protocols. On the control plane, it will interact with the control protocol of the specific protocol , such as Bluetooth's generic access profile (GAP) protocol, WiFi's 802.11MAC protocol, and at the data level, it will also interact with specific protocol standards to achieve data interconnection, such as classic Bluetooth (that is, Bluetooth BR) The radio frequency communication protocol (radio frequency communication, RFCOMM) protocol, BLE attribute protocol (Attribute Protocol, ATT)/generic attribute profile (generic attribute profile, GATT), etc.
在本申请中,针对图13所示的整体的框架,在主节点、辅助节点上面会做差异化的部署。具体来说,在主节点上面会完整部署整体框架的能力,但是辅助节点上面, 会差异化部署,从而使辅助节点拥有管理网络信息的能力,但是这类能力,只能按照主节点要求的策略执行,比如心跳策略,需要对齐的是主节点的时钟,这时,主节点是可以知道由辅助节点管理的整体网络的唤醒周期,但是主节点确认可以按时钟节拍,根据自身的能耗策略(比如采用两个时钟周期,或者动态时钟周期),来与辅助节点交互,来获取辅助节点维护的实时信息。In this application, for the overall framework shown in Figure 13, differentiated deployments will be made on the primary node and secondary nodes. Specifically, the ability of the overall framework will be fully deployed on the master node, but differentiated deployment will be deployed on the auxiliary node, so that the auxiliary node has the ability to manage network information, but such capabilities can only be implemented according to the strategy required by the master node Execution, such as the heartbeat strategy, needs to be aligned with the clock of the master node. At this time, the master node can know the wake-up cycle of the overall network managed by the auxiliary node, but the master node can confirm that it can tick according to the clock, according to its own energy consumption strategy ( For example, two clock cycles, or a dynamic clock cycle) are used to interact with the auxiliary node to obtain real-time information maintained by the auxiliary node.
本申请中涉及到的物理器件包含但不限于节点中的WiFi、蓝牙、USB、网卡、中央处理器(central processing unit,CPU)等。The physical devices involved in this application include but are not limited to WiFi, Bluetooth, USB, network card, central processing unit (central processing unit, CPU) in the node.
上述主要从方法的角度对本申请实施例的方案进行了介绍。可以理解的是,各个网元,例如,主节点、辅助节点和第一节点为了实现上述功能,其包含了执行各个功能相应的硬件结构和软件模块中的至少一个。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of methods. It can be understood that, in order to realize the above functions, each network element, for example, the main node, the auxiliary node and the first node, includes at least one of corresponding hardware structures and software modules for performing each function. Those skilled in the art should easily realize that the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
本申请实施例可以根据上述方法示例对主节点、辅助节点和第一节点进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application can divide the functional units of the main node, the auxiliary node and the first node according to the above method example, for example, each functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
示例性的,图14示出了上述实施例中所涉及的网络管理装置(记为网络管理装置140)的一种可能的结构示意图,该网络管理装置140包括处理单元1401和通信单元1402。可选的,还包括存储单元1403。网络管理装置140可以用于示意上述实施例中的主节点、辅助节点和第一节点的结构。Exemplarily, FIG. 14 shows a possible structural diagram of the network management device (referred to as the network management device 140 ) involved in the above-mentioned embodiment, and the network management device 140 includes a processing unit 1401 and a communication unit 1402 . Optionally, a storage unit 1403 is also included. The network management device 140 may be used to illustrate the structures of the primary node, the secondary node, and the first node in the foregoing embodiments.
当图14所示的结构示意图用于示意上述实施例中所涉及的主节点的结构时,处理单元1401用于对主节点的动作进行控制管理,例如,处理单元1401用于执行图6中的601-607、610和612,和/或本申请实施例中所描述的其他过程中的主节点执行的动作。处理单元1401可以通过通信单元1402与其他网络实体通信,例如,与图6中的第一辅助节点通信。存储单元1403用于存储主节点的程序代码和数据。When the schematic structural diagram shown in FIG. 14 is used to illustrate the structure of the master node involved in the above embodiment, the processing unit 1401 is used to control and manage the actions of the master node. For example, the processing unit 1401 is used to execute the 601-607, 610, and 612, and/or actions performed by the master node in other processes described in the embodiments of this application. The processing unit 1401 may communicate with other network entities through the communication unit 1402, for example, communicate with the first assistant node in FIG. 6 . The storage unit 1403 is used to store program codes and data of the master node.
当图14所示的结构示意图用于示意上述实施例中所涉及的第一辅助节点的结构时,处理单元1401用于对第一辅助节点的动作进行控制管理,例如,处理单元1401用于执行图6中的603、604、606、608-611、图11、图12,和/或本申请实施例中所描述的其他过程中的第一辅助节点执行的动作。处理单元1401可以通过通信单元1402与其他网络实体通信,例如,与图6中的主节点通信。存储单元1403用于存储第一辅助节点的程序代码和数据。When the structural diagram shown in FIG. 14 is used to illustrate the structure of the first auxiliary node involved in the above embodiment, the processing unit 1401 is used to control and manage the actions of the first auxiliary node, for example, the processing unit 1401 is used to execute Actions performed by the first assistant node in 603, 604, 606, 608-611 in FIG. 6, FIG. 11, FIG. 12, and/or other processes described in the embodiments of this application. The processing unit 1401 may communicate with other network entities through the communication unit 1402, for example, communicate with the master node in FIG. 6 . The storage unit 1403 is used for storing program codes and data of the first assistant node.
当图14所示的结构示意图用于示意上述实施例中所涉及的第一节点的结构时,处理单元1401用于对第一节点的动作进行控制管理,例如,处理单元1401用于执行图6中的601、602、604、607、609-611(此时第一节点可以为节点a也可以为节点b),和/或本申请实施例中所描述的其他过程中的第一节点执行的动作。处理单元1401可以通 过通信单元1402与其他网络实体通信,例如,与图6中的第一辅助节点通信。存储单元1403用于存储第一节点的程序代码和数据。When the schematic structural diagram shown in FIG. 14 is used to illustrate the structure of the first node involved in the above embodiment, the processing unit 1401 is used to control and manage the actions of the first node. For example, the processing unit 1401 is used to execute the 601, 602, 604, 607, 609-611 in (the first node at this time may be node a or node b), and/or executed by the first node in other processes described in the embodiments of this application action. The processing unit 1401 may communicate with other network entities through the communication unit 1402, for example, communicate with the first assistant node in FIG. 6 . The storage unit 1403 is used for storing program codes and data of the first node.
图14所示的结构示意图还可以用于示意上述实施例中所涉及的其他节点(例如,节点X、第二辅助节点)的结构,此时,处理单元1401用于对该其他节点的动作进行控制管理,例如,处理单元1401用于执行本申请实施例中所描述的该其他节点执行的动作。处理单元1401可以通过通信单元1402与其他网络实体通信。存储单元1403用于该其他节点的程序代码和数据。The structural schematic diagram shown in FIG. 14 can also be used to illustrate the structure of other nodes involved in the above-mentioned embodiments (for example, node X, the second auxiliary node). At this time, the processing unit 1401 is used to perform actions on the other nodes For control management, for example, the processing unit 1401 is configured to perform the actions performed by the other nodes described in the embodiment of this application. The processing unit 1401 can communicate with other network entities through the communication unit 1402 . The storage unit 1403 is used for program codes and data of the other nodes.
示例性的,网络管理装置140可以为一个设备也可以为芯片或芯片系统。Exemplarily, the network management apparatus 140 may be a device or a chip or a chip system.
当网络管理装置140为一个设备时,处理单元1401可以是处理器;通信单元1402可以是通信接口、收发器,或,输入接口和/或输出接口。可选地,收发器可以为收发电路。可选地,输入接口可以为输入电路,输出接口可以为输出电路。When the network management apparatus 140 is a device, the processing unit 1401 may be a processor; the communication unit 1402 may be a communication interface, a transceiver, or an input interface and/or an output interface. Optionally, the transceiver may be a transceiver circuit. Optionally, the input interface may be an input circuit, and the output interface may be an output circuit.
当网络管理装置140为芯片或芯片系统时,通信单元1402可以是该芯片或芯片系统上的通信接口、输入接口和/或输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。处理单元1401可以是处理器、处理电路或逻辑电路等。When the network management device 140 is a chip or a chip system, the communication unit 1402 may be a communication interface, an input interface and/or an output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit on the chip or the chip system. . The processing unit 1401 may be a processor, a processing circuit, a logic circuit, or the like.
图14中的集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。存储计算机软件产品的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated units in FIG. 14 are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment 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, and the computer software product is stored in a storage In the medium, several instructions are included to make a computer device (which may be a personal computer, server, or network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. The storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk, etc., which can store program codes. medium.
本申请实施例还提供了一种网络管理装置的硬件结构示意图,参见图15或图16,该网络管理装置包括处理器1501,可选的,还包括与处理器1501连接的存储器1502。The embodiment of the present application also provides a schematic diagram of a hardware structure of a network management device. Referring to FIG. 15 or FIG. 16 , the network management device includes a processor 1501 and, optionally, a memory 1502 connected to the processor 1501 .
处理器1501可以是一个通用中央处理器(central processing unit,CPU)、微处理器、特定应用集成电路(application-specific integrated circuit,ASIC),或者一个或多个用于控制本申请方案程序执行的集成电路。处理器1501也可以包括多个CPU,并且处理器1501可以是一个单核(single-CPU)处理器,也可以是多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路或用于处理数据(例如计算机程序指令)的处理核。The processor 1501 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, a specific application integrated circuit (application-specific integrated circuit, ASIC), or one or more devices used to control the execution of the program program of this application. integrated circuit. The processor 1501 may also include multiple CPUs, and the processor 1501 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, or processing cores for processing data such as computer program instructions.
存储器1502可以是ROM或可存储静态信息和指令的其他类型的静态存储设备、RAM或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,本申请实施例对此不作任何限制。存储器1502可以是独立存在(此时,存储器1502可以位于网络管理装置外,也可以位于网络管理装置内), 也可以和处理器1501集成在一起。其中,存储器1502中可以包含计算机程序代码。处理器1501用于执行存储器1502中存储的计算机程序代码,从而实现本申请实施例提供的方法。Memory 1502 can be ROM or other types of static storage devices that can store static information and instructions, RAM or other types of dynamic storage devices that can store information and instructions, and can also be electrically erasable programmable read-only memory (electrically erasable programmable read-only memory) read-only memory, EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk The embodiment of the present application does not impose any limitation on storage media or other magnetic storage devices, or any other media that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer. The memory 1502 may exist independently (in this case, the memory 1502 may be located outside the network management device or within the network management device), or may be integrated with the processor 1501 . Wherein, the memory 1502 may contain computer program codes. The processor 1501 is configured to execute the computer program code stored in the memory 1502, so as to implement the method provided in the embodiment of the present application.
在第一种可能的实现方式中,参见图15,网络管理装置还包括收发器1503。处理器1501、存储器1502和收发器1503通过总线相连接。收发器1503用于与其他设备或通信网络通信。可选的,收发器1503可以包括发射机和接收机。收发器1503中用于实现接收功能的器件可以视为接收机,接收机用于执行本申请实施例中的接收的步骤。收发器1503中用于实现发送功能的器件可以视为发射机,发射机用于执行本申请实施例中的发送的步骤。基于第一种可能的实现方式,参见图15,图15所示的结构示意图可以用于示意上述实施例中所涉及的主节点、辅助节点和第一节点的结构。In a first possible implementation manner, referring to FIG. 15 , the network management device further includes a transceiver 1503 . The processor 1501, the memory 1502 and the transceiver 1503 are connected through a bus. The transceiver 1503 is used to communicate with other devices or a communication network. Optionally, the transceiver 1503 may include a transmitter and a receiver. The device in the transceiver 1503 for implementing the receiving function may be regarded as a receiver, and the receiver is configured to perform the receiving step in the embodiment of the present application. The device in the transceiver 1503 for implementing the sending function may be regarded as a transmitter, and the transmitter is used to perform the sending step in the embodiment of the present application. Based on the first possible implementation manner, referring to FIG. 15 , the schematic structural diagram shown in FIG. 15 may be used to illustrate the structures of the primary node, the secondary node, and the first node involved in the foregoing embodiments.
当图15所示的结构示意图用于示意上述实施例中所涉及的主节点的结构时,处理器1501用于对主节点的动作进行控制管理,例如,处理器1501用于执行图6中的601-607、610和612,和/或本申请实施例中所描述的其他过程中的主节点执行的动作。处理器1501可以通过收发器1503与其他网络实体通信,例如,与图6中的第一辅助节点通信。存储器1502用于存储主节点的程序代码和数据。When the structural diagram shown in FIG. 15 is used to illustrate the structure of the master node involved in the above embodiment, the processor 1501 is used to control and manage the actions of the master node. For example, the processor 1501 is used to execute the 601-607, 610, and 612, and/or actions performed by the master node in other processes described in the embodiments of this application. The processor 1501 may communicate with other network entities through the transceiver 1503, for example, communicate with the first auxiliary node in FIG. 6 . The memory 1502 is used to store program codes and data of the master node.
当图15所示的结构示意图用于示意上述实施例中所涉及的第一辅助节点的结构时,处理器1501用于对第一辅助节点的动作进行控制管理,例如,处理器1501用于执行图6中的603、604、606、608-611、图11、图12,和/或本申请实施例中所描述的其他过程中的第一辅助节点执行的动作。处理器1501可以通过收发器1503与其他网络实体通信,例如,与图6中的主节点通信。存储器1502用于存储第一辅助节点的程序代码和数据。When the structural diagram shown in FIG. 15 is used to illustrate the structure of the first auxiliary node involved in the above embodiment, the processor 1501 is used to control and manage the actions of the first auxiliary node, for example, the processor 1501 is used to execute Actions performed by the first assistant node in 603, 604, 606, 608-611 in FIG. 6, FIG. 11, FIG. 12, and/or other processes described in the embodiments of this application. The processor 1501 may communicate with other network entities through the transceiver 1503, for example, communicate with the master node in FIG. 6 . The memory 1502 is used to store program codes and data of the first assistant node.
当图15所示的结构示意图用于示意上述实施例中所涉及的第一节点的结构时,处理器1501用于对第一节点的动作进行控制管理,例如,处理器1501用于执行图6中的601、602、604、607、609-611(此时第一节点可以为节点a也可以为节点b),和/或本申请实施例中所描述的其他过程中的第一节点执行的动作。处理器1501可以通过收发器1503与其他网络实体通信,例如,与图6中的第一辅助节点通信。存储器1502用于存储第一节点的程序代码和数据。When the structural diagram shown in FIG. 15 is used to illustrate the structure of the first node involved in the above embodiment, the processor 1501 is used to control and manage the actions of the first node. For example, the processor 1501 is used to execute the 601, 602, 604, 607, 609-611 in (the first node at this time may be node a or node b), and/or executed by the first node in other processes described in the embodiments of this application action. The processor 1501 may communicate with other network entities through the transceiver 1503, for example, communicate with the first auxiliary node in FIG. 6 . The memory 1502 is used to store program codes and data of the first node.
图15所示的结构示意图还可以用于示意上述实施例中所涉及的其他节点(例如,节点X、第二辅助节点)的结构,此时,处理器1501用于对该其他节点的动作进行控制管理,例如,处理器1501用于执行本申请实施例中所描述的该其他节点执行的动作。处理器1501可以通过收发器1503与其他网络实体通信。存储器1502用于该其他节点的程序代码和数据。The structural schematic diagram shown in FIG. 15 can also be used to illustrate the structure of other nodes involved in the above-mentioned embodiments (for example, node X, the second auxiliary node). At this time, the processor 1501 is used to perform For control and management, for example, the processor 1501 is configured to perform actions performed by the other nodes described in the embodiments of the present application. Processor 1501 may communicate with other network entities through transceiver 1503 . Memory 1502 is used for program codes and data for the other nodes.
在第二种可能的实现方式中,处理器1501包括逻辑电路,以及输入接口和/或输出接口。示例性的,输出接口用于执行相应方法中的发送的动作,输入接口用于执行相应方法中的接收的动作。基于第二种可能的实现方式,参见图16,图16所示的结构示意图可以用于示意上述实施例中所涉及的主节点、辅助节点和第一节点的结构。In a second possible implementation manner, the processor 1501 includes a logic circuit, and an input interface and/or an output interface. Exemplarily, the output interface is used to perform the sending action in the corresponding method, and the input interface is used to perform the receiving action in the corresponding method. Based on the second possible implementation manner, referring to FIG. 16 , the schematic structural diagram shown in FIG. 16 may be used to illustrate the structures of the primary node, the secondary node, and the first node involved in the foregoing embodiments.
当图16所示的结构示意图用于示意上述实施例中所涉及的主节点的结构时,处理器1501用于对主节点的动作进行控制管理,例如,处理器1501用于执行图6中的601-607、610和612,和/或本申请实施例中所描述的其他过程中的主节点执行的动作。处理器1501可以通过输入接口和/或输出接口与其他网络实体通信,例如,与图6中的第一辅 助节点通信。存储器1502用于存储主节点的程序代码和数据。When the schematic structural diagram shown in FIG. 16 is used to illustrate the structure of the master node involved in the above embodiment, the processor 1501 is used to control and manage the actions of the master node. For example, the processor 1501 is used to execute the 601-607, 610, and 612, and/or actions performed by the master node in other processes described in the embodiments of this application. The processor 1501 may communicate with other network entities through an input interface and/or an output interface, for example, communicate with the first auxiliary node in FIG. 6 . The memory 1502 is used to store program codes and data of the master node.
当图16所示的结构示意图用于示意上述实施例中所涉及的第一辅助节点的结构时,处理器1501用于对第一辅助节点的动作进行控制管理,例如,处理器1501用于执行图6中的603、604、606、608-611、图11、图12,和/或本申请实施例中所描述的其他过程中的第一辅助节点执行的动作。处理器1501可以通过输入接口和/或输出接口与其他网络实体通信,例如,与图6中的主节点通信。存储器1502用于存储第一辅助节点的程序代码和数据。When the structural diagram shown in FIG. 16 is used to illustrate the structure of the first auxiliary node involved in the above embodiment, the processor 1501 is used to control and manage the actions of the first auxiliary node, for example, the processor 1501 is used to execute Actions performed by the first assistant node in 603, 604, 606, 608-611 in FIG. 6, FIG. 11, FIG. 12, and/or other processes described in the embodiments of this application. The processor 1501 may communicate with other network entities through an input interface and/or an output interface, for example, communicate with the master node in FIG. 6 . The memory 1502 is used to store program codes and data of the first assistant node.
当图16所示的结构示意图用于示意上述实施例中所涉及的第一节点的结构时,处理器1501用于对第一节点的动作进行控制管理,例如,处理器1501用于执行图6中的601、602、604、607、609-611(此时第一节点可以为节点a也可以为节点b),和/或本申请实施例中所描述的其他过程中的第一节点执行的动作。处理器1501可以通过输入接口和/或输出接口与其他网络实体通信,例如,与图6中的第一辅助节点通信。存储器1502用于存储第一节点的程序代码和数据。When the structural schematic diagram shown in FIG. 16 is used to illustrate the structure of the first node involved in the above embodiment, the processor 1501 is used to control and manage the actions of the first node. For example, the processor 1501 is used to execute the 601, 602, 604, 607, 609-611 in (the first node at this time may be node a or node b), and/or executed by the first node in other processes described in the embodiments of this application action. The processor 1501 may communicate with other network entities through an input interface and/or an output interface, for example, communicate with the first auxiliary node in FIG. 6 . The memory 1502 is used to store program codes and data of the first node.
图16所示的结构示意图还可以用于示意上述实施例中所涉及的其他节点(例如,节点X、第二辅助节点)的结构,此时,处理器1501用于对该其他节点的动作进行控制管理,例如,处理器1501用于执行本申请实施例中所描述的该其他节点执行的动作。处理器1501可以通过输入接口和/或输出接口与其他网络实体通信。存储器1502用于该其他节点的程序代码和数据。The schematic structural diagram shown in FIG. 16 can also be used to illustrate the structure of other nodes (for example, node X, the second auxiliary node) involved in the above-mentioned embodiment. At this time, the processor 1501 is used to perform actions on the other nodes For control and management, for example, the processor 1501 is configured to perform actions performed by the other nodes described in the embodiments of the present application. Processor 1501 may communicate with other network entities through input interfaces and/or output interfaces. Memory 1502 is used for program codes and data for the other nodes.
在实现过程中,本实施例提供的方法中的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the implementation process, each step in the method provided by this embodiment may be implemented by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the methods disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
本申请实施例还提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述任一方法。An embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute any one of the above methods.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一方法。The embodiment of the present application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute any one of the above methods.
本申请实施例还提供了一种通信系统,包括:上述主节点、上述辅助节点以及其他一个或多个节点。The embodiment of the present application also provides a communication system, including: the above-mentioned main node, the above-mentioned auxiliary node, and one or more other nodes.
本申请实施例还提供了一种芯片,包括:处理器和接口,处理器通过接口与存储器耦合,当处理器执行存储器中的计算机程序或指令时,使得上述实施例提供的任意一种方法被执行。The embodiment of the present application also provides a chip, including: a processor and an interface, the processor is coupled to the memory through the interface, and when the processor executes the computer program or instructions in the memory, any method provided in the above embodiments is executed implement.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算 机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. A computer can be a general purpose computer, special purpose computer, computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (such as infrared, wireless, microwave, etc.) transmission to another website site, computer, server or data center. A computer-readable storage medium may be any available medium that can be accessed by a computer, or may contain one or more data storage devices such as servers and data centers that can be integrated with the medium. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)), etc.
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看附图、公开内容、以及所附权利要求书,可理解并实现公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present application has been described in conjunction with various embodiments herein, those skilled in the art can understand and realize the disclosure by viewing the drawings, the disclosure, and the appended claims during the implementation of the claimed application. Other Variations of Embodiments. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that these measures cannot be combined to advantage.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Although the application has been described in conjunction with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and drawings are merely illustrative of the application as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of this application. Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (28)

  1. 一种网络管理方法,其特征在于,包括:A network management method, characterized in that, comprising:
    主节点根据至少一个节点支持的网络功能的信息和所述主节点的第一网络功能的信息确定所述至少一个节点中的第一辅助节点,所述第一辅助节点用于替代所述主节点执行所述第一网络功能,所述第一网络功能为所述主节点的部分网络功能;The master node determines a first auxiliary node among the at least one node according to the information of the network function supported by at least one node and the information of the first network function of the master node, and the first auxiliary node is used to replace the master node executing the first network function, the first network function being part of the network function of the master node;
    所述主节点向所述第一辅助节点发送第一配置信息,所述第一配置信息用于配置所述第一辅助节点的网络信息上报方式和所述第一网络功能的执行策略。The master node sends first configuration information to the first assistant node, where the first configuration information is used to configure a network information reporting method of the first assistant node and an execution policy of the first network function.
  2. 根据权利要求1所述的方法,其特征在于,所述第一配置信息包括第一指示信息和第二指示信息;The method according to claim 1, wherein the first configuration information includes first indication information and second indication information;
    所述第一指示信息用于指示所述第一辅助节点的网络信息上报方式;所述网络信息上报方式为所述第一辅助节点向所述主节点或第二辅助节点上报与所述第一网络功能相关的网络信息的方式;所述第二辅助节点用于将所述第一辅助节点上报的与所述第一网络功能相关的网络信息上报给所述主节点;The first indication information is used to indicate the network information reporting method of the first auxiliary node; the network information reporting method is that the first auxiliary node reports to the master node or the second auxiliary node and A mode of network information related to network functions; the second auxiliary node is used to report the network information related to the first network function reported by the first auxiliary node to the main node;
    所述第二指示信息用于指示所述第一辅助节点与其他节点之间执行所述第一网络功能时的网络功能参数,所述其他节点是指所述至少一个节点中的除所述第一辅助节点之外的部分或全部节点。The second indication information is used to indicate network function parameters when the first network function is performed between the first assistant node and other nodes, and the other nodes refer to the at least one node except the first Some or all nodes other than a secondary node.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, further comprising:
    所述主节点向第一节点发送第二配置信息,所述第二配置信息包括第三指示信息和第四指示信息,所述第三指示信息用于指示所述第一网络功能被所述第一辅助节点代理,所述第四指示信息用于指示所述第一节点与所述第一辅助节点之间执行所述第一网络功能时的网络功能参数,所述第一节点为所述其他节点中的节点。The master node sends second configuration information to the first node, where the second configuration information includes third indication information and fourth indication information, and the third indication information is used to indicate that the first network function is configured by the first network function An assistant node agent, the fourth indication information is used to indicate network function parameters when the first network function is executed between the first node and the first assistant node, and the first node is the other node in node.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, further comprising:
    所述主节点向所述第一辅助节点发送第三配置信息,所述第三配置信息用于更新所述第一辅助节点与所述其他节点之间执行所述第一网络功能时的网络功能参数;和/或,The master node sends third configuration information to the first assistant node, where the third configuration information is used to update the network function when the first network function is executed between the first assistant node and the other nodes parameters; and/or,
    所述主节点向所述第一节点发送第四配置信息,所述第四配置信息用于更新所述第一节点与所述第一辅助节点之间执行所述第一网络功能时的网络功能参数。The master node sends fourth configuration information to the first node, where the fourth configuration information is used to update the network function when the first network function is executed between the first node and the first assistant node parameter.
  5. 根据权利要求2-4任一项所述的方法,其特征在于,若所述主节点确定不再通过所述第一辅助节点执行所述第一网络功能,所述方法还包括:The method according to any one of claims 2-4, wherein if the master node determines that the first network function is no longer performed through the first assistant node, the method further comprises:
    所述主节点与所述其他节点之间执行所述第一网络功能;或者,performing the first network function between the master node and the other nodes; or,
    所述主节点重新为所述第一网络功能选择辅助节点。The primary node re-selects a secondary node for the first network function.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-5, wherein the method further comprises:
    所述主节点分别从所述至少一个节点接收所述至少一个节点支持的网络功能的信息。The master node respectively receives information about network functions supported by the at least one node from the at least one node.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述主节点根据至少一个节点支持的网络功能的信息和所述主节点的第一网络功能的信息确定所述至少一个节点中的第一辅助节点,包括:The method according to any one of claims 1-6, wherein the master node determines the at least one node according to information about network functions supported by at least one node and information about the first network function of the master node The first secondary node in , consisting of:
    所述主节点根据所述至少一个节点支持的网络功能的信息和所述第一网络功能的信息确定支持所述第一网络功能且满足以下条件中的一个或多个的节点为所述第一辅 助节点:1)支持代替所述主节点执行所述第一网络功能;2)常供电;3)执行所述第一网络功能时的功耗小于或等于所述主节点执行所述第一网络功能时的功耗;4)支持所述主节点控制所述第一网络功能的执行策略;5)执行所述第一网络功能时的时延小于或等于所述主节点执行所述第一网络功能时的时延;6)执行所述第一网络功能时的可靠性高于或等于所述主节点执行所述第一网络功能时的可靠性。The master node determines, according to the information about the network function supported by the at least one node and the information about the first network function, that a node that supports the first network function and satisfies one or more of the following conditions is the first node Auxiliary node: 1) supporting the execution of the first network function instead of the main node; 2) constant power supply; 3) power consumption when performing the first network function is less than or equal to that of the main node performing the first network 4) support the master node to control the execution strategy of the first network function; 5) the delay when executing the first network function is less than or equal to the master node executing the first network function 6) The reliability when executing the first network function is higher than or equal to the reliability when the master node executes the first network function.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述第一网络功能为网络拓扑管理功能、网络接入管理功能、网络设备信息管理功能或心跳功能。The method according to any one of claims 1-7, wherein the first network function is a network topology management function, a network access management function, a network device information management function or a heartbeat function.
  9. 一种网络管理方法,其特征在于,包括:A network management method, characterized in that, comprising:
    第一辅助节点从主节点接收第一配置信息,所述第一配置信息用于配置所述第一辅助节点的网络信息上报方式和第一网络功能的执行策略,所述第一辅助节点用于替代所述主节点执行所述第一网络功能,所述第一网络功能为所述主节点的部分网络功能,所述第一辅助节点为除所述主节点之外的至少一个节点中的节点;The first auxiliary node receives first configuration information from the main node, the first configuration information is used to configure the network information reporting method of the first auxiliary node and the execution policy of the first network function, and the first auxiliary node is used for performing the first network function instead of the main node, the first network function is a part of the network function of the main node, and the first auxiliary node is a node in at least one node other than the main node ;
    所述第一辅助节点根据所述第一网络功能的执行策略执行所述第一网络功能,根据所述第一辅助节点的网络信息上报方式进行网络信息的上报。The first assistant node executes the first network function according to the execution policy of the first network function, and reports the network information according to the network information reporting mode of the first assistant node.
  10. 根据权利要求9所述的方法,其特征在于,所述第一配置信息包括第一指示信息和第二指示信息;The method according to claim 9, wherein the first configuration information includes first indication information and second indication information;
    所述第一指示信息用于指示所述第一辅助节点的网络信息上报方式;所述网络信息上报方式为所述第一辅助节点向所述主节点或第二辅助节点上报与所述第一网络功能相关的网络信息的方式;所述第二辅助节点用于将所述第一辅助节点上报的与所述第一网络功能相关的网络信息上报给所述主节点;The first indication information is used to indicate the network information reporting method of the first auxiliary node; the network information reporting method is that the first auxiliary node reports to the master node or the second auxiliary node and A mode of network information related to network functions; the second auxiliary node is used to report the network information related to the first network function reported by the first auxiliary node to the main node;
    所述第二指示信息用于指示所述第一辅助节点与其他节点之间执行所述第一网络功能时的网络功能参数,所述其他节点是指所述至少一个节点中的除所述第一辅助节点之外的部分或全部节点。The second indication information is used to indicate network function parameters when the first network function is performed between the first assistant node and other nodes, and the other nodes refer to the at least one node except the first Some or all nodes other than a secondary node.
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method according to claim 10, characterized in that the method further comprises:
    所述第一辅助节点从所述其他节点接收与所述第一网络功能相关的网络信息;the first auxiliary node receives network information related to the first network function from the other node;
    所述第一辅助节点根据所述第一辅助节点的网络信息上报方式进行网络信息的上报,包括:所述第一辅助节点根据所述第一辅助节点的网络信息上报方式向所述主节点或所述第二辅助节点上报与所述第一网络功能相关的网络信息。The first auxiliary node reports the network information according to the network information reporting method of the first auxiliary node, including: the first auxiliary node reports the network information to the master node or The second assistant node reports network information related to the first network function.
  12. 根据权利要求10或11所述的方法,其特征在于,所述方法还包括:The method according to claim 10 or 11, wherein the method further comprises:
    所述第一辅助节点从所述主节点接收第三配置信息,所述第三配置信息用于更新所述第一辅助节点与所述其他节点之间执行所述第一网络功能时的网络功能参数;The first assistant node receives third configuration information from the master node, the third configuration information is used to update the network function when the first network function is executed between the first assistant node and the other nodes parameter;
    所述第一辅助节点根据更新后的网络功能参数与所述其他节点之间执行所述第一网络功能。The first assistant node executes the first network function with the other nodes according to the updated network function parameters.
  13. 根据权利要求12所述的方法,其特征在于,若更新后的所述第一辅助节点与所述其他节点之间执行所述第一网络功能时的网络功能参数表明所述第一辅助节点不再代理所述第一网络功能,所述方法还包括:The method according to claim 12, wherein if the updated network function parameters between the first auxiliary node and the other nodes perform the first network function indicate that the first auxiliary node does not Re-proxying the first network function, the method further comprising:
    所述第一辅助节点确定不再代理所述第一网络功能。The first assistant node determines not to proxy the first network function any more.
  14. 根据权利要求9-13任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9-13, wherein the method further comprises:
    所述第一辅助节点向所述主节点发送所述第一辅助节点支持的网络功能的信息。The first assistant node sends information about network functions supported by the first assistant node to the master node.
  15. 根据权利要求9-14任一项所述的方法,其特征在于,所述至少一个节点中的支持所述第一网络功能且满足以下条件中的一个或多个的节点为所述第一辅助节点:1)支持代替所述主节点执行所述第一网络功能;2)常供电;3)执行所述第一网络功能时的功耗小于或等于所述主节点执行所述第一网络功能时的功耗;4)支持所述主节点控制所述第一网络功能的执行策略;5)执行所述第一网络功能时的时延小于或等于所述主节点执行所述第一网络功能时的时延;6)执行所述第一网络功能时的可靠性高于或等于所述主节点执行所述第一网络功能时的可靠性。The method according to any one of claims 9-14, wherein, among the at least one node, a node that supports the first network function and satisfies one or more of the following conditions is the first assistant Node: 1) supporting the execution of the first network function instead of the master node; 2) constant power supply; 3) power consumption when executing the first network function is less than or equal to that of the master node performing the first network function 4) Support the master node to control the execution strategy of the first network function; 5) The delay when executing the first network function is less than or equal to the master node executing the first network function 6) The reliability when executing the first network function is higher than or equal to the reliability when the master node executes the first network function.
  16. 一种网络管理方法,其特征在于,包括:A network management method, characterized in that, comprising:
    主节点根据至少一个节点支持的网络功能的信息和所述主节点的第一网络功能的信息确定所述至少一个节点中的第一辅助节点,所述第一辅助节点用于替代所述主节点执行所述第一网络功能,所述第一网络功能为所述主节点的部分网络功能;The master node determines a first auxiliary node among the at least one node according to the information of the network function supported by at least one node and the information of the first network function of the master node, and the first auxiliary node is used to replace the master node executing the first network function, the first network function being part of the network function of the master node;
    所述主节点向所述第一辅助节点发送第一配置信息,所述第一配置信息用于配置所述第一辅助节点的网络信息上报方式和所述第一网络功能的执行策略;The master node sends first configuration information to the first assistant node, where the first configuration information is used to configure a network information reporting method of the first assistant node and an execution policy of the first network function;
    所述第一辅助节点从所述主节点接收所述第一配置信息;the first secondary node receives the first configuration information from the primary node;
    所述第一辅助节点根据所述第一网络功能的执行策略执行所述第一网络功能,根据所述第一辅助节点的网络信息上报方式进行网络信息的上报。The first assistant node executes the first network function according to the execution policy of the first network function, and reports the network information according to the network information reporting mode of the first assistant node.
  17. 根据权利要求16所述的方法,其特征在于,所述第一配置信息包括第一指示信息和第二指示信息;The method according to claim 16, wherein the first configuration information includes first indication information and second indication information;
    所述第一指示信息用于指示所述第一辅助节点的网络信息上报方式;所述网络信息上报方式为所述第一辅助节点向所述主节点或第二辅助节点上报与所述第一网络功能相关的网络信息的方式;所述第二辅助节点用于将所述第一辅助节点上报的与所述第一网络功能相关的网络信息上报给所述主节点;The first indication information is used to indicate the network information reporting method of the first auxiliary node; the network information reporting method is that the first auxiliary node reports to the master node or the second auxiliary node and A mode of network information related to network functions; the second auxiliary node is used to report the network information related to the first network function reported by the first auxiliary node to the main node;
    所述第二指示信息用于指示所述第一辅助节点与其他节点之间执行所述第一网络功能时的网络功能参数,所述其他节点是指所述至少一个节点中的除所述第一辅助节点之外的部分或全部节点。The second indication information is used to indicate network function parameters when the first network function is performed between the first assistant node and other nodes, and the other nodes refer to the at least one node except the first Some or all nodes other than a secondary node.
  18. 根据权利要求17所述的方法,其特征在于,所述方法还包括:The method according to claim 17, further comprising:
    所述主节点向第一节点发送第二配置信息,所述第二配置信息包括第三指示信息和第四指示信息,所述第三指示信息用于指示所述第一网络功能被所述第一辅助节点代理,所述第四指示信息用于指示所述第一节点与所述第一辅助节点之间执行所述第一网络功能时的网络功能参数,所述第一节点为所述其他节点中的节点;The master node sends second configuration information to the first node, where the second configuration information includes third indication information and fourth indication information, and the third indication information is used to indicate that the first network function is configured by the first network function An assistant node agent, the fourth indication information is used to indicate network function parameters when the first network function is executed between the first node and the first assistant node, and the first node is the other node in node;
    所述第一节点从所述主节点接收所述第二配置信息;the first node receives the second configuration information from the master node;
    所述第一节点根据所述第三指示信息确定所述第一辅助节点;The first node determines the first assistant node according to the third indication information;
    所述第一节点根据所述第四指示信息指示的网络功能参数与所述第一辅助节点之间执行所述第一网络功能。The first node executes the first network function with the first assistant node according to the network function parameter indicated by the fourth indication information.
  19. 根据权利要求17或18所述的方法,其特征在于,所述方法还包括:The method according to claim 17 or 18, further comprising:
    所述第一辅助节点从所述其他节点接收与所述第一网络功能相关的网络信息;the first auxiliary node receives network information related to the first network function from the other node;
    所述第一辅助节点根据所述第一辅助节点的网络信息上报方式进行网络信息的上报,包括:所述第一辅助节点根据所述第一辅助节点的网络信息上报方式向所述主节点或所述第二辅助节点上报与所述第一网络功能相关的网络信息;The first auxiliary node reports the network information according to the network information reporting method of the first auxiliary node, including: the first auxiliary node reports the network information to the master node or The second assistant node reports network information related to the first network function;
    所述主节点或所述第二辅助节点从所述第一辅助节点接收与所述第一网络功能相关的网络信息。The primary node or the second secondary node receives network information related to the first network function from the first secondary node.
  20. 根据权利要求17-19任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 17-19, wherein the method further comprises:
    所述主节点向所述第一辅助节点发送第三配置信息,所述第三配置信息用于更新所述第一辅助节点与所述其他节点之间执行所述第一网络功能时的网络功能参数;The master node sends third configuration information to the first assistant node, where the third configuration information is used to update the network function when the first network function is executed between the first assistant node and the other nodes parameter;
    所述第一辅助节点从所述主节点接收所述第三配置信息;the first secondary node receives the third configuration information from the primary node;
    所述第一辅助节点根据更新后的网络功能参数与所述其他节点之间执行所述第一网络功能。The first assistant node executes the first network function with the other nodes according to the updated network function parameters.
  21. 根据权利要求20所述的方法,其特征在于,若更新后的所述第一辅助节点与所述其他节点之间执行所述第一网络功能时的网络功能参数表明所述第一辅助节点不再代理所述第一网络功能,所述方法还包括:The method according to claim 20, wherein if the updated network function parameters between the first auxiliary node and the other nodes perform the first network function indicate that the first auxiliary node does not Re-proxying the first network function, the method further comprising:
    所述第一辅助节点确定不再代理所述第一网络功能。The first assistant node determines not to proxy the first network function any more.
  22. 根据权利要求18所述的方法,其特征在于,所述方法还包括:The method according to claim 18, further comprising:
    所述主节点向所述第一节点发送第四配置信息,所述第四配置信息用于更新所述第一节点与所述第一辅助节点之间执行所述第一网络功能时的网络功能参数;The master node sends fourth configuration information to the first node, where the fourth configuration information is used to update a network function between the first node and the first assistant node when performing the first network function parameter;
    所述第一节点从所述主节点接收所述第四配置信息;receiving, by the first node, the fourth configuration information from the master node;
    所述第一节点根据更新后的网络功能参数与所述第一辅助节点之间执行所述第一网络功能。The first node executes the first network function with the first assistant node according to the updated network function parameter.
  23. 根据权利要求16-22任一项所述的方法,其特征在于,所述主节点根据至少一个节点支持的网络功能的信息和所述主节点的第一网络功能的信息确定所述至少一个节点中的第一辅助节点,包括:The method according to any one of claims 16-22, wherein the master node determines the at least one node according to information about network functions supported by at least one node and information about the first network function of the master node The first secondary node in , consisting of:
    所述主节点根据所述至少一个节点支持的网络功能的信息和所述第一网络功能的信息确定支持所述第一网络功能且满足以下条件中的一个或多个的节点为所述第一辅助节点:1)支持代替所述主节点执行所述第一网络功能;2)常供电;3)执行所述第一网络功能时的功耗小于或等于所述主节点执行所述第一网络功能时的功耗;4)支持所述主节点控制所述第一网络功能的执行策略;5)执行所述第一网络功能时的时延小于或等于所述主节点执行所述第一网络功能时的时延;6)执行所述第一网络功能时的可靠性高于或等于所述主节点执行所述第一网络功能时的可靠性。The master node determines, according to the information about the network function supported by the at least one node and the information about the first network function, that a node that supports the first network function and satisfies one or more of the following conditions is the first node Auxiliary node: 1) supporting the execution of the first network function instead of the master node; 2) constant power supply; 3) power consumption when performing the first network function is less than or equal to that of the master node performing the first network function 4) support the master node to control the execution strategy of the first network function; 5) the delay when executing the first network function is less than or equal to the master node executing the first network function 6) The reliability when executing the first network function is higher than or equal to the reliability when the master node executes the first network function.
  24. 根据权利要求16-23任一项所述的方法,其特征在于,所述第一网络功能为网络拓扑管理功能、网络接入管理功能、网络设备信息管理功能或心跳功能。The method according to any one of claims 16-23, wherein the first network function is a network topology management function, a network access management function, a network device information management function or a heartbeat function.
  25. 根据权利要求16-24任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 16-24, wherein the method further comprises:
    所述至少一个节点分别向所述主节点上报所述至少一个节点支持的网络功能的信息;The at least one node respectively reports information about the network functions supported by the at least one node to the master node;
    所述主节点分别从所述至少一个节点接收所述至少一个节点支持的网络功能的信息。The master node respectively receives information about network functions supported by the at least one node from the at least one node.
  26. 根据权利要求17-21任一项所述的方法,其特征在于,若所述主节点确定不再通过所述第一辅助节点执行所述第一网络功能,所述方法还包括:The method according to any one of claims 17-21, wherein if the master node determines that the first network function is no longer performed through the first assistant node, the method further comprises:
    所述主节点与所述其他节点之间执行所述第一网络功能;或者,performing the first network function between the master node and the other nodes; or,
    所述主节点重新为所述第一网络功能选择辅助节点,所述其他节点与所述主节点 重新确定的代理所述第一网络功能的辅助节点之间执行所述第一网络功能。The master node re-selects an auxiliary node for the first network function, and the first network function is executed between the other nodes and the auxiliary node re-determined by the master node as an agent of the first network function.
  27. 一种网络管理装置,其特征在于,包括:用于执行如权利要求1-15任一项所述方法的功能单元;其中,所述功能单元所执行的动作通过硬件实现或通过硬件执行相应的软件实现。A network management device, characterized by comprising: a functional unit for executing the method according to any one of claims 1-15; wherein, the actions performed by the functional unit are realized by hardware or the corresponding actions are executed by hardware. Software Implementation.
  28. 一种网络管理装置,其特征在于,包括:处理器;A network management device, characterized by comprising: a processor;
    所述处理器与存储器连接,所述存储器用于存储计算机执行指令,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述网络管理装置实现如权利要求1-15任一项所述的方法。The processor is connected to a memory, the memory is used to store computer-executable instructions, and the processor executes the computer-executable instructions stored in the memory, so that the network management device implements any one of claims 1-15. method described in the item.
PCT/CN2022/087930 2021-06-30 2022-04-20 Network management method and apparatus WO2023273533A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110736813.7A CN115550957A (en) 2021-06-30 2021-06-30 Network management method and device
CN202110736813.7 2021-06-30

Publications (1)

Publication Number Publication Date
WO2023273533A1 true WO2023273533A1 (en) 2023-01-05

Family

ID=84690219

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/087930 WO2023273533A1 (en) 2021-06-30 2022-04-20 Network management method and apparatus

Country Status (2)

Country Link
CN (1) CN115550957A (en)
WO (1) WO2023273533A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135729A (en) * 2023-01-20 2023-11-28 荣耀终端有限公司 Multi-device cooperation method, system and terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090154343A1 (en) * 2007-12-12 2009-06-18 Synapsanse Corporation Apparatus and method for adapting to failures in gateway devices in mesh networks
US20150318962A1 (en) * 2014-05-02 2015-11-05 Telefonaktiebolaget L M Ericsson (Publ) System And Method Using A Secondary Network Node For Handling Packet Retransmissions
WO2018170746A1 (en) * 2017-03-21 2018-09-27 Oppo广东移动通信有限公司 Communication method, secondary network node and terminal
CN111466135A (en) * 2017-10-10 2020-07-28 瑞典爱立信有限公司 Reporting NSA/SA NR indicators
WO2020191058A1 (en) * 2019-03-18 2020-09-24 Apple Inc. Data forwarding in mr-dc with 5gc operations involving sn change

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090154343A1 (en) * 2007-12-12 2009-06-18 Synapsanse Corporation Apparatus and method for adapting to failures in gateway devices in mesh networks
US20150318962A1 (en) * 2014-05-02 2015-11-05 Telefonaktiebolaget L M Ericsson (Publ) System And Method Using A Secondary Network Node For Handling Packet Retransmissions
WO2018170746A1 (en) * 2017-03-21 2018-09-27 Oppo广东移动通信有限公司 Communication method, secondary network node and terminal
CN111466135A (en) * 2017-10-10 2020-07-28 瑞典爱立信有限公司 Reporting NSA/SA NR indicators
WO2020191058A1 (en) * 2019-03-18 2020-09-24 Apple Inc. Data forwarding in mr-dc with 5gc operations involving sn change

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135729A (en) * 2023-01-20 2023-11-28 荣耀终端有限公司 Multi-device cooperation method, system and terminal device
CN117135729B (en) * 2023-01-20 2024-05-24 荣耀终端有限公司 Multi-device cooperation method, system and terminal device

Also Published As

Publication number Publication date
CN115550957A (en) 2022-12-30

Similar Documents

Publication Publication Date Title
EP2803244B1 (en) Methods and apparatus for establishing a tunneled direct link setup (tdls) session between devices in a wireless network
US9043395B2 (en) Method and system for delegating group ownership in a Wi-Fi peer to peer network
US9924552B2 (en) Method and apparatus for changing in wireless communication system
JP6110507B2 (en) Communication setting method and apparatus therefor in WiFi direct service system
KR100681625B1 (en) A method to realize dynamic networking and resource sharing among equipments
US10194478B2 (en) Method and apparatus for performing wireless docking service
CN108323246B (en) Networking method, chip and wireless network system
US20130311694A1 (en) Devices and methods for facilitating direct pairing in a wireless docking system
JP2018532312A (en) A smart coprocessor for optimizing service discovery power consumption in wireless service platforms
CN104205933B (en) Seamless transition of cellular phone from cellular communication to Wi-Fi communication
US20150327313A1 (en) Method and device for session initialization in wireless communication system
EP1494394A1 (en) Distance-aware service mechanism for determining the availability of remote services in wireless personal area networks
EP2871870B1 (en) Device and service discovery method, and device middleware
US20150351018A1 (en) Discovery method and device in a wireless communication system
Liu et al. Development of mobile ad-hoc networks over wi-fi direct with off-the-shelf android phones
CN104333888A (en) Self-organized instant messaging method based on Wi-Fi direct connection
US10652730B2 (en) Traffic-aware group reformation in a multi-group P2P network
US9980121B2 (en) Method and apparatus for performing discovery in wireless communication system
JP2014504065A (en) Probe messaging for direct link connections
WO2018120390A1 (en) Method for establishing communication, and terminal
US11611604B2 (en) Method and apparatus for receiving streaming via transport protocol in wireless communication system
US10051673B2 (en) Method and apparatus for session initiation in wireless communication system
Lee et al. Wi-Fi direct based mobile ad hoc network
WO2023273533A1 (en) Network management method and apparatus
Hu et al. PLI-Sync: Prefetch Loss-Insensitive Sync for NDN Group Streaming

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22831364

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE