CN114158112A - Network connection method and device, electronic equipment and storage medium - Google Patents

Network connection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114158112A
CN114158112A CN202111608258.6A CN202111608258A CN114158112A CN 114158112 A CN114158112 A CN 114158112A CN 202111608258 A CN202111608258 A CN 202111608258A CN 114158112 A CN114158112 A CN 114158112A
Authority
CN
China
Prior art keywords
node
coloring
network
identifier
network connection
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.)
Pending
Application number
CN202111608258.6A
Other languages
Chinese (zh)
Inventor
梁志涛
唐杰
李喜林
覃广志
陈志扬
朱昌友
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111608258.6A priority Critical patent/CN114158112A/en
Publication of CN114158112A publication Critical patent/CN114158112A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a network connection method, a device, an electronic device and a storage medium, wherein the network connection method is applied to a first node which has access to a network, and comprises the following steps: acquiring the link quality, the signal strength and the number of access nodes of the current accessed node; determining coloring identification according to the number of access nodes, link quality and signal strength; broadcasting the coloring identification, or returning the coloring identification when receiving the identification acquisition request; and if the node association request is received, returning a node association response and establishing network connection, wherein the node association request is sent after a second node which is not accessed to the network determines that the coloring identifier meets the association condition. The embodiment of the invention can automatically determine the coloring identification according to the number of the access nodes, the link quality and the signal strength and inform the second nodes which are not accessed to the network, so that the second nodes which are not accessed to the network can pointedly select the optimal first node to access according to the coloring identification, and the access success rate is improved.

Description

Network connection method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network connection method and apparatus, an electronic device, and a storage medium.
Background
The wifi mesh network is mainly divided into a backbone network and a terminal network. The establishment of the backbone network is based on the mutual transmission of association requests between the nodes, thereby establishing a connection.
When a new node is accessed, an association request needs to be sent to a nearby node, and then the nearby node receives the association request and sends an association response frame to the new node, so that basic connection communication is established.
However, the process is relatively blind, has no targeted access and no targeted connection, and can cause unstable conditions when a new node is added, the access success rate is not high, the connection time is long, and the newly added node cannot respond to subsequent work quickly.
Disclosure of Invention
In order to solve the technical problem of low access success rate caused by blind access nodes, the application provides a network connection method, a network connection device, an electronic device and a storage medium.
In a first aspect, the present application provides a network connection method applied to a first node that has accessed a network, including:
acquiring the link quality, the signal strength and the number of access nodes of the current accessed node;
determining a coloring identifier according to the number of the access nodes, the link quality and the signal strength, wherein the coloring identifier is used for indicating the operation state of the nodes;
broadcasting the coloring identification, or returning the coloring identification when receiving an identification acquisition request;
and if receiving a node association request, returning a node association response and establishing network connection, wherein the node association request is sent after a second node which is not accessed to the network determines that the coloring identifier meets the association condition.
Optionally, obtaining the link quality of itself includes:
acquiring the uplink quality of an uplink network link in which the mobile terminal is positioned;
acquiring the downlink quality of a downlink network link where the mobile terminal is located;
determining the link quality from the uplink quality and the downlink quality.
Optionally, determining the link quality according to the uplink quality and the downlink quality comprises:
if the uplink quality is greater than a preset first threshold and the downlink quality is greater than a preset first threshold, determining that the link quality is excellent;
or, if the uplink quality is less than a preset second threshold or the downlink quality is less than a preset second threshold, determining that the link quality is poor, where the preset second threshold is less than the preset first threshold;
or, if the uplink quality is greater than a preset second threshold and the downlink quality is greater than a preset second threshold, determining that the link quality is medium.
Optionally, determining a coloring identifier according to the number of access nodes, the link quality, and the signal strength includes:
calculating access ratio according to the number of the access nodes;
and inquiring coloring identification corresponding to the access ratio, the link quality and the signal intensity in a preset parameter identification corresponding relation.
In a second aspect, the present application provides a network connection method applied to a second node that does not access a network, the method including:
receiving a coloring identifier broadcasted by at least one first node accessed to a network, or sending an identifier acquisition request to at least one first node, and receiving a coloring identifier returned by at least one first node, wherein the coloring identifier is used for indicating the running state of the node;
determining a target network node with a coloring identifier meeting an association condition according to the coloring identifier of at least one first node;
sending a node association request to the target network node;
and if a node association response is received, establishing network connection with the target network node.
Optionally, determining a target network node whose coloring identifier satisfies an association condition according to at least one coloring identifier of the first node includes:
determining one or more first nodes with optimal operation states according to the coloring identification of at least one first node;
and determining one first node with the optimal operation state as the target network node, or determining any one of at least two first nodes with the optimal operation state as the target network node.
In a third aspect, the present application provides a network connection apparatus, applied to a first node that has access to a network, the apparatus including:
the acquisition module is used for acquiring the link quality, the signal strength and the number of the current access nodes of the accessed nodes;
a first determining module, configured to determine a coloring identifier according to the number of access nodes, the link quality, and the signal strength, where the coloring identifier is used to indicate an operating state of a node;
the identifier sending module is used for broadcasting the coloring identifier or returning the coloring identifier when an identifier acquisition request is received;
and the first connection module is used for returning a node association response and establishing network connection if a node association request is received, wherein the node association request is sent after a second node which does not access the network determines that the coloring identifier meets the association condition.
In a fourth aspect, the present application provides a network connection apparatus, applied to a second node that does not access a network, including:
the identification acquisition module is used for receiving a coloring identification broadcasted by at least one first node accessed to a network, or sending an identification acquisition request to the at least one first node and receiving a coloring identification returned by the at least one first node, wherein the coloring identification is used for indicating the running state of the node;
the determining module is used for determining a target network node of which the coloring identification meets the association condition according to the coloring identification of at least one first node;
a sending module, configured to send a node association request to the target network node;
and the second connection module is used for establishing network connection with the target network node if the node association response is received.
In a fifth aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor configured to implement the network connection method according to any one of the first aspect or the network connection method according to any one of the second aspect when executing the program stored in the memory.
In a sixth aspect, the present application provides a computer-readable storage medium having a program of the network connection method stored thereon, where the program of the network connection method is executed by a processor to implement the steps of the network connection method of any one of the first aspect or the network connection method of any one of the second aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the embodiment of the invention firstly obtains the link quality, the signal intensity and the number of the access nodes of the current accessed node, then determines the coloring identification according to the number of the access nodes, the link quality and the signal intensity, the coloring identification is used for indicating the running state of the node, and then broadcasts the coloring identification, or returns the coloring identification when receiving the identification obtaining request; and if receiving a node association request, returning a node association response and establishing network connection, wherein the node association request is sent after a second node which is not accessed to the network determines that the coloring identifier meets the association condition.
The embodiment of the invention can automatically determine the coloring identification according to the number of the access nodes, the link quality and the signal strength and inform the second nodes which are not accessed to the network, so that the second nodes which are not accessed to the network can pointedly select the optimal first node to access according to the coloring identification, and the access success rate is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a network connection method according to an embodiment of the present application;
fig. 2 is a flowchart of another network connection method according to an embodiment of the present disclosure;
fig. 3 is a block diagram of a network connection device according to an embodiment of the present disclosure;
fig. 4 is a block diagram of another network connection device provided in the embodiments of the present application;
fig. 5 is a structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
When a new node is accessed, an association request needs to be sent to a nearby node, and then the nearby node receives the association request and sends an association response frame to the new node, so that basic connection communication is established. The process is relatively blind, has no targeted access and no targeted connection, can generate an unstable condition when a new node is added, has low access success rate and long connection time, and the newly added node can not quickly respond to subsequent work. Moreover, the inventors have found that; when a new node is accessed, the information of the child nodes near the new node and the link quality are changed to a certain extent. The original mode of acquiring the running state information of the nodes is to exchange information among each other by sending corresponding frames without any identification. When a new node is accessed, it is not clear which nodes are suitable for accessing and which nodes can access the new node. Due to no targeted selection, a problem exists when a new node is accessed, and the access of the new node is influenced.
Therefore, the embodiment of the application provides a network connection method, device electronic equipment and a storage medium. As shown in fig. 1, the network connection method may be applied to a first node having access to a network, and the method includes:
step S101, acquiring the link quality, the signal strength and the number of the current access nodes;
in the embodiment of the invention, the link quality is the measurement condition of data packet loss in the communication process, the signal strength is the signal strength of the current network channel, and the number of the access nodes refers to the number of devices which have access to the nodes.
The link quality, the signal strength and the number of the current access nodes can be updated periodically and stored in the designated storage space, and the coloring identification determined based on the link quality, the signal strength and the number of the current access nodes can be more accurate due to the periodic update.
And step S102, determining coloring identification according to the quantity of the access nodes, the link quality and the signal intensity.
In the embodiment of the invention, the coloring identification is used for indicating the running state of the node, and coloring is carried out from poor to excellent in coloring distribution. Illustratively, the colored identifier may be a color identifier such as red, green, white, black, etc.; the invention adopts a coloring mechanism to color the running nodes of the mesh network, and the coloring is used for distinguishing the running state conditions of the child nodes under the current mesh network. Nodes in the same operation condition are assigned with the same color, and the color is divided into red (saturated operation state), green (excellent operation state), white (good operation state) and black (poor operation state). Neither red nor black will be the subject of new node access, and green and white will be the subject of new node access, where white takes precedence over green.
In this step, the number of access nodes, the link quality, and the signal strength may be respectively matched with the corresponding rules, and then the coloring identifier matched with each rule is searched in the preset corresponding relationship.
In an embodiment of the present invention, the embodiment of the present invention may perform level division on the number of access nodes, different link qualities, and different signal strengths in advance, divide different node number ranges, link quality levels, signal strength ranges, and the like, and preset coloring identifiers matching the different node number ranges, link quality levels, and signal strength ranges, as shown in table 1 below:
TABLE 1
Figure BDA0003427135940000061
Figure BDA0003427135940000071
In another embodiment of the present invention, the access ratio may be calculated according to the number of access nodes; and inquiring coloring identification corresponding to the access ratio, the link quality and the signal intensity in a preset parameter identification corresponding relation.
In the embodiment of the present invention, the access proportion may be a ratio of the number of access nodes to the total number of nodes allowed to be accessed by the first node.
The embodiment of the invention can previously grade access occupation ratios, different link qualities and different signal strengths, divide different node quantity ranges, link quality levels, signal strength ranges and the like, and preset coloring marks matched with different access occupation ratios, link quality levels and signal strength ranges, as shown in the following table 2:
TABLE 2
Ratio of nodes Link quality class Range of signal strength Colored identification
Node ratio 1 Class 1 Signal strength range 1 Red colour
Node occupation ratio 2 Class 2 Signal strength range 2 Green colour
Node ratio 3 Class 3 Signal strength range 3 White colour
Node occupation ratio 4 Class 4 Signal strength range 4 Black color
Node ratio of 5 Grade 5 Signal strength range 5 Blue color
Node ratio 6 Grade 6 Signal strength range 6 Yellow colour
In practical applications, the examples of the coloring identifier matching any of the different node number ranges, link quality levels, and signal strength ranges are as follows:
red (run state saturated): namely, the node access number is already 1 (saturation), the link quality is normal, and the signal strength is normal.
Green (excellent running state): the number of accessed nodes is one fifth, and the link quality and the signal strength are excellent.
White (good running condition); the number of the access nodes reaches three fifths, and the link quality and the signal strength are normal.
Black (poor running state): the link quality, signal strength are lower than normal, regardless of the number of accesses.
Step S103, broadcasting the coloring identification, or returning the coloring identification when receiving the identification acquisition request;
in this step, the coloring identifier may be automatically broadcast according to an actual setting condition, or whether the identifier obtaining request is received is automatically detected, and when the identifier obtaining request is received, the coloring identifier is returned to a sender of the identifier obtaining request.
And step S104, if a node association request is received, returning a node association response and establishing network connection, wherein the node association request is sent after a second node which does not access the network determines that the coloring identification meets the association condition.
The embodiment of the invention firstly obtains the link quality, the signal intensity and the number of the access nodes of the current accessed node, then determines the coloring identification according to the number of the access nodes, the link quality and the signal intensity, the coloring identification is used for indicating the running state of the node, and then broadcasts the coloring identification, or returns the coloring identification when receiving the identification obtaining request; and if receiving a node association request, returning a node association response and establishing network connection, wherein the node association request is sent after a second node which is not accessed to the network determines that the coloring identifier meets the association condition.
The embodiment of the invention can automatically determine the coloring identification according to the number of the access nodes, the link quality and the signal strength and inform the second nodes which are not accessed to the network, so that the second nodes which are not accessed to the network can pointedly select the optimal first node to access according to the coloring identification, and the access success rate is improved.
In another embodiment of the present invention, obtaining the link quality of the ue includes:
step 201, acquiring the uplink quality of an uplink network link where the user is located;
the network link where the first node is located includes an uplink network link and a downlink network link, such as: network-root node-child node-device network link, quality of received data and returned data of the network link, such as: packet loss rate, etc. When the quality of either party (received data or backtransmission data) is at a low level, the quality of the current link is at a lower level. The link quality is excellent, which means that the current link is in a stable state, and data transmission and the like are all normal levels.
Step 202, acquiring the downlink quality of a downlink network link where the downlink network link is located;
step 203, determining the link quality according to the uplink quality and the downlink quality.
In this step, determining the link quality from the uplink quality and the downlink quality includes:
if the uplink quality is greater than a preset first threshold and the downlink quality is greater than a preset first threshold, determining that the link quality is excellent;
or, if the uplink quality is less than a preset second threshold or the downlink quality is less than a preset second threshold, determining that the link quality is poor, where the preset second threshold is less than the preset first threshold;
or, if the uplink quality is greater than a preset second threshold and the downlink quality is greater than a preset second threshold, determining that the link quality is medium.
That is, it is required that both the uplink quality and the downlink quality are excellent to determine that the link quality is excellent, and if one of the uplink quality and the downlink quality is poor, the link quality is poor, and if neither the uplink quality nor the downlink quality is good (that is, if one is medium, one is excellent, or both are medium), the link quality is medium.
The embodiment of the invention comprehensively determines the link quality according to the uplink quality and the downlink quality, improves the accuracy of the determined link quality and further improves the accuracy of the determined coloring identification.
In another embodiment of the present invention, there is also provided a network connection method applied to a second node which does not access a network, as shown in fig. 2, the method including:
step S301, receiving a coloring identifier broadcast by at least one first node having access to a network, or sending an identifier obtaining request to at least one first node, and receiving a coloring identifier returned by at least one first node.
In the embodiment of the invention, the coloring identification is used for indicating the running state of the node;
step S302, according to the coloring identification of at least one first node, determining a target network node with the coloring identification meeting the association condition;
in the embodiment of the present invention, the association condition may be used to screen out a first node with an operation state most suitable for access.
Step S303, sending a node association request to the target network node;
step S304, if a node association response is received, establishing a network connection with the target network node.
The embodiment of the invention can automatically determine a target network node with the coloring identification meeting the association condition according to the coloring identification of at least one first node, and establishes network connection with the target network node, thereby realizing that the optimal first node can be selected to access according to the coloring identification in a targeted manner, and improving the access success rate.
In another embodiment of the present invention, the step S302 of determining a target network node whose coloring identifier satisfies an association condition according to at least one coloring identifier of the first node includes:
step 401, determining one or more first nodes with optimal operation states according to the coloring identification of at least one first node;
if there are first nodes with different colors around, at least one first node with the highest priority (the color with the higher priority corresponds to a better working state), that is, one or more first nodes with the optimal running state, can be selected according to the priority of the color.
Step 402, determining one first node with the optimal operation state as the target network node, or determining any one of at least two first nodes with the optimal operation state as the target network node.
For example: in the foregoing embodiment, new connections are not established any more in red and black, new connections are established only in green and white, and if the surroundings are white \ green, the new connections may be established according to the principle of proximity (that is, the distance between the second node itself and each first node needs to be measured, and the first node closest to the second node is selected as the target network node), because the characteristics of the surrounding white nodes are the same for the new nodes, one of the nodes may be randomly selected.
The embodiment of the invention can automatically select a target network node according to the coloring identification, is convenient for the access of the second node, can pertinently select the optimal first node for access according to the coloring identification, and improves the access success rate.
In another embodiment of the present invention, there is also provided a network connection apparatus applied to a first node that has access to a network, as shown in fig. 3, the apparatus including:
an obtaining module 11, configured to obtain link quality and signal strength of the access node and the number of access nodes currently accessed to the access node;
a first determining module 12, configured to determine a coloring identifier according to the number of access nodes, the link quality, and the signal strength, where the coloring identifier is used to indicate an operating state of a node;
an identifier sending module 13, configured to broadcast the coloring identifier, or return the coloring identifier when receiving an identifier obtaining request;
the first connection module 14 is configured to return a node association response and establish a network connection if a node association request is received, where the node association request is sent by a second node that does not access the network after determining that the coloring identifier satisfies an association condition.
In another embodiment of the present invention, there is also provided a network connection apparatus applied to a second node which does not access a network, as shown in fig. 4, the apparatus including:
an identifier obtaining module 21, configured to receive a coloring identifier broadcast by at least one first node that has accessed a network, or send an identifier obtaining request to the at least one first node, and receive a coloring identifier returned by the at least one first node, where the coloring identifier is used to indicate an operating state of the node;
a determining module 22, configured to determine, according to the coloring identifier of at least one first node, a target network node whose coloring identifier satisfies an association condition;
a sending module 23, configured to send a node association request to the target network node;
and a second connection module 24, configured to establish a network connection with the target network node if the node association response is received.
In another embodiment of the present invention, an electronic device is further provided, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor for implementing the aforementioned network connection method applied to the first node or the aforementioned network connection method applied to the second node when executing the program stored in the memory.
In the electronic device provided by the embodiment of the present invention, the processor implements, by executing the program stored in the memory, that the link quality, the signal strength, and the number of access nodes of the currently accessed node are first obtained, and then determines the coloring identifier according to the number of access nodes, the link quality, and the signal strength, where the coloring identifier is used to indicate the operating state of the node, and then broadcasts the coloring identifier, or returns the coloring identifier when receiving the identifier obtaining request; and if receiving a node association request, returning a node association response and establishing network connection, wherein the node association request is sent after a second node which is not accessed to the network determines that the coloring identifier meets the association condition.
The embodiment of the invention can automatically determine the coloring identification according to the number of the access nodes, the link quality and the signal strength and inform the second nodes which are not accessed to the network, so that the second nodes which are not accessed to the network can pointedly select the optimal first node to access according to the coloring identification, and the access success rate is improved.
The communication bus 1140 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The communication interface 1120 is used for communication between the electronic device and other devices.
The memory 1130 may include a Random Access Memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The processor 1110 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
In still another embodiment of the present invention, there is also provided a computer-readable storage medium having stored thereon a program of a network connection method, the program of the network connection method realizing the aforementioned steps applied to the network connection method in the first node or the aforementioned steps applied to the network connection method in the second node when executed by a processor.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A network connection method applied to a first node having access to a network, the method comprising:
acquiring the link quality, the signal strength and the number of access nodes of the current accessed node;
determining a coloring identifier according to the number of the access nodes, the link quality and the signal strength, wherein the coloring identifier is used for indicating the operation state of the nodes;
broadcasting the coloring identification, or returning the coloring identification when receiving an identification acquisition request;
and if receiving a node association request, returning a node association response and establishing network connection, wherein the node association request is sent after a second node which is not accessed to the network determines that the coloring identifier meets the association condition.
2. The network connection method according to claim 1, wherein obtaining the link quality of the network connection method comprises:
acquiring the uplink quality of an uplink network link in which the mobile terminal is positioned;
acquiring the downlink quality of a downlink network link where the mobile terminal is located;
determining the link quality from the uplink quality and the downlink quality.
3. The network connection method of claim 2, wherein determining the link quality based on the uplink quality and the downlink quality comprises:
if the uplink quality is greater than a preset first threshold and the downlink quality is greater than a preset first threshold, determining that the link quality is excellent;
or, if the uplink quality is less than a preset second threshold or the downlink quality is less than a preset second threshold, determining that the link quality is poor, where the preset second threshold is less than the preset first threshold;
or, if the uplink quality is greater than a preset second threshold and the downlink quality is greater than a preset second threshold, determining that the link quality is medium.
4. The network connection method of claim 1, wherein determining a colored identifier based on the number of access nodes, the link quality, and the signal strength comprises:
calculating access ratio according to the number of the access nodes;
and inquiring coloring identification corresponding to the access ratio, the link quality and the signal intensity in a preset parameter identification corresponding relation.
5. A network connection method applied to a second node which does not access a network, the method comprising:
receiving a coloring identifier broadcasted by at least one first node accessed to a network, or sending an identifier acquisition request to at least one first node, and receiving a coloring identifier returned by at least one first node, wherein the coloring identifier is used for indicating the running state of the node;
determining a target network node with a coloring identifier meeting an association condition according to the coloring identifier of at least one first node;
sending a node association request to the target network node;
and if a node association response is received, establishing network connection with the target network node.
6. The network connection method according to claim 5, wherein determining a target network node whose coloring identifier satisfies an association condition according to the coloring identifier of at least one of the first nodes comprises:
determining one or more first nodes with optimal operation states according to the coloring identification of at least one first node;
and determining one first node with the optimal operation state as the target network node, or determining any one of at least two first nodes with the optimal operation state as the target network node.
7. A network connection apparatus, applied to a first node having access to a network, the apparatus comprising:
the acquisition module is used for acquiring the link quality, the signal strength and the number of the current access nodes of the accessed nodes;
a first determining module, configured to determine a coloring identifier according to the number of access nodes, the link quality, and the signal strength, where the coloring identifier is used to indicate an operating state of a node;
the identifier sending module is used for broadcasting the coloring identifier or returning the coloring identifier when an identifier acquisition request is received;
and the first connection module is used for returning a node association response and establishing network connection if a node association request is received, wherein the node association request is sent after a second node which does not access the network determines that the coloring identifier meets the association condition.
8. A network connection apparatus applied to a second node which does not access a network, the apparatus comprising:
the identification acquisition module is used for receiving a coloring identification broadcasted by at least one first node accessed to a network, or sending an identification acquisition request to the at least one first node and receiving a coloring identification returned by the at least one first node, wherein the coloring identification is used for indicating the running state of the node;
the determining module is used for determining a target network node of which the coloring identification meets the association condition according to the coloring identification of at least one first node;
a sending module, configured to send a node association request to the target network node;
and the second connection module is used for establishing network connection with the target network node if the node association response is received.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the network connection method according to any one of claims 1 to 4 or the network connection method according to any one of claims 5 to 6 when executing a program stored in a memory.
10. A computer-readable storage medium, having a program of a network connection method stored thereon, the program of the network connection method implementing the steps of the network connection method of any one of claims 1 to 4 or the network connection method of any one of claims 5 to 6 when executed by a processor.
CN202111608258.6A 2021-12-22 2021-12-22 Network connection method and device, electronic equipment and storage medium Pending CN114158112A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111608258.6A CN114158112A (en) 2021-12-22 2021-12-22 Network connection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111608258.6A CN114158112A (en) 2021-12-22 2021-12-22 Network connection method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114158112A true CN114158112A (en) 2022-03-08

Family

ID=80452385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111608258.6A Pending CN114158112A (en) 2021-12-22 2021-12-22 Network connection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114158112A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100272094A1 (en) * 2009-04-24 2010-10-28 Digi International, Inc. System and method for adaptively setting the probability of generating a beacon broadcast in a wireless network
WO2014003472A1 (en) * 2012-06-28 2014-01-03 주식회사 케이티 Method for scanning for access point in wireless lan system
WO2014003471A1 (en) * 2012-06-28 2014-01-03 주식회사 케이티 Method for scanning for access points in wireless lan system
US20150208444A1 (en) * 2012-08-16 2015-07-23 Lg Electronics Inc. Method and apparatus for accessing channel in wireless lan
US20150222447A1 (en) * 2012-09-14 2015-08-06 Lg Electronics Inc. Method and apparatus for scanning in wireless lan

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100272094A1 (en) * 2009-04-24 2010-10-28 Digi International, Inc. System and method for adaptively setting the probability of generating a beacon broadcast in a wireless network
WO2014003472A1 (en) * 2012-06-28 2014-01-03 주식회사 케이티 Method for scanning for access point in wireless lan system
WO2014003471A1 (en) * 2012-06-28 2014-01-03 주식회사 케이티 Method for scanning for access points in wireless lan system
US20150208444A1 (en) * 2012-08-16 2015-07-23 Lg Electronics Inc. Method and apparatus for accessing channel in wireless lan
US20150222447A1 (en) * 2012-09-14 2015-08-06 Lg Electronics Inc. Method and apparatus for scanning in wireless lan

Similar Documents

Publication Publication Date Title
US10440643B2 (en) Method and device for selecting camping cell
US8787330B2 (en) Dense mesh network communications
JP6130974B2 (en) Manage WLAN selection
EP3364670B1 (en) Signal strength measurement method and device
CN101889414B (en) Mesh deterministic access (mda) procedure in wireless mesh network and wireless device supporting the same
KR101665415B1 (en) Service information discovery method and device
US20170041803A1 (en) Base station, user equipment, resource obtaining method and system
JP2018531566A5 (en)
US20210377915A1 (en) Communication channel selection method
CN105357719A (en) Communication method of wireless local area network, communication device of wireless local area network, station and access point
WO2021032193A1 (en) Method for sidelink relay processing and user equipment
CN113965474A (en) Network quality evaluation method, electronic device and storage medium
US20200029228A1 (en) Channel Selection Method and Apparatus
EP3493566A1 (en) Wireless network device and associated wireless network access method
CN112333794B (en) Network connection method and device
CN114080048A (en) Random access resource allocation method and device, terminal and network equipment
CN114158112A (en) Network connection method and device, electronic equipment and storage medium
CN112312499A (en) Cell reselection method and device
TWI774313B (en) Communication device and associated control method
CN111480364A (en) Access control method, device and readable storage medium
CN113133096B (en) Information determination method, device, equipment and computer readable storage medium
US20160309488A1 (en) Method, apparatus, and system for establishing cooperative communication
EP4057764A1 (en) Method and apparatus for adjusting random access parameter, and device and storage medium
CN112788140A (en) Data synchronization method and system
WO2020113431A1 (en) Radio link detection method and terminal device

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