CN115102993B - 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
CN115102993B
CN115102993B CN202210836971.4A CN202210836971A CN115102993B CN 115102993 B CN115102993 B CN 115102993B CN 202210836971 A CN202210836971 A CN 202210836971A CN 115102993 B CN115102993 B CN 115102993B
Authority
CN
China
Prior art keywords
node
sta
registered
cco
request information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210836971.4A
Other languages
Chinese (zh)
Other versions
CN115102993A (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

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 electric power internet of things, in particular to an active access method, device, equipment and readable medium for plug and play of a terminal, wherein the method comprises the following steps: the registered STA node receives registration request information sent by a subordinate node; the lower node is a STA node within a one-hop range of the registered STA node, and does not include a peer node and a parent node of the registered STA node, merges the registration request information into one request message, sends the request message to a CCO node, receives a confirmation message sent by the CCO node in response to the merge request message, and sends the confirmation message to the lower node in a multicast manner. According to the technical scheme, the problem of low efficiency of the access equipment in the prior art is solved, the aggregation of the registration request information and the multicast mode transmission are combined, 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 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 electric power internet of things, in particular to a plug and play active access method, device, equipment and readable medium of a terminal.
Background
The current distribution internet of things forms a cloud-pipe-side-end system architecture, an end is used as bottom end equipment of the distribution internet of things, the bottom end equipment generally comprises a novel intelligent ammeter 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, the monitoring, sensing and collecting functions of the distribution internet of things are carried out, and meanwhile the execution and protection functions of the side layer of the distribution internet of things are responded. In the prior art, a manual registration and information file management mode is often adopted for accessing terminal equipment such as a district intelligent terminal, an intelligent ammeter, an intelligent switch and the like, and the mode cannot support dense access, rapid deployment and low efficiency of a power distribution terminal.
Disclosure of Invention
In order to solve the problems in the related art, embodiments of the present disclosure provide a method, an apparatus, a device, and a readable medium for active access for plug and play of a terminal.
In a first aspect, an embodiment of the present disclosure provides a method for active access of plug and play of a terminal, including:
the registered STA node receives registration request information sent by a subordinate node; the subordinate node is an STA node within 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 merging request information and sends the merging request information to a CCO node;
the registered STA node receives the confirmation message sent by the CCO node in response to the combination request information, and sends the confirmation message to the subordinate 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 registered STA nodes as a master parent node, and transmits the registration request information to the master 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 from among the plurality of registered STA nodes as a backup parent node.
According to an embodiment of the disclosure, the master parent node is selected according to a signal-to-noise ratio; and/or the backup father node is selected according to connectivity of the registered STA node.
According to an embodiment of the present disclosure, the method further comprises:
the STA node and the neighbor nodes within one-hop range send a Hello frame to each other;
if the CCO node exists in the neighbor nodes of the STA node, the registration request information is sent 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 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.
According to the embodiment of the disclosure, the confirmation message extracts the node id of the STA node to be registered after the CCO node receives the request information or the registration request information, and sends the node id in a multicast manner.
According to an embodiment of the present disclosure, the method further comprises:
after the lower node of the registered STA node completes registration, combining configuration information of the registered lower node 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 node according to the multicast message.
In a second aspect, in an embodiment of the present disclosure, there is provided an active access device for plug and play of a terminal, including:
the first receiving module is configured to receive the registration request information sent by the subordinate node by the registered STA node; the subordinate node is an STA node within 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 merging module is configured to merge the registration request information into one merging request information by the registered STA node and send the merging request information to the CCO node;
and the first sending module is configured to receive the confirmation message sent by the CCO node in response to the combination request information by the registered STA node and send the confirmation message to the subordinate 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 apparatus further includes:
and the selecting module is configured to select one of the registered STA nodes from the plurality of the subordinate nodes as a main father node and send the registration request information to the main father node.
According to an embodiment of the present disclosure, the selecting module is further configured to select, by the subordinate node, one node other than the primary parent node from among the plurality of registered STA nodes as a backup parent node.
According to an embodiment of the disclosure, the master parent node is selected according to a signal-to-noise ratio; and/or the backup father node is selected according to connectivity of the registered STA node.
According to an embodiment of the present disclosure, the apparatus further comprises:
the second sending module is configured to send Hello frames to each other between the STA node and the neighbor nodes within one-hop range of the STA node;
a third sending module configured to send the registration request information to the CCO node if the CCO node exists in the neighboring nodes of the STA node;
and the marking module is configured to receive an acknowledgement message sent by the CCO node in response to the registration request information and mark the CCO node as the registered STA node.
According to an embodiment of the present disclosure, the apparatus further comprises:
a determining module configured to include neighbor node attribute information in the Hello frame; 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 disclosure, the confirmation message extracts the node id of the STA node to be registered after the CCO node receives the request information or the registration request information, 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 combine configuration information of the registered subordinate node into an information list after the subordinate node of the registered STA node completes registration, and send the information list to the CCO node;
the second receiving module is configured to receive the multicast message sent by the CCO node;
and the configuration module is configured to complete the configuration of the registered subordinate node according to the multicast message.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including 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 of any one of the first aspects.
In a fourth aspect, in an embodiment of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement a method according to any of the first aspects.
The active access method for plug and play of the terminal provided by the embodiment of the disclosure comprises the following steps: the registered STA node receives registration request information sent by a subordinate node; the lower node is an STA node within 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 merging request information and sends the merging request information to the CCO node; and the registered STA node receives the confirmation message sent by the CCO node in response to the combination request information and sends the confirmation message to the subordinate node in a multicast mode. According to the technical scheme, the terminal STA node active access mechanism is provided, and the aggregation of the registration request information and the multicast mode transmission are combined, so that the expenditure of message interaction is reduced, the support capability of high concurrency of large-scale terminal access and multiple services is provided for the power distribution Internet of things, and the rapid and efficient adaptation of heterogeneous terminal nodes of the power distribution Internet of things is improved. According to the technical scheme, dense access and rapid deployment of the power distribution terminal are realized through interaction of plug and play active networking, active registration and 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, taken in conjunction with the accompanying drawings. In the drawings:
fig. 1 illustrates an application scenario diagram of a terminal plug and play active access method according to an embodiment of the present disclosure.
Fig. 2 shows a flowchart of an active access method for plug and play of a terminal according to an embodiment of the present disclosure.
Fig. 3 shows an overall flowchart of a terminal plug and play active access method according to an embodiment of the present disclosure.
Fig. 4 shows a block diagram of a structure of a terminal plug and play active access device according to an embodiment of the present disclosure.
Fig. 5 shows a block diagram of an electronic device according to an embodiment of the disclosure.
Fig. 6 shows a schematic diagram of a computer system suitable for use in implementing methods according to embodiments 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. In addition, for the sake of clarity, portions irrelevant to description of the exemplary embodiments are omitted in the drawings.
In this disclosure, it should be understood that terms such as "comprises" or "comprising," etc., are intended to indicate the presence of features, numbers, steps, acts, components, portions, or combinations thereof disclosed in this specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, acts, components, portions, or combinations thereof are present or added.
In addition, it should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other.
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 another person is referred to, the operations are all operations authorized, confirmed, or actively selected by the user.
First, description is made on an active access interaction signaling message of the STA node plug and play related to the present disclosure.
Hello message: also called Hello frames, the STA node access initialization is used for network neighbor node discovery and periodically interacting neighbor node information.
Registration request message: the STA node sends a message to its parent node, which is an id information list obtained by combining id information of a plurality of single STA nodes.
ACK acknowledgement message: the CCO node sends a message to the STA node, the message containing a list of id information of the STA node that is registered in the round.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an application scenario diagram of a terminal plug and play active access method according to an embodiment of the present disclosure. As shown in fig. 1, in a network topology composed of one CCO node and a plurality of STA nodes, for example, STA1 and STA2 … … STA10, the CCO node has an edge calculation function and is configured in a concentrator, and the STA node may be a branch box monitoring unit and is configured in each table box monitoring unit. In the present disclosure, the jumping of data from one node to another node is referred to as a one-hop. For example, in fig. 1, nodes within one-hop range of the CCO node include STA1, STA2, STA3, and STA4, and the nodes STA1, STA2, STA3, and STA4 are peer nodes; the nodes within the one-hop range of the STA1 node comprise a CCO node, an STA5 and an 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 peer nodes, nodes STA9 and STA10 are peer nodes, STA3 is a parent node of nodes STA7 and STA8, and STA8 is a parent node of nodes STA9 and STA 10. Wherein, the CCO node may be formed by a registration node database module, a networking topology module, a signaling message processing module, etc., and each STA node may be formed by a node relation information module, a signaling message processing module, etc. The present disclosure illustrates a terminal plug and play active access method using only the network topology shown in fig. 1 as an example, and it is understood that it does not constitute a limitation of the present disclosure.
Fig. 2 shows a flowchart of an active access method for plug and play of a terminal according to an embodiment of the present disclosure. As shown in fig. 2, the active access method for plug and play of 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 subordinate node is an STA node within 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 merge request information and sends the merge request information to the CCO node;
in step S103, the registered STA node receives the acknowledgement message sent by the CCO node in response to the merge request information, and sends the acknowledgement message to the subordinate node in a multicast manner.
Above mentioned, the current distribution internet of things forms a 'cloud-pipe-side-end' system architecture, and 'end' is used as bottom end equipment of the distribution internet of things, and generally comprises a novel intelligent ammeter 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, and is responsible for monitoring, sensing and collecting functions of the distribution internet of things, and simultaneously responds to execution and protection functions of an 'side' layer of the distribution internet of things. In the prior art, a manual registration and information file management mode is often adopted for accessing terminal equipment such as a district intelligent terminal, an intelligent ammeter, an intelligent switch and the like, and the mode cannot support dense access, rapid deployment and low efficiency of a power distribution terminal.
The active access method 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 reduces the overhead of message interaction by combining aggregation of registration request information and multicast mode transmission, thereby providing a large-scale terminal access and multi-service high concurrency supporting capability for the power distribution Internet of things and improving the rapid and efficient adaptation of heterogeneous terminal nodes of the power distribution Internet of things.
In the present disclosure, the registered STA node is, for example, a STA1 node, where nodes within a one-hop range of the STA1 node include CCO nodes, STA5, and STA6, and the lower node of the STA1 node does not include peer nodes and parent nodes of the STA1 node, peer nodes STA2, STA3, and STA4 of the STA1 node are not considered within the one-hop range, and the CCO node is excluded from being the parent node of the STA1 node, and then the lower node of the STA1 node is nodes STA5 and STA6.
The nodes STA5 and STA6 respectively send the registration request information to the node STA1, then the node STA1 merges the registration request information from the nodes STA5 and STA6 into merge request information, wherein the merge request information comprises the ids of all nodes, then the merge request information is sent to a CCO node, the CCO node extracts the node ids needing to be registered after receiving the merge request information, and forms an ACK confirmation message (hereinafter referred to as confirmation message) after confirmation, the ACK confirmation message is sent to the lower nodes STA1, STA2, STA3 and STA4 of the CCO node in a multicast mode, the registered STA1 node continues to send to the lower nodes STA5 and STA6 in a multicast mode after receiving the confirmation message, and the message interaction overhead is reduced by combining the aggregation of the registration request information and the multicast mode.
In this 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 registered STA nodes as a master parent node, and transmits the registration request information to the master parent node.
For example, if there are two registered STA nodes corresponding to the lower node STA6, in addition to STA1 shown in fig. 1, if STA2 node is also a registered node and is a parent node of STA6, then STA6 node selects one of the nodes STA1 and STA2 as a master parent node, for example, selects STA1 node, and then transmits registration request information to STA1 node.
Further, the main father node can be selected randomly or according to the signal to noise ratio, and the 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 this disclosed manner, the method further comprises:
and the lower 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 lower node establishes communication connection with the father node as far as possible, thereby realizing the transmission of registration request information and the reception of confirmation information. Specifically, the backup parent node may be selected according to connectivity of the registered STA nodes, for example, a parent node with the largest connectivity is selected as the backup parent node.
In this disclosed manner, the method further comprises:
the STA node and the neighbor nodes within one-hop range send a Hello frame to each other;
if the CCO node exists in the neighbor nodes of the STA node, the registration request information is sent 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 the STA node and the CCO node in the network topology can send Hello frames to neighbor nodes within a hop range thereof, for example, the STA1 node sends Hello frames to the CCO node, the STA5 and the STA6, the CCO node sends Hello frames to the nodes STA1, STA2, STA3 and STA4, if there is a CCO node in the neighbor nodes of the STA1 node, the CCO node directly sends registration request information to the CCO node, and marks itself as a registered STA node after receiving acknowledgement information sent by the CCO node, thereby completing network entry and registration of the node.
In this disclosed manner, the method further comprises:
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 acknowledgement message extracts the node id of the STA node that needs to be registered, and sends the node id in a multicast manner.
For example, the CCO node may receive the registration request information sent by the STA1 node, extract the node id of the STA1 node, and send the nodes STA1, STA2, STA3, and STA4 in a multicast manner, and after the STA1 node receives the acknowledgement information, mark itself as a registered STA node, so as to complete network access and registration of the node;
the CCO node may also receive the request information sent by the STA1 node, where the request information is the registration request information sent by the nodes STA5 and STA6, and the request information is aggregated by the node STA1 and then sent to the CCO node, where the CCO node extracts the node ids of the STA5 and STA6 in the request information, sends the nodes STA1, STA2, STA3 and STA4 in a multicast manner, and after the STA1 node receives the acknowledgement information, the nodes STA5 and STA6 are sent in a multicast manner, and after the STA5 and STA6 nodes receive the acknowledgement information, the nodes themselves are marked as registered STA nodes, so as to complete network access and registration of the node.
In this disclosed manner, the method further comprises:
after the lower node of the registered STA node completes registration, combining configuration information of the registered lower node 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 node according to the multicast message.
Specifically, after the lower node of the registered STA node completes registration, the lower node generates a message according to the basic configuration information of the lower node, sends the message to the registered STA node, and then the registered STA node aggregates the configuration information of the lower node and reports the aggregated configuration information to the CCO node. Through the interaction of the plug and play active networking, active registration and active configuration of the terminal STA nodes, the dense access and the rapid deployment of the power distribution terminal are realized.
Fig. 3 shows an overall flowchart of a terminal plug and play active access method according to an embodiment of the present disclosure. As shown in fig. 3, the active access method for plug and play of the terminal includes the following steps S201 to S209:
in step S201, both the CCO node and the STA node send Hello frames with the neighbor nodes in the one-hop range, and extract attribute information of the neighbor nodes;
in step S202, if there is a CCO node in the neighboring nodes of the STA node, a registration request message is directly sent to the CCO node;
in step S203, the CCO node receives the registration request message, extracts the STA node id 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 acknowledgement message, extracts the peer node id and its parent node id, marks itself as a registered node, and completes network access and registration of the node;
in step S205, after the STA node completes registration, the node other than the non-peer node and the parent node in the neighbor node is used as a lower node, and a Hello frame is sent to the lower STA node;
in step S206, if the lower STA node receives Hello frames of multiple upper STA nodes, selecting the best signal-to-noise ratio as its parent node, and selecting the upper STA node with the highest connectivity as its backup parent node;
in step S207, the lower 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, merges the registration requests of the child nodes into a registration request message, and sends the registration request message to the CCO node;
in step S209, go to step S203 until all nodes of the traversal network are registered.
Fig. 4 shows a block diagram of a structure of a terminal plug and play active access device according to an embodiment of the present disclosure. The apparatus may be implemented as part or all of an electronic device by software, hardware, or a combination of both.
As shown in fig. 4, the active access device 400 for plug and play of the terminal includes a first receiving module 410, a combining 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 sent by a subordinate node; the subordinate node is an STA node within 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 merging module 420 is configured to merge the registration request information into one merge request information by the registered STA node and send the merge request information to the CCO node;
the first transmitting module 430 is configured to receive an acknowledgement message sent by the CCO node in response to the combining request information, and send the acknowledgement message to the subordinate node in a multicast manner.
The terminal plug and play active access device provided by the embodiment of the disclosure provides a terminal STA node active access mechanism, and the aggregation of registration request information and the multicast mode transmission are combined to reduce the cost of message interaction, provide large-scale terminal access and multi-service high concurrency supporting capability for the power distribution Internet of things, and improve the rapid and efficient adaptation of heterogeneous terminal nodes of the power distribution Internet of things.
In this disclosure, when the number of the registered STA nodes corresponding to the subordinate node is plural, the apparatus further includes:
and the selecting module is configured to select one of the registered STA nodes from the plurality of the subordinate nodes as a main father node and send the registration request information to the father node.
In this manner, the selecting module is further configured to select, by the subordinate node, one node other than the primary parent node from among the plurality of registered STA nodes as a backup parent node.
In the disclosed mode, the master parent node is selected according to a signal-to-noise ratio; and/or the backup father node is selected according to connectivity of the registered STA node.
In this disclosed manner, the apparatus further comprises:
the second sending module is configured to send Hello frames to each other between the STA node and the neighbor nodes within one-hop range of the STA node;
a third sending module configured to send the registration request information to the CCO node if the CCO node exists in the neighboring nodes of the STA node;
and the marking module is configured to receive an acknowledgement message sent by the CCO node in response to the registration request information and mark the CCO node as the registered STA node.
In this disclosed manner, the apparatus further comprises:
a determining module configured to include neighbor node attribute information in the Hello frame; 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 acknowledgement message extracts the node id of the STA node that needs to be registered, and sends the node id in a multicast manner.
In this disclosed manner, the apparatus further comprises:
a fourth sending module, configured to combine configuration information of the registered subordinate node into an information list after the subordinate node of the registered STA node completes registration, and send the information list to the CCO node;
the second receiving module is configured to receive the multicast message sent by the CCO node;
and the configuration module is configured to complete the configuration of the registered subordinate node 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, 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 a method in accordance with an embodiment of the present disclosure.
The method comprises the following steps:
the registered STA node receives registration request information sent by a subordinate node; the subordinate node is an STA node within 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 merging request information and sends the merging request information to a CCO node;
the registered STA node receives the confirmation message sent by the CCO node in response to the combination request information, and sends the confirmation message to the subordinate node in a multicast mode.
In this 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 registered STA nodes as a master parent node, and transmits the registration request information to the master parent node.
In this disclosed manner, 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 disclosed mode, the master parent node is selected according to a signal-to-noise ratio; and/or the backup father node is selected according to connectivity of the registered STA node.
In this disclosed manner, the method further comprises:
the STA node and the neighbor nodes within one-hop range send a Hello frame to each other;
if the CCO node exists in the neighbor nodes of the STA node, the registration request information is sent 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 this disclosed manner, the method further comprises:
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 acknowledgement message extracts the node id of the STA node that needs to be registered, and sends the node id in a multicast manner.
In this disclosed manner, the method further comprises:
after the lower node of the registered STA node completes registration, combining configuration information of the registered lower node 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 node according to the multicast message.
Fig. 6 shows a schematic diagram of a computer system suitable for use in implementing methods according to embodiments 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 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 required for the operation of the computer system are also stored. The processing unit, ROM and 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, etc.; an output section including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), etc., and a speaker, etc.; a storage section including a hard disk or the like; and a communication section including a network interface card such as a LAN card, a modem, and the like. The communication section performs a communication process via a network such as the internet. The drives are also connected to the I/O interfaces as needed. Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, and the like are mounted on the drive as needed so that a computer program read therefrom is mounted into the storage section as needed. The processing unit may be implemented as a processing unit such as CPU, GPU, TPU, FPGA, NPU.
In particular, according to embodiments of the present disclosure, the methods described above may be implemented as computer software programs. 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 method described above. In such embodiments, the computer program may be downloaded and installed from a network via a communication portion, and/or installed from a removable medium.
The flowcharts 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 referred to in the embodiments of the present disclosure may be implemented in software or in programmable hardware. The units or modules described may also be provided in a processor, the names of which in some cases do not constitute a limitation of the unit or module itself.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be a computer-readable storage medium included in the electronic device or the computer system in the above-described embodiments; or may be a computer-readable storage medium, alone, that is not assembled into a 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 of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention referred to in this disclosure is not limited to the specific combination of features described above, but encompasses other embodiments in which any combination of features described above or their equivalents is contemplated without departing from the inventive concepts described. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).

Claims (18)

1. An active access method for plug and play of a terminal, comprising:
the registered STA node receives registration request information sent by a subordinate node; the subordinate node is an STA node within 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 merging request information and sends the merging request information to a CCO node;
the registered STA node receives the confirmation message sent by the CCO node in response to the combination request information and sends the confirmation message to the subordinate node in a multicast mode so that the subordinate node marks itself as the registered STA node based on the confirmation message.
2. The method of 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 registered STA nodes as a master parent node, and transmits the registration request information to the master parent node.
3. The method according to claim 2, wherein 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.
4. A method according to claim 3, wherein the master parent node is selected based on signal to noise ratio; and/or the backup father node is selected according to connectivity of the registered STA node.
5. The method according to any one of claims 1-4, further comprising:
the STA node and the neighbor nodes within one-hop range send a Hello frame to each other;
if the CCO node exists in the neighbor nodes of the STA node, the registration request information is sent 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, wherein the method further comprises:
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.
7. The method of claim 5 wherein the confirmation message extracts the node id of the STA node that needs to be registered after the CCO node receives the request information or the registration request information, and transmits it in a multicast manner.
8. The method according to claim 1, wherein the method further comprises:
after the lower node of the registered STA node completes registration, combining configuration information of the registered lower node 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 node according to the multicast message.
9. An active access device for plug and play of a terminal, comprising:
the first receiving module is configured to receive the registration request information sent by the subordinate node by the registered STA node; the subordinate node is an STA node within 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 merging module is configured to merge the registration request information into one merging request information by the registered STA node and send the merging request information to the CCO node;
and the first sending module is configured to receive the confirmation message sent by the CCO node in response to the combination request information and send the confirmation message to the subordinate node in a multicast mode so that the subordinate node marks the subordinate node as the registered STA node based on the confirmation message.
10. The apparatus of claim 9, wherein when the number of registered STA nodes corresponding to the subordinate node is plural, the apparatus further comprises:
and the selecting module is configured to select one of the registered STA nodes from the plurality of the subordinate nodes as a main father node and send the registration request information to the main father node.
11. The apparatus of claim 10, wherein the selection module is further configured to select one node other than the primary parent node from a plurality of the registered STA nodes as a backup parent node by the subordinate node.
12. The apparatus of claim 11, wherein the master parent node is selected based on signal-to-noise ratio; and/or the backup father node is selected according to connectivity of the registered STA node.
13. The apparatus according to any one of claims 9-12, wherein the apparatus further comprises:
the second sending module is configured to send Hello frames to each other between the STA node and the neighbor nodes within one-hop range of the STA node;
a third sending module configured to send the registration request information to the CCO node if the CCO node exists in the neighboring nodes of the STA node;
and the marking module is configured to receive an acknowledgement message sent by the CCO node in response to the registration request information and mark the CCO node as the registered STA node.
14. The apparatus of claim 13, wherein the apparatus further comprises:
a determining module configured to include neighbor node attribute information in the Hello frame; 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 of claim 13 wherein the confirmation message extracts the node id of the STA node that needs to be registered after the CCO node receives the request information or the registration request information, and transmits it in a multicast manner.
16. The apparatus of claim 9, wherein the apparatus further comprises:
a fourth sending module, configured to combine configuration information of the registered subordinate node into an information list after the subordinate node of the registered STA node completes registration, and send the information list to the CCO node;
the second receiving module is configured to receive the multicast message sent by the CCO node;
and the configuration module is configured to complete the configuration of the registered subordinate node according to the multicast message.
17. An electronic device comprising a memory and a processor; wherein the memory is for storing 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, implement the method steps of any of claims 1-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 CN115102993A (en) 2022-09-23
CN115102993B true 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
CN115102993A (en) 2022-09-23

Similar Documents

Publication Publication Date Title
CN102035828B (en) Method of using nodes in a home communication network
US9723583B2 (en) Masterless slot allocation
US6205122B1 (en) Automatic network topology analysis
CN105934976B (en) The method, apparatus and master-slave network electricity-saving system of master-slave network suspend mode and wake-up
CN102291465B (en) Load balancing method, device and system
KR101548695B1 (en) Apparatus and method for topology design of hybrid optical networks on chip
CN103944826A (en) Entry aggregation method in SPBM (shortest path bridging MAC mode) network and equipment
Kumar et al. SCalable object-tracking through unattended techniques (SCOUT)
CN109121096B (en) Method and apparatus for determining broadcast nodes in a mesh network
WO2015062479A1 (en) Method, device and system for monitoring terminal status
CN103262434A (en) Media access control layer for power line communications
CN110249634A (en) Ammeter including power line interface He at least one radio frequency interface
CN113923748A (en) Method for forming cluster network based on proxy change
CN115102993B (en) Active access method, device and equipment for plug and play of terminal and readable medium
CN102638408A (en) Method for sending topology change (TC) message and method and device for refreshing forwarding table
Goering et al. Service discovery using bloom filters
CN111683384B (en) Network optimization method for realizing dynamic weighting of communication link by artificial intelligence
EP2704373A2 (en) Method, apparatus and system for neighbor discovery
CN113709203A (en) Efficient communication method and system applied to block chain
Holzer et al. Time-optimal information exchange on multiple channels
CN103200119A (en) Load sharing method and edge device in Ethernet virtualization interconnection site
CN109412942B (en) Cloud network transmission routing method and system
CN101632261A (en) Full mesh rates transaction in the network
CN105634789B (en) A kind of method, equipment and the Log Collect System of collector associate device
CN113890848A (en) Topology discovery system and method for layered domain-division SDN multi-controller architecture

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