Search

CN-122002459-A - Networking method, control device and control equipment

CN122002459ACN 122002459 ACN122002459 ACN 122002459ACN-122002459-A

Abstract

The application provides a networking method, a control device and control equipment, and belongs to the technical field of power carrier communication. The method comprises the steps of determining the lowest level and the highest level of candidate agent nodes which are not initiated with association requests in a network to be accessed, and carrying out association attempt based on the sequence from the lowest level to the highest level, wherein an attempt mechanism at least comprises the steps of initiating the association requests to at least one candidate agent node in a current level if the candidate agent nodes with signal quality meeting preset conditions exist in the current level, and initiating the association requests to at least one candidate agent node in a next level if the continuous failure times of the association requests initiated to the candidate agent nodes in the current level reach the maximum times, and initiating the association requests to at least one candidate agent node in the next level if the candidate agent nodes with signal quality meeting preset conditions do not exist in the current level. The method accelerates the networking efficiency of the child node STA.

Inventors

  • SUN JIANQING
  • XIAO DEYONG
  • LUO DAN
  • DAI HONGGUANG
  • CHEN PIN
  • CAO GUANQIANG

Assignees

  • 北京智芯半导体科技有限公司

Dates

Publication Date
20260508
Application Date
20260107

Claims (16)

  1. 1. A networking method, applied to a child node STA, the method comprising: determining the lowest level and the highest level of candidate agent nodes which are not initiated with the association request in the network to be accessed; Performing an association attempt based on an order from a determined lowest level to a highest level, wherein the attempt mechanism includes: If the candidate agent nodes with the signal quality meeting the preset conditions exist in the current level, initiating an association request to at least one candidate agent node in the current level, and under the condition that the continuous failure times of the association request initiated to the candidate agent node in the current level reach the maximum times, taking the next level as a new current level, initiating the association request to at least one candidate agent node in the next level, and if the candidate agent nodes with the signal quality meeting the preset conditions do not exist in the current level, taking the next level as the new current level, and initiating the association request to at least one candidate agent node in the next level.
  2. 2. The networking method of claim 1, wherein the attempt mechanism further comprises: If the association attempt of each level is completed and the association with any candidate agent node is not successful, directly jumping or selecting a new network to be accessed and then jumping to the lowest level and the highest level of the candidate agent nodes which are determined not to initiate the association request in the network to be accessed.
  3. 3. The networking method of claim 1, wherein initiating an association request to at least one candidate agent node within the current hierarchy comprises: Selecting a plurality of target agent nodes with communication states superior to those of other candidate agent nodes which are not selected and/or with equipment roles as relay nodes PCO from the candidate agent nodes in the current hierarchy based on the communication state information and the equipment role information of the candidate agent nodes in the current hierarchy; an association request is sent to at least one of the target proxy nodes.
  4. 4. A networking method according to claim 3, wherein the selecting a plurality of target agent nodes whose communication status is better than that of the unselected other candidate agent nodes and/or whose device role is the relay node PCO from the candidate agent nodes in the current hierarchy based on the communication status information and the device role information of the candidate agent nodes in the current hierarchy comprises: For any candidate agent node, extracting a plurality of characteristic quantities representing the communication state from the communication state information of the candidate agent node, carrying out weighted summation on each characteristic quantity and a label value representing the equipment role of the candidate agent node, and taking the weighted summation result as a candidate weight value of the candidate agent node; and sequencing the candidate weight values of the candidate agent nodes from large to small, and selecting a plurality of candidate agent nodes with the front candidate weight values in the sequencing as target agent nodes.
  5. 5. The networking method of claim 4, wherein the characteristic quantities include signal quality of the candidate agent node and a number of received beacon frames in a beacon period.
  6. 6. The networking method of claim 5, wherein weighting and summing each of the feature quantities, the tag value characterizing the candidate proxy node device role, comprises: The method comprises the steps that a tag value is used for representing a device role, wherein the tag value of a relay node PCO is larger than the tag values of other device roles; And performing weighted summation on the tag value, the signal quality of the candidate agent node and the number of the beacon frames, wherein: the weighting coefficient of the label value is larger than the weighting coefficient of the signal quality of the candidate agent node; the weighting coefficient of the signal quality of the candidate agent node is greater than the weighting coefficient of the number of beacon frames.
  7. 7. A networking method according to claim 3, wherein sending an association request to at least one of the target proxy nodes comprises: For any target agent node in the target agent nodes, adding one to the accumulated continuous failure times of the association request sent to the current level, judging whether the added continuous failure times exceed the maximum times, if so, taking the next level as a new current level, initiating the association request with at least one candidate agent node in the next level, otherwise, initiating the association request to the target agent node, determining that the association with the target agent node is successful under the condition that an association request confirmation message or an association summary indication message forwarded by the target agent node is received, and executing the following steps under the condition that the association request confirmation message or the association summary indication message forwarded by the target agent node is not received: The method comprises the steps of determining the lowest level and the highest level of candidate agent nodes which are not initiated with association requests in a network to be accessed, carrying out association attempt according to the attempt mechanism based on the sequence from the lowest level to the highest level which are determined again if the current level is 0 or more than the highest level which is determined again, and carrying out association attempt according to the attempt mechanism based on the sequence from the current level to the highest level which is determined again if the current level is not 0 and not more than the highest level which is determined again.
  8. 8. The networking method of claim 2, wherein if the association attempt of each level is completed and the association with any candidate agent node is not successful, directly jumping or selecting a new network to be accessed and jumping to the lowest level and the highest level of the candidate agent nodes which are determined not to initiate the association request in the network to be accessed, comprises: If the association attempts of all levels are completed and the association with any candidate agent node is not successful, and the total number of association requests initiated to all levels reaches a minimum association request threshold, selecting a new network to be accessed from the multiple networks under the condition that a beacon frame of the multiple networks is received, jumping to the lowest level and the highest level of the candidate agent nodes which are determined to be not initiated with the association requests in the network to be accessed, and jumping to the lowest level and the highest level of the candidate agent nodes which are determined to be not initiated with the association requests in the network to be accessed under the condition that only the beacon frame of the current network to be accessed is received; If the association attempts of all the levels are completed and the association with any candidate agent node is not successful, and the total times of the association requests initiated to all the levels do not reach the minimum association request threshold, the method jumps to the lowest level and the highest level of the candidate agent nodes which are determined to be accessed to the network and are not initiated with the association requests.
  9. 9. The networking method of claim 1, wherein the child node STA is a multimode communication node, the method further comprising: determining signal quality of each network in various communication modes according to the received multi-network beacon frame; selecting the signal quality in a communication mode with the optimal signal quality as the signal quality of any network; Selecting a network with the optimal signal quality as a network to be accessed; Taking the communication mode with the optimal signal quality as the communication mode of the network to be accessed; The signal quality in any communication mode of any network is obtained through the following processes that according to a beacon frame of the network, a difference value between a communication index value representing the signal quality and a communication index threshold is calculated, the communication index value is larger than the communication index threshold, a product of the difference value and a preset coefficient is calculated, and the product is used as the signal quality of the communication mode.
  10. 10. A control apparatus for a seed node STA, the apparatus comprising: a first module, configured to determine a lowest level and a highest level of candidate agent nodes in a network to be accessed, where the candidate agent nodes are not initiated with an association request; a second module for performing an association attempt based on an order from a determined lowest level to a highest level, wherein the attempt mechanism comprises: If the candidate agent nodes with the signal quality meeting the preset conditions exist in the current level, initiating an association request to at least one candidate agent node in the current level, and under the condition that the continuous failure times of the association request initiated to the candidate agent node in the current level reach the maximum times, taking the next level as a new current level, initiating the association request to at least one candidate agent node in the next level, and if the candidate agent nodes with the signal quality meeting the preset conditions do not exist in the current level, taking the next level as the new current level, and initiating the association request to at least one candidate agent node in the next level.
  11. 11. The control apparatus of the child node STA of claim 10, wherein the attempt mechanism further comprises: If the association attempt of each level is completed and the association with any candidate agent node is not successful, directly jumping or selecting a new network to be accessed and then jumping to the lowest level and the highest level of the candidate agent nodes which are determined not to initiate the association request in the network to be accessed.
  12. 12. The control apparatus of the child node STA of claim 10, wherein initiating an association request to at least one candidate agent node within the current hierarchy comprises: Selecting a plurality of target agent nodes with communication states superior to those of other candidate agent nodes which are not selected and/or with equipment roles as relay nodes PCO from the candidate agent nodes in the current hierarchy based on the communication state information and the equipment role information of the candidate agent nodes in the current hierarchy; an association request is sent to at least one of the target proxy nodes.
  13. 13. The control apparatus of the child node STA according to claim 12, wherein transmitting an association request to at least one of the target proxy nodes comprises: For any target agent node in the target agent nodes, adding one to the accumulated continuous failure times of the association request sent to the current level, judging whether the added continuous failure times exceed the maximum times, if so, taking the next level as a new current level, initiating the association request with at least one candidate agent node in the next level, otherwise, initiating the association request to the target agent node, determining that the association with the target agent node is successful under the condition that an association request confirmation message or an association summary indication message forwarded by the target agent node is received, and executing the following steps under the condition that the association request confirmation message or the association summary indication message forwarded by the target agent node is not received: The method comprises the steps of determining the lowest level and the highest level of candidate agent nodes which are not initiated with association requests in a network to be accessed, carrying out association attempt according to the attempt mechanism based on the sequence from the lowest level to the highest level which are determined again if the current level is 0 or more than the highest level which is determined again, and carrying out association attempt according to the attempt mechanism based on the sequence from the current level to the highest level which is determined again if the current level is not 0 and not more than the highest level which is determined again.
  14. 14. The control device of the child node STA according to claim 11, wherein if the association attempt of each level is completed and no association with any candidate agent node is successful, directly jumping or selecting a new network to be accessed and jumping to the lowest level and the highest level of the candidate agent nodes for which the association request is not initiated in the determined network to be accessed, comprises: If the association attempts of all levels are completed and the association with any candidate agent node is not successful, and the total number of association requests initiated to all levels reaches a minimum association request threshold, selecting a new network to be accessed from the multiple networks under the condition that a beacon frame of the multiple networks is received, jumping to the lowest level and the highest level of the candidate agent nodes which are determined to be not initiated with the association requests in the network to be accessed, and jumping to the lowest level and the highest level of the candidate agent nodes which are determined to be not initiated with the association requests in the network to be accessed under the condition that only the beacon frame of the current network to be accessed is received; If the association attempts of all the levels are completed and the association with any candidate agent node is not successful, and the total times of the association requests initiated to all the levels do not reach the minimum association request threshold, the method jumps to the lowest level and the highest level of the candidate agent nodes which are determined to be accessed to the network and are not initiated with the association requests.
  15. 15. A control apparatus, characterized by comprising: A memory configured to store instructions, and A processor configured to invoke the instructions from the memory and to enable the networking method according to any of claims 1 to 9 when the instructions are executed.
  16. 16. A machine-readable storage medium having stored thereon instructions for causing a machine to perform the networking method of any of claims 1 to 9.

Description

Networking method, control device and control equipment Technical Field The application belongs to the technical field of power carrier communication, and particularly relates to a networking method, a control device of a sub-node STA, control equipment and a machine-readable storage medium. Background In the power line carrier communication, or the dual-mode communication combining the power line carrier communication with other communication modes, or the multi-mode communication combining the power line carrier communication with other communication modes, the STA receives beacons from CCO, PCO and the network-accessed STA, analyzes a list which can be used as proxy nodes according to the beacons, and then screens candidate proxy nodes in sequence according to the following sequence, wherein the candidate proxy nodes are low-level priority, proxy node priority and high-signal-to-noise ratio, and an association request is sequentially initiated to the candidate proxy nodes according to the sequence until the association is successful. According to the above method, if there are too many low-level nodes, and when the communication quality between the STA and the low-level nodes is poor, the STA continuously tries to use the low-level nodes as agents, but fails to network, resulting in too long network time. In addition, if a multi-network environment exists, the STA needs to switch to other networks after the association request number of the current network reaches the set maximum request number or the networking attempt time exceeds the set maximum duration. However, if there are too many low-level proxy nodes, the number of association requests initiated to these low-level nodes may exceed the set maximum number of requests or the total duration of the association requests initiated to these low-level nodes exceeds the set maximum duration, so that the high-level nodes cannot be selected as proxies, and the networking efficiency is reduced. Disclosure of Invention An object of the embodiments of the present application is to provide a networking method, a control device of a sub-node STA, a control device, and a machine-readable storage medium, so as to solve the technical problem in the prior art that networking efficiency is low when candidate proxy nodes are screened for networking according to low-level priority, proxy node priority, and high signal-to-noise ratio. To achieve the above object, a first aspect of the present application provides a networking method applied to a child node STA, the method comprising determining a lowest level and a highest level of candidate agent nodes in a network to be accessed, which are not initiated with an association request, performing an association attempt based on an order from the determined lowest level to the highest level, wherein an attempt mechanism comprises: If the candidate agent nodes with the signal quality meeting the preset conditions exist in the current level, initiating an association request to at least one candidate agent node in the current level, and under the condition that the continuous failure times of the association request initiated to the candidate agent node in the current level reach the maximum times, taking the next level as a new current level, initiating the association request to at least one candidate agent node in the next level, and if the candidate agent nodes with the signal quality meeting the preset conditions do not exist in the current level, taking the next level as the new current level, and initiating the association request to at least one candidate agent node in the next level. In a specific embodiment of the present application, the attempting mechanism further includes, if the association attempt of each level is completed and the association with any candidate agent node is not successful, directly jumping or selecting a new network to be accessed, and jumping to the lowest level and the highest level of the candidate agent node which determines that the association request is not initiated in the network to be accessed. In a specific embodiment of the application, the method for initiating the association request to at least one candidate agent node in the current hierarchy comprises the steps of selecting a plurality of target agent nodes with communication states superior to those of other candidate agent nodes which are not selected and/or with equipment roles as relay nodes PCOs from the candidate agent nodes in the current hierarchy based on the communication state information and the equipment role information of the candidate agent nodes in the current hierarchy, and sending the association request to at least one target agent node. In a specific embodiment of the application, based on the communication state information and the equipment role information of each candidate agent node in the current hierarchy, selecting a plurality of target agent nodes with communication states superior to those of