CN115102993A - Active access method, device and equipment for plug and play of terminal and readable medium - Google Patents

Active access method, device and equipment for plug and play of terminal and readable medium Download PDF

Info

Publication number
CN115102993A
CN115102993A CN202210836971.4A CN202210836971A CN115102993A CN 115102993 A CN115102993 A CN 115102993A CN 202210836971 A CN202210836971 A CN 202210836971A CN 115102993 A CN115102993 A CN 115102993A
Authority
CN
China
Prior art keywords
node
sta
registered
request information
cco
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210836971.4A
Other languages
Chinese (zh)
Other versions
CN115102993B (en
Inventor
白晖峰
郑利斌
霍超
陈文彬
甄岩
何烁
杨东文
王宇斯
尹志斌
张港红
高建
程显明
许玉洁
苑佳楠
罗安琴
谢凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
Beijing Smartchip Microelectronics Technology Co Ltd
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 Beijing Smartchip Microelectronics Technology Co Ltd filed Critical Beijing Smartchip Microelectronics Technology Co Ltd
Priority to CN202210836971.4A priority Critical patent/CN115102993B/en
Publication of CN115102993A publication Critical patent/CN115102993A/en
Application granted granted Critical
Publication of CN115102993B publication Critical patent/CN115102993B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • G06F9/4413Plug-and-play [PnP]
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/35Utilities, e.g. electricity, gas or water
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration

Abstract

The disclosure relates to the technical field of power internet of things, in particular to a plug-and-play active access method, a plug-and-play active access device, a plug-and-play active access equipment and a plug-and-play readable medium for a terminal, wherein the method comprises the following steps: the registered STA node receives registration request information sent by a lower node; the lower node is an STA node in a one-hop range of the registered STA node, does not comprise a peer node and a father node of the registered STA node, combines the registration request information into request information, sends the request information to the CCO node, receives a confirmation message sent by the CCO node in response to the combination request information, and sends the confirmation message to the lower node in a multicast mode. According to the technical scheme, the problem that the access equipment is low in efficiency in the prior art is solved, the support capability of large-scale terminal access and multi-service high concurrency is provided for the power distribution Internet of things by combining the aggregation of the registration request information and the multicast mode sending, and the rapid and efficient adaptation of the heterogeneous terminal nodes of the power distribution Internet of things is improved.

Description

Active access method, device and equipment for plug and play of terminal and readable medium
Technical Field
The disclosure relates to the technical field of power internet of things, in particular to a plug-and-play active access method, a plug-and-play active access device, a plug-and-play active access equipment and a readable medium for a terminal.
Background
The current power distribution internet of things forms a cloud-pipe-edge-end system structure, and an end is used as a bottom-layer end device of the power distribution internet of things and generally comprises a novel intelligent electric meter with broadband carrier communication capacity and supporting power frequency distortion technology, a branch box power distribution network monitoring terminal, a low-voltage fault indicator, various types of sensing units and the like, is responsible for monitoring, sensing and collecting functions of the power distribution internet of things and responds to executing and protecting functions of an edge layer of the power distribution internet of things. In the prior art, the access of the terminal equipment such as the platform area intelligent terminal, the intelligent ammeter and the intelligent switch is usually realized by adopting a manual registration and information archive management mode, and the mode cannot support intensive access and rapid deployment of the power distribution terminal and has low efficiency.
Disclosure of Invention
In order to solve the problems in the related art, embodiments of the present disclosure provide a plug and play active access method, device, apparatus, and readable medium for a terminal.
In a first aspect, an embodiment of the present disclosure provides a plug and play active access method for a terminal, including:
a registered STA node receives registration request information sent by a subordinate node; the lower node is an STA node in a one-hop range of the registered STA node, and does not comprise a peer node and a father node of the registered STA node;
the registered STA node merges the registration request information into a merged request information and sends the merged request information to the CCO node;
and the registered STA node receives a confirmation message sent by the CCO node in response to the combination request message and sends the confirmation message to the lower node in a multicast mode.
According to an embodiment of the present disclosure, when the number of the registered STA nodes corresponding to the subordinate node is plural, the method further includes:
the subordinate node selects one of the plurality of registered STA nodes as a main parent node, and transmits the registration request information to the main parent node.
According to an embodiment of the present disclosure, the method further comprises:
the subordinate node selects one node other than the primary parent node as a backup parent node from among the registered STA nodes.
According to an embodiment of the present disclosure, the master parent node selects according to a signal-to-noise ratio; and/or the backup parent node selects according to the connectivity of the registered STA nodes.
According to an embodiment of the present disclosure, the method further comprises:
the STA node and a neighbor node in a hop range thereof mutually transmit a Hello frame;
if the CCO node exists in the neighbor nodes of the STA node, sending the registration request information to the CCO node;
and receiving a confirmation message sent by the CCO node in response to the registration request information, and marking the CCO node as the registered STA node.
According to an embodiment of the present disclosure, the method further comprises:
the Hello frame includes neighbor node attribute information;
and determining whether the CCO node exists in the neighbor node of the STA node according to the neighbor node attribute information.
According to the embodiment of the present disclosure, after the CCO node receives the request information or the registration request information, the acknowledgment message extracts the node id of the STA node that needs to be registered, and sends the node id in a multicast manner.
According to an embodiment of the present disclosure, the method further comprises:
after the lower nodes of the registered STA node complete registration, merging the configuration information of the registered lower nodes into an information list and sending the information list to the CCO node;
receiving a multicast message sent by the CCO node;
and finishing the configuration of the registered lower nodes according to the multicast message.
In a second aspect, an embodiment of the present disclosure provides a plug and play active access device for a terminal, including:
a first receiving module configured to receive, by a registered STA node, registration request information transmitted by a subordinate node; the lower node is an STA node in a one-hop range of the registered STA node, and does not comprise a peer node and a father node of the registered STA node;
a merging module configured to merge the registration request information into a merged request information by the registered STA node and send the merged request information to the CCO node;
a first sending module configured to receive, by the registered STA node, an acknowledgement message sent by the CCO node in response to the merge request information, and send the acknowledgement message to the subordinate node in a multicast manner.
According to an embodiment of the present disclosure, when the number of the registered STA nodes corresponding to the subordinate node is plural, the apparatus further includes:
a selection module configured to select one of the plurality of registered STA nodes as a primary parent node by the subordinate node and transmit the registration request information to the primary parent node.
According to an embodiment of the present disclosure, the selecting module is further configured such that the subordinate node selects one node other than the primary parent node as a backup parent node from among the plurality of registered STA nodes.
According to an embodiment of the present disclosure, the master parent node selects according to a signal-to-noise ratio; and/or the backup parent node selects according to the connectivity of the registered STA nodes.
According to an embodiment of the present disclosure, the apparatus further comprises:
the second sending module is configured to send the Hello frame to each other by the STA node and the neighbor nodes in the one-hop range of the STA node;
a third sending module, configured to send the registration request information to the CCO node if there is the CCO node in a neighbor node of the STA node;
a marking module configured to receive an acknowledgement message sent by the CCO node in response to the registration request information, marking itself as the registered STA node.
According to an embodiment of the present disclosure, the apparatus further comprises:
a determining module configured to determine that the Hello frame includes neighbor node attribute information; and
and determining whether the CCO node exists in the neighbor node of the STA node according to the neighbor node attribute information.
According to the embodiment of the present disclosure, after the CCO node receives the request information or the registration request information, the acknowledgment message extracts the node id of the STA node that needs to be registered, and sends the node id in a multicast manner.
According to an embodiment of the present disclosure, the apparatus further comprises:
a fourth sending module, configured to merge the configuration information of the registered subordinate nodes into an information list after the subordinate nodes of the registered STA node complete registration, and send the information list to the CCO node;
a second receiving module, configured to receive the multicast packet sent by the CCO node;
and the configuration module is configured to complete the configuration of the registered lower node according to the multicast message.
In a third aspect, the disclosed embodiments provide an electronic device, comprising a memory and a processor, wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to any one of the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method according to any one of the first aspect.
The active plug-and-play access method for the terminal provided by the embodiment of the disclosure comprises the following steps: the registered STA node receives registration request information sent by a lower node; the lower node is an STA node in a one-hop range of the registered STA node, and does not comprise a peer node and a father node of the registered STA node; the registered STA node merges the registration request information into a merged request information and sends the merged request information to the CCO node; and the registered STA node receives a confirmation message sent by the CCO node in response to the combination request message and sends the confirmation message to the lower node in a multicast mode. The technical scheme provides an active access mechanism of the terminal STA node, and the aggregation of the registration request information is combined with the sending of the multicast information, so that the cost of message interaction is reduced, the support capability of large-scale terminal access and multi-service high concurrency is provided for the power distribution Internet of things, and the rapid and efficient adaptation of the heterogeneous terminal node of the power distribution Internet of things is improved. According to the technical scheme of the embodiment of the disclosure, the intensive access and the rapid deployment of the power distribution terminal are realized through the interaction of the plug-and-play active networking, the active registration and the active configuration of the terminal STA node.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Other features, objects, and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments when taken in conjunction with the accompanying drawings. In the drawings:
fig. 1 shows an application scenario diagram of a plug-and-play active access method of a terminal according to an embodiment of the present disclosure.
Fig. 2 shows a flowchart of a plug and play active access method of a terminal according to an embodiment of the present disclosure.
Fig. 3 shows an overall flowchart of a plug and play active access method of a terminal according to an embodiment of the present disclosure.
Fig. 4 shows a block diagram of a structure of a plug-and-play active access device of a terminal according to an embodiment of the present disclosure.
Fig. 5 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
FIG. 6 shows a schematic block diagram of a computer system suitable for use in implementing a method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the present disclosure, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of the disclosed features, numbers, steps, behaviors, components, parts, or combinations thereof, and are not intended to preclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or combinations thereof may be present or added.
It should also be noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
In the present disclosure, if an operation of acquiring user information or user data or an operation of presenting user information or user data to others is involved, the operations are all operations authorized, confirmed by a user, or actively selected by the user.
The STA node plug-and-play active access interactive signaling message related to the present disclosure is explained first.
Hello message: also known as Hello frames, are used for network neighbor node discovery at STA node access initialization and to periodically interact with neighbor node information.
A registration request message: and the information is sent to the father node by the STA node, and the information is an id information list obtained by combining the id information of a plurality of single STA nodes.
An ACK confirmation message: and the CCO node sends a message to the STA node, wherein the message contains the id information list of the STA node registered in the current round.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic view illustrating an application scenario of a plug and play active access method for a terminal according to an embodiment of the present disclosure. As shown in fig. 1, a network topology is composed of a CCO node, a plurality of STA nodes such as STA1 and STA2 … … STA10, the CCO node has an edge calculation function and is configured in a concentrator, and the STA nodes may be branch box monitoring units and are configured in each meter box monitoring unit. In the present disclosure, the hop of data from one node to another is referred to as a hop. For example, in fig. 1, the nodes in the one-hop range of the CCO node include STA1, STA2, STA3, and STA4, and the nodes STA1, STA2, STA3, and STA4 are peer nodes; nodes in a one-hop range of the STA1 node comprise a CCO node, a STA5 and a STA6, wherein the CCO node is a father node of the node STA1, and the STA1 node is a father node of the nodes STA5 and STA 6; in fig. 1, nodes STA5, STA6, STA7, and STA8 are sibling nodes, nodes STA9 and STA10 are sibling nodes, a STA3 node is a parent node of nodes STA7 and STA8, and a STA8 node is a parent node of nodes STA9 and STA 10. The CCO node can be composed of a registration node database module, a networking topology module, a signaling message processing module and the like, and each STA node can be composed of a node relation information module, a signaling message processing module and the like. The present disclosure illustrates a plug-and-play active access method of a terminal only by taking the network topology shown in fig. 1 as an example, and it is to be understood that the present disclosure is not limited thereto.
Fig. 2 shows a flowchart of a plug and play active access method of a terminal according to an embodiment of the present disclosure. As shown in fig. 2, the active plug-and-play access method for the terminal includes the following steps S101 to S103:
in step S101, a registered STA node receives registration request information sent by a subordinate node; the lower node is an STA node in a one-hop range of the registered STA node, and does not comprise a peer node and a father node of the registered STA node;
in step S102, the registered STA node merges the registration request information into a merged request information, and sends the merged request information to the CCO node;
in step S103, the registered STA node receives a confirmation message sent by the CCO node in response to the merge request information, and sends the confirmation message to the lower node in a multicast manner.
As mentioned above, the current distribution internet of things forms a cloud-pipe-edge-end system architecture, and the end is used as a bottom-layer end device of the distribution internet of things, and generally comprises a novel smart electric meter with broadband carrier communication capability and supporting power frequency distortion technology, a branch box distribution network monitoring terminal, a low-voltage fault indicator, various types of sensing units and the like, which are used for monitoring, sensing and acquiring functions of the distribution internet of things and responding to execution and protection functions of an edge layer of the distribution internet of things. In the prior art, the access of the terminal equipment such as the platform area intelligent terminal, the intelligent ammeter and the intelligent switch is usually realized by adopting a manual registration and information archive management mode, and the mode cannot support intensive access and rapid deployment of the power distribution terminal and has low efficiency.
The active plug-and-play access method for the terminal provided by the embodiment of the disclosure provides an active access mechanism for the STA node of the terminal, and the aggregation of registration request information and the sending of multicast information are combined to reduce the overhead of message interaction, provide the support capability of large-scale terminal access and multi-service high concurrency for the distribution Internet of things, and improve the rapid and efficient adaptation of the heterogeneous terminal node of the distribution Internet of things.
In the present disclosure, the registered STA nodes are, for example, STA1 nodes, nodes in a one-hop range of the STA1 node include CCO nodes, STA5, and STA6, lower-level nodes of the STA1 node do not include an sibling node and a parent node of the STA1 node, sibling nodes of the STA1 node, STA2, STA3, and STA4 are not considered in the one-hop range, and the CCO node is excluded from the parent node of the STA1 node, so lower-level nodes of the STA1 node are the nodes STA5 and STA 6.
The method comprises the steps that a node STA5 and a node STA6 respectively send registration request information to a node STA1, then the node STA1 merges the registration request information from the node STA5 and the node STA6 into merging request information which comprises ids of all nodes, then the merging request information is sent to a CCO node, the CCO node extracts the id of the node needing to be registered after receiving the merging request information, an ACK confirmation message (confirmation message for short) is formed after confirmation, the merging request information is sent to lower nodes STA1, STA2, STA3 and STA4 of the CCO node in a multicast mode, after receiving the confirmation message, the registered STA1 node continues to send the lower nodes STA5 and STA6 in the multicast mode, and message interaction overhead is reduced through combination of aggregation and multicast mode sending of the registration request information.
In this disclosure, when the number of the registered STA nodes corresponding to the lower node is multiple, the method further includes: the subordinate node selects one of the registered STA nodes as a main father node and sends the registration request information to the main father node.
For example, if the number of registered STA nodes corresponding to the subordinate node STA6 is two, in addition to STA1 shown in fig. 1, if the STA2 node is also a registered node and is a parent node of STA6, the STA6 node selects one of the nodes STA1 and STA2 as a main parent node, for example, selects the STA1 node, and then sends registration request information to the STA1 node.
Further, the main father node can be randomly selected or selected according to the signal-to-noise ratio, and a node with the optimal signal-to-noise ratio is preferably selected as the main father node, so that the information transmission quality is improved.
In an aspect of the present disclosure, the method further includes:
the subordinate node selects one node except the father node from a plurality of registered STA nodes as a backup father node so as to ensure that the subordinate node establishes communication connection with the father node as far as possible and realize the sending of registration request information and the receiving of confirmation information. Specifically, the backup parent node may be selected according to the connectivity of the registered STA nodes, for example, a parent node with the highest connectivity is selected as the backup parent node.
In a manner of this disclosure, the method further comprises:
the STA node and a neighbor node in a hop range thereof mutually transmit a Hello frame;
if the CCO node exists in the neighbor nodes of the STA node, sending the registration request information to the CCO node;
and receiving a confirmation message sent by the CCO node in response to the registration request information, and marking the CCO node as the registered STA node.
Specifically, all nodes including STA nodes and CCO nodes in the network topology may send Hello frames to neighboring nodes within a hop range thereof, for example, the STA1 sends Hello frames to the CCO nodes, STA5 and STA6, the CCO nodes send Hello frames to the nodes STA1, STA2, STA3 and STA4, and if there is a CCO node in the neighboring nodes of the STA1 node, the CCO nodes directly send registration request information to the CCO nodes, and after receiving confirmation information sent by the CCO nodes, mark themselves as registered STA nodes, and complete network entry and registration of the node.
In an aspect of the present disclosure, the method further includes:
the Hello frame comprises neighbor node attribute information;
and determining whether the CCO node exists in the neighbor node of the STA node according to the neighbor node attribute information.
In this disclosure, after the CCO node receives the request information or the registration request information, the acknowledgment message extracts a node id of an STA node that needs to be registered, and sends the node id in a multicast manner.
For example, the CCO node may receive registration request information sent by the STA1 node, extract the node id of the STA1 node, and send the STA1, STA2, STA3, and STA4 in a multicast manner, after receiving the confirmation information, the STA1 node marks itself as a registered STA node, and completes network entry and registration of the node;
the CCO node may also receive request information sent by the STA1 node, where the request information is registration request information sent by each of the nodes STA5 and STA6, and is sent to the CCO node after being aggregated by the node STA1, the CCO node extracts node ids of STA5 and STA6 in the request information, and sends the node STA1, STA2, STA3, and STA4 in a multicast manner, and after receiving the confirmation information by the STA1 node, the node STA5, STA6, STA5, and STA6 mark themselves as a registered STA node after receiving the confirmation information in the multicast manner, thereby completing network entry and registration of the node.
In a manner of this disclosure, the method further comprises:
after the lower nodes of the registered STA node finish the registration, merging the configuration information of the registered lower nodes into an information list and sending the information list to the CCO node;
receiving a multicast message sent by the CCO node;
and completing the configuration of the registered subordinate nodes according to the multicast message.
Specifically, after the lower level nodes of the registered STA nodes complete registration, a message is generated from the basic configuration information of the lower level nodes, the message is sent to the registered STA nodes, then the registered STA nodes aggregate the configuration information of the lower level nodes and report the aggregated configuration information to the CCO nodes, the CCO nodes acquire the configuration parameters of the registered STA nodes, determine the functions and services of the registered STA nodes, generate multicast messages and send the multicast messages to the relevant STA nodes, and after the relevant STA nodes receive the multicast messages, the configuration of the STA nodes is completed. Through the interaction of active networking, active registration and active configuration of the terminal STA node in a plug-and-play manner, the intensive access and the rapid deployment of the power distribution terminal are realized.
Fig. 3 shows an overall flowchart of a plug-and-play active access method of a terminal according to an embodiment of the present disclosure. As shown in fig. 3, the active plug and play access method for the terminal includes the following steps S201 to S209:
in step S201, the CCO node and the STA node each send a Hello frame to a neighboring node in a hop range thereof, and extract attribute information of the neighboring node;
in step S202, if there is a CCO node in the neighbor nodes of the STA node, directly sending a registration request message to the CCO node;
in step S203, the CCO node receives the registration request message, extracts an STA node id that needs to be registered, and sends an ACK acknowledgement message to the STA node in a multicast manner;
in step S204, the STA node receives the ACK confirmation message, extracts the peer node id and the father node id thereof, marks the node as a registered node, and completes the network access and registration of the node;
in step S205, after the STA node completes registration, a Hello frame is sent to the lower STA node by using a node other than the non-peer node and the parent node in the neighboring node as a lower node;
in step S206, if the lower-level STA node receives Hello frames of a plurality of upper-level STA nodes, selecting the highest signal-to-noise ratio as its parent node, and selecting the upper-level STA node with the highest connectivity as its backup parent node;
in step S207, the subordinate STA node transmits a registration request message to its parent node;
in step S208, the STA node collects the registration request messages of the child nodes, combines the registration requests of the child nodes into one registration request message, and sends the registration request message to the CCO node;
in step S209, go to step S203 until all nodes traversing the network have registered.
Fig. 4 shows a block diagram of a structure of a plug-and-play active access device of a terminal according to an embodiment of the present disclosure. The apparatus may be implemented as part or all of an electronic device through software, hardware, or a combination of both.
As shown in fig. 4, the terminal plug-and-play active access device 400 includes a first receiving module 410, a merging module 420, and a first transmitting module 430.
The first receiving module 410 is configured to receive, by a registered STA node, registration request information transmitted by a subordinate node; the lower node is an STA node in a one-hop range of the registered STA node, and does not comprise a peer node and a father node of the registered STA node;
the merge module 420 is configured to merge the registration request information into a merge request information sent to the CCO node by the registered STA node;
the first transmitting module 430 is configured to receive, by the registered STA node, an acknowledgement message transmitted by the CCO node in response to the merge request information, and transmit the acknowledgement message to the subordinate node in a multicast manner.
The active access device for plug and play of the terminal provided by the embodiment of the disclosure provides an active access mechanism for a terminal STA node, and the active access mechanism combines the aggregation of registration request information and the multicast transmission to reduce the overhead of message interaction, provide the support capability of large-scale terminal access and multi-service high concurrency for the distribution Internet of things, and improve the rapid and efficient adaptation of heterogeneous terminal nodes of the distribution Internet of things.
In this disclosure, when the number of the registered STA nodes corresponding to the lower node is plural, the apparatus further includes:
a selection module configured to select one of the plurality of registered STA nodes as a master parent node by the subordinate node and transmit the registration request information to the parent node.
In this disclosure, the selecting module is further configured to select, by the subordinate node, one node other than the primary parent node as a backup parent node from the plurality of registered STA nodes.
In the present disclosure, the master parent node selects according to a signal-to-noise ratio; and/or the backup parent node selects according to the connectivity of the registered STA nodes.
In an aspect of the present disclosure, the apparatus further includes:
the second sending module is configured to send a Hello frame to each other between the STA node and a neighbor node in a one-hop range of the STA node;
a third sending module, configured to send the registration request information to the CCO node if there is the CCO node in a neighbor node of the STA node;
a marking module configured to receive an acknowledgement message sent by the CCO node in response to the registration request information, marking itself as the registered STA node.
In an aspect of the present disclosure, the apparatus further includes:
a determining module configured to determine that the Hello frame includes neighbor node attribute information; and
and determining whether the CCO node exists in the neighbor node of the STA node according to the neighbor node attribute information.
In this disclosure, after the CCO node receives the request information or the registration request information, the acknowledgment message extracts a node id of an STA node that needs to be registered, and sends the node id in a multicast manner.
In an aspect of the present disclosure, the apparatus further includes:
a fourth sending module, configured to merge the configuration information of the registered subordinate nodes into an information list after the subordinate nodes of the registered STA node complete registration, and send the information list to the CCO node;
a second receiving module, configured to receive the multicast packet sent by the CCO node;
and the configuration module is configured to complete the configuration of the registered lower nodes according to the multicast message.
The present disclosure also discloses an electronic device, and fig. 5 shows a block diagram of the electronic device according to an embodiment of the present disclosure.
As shown in fig. 5, the electronic device includes a memory and a processor, where the memory is to store one or more computer instructions, where the one or more computer instructions are executed by the processor to implement a method according to an embodiment of the disclosure.
The method comprises the following steps:
the registered STA node receives registration request information sent by a lower node; the lower node is an STA node in a one-hop range of the registered STA node, and does not comprise a peer node and a father node of the registered STA node;
the registered STA node merges the registration request information into a merged request information and sends the merged request information to the CCO node;
and the registered STA node receives a confirmation message sent by the CCO node in response to the combination request message and sends the confirmation message to the lower node in a multicast mode.
In this disclosure, when the number of the registered STA nodes corresponding to the lower node is plural, the method further includes: the subordinate node selects one of the plurality of registered STA nodes as a main parent node, and transmits the registration request information to the main parent node.
In a manner of this disclosure, the method further comprises:
the subordinate node selects one node other than the primary parent node from among the plurality of registered STA nodes as a backup parent node.
In the present disclosure, the master parent node is selected according to a signal-to-noise ratio; and/or the backup parent node selects according to the connectivity of the registered STA nodes.
In a manner of this disclosure, the method further comprises:
the STA node and a neighbor node in a hop range thereof mutually transmit a Hello frame;
if the CCO node exists in the neighbor nodes of the STA node, sending the registration request information to the CCO node;
and receiving a confirmation message sent by the CCO node in response to the registration request information, and marking the CCO node as the registered STA node.
In an aspect of the present disclosure, the method further includes:
the Hello frame includes neighbor node attribute information;
and determining whether the CCO node exists in the neighbor node of the STA node according to the neighbor node attribute information.
In this disclosure, after the CCO node receives the request information or the registration request information, the acknowledgment message extracts a node id of an STA node that needs to be registered, and sends the node id in a multicast manner.
In a manner of this disclosure, the method further comprises:
after the lower nodes of the registered STA node complete registration, merging the configuration information of the registered lower nodes into an information list and sending the information list to the CCO node;
receiving a multicast message sent by the CCO node;
and completing the configuration of the registered subordinate nodes according to the multicast message.
FIG. 6 shows a schematic block diagram of a computer system suitable for use in implementing a method according to an embodiment of the present disclosure.
As shown in fig. 6, the computer system includes a processing unit that can execute the various methods in the above-described embodiments according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage section into a Random Access Memory (RAM). In the RAM, various programs and data necessary for the operation of the computer system are also stored. The processing unit, the ROM, and the RAM are connected to each other by a bus. An input/output (I/O) interface is also connected to the bus.
The following components are connected to the I/O interface: an input section including a keyboard, a mouse, and the like; an output section including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section including a hard disk and the like; and a communication section including a network interface card such as a LAN card, a modem, or the like. The communication section performs a communication process via a network such as the internet. The drive is also connected to the I/O interface as needed. A removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive as necessary, so that a computer program read out therefrom is mounted into the storage section as necessary. The processing unit can be realized as a CPU, a GPU, a TPU, an FPGA, an NPU and other processing units.
In particular, the above described methods may be implemented as computer software programs according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the above-described method. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software or by programmable hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the electronic device or the computer system in the above embodiments; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (18)

1. A plug and play active access method for a terminal is characterized by comprising the following steps:
the registered STA node receives registration request information sent by a lower node; the lower node is an STA node in a one-hop range of the registered STA node, and does not comprise a peer node and a father node of the registered STA node;
the registered STA node merges the registration request information into merged request information and sends the merged request information to the CCO node;
and the registered STA node receives a confirmation message sent by the CCO node in response to the combination request message and sends the confirmation message to the lower node in a multicast mode.
2. The method according to claim 1, wherein when the number of registered STA nodes corresponding to the subordinate node is plural, the method further comprises:
the subordinate node selects one of the plurality of registered STA nodes as a main parent node, and transmits the registration request information to the main parent node.
3. The method of claim 2, further comprising:
the subordinate node selects one node other than the primary parent node as a backup parent node from among the registered STA nodes.
4. The method of claim 3, wherein the primary parent node is selected based on a signal-to-noise ratio; and/or the backup parent node selects according to the connectivity of the registered STA nodes.
5. The method according to any one of claims 1-4, further comprising:
the STA node and a neighbor node in a hop range thereof mutually transmit a Hello frame;
if the CCO node exists in the neighbor nodes of the STA node, sending the registration request information to the CCO node;
and receiving a confirmation message sent by the CCO node in response to the registration request information, and marking the CCO node as the registered STA node.
6. The method of claim 5, further comprising:
the Hello frame includes neighbor node attribute information;
and determining whether the CCO node exists in the neighbor node of the STA node according to the neighbor node attribute information.
7. The method according to claim 5, wherein the confirmation message is extracted from node ids of STA nodes that need to be registered after the CCO node receives the request information or the registration request information, and is sent in a multicast manner.
8. The method of claim 1, further comprising:
after the lower nodes of the registered STA node finish the registration, merging the configuration information of the registered lower nodes into an information list and sending the information list to the CCO node;
receiving a multicast message sent by the CCO node;
and completing the configuration of the registered subordinate nodes according to the multicast message.
9. A plug and play active access device for a terminal, comprising:
a first receiving module configured to receive, by a registered STA node, registration request information transmitted by a subordinate node; the lower node is an STA node in a one-hop range of the registered STA node, and does not comprise a peer node and a father node of the registered STA node;
a merging module configured to merge the registration request information into a merged request information by the registered STA node and send the merged request information to the CCO node;
a first sending module configured to receive, by the registered STA node, an acknowledgement message sent by the CCO node in response to the merge request information, and send the acknowledgement message to the subordinate node in a multicast manner.
10. The apparatus according to claim 9, wherein when the number of registered STA nodes corresponding to the subordinate node is plural, the apparatus further comprises:
a selection module configured to select one of the plurality of registered STA nodes as a primary parent node by the subordinate node and transmit the registration request information to the primary parent node.
11. The apparatus according to claim 10, wherein said selecting module is further configured for said subordinate node to select one node other than said primary parent node from a plurality of said registered STA nodes as a backup parent node.
12. The apparatus of claim 11, wherein the primary parent node is selected based on a signal-to-noise ratio; and/or the backup parent node selects according to the connectivity of the registered STA nodes.
13. The apparatus according to any one of claims 9-12, further comprising:
the second sending module is configured to send the Hello frame to each other by the STA node and the neighbor nodes in the one-hop range of the STA node;
a third sending module, configured to send the registration request information to the CCO node if there is the CCO node in a neighbor node of the STA node;
a marking module configured to receive an acknowledgement message sent by the CCO node in response to the registration request information, marking itself as the registered STA node.
14. The apparatus of claim 13, further comprising:
a determining module configured to determine that the Hello frame includes neighbor node attribute information; and
and determining whether the CCO node exists in the neighbor node of the STA node according to the neighbor node attribute information.
15. The apparatus according to claim 13, wherein the confirmation message is extracted from node ids of STA nodes that need to be registered after the CCO node receives the request information or the registration request information, and is sent in a multicast manner.
16. The apparatus of claim 9, further comprising:
a fourth sending module, configured to merge the configuration information of the registered subordinate nodes into an information list after the subordinate nodes of the registered STA node complete registration, and send the information list to the CCO node;
a second receiving module, configured to receive the multicast packet sent by the CCO node;
and the configuration module is configured to complete the configuration of the registered lower nodes according to the multicast message.
17. An electronic device comprising a memory and a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of any of claims 1-8.
18. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the method steps of any one of claims 1 to 8.
CN202210836971.4A 2022-07-15 2022-07-15 Active access method, device and equipment for plug and play of terminal and readable medium Active CN115102993B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210836971.4A CN115102993B (en) 2022-07-15 2022-07-15 Active access method, device and equipment for plug and play of terminal and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210836971.4A CN115102993B (en) 2022-07-15 2022-07-15 Active access method, device and equipment for plug and play of terminal and readable medium

Publications (2)

Publication Number Publication Date
CN115102993A true CN115102993A (en) 2022-09-23
CN115102993B CN115102993B (en) 2023-08-11

Family

ID=83298882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210836971.4A Active CN115102993B (en) 2022-07-15 2022-07-15 Active access method, device and equipment for plug and play of terminal and readable medium

Country Status (1)

Country Link
CN (1) CN115102993B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769010A (en) * 2018-05-29 2018-11-06 中国联合网络通信集团有限公司 The method and apparatus that node is invited to registration
CN109766194A (en) * 2018-11-29 2019-05-17 南瑞集团有限公司 The implementation method and its system of message based lower coupling plan target component
CN110868386A (en) * 2019-05-17 2020-03-06 北京安妮全版权科技发展有限公司 Block chain consensus method
CN111131911A (en) * 2019-12-26 2020-05-08 视联动力信息技术股份有限公司 Multicast method and device
CN111757462A (en) * 2019-09-20 2020-10-09 广州极飞科技有限公司 Automatic node discovery method and related device
CN112910663A (en) * 2021-01-14 2021-06-04 网易(杭州)网络有限公司 Method, device, equipment and storage medium for message broadcasting and terminal registration
CN113055640A (en) * 2019-12-28 2021-06-29 浙江宇视科技有限公司 Equipment management method and device in monitoring system
CN113259893A (en) * 2021-06-28 2021-08-13 北京智芯微电子科技有限公司 System and method for network node authentication, reconfiguration and data transmission
CN113535691A (en) * 2021-09-15 2021-10-22 支付宝(杭州)信息技术有限公司 User service registration method and device
CN113807968A (en) * 2021-09-22 2021-12-17 网易(杭州)网络有限公司 Block chain user request processing method, device, request server and storage medium
CN114175827A (en) * 2019-08-29 2022-03-11 华为技术有限公司 Communication method, communication device and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769010A (en) * 2018-05-29 2018-11-06 中国联合网络通信集团有限公司 The method and apparatus that node is invited to registration
CN109766194A (en) * 2018-11-29 2019-05-17 南瑞集团有限公司 The implementation method and its system of message based lower coupling plan target component
CN110868386A (en) * 2019-05-17 2020-03-06 北京安妮全版权科技发展有限公司 Block chain consensus method
CN114175827A (en) * 2019-08-29 2022-03-11 华为技术有限公司 Communication method, communication device and system
CN111757462A (en) * 2019-09-20 2020-10-09 广州极飞科技有限公司 Automatic node discovery method and related device
CN111131911A (en) * 2019-12-26 2020-05-08 视联动力信息技术股份有限公司 Multicast method and device
CN113055640A (en) * 2019-12-28 2021-06-29 浙江宇视科技有限公司 Equipment management method and device in monitoring system
CN112910663A (en) * 2021-01-14 2021-06-04 网易(杭州)网络有限公司 Method, device, equipment and storage medium for message broadcasting and terminal registration
CN113259893A (en) * 2021-06-28 2021-08-13 北京智芯微电子科技有限公司 System and method for network node authentication, reconfiguration and data transmission
CN113535691A (en) * 2021-09-15 2021-10-22 支付宝(杭州)信息技术有限公司 User service registration method and device
CN113807968A (en) * 2021-09-22 2021-12-17 网易(杭州)网络有限公司 Block chain user request processing method, device, request server and storage medium

Also Published As

Publication number Publication date
CN115102993B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN102035828B (en) Method of using nodes in a home communication network
US6252856B1 (en) Method and apparatus for minimizing calculations required to construct multicast trees
US6205122B1 (en) Automatic network topology analysis
KR101548695B1 (en) Apparatus and method for topology design of hybrid optical networks on chip
CN110659109B (en) System and method for monitoring openstack virtual machine
CN113810205B (en) Service computing power information reporting and receiving method, server and data center gateway
CN102291465B (en) Load balancing method, device and system
CN111294240B (en) Cross-domain coordination method, coordination device and control device for network as-a-service (SERS) service
CN112565389A (en) Block chain based message broadcasting method and device, electronic equipment and storage medium
CN109121096B (en) Method and apparatus for determining broadcast nodes in a mesh network
CN111884935B (en) Simplified protocol stack routing and neighbor discovery method applied to heaven-earth integrated network
CN113923748A (en) Method for forming cluster network based on proxy change
CN110249634A (en) Ammeter including power line interface He at least one radio frequency interface
KR102547701B1 (en) Network topology discovery method, device, and system
Goering et al. Service discovery using bloom filters
US20070230458A1 (en) Communication Network, Communication Apparatus, Communication Control Method and Communication Control Program
CN106911769A (en) The processing method of cloud platform route data and the physical server of cloud platform
JP6183394B2 (en) Parent device, power information collection system, and communication control method
CN115102993B (en) Active access method, device and equipment for plug and play of terminal and readable medium
CN103916328B (en) flow control method and system for content distribution network and peer-to-peer network
Hebal et al. Aco-based distributed energy routing protocol in smart grid
CN109412942B (en) Cloud network transmission routing method and system
CN110995609A (en) Message sending method and device, electronic equipment and storage medium
KR20140125223A (en) Method for collecting information with management interface in contents network based on information centric networking, content network management system, and node apparatus
CN103200119A (en) Load sharing method and edge device in Ethernet virtualization interconnection site

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant