CN109587734B - Communication method and device of double-frequency repeater - Google Patents

Communication method and device of double-frequency repeater Download PDF

Info

Publication number
CN109587734B
CN109587734B CN201811583495.XA CN201811583495A CN109587734B CN 109587734 B CN109587734 B CN 109587734B CN 201811583495 A CN201811583495 A CN 201811583495A CN 109587734 B CN109587734 B CN 109587734B
Authority
CN
China
Prior art keywords
frequency band
node
nodes
threshold
utilization rate
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
CN201811583495.XA
Other languages
Chinese (zh)
Other versions
CN109587734A (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.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies 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 TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201811583495.XA priority Critical patent/CN109587734B/en
Publication of CN109587734A publication Critical patent/CN109587734A/en
Application granted granted Critical
Publication of CN109587734B publication Critical patent/CN109587734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/52Allocation or scheduling criteria for wireless resources based on load

Landscapes

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

Abstract

The invention belongs to the technical field of communication, and provides a communication method and a device of a double-frequency repeater, wherein the method comprises the following steps: respectively acquiring the channel utilization rate of a 5G frequency band and the channel utilization rate of a 2.4G frequency band, taking a node accessed to the 5G frequency band as a first node, and taking a node accessed to the 2.4G frequency band as a second node; whether the channel utilization rate of the 5G frequency band is greater than a first threshold value and whether the channel utilization rate of the 2.4G frequency band is greater than a second threshold value are respectively judged to judge whether the 5G frequency band and the 2.4G frequency band are in a busy state, whether the sum of the first node number and the second node number is greater than a third threshold value is judged, so that the reasonable allocation of resources is carried out on data sent by the nodes received by the two frequency bands according to the number of the 5G frequency band and the 2.4G frequency band access nodes and the idle bandwidth values of the 5G frequency band and the 2.4G frequency band, the frequency band utilization rate is improved, and therefore the product performance and the user experience are improved to the maximum extent.

Description

Communication method and device of double-frequency repeater
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a communication method and device of a dual-frequency repeater.
Background
The repeater is a connection device of a network data link layer, and is used for expanding the coverage area of a local area network and driving long-distance communication.
At present, a dual-band repeater can use two frequency bands (2.4G and 5G) for communication, that is, data can be forwarded through two communication links, however, when an interface for receiving data of the current dual-band repeater is a certain frequency band interface (such as a 2.4G interface or a 5G interface), data can be forwarded through the communication link of the frequency band, and when the flow in a single frequency band is too much, the communication link of the other frequency band is idle, so that the frequency band utilization rate is not high.
Disclosure of Invention
In view of this, embodiments of the present invention provide a communication method and apparatus for a dual-band repeater, which are used to solve the problem that the frequency band utilization rate of the existing dual-band repeater is not high in the communication process.
A first aspect of an embodiment of the present application provides a communication method for a dual-band repeater, including:
respectively acquiring the channel utilization rate of a 5G frequency band and the channel utilization rate of a 2.4G frequency band, taking a node accessed to the 5G frequency band as a first node, and taking a node accessed to the 2.4G frequency band as a second node;
respectively judging whether the channel utilization rate of the 5G frequency band is greater than a first threshold value and whether the channel utilization rate of the 2.4G frequency band is greater than a second threshold value;
if the channel utilization rate of the 5G frequency band is less than or equal to the first threshold value and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold value, judging whether the sum of the number of the first nodes and the number of the second nodes is greater than a third threshold value;
if the sum of the number of the first nodes and the number of the second nodes is smaller than or equal to the third threshold, calculating a first idle bandwidth value of the 5G frequency band, acquiring a node meeting a first preset condition in the second nodes and serving as a third node, and switching the node with the largest communication flow in the third nodes to the 5G frequency band for data communication; the first preset condition is that the traffic flow value in the 2.4G frequency band is smaller than the second node of the first idle bandwidth value;
and if the sum of the first node number and the second node number is greater than the third threshold, performing first equalization processing on the first node and the second node.
In an embodiment, after respectively determining whether the channel utilization rate of the 5G frequency band is greater than a first threshold and whether the channel utilization rate of the 2.4G frequency band is greater than a second threshold, the method further includes:
if the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold, calculating an idle bandwidth value of the 5G frequency band and taking the idle bandwidth value as a second idle bandwidth value, acquiring a node which is smaller than the second idle bandwidth value in the 2.4G frequency band and taking the node as a fourth node, and switching a node with the largest communication traffic in the fourth node to the 5G frequency band;
if the channel utilization rate of the 5G frequency band is greater than the first threshold value and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold value, calculating an idle bandwidth value of the 2.4G frequency band and taking the idle bandwidth value as a third idle bandwidth value, acquiring a node which is smaller than the third idle bandwidth value in the 5G frequency band and taking the node as a fifth node, and switching a node with the largest communication flow in the fifth node to the 2.4G frequency band.
In one embodiment, the communication method further comprises:
when the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold, if the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold and the number of the nodes accessing the 5G frequency band is greater than N times of the number of the nodes accessing the 2.4G frequency band, switching the node with the minimum communication flow in the 5G frequency band to the 2.4G frequency band for data communication; wherein N > 1;
and when the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, if the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold and the number of the nodes accessing the 2.4G frequency band is greater than N times of the number of the nodes accessing the 5G frequency band, switching the node with the minimum traffic flow in the 2.4G frequency band to the 5G frequency band for data communication.
In an embodiment, after respectively determining whether the channel utilization rate of the 5G frequency band is greater than a first threshold and whether the channel utilization rate of the 2.4G frequency band is greater than a second threshold, the method further includes:
and if the channel utilization rate of the 5G frequency band is greater than the first threshold value and the channel utilization rate of the 2.4G frequency band is greater than the second threshold value, performing second equalization processing on the first node and the second node.
In one embodiment, the performing the second equalization process on the first node and the second node includes:
judging whether the sum of the first node number and the second node number is greater than a third threshold value;
if the sum of the number of the first nodes and the number of the second nodes is larger than the third threshold value, and the number of the first nodes is larger than N times of the number of the second nodes, switching the node with the minimum communication flow in the 5G frequency band to a 2.4G frequency band for data communication;
and if the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold value and the number of the second nodes is greater than N times of the number of the first nodes, switching the node with the minimum communication flow in the 2.4G frequency band to the 5G frequency band for data communication.
In one embodiment, the performing the first equalization process on the first node and the second node includes:
judging a multiple relation between the number of the first nodes and the number of the second nodes;
if the number of the second nodes is larger than N times of the number of the first nodes, calculating an idle bandwidth value of a 5G frequency band to serve as a fourth idle bandwidth value, acquiring a node with a corresponding communication flow smaller than the fourth idle bandwidth value in the second nodes to serve as a sixth node, and switching the node with the largest communication flow in the sixth node to the 5G frequency band for data communication;
and if the number of the first nodes is larger than N times of the number of the second nodes, calculating an idle bandwidth value of the 2.4G frequency band to be used as a fifth idle bandwidth value, acquiring a node with a corresponding communication flow smaller than the fifth idle bandwidth value in the first nodes to be used as a seventh node, and switching the node with the minimum communication flow in the seventh node to the 2.4G frequency band for data communication.
In one embodiment, after switching the node with the largest communication flow rate in the sixth node to the 5G frequency band for data communication, or after switching the node with the smallest communication flow rate in the seventh node to the 2.4G frequency band for data communication, the method further includes:
and if the number of the first nodes plus 1 is less than or equal to N times of the number of the second nodes minus 1, calculating an idle bandwidth value of a 5G frequency band and taking the idle bandwidth value as a sixth idle bandwidth value, acquiring a node with corresponding communication flow less than the sixth idle bandwidth value in the second nodes and taking the node as an eighth node, and switching the node with the largest communication flow in the eighth node to the 5G frequency band for data communication.
In one embodiment, after switching the node with the largest communication flow rate in the sixth node to the 5G frequency band for data communication, or after switching the node with the smallest communication flow rate in the seventh node to the 2.4G frequency band for data communication, the method further includes:
if the number of the first nodes plus 1 is larger than the number of the second nodes minus 1 by N times, respectively calculating an idle bandwidth value of a 2.4G frequency band as a seventh idle bandwidth value and an idle bandwidth value of a 5G frequency band as an eighth idle bandwidth value, acquiring a node of the first nodes, the corresponding communication flow of which is smaller than the seventh idle bandwidth value, as a ninth node, and acquiring a node of the second nodes, the corresponding communication flow of which is smaller than the eighth idle bandwidth value, as a tenth node;
if the communication flow value of the node corresponding to the minimum communication flow in the ninth node is greater than the communication flow value of the node corresponding to the maximum communication flow in the tenth node, switching the node with the minimum communication flow in the ninth node to a 2.4G frequency band for data communication, and switching the node with the maximum communication flow in the tenth node to a 5G frequency band for data communication.
In one embodiment, the calculating the first idle bandwidth value in the 5G frequency band includes:
determining the occupied flow value of the 5G frequency band according to the channel utilization rate of the 5G frequency band;
and subtracting the occupied flow value from the pre-stored maximum flow value of the 5G frequency band, and multiplying the obtained value by a preset first weight coefficient to determine the first idle bandwidth value.
In one embodiment, the communication method further comprises:
if the access of a new node is detected, judging the signal intensity of the new node;
if the signal intensity of the new node is smaller than a fourth threshold value, performing data communication on the new node through a default frequency band of the new node;
and if the signal intensity of the new node is greater than or equal to a fourth threshold value and the sum of the number of the first nodes and the number of the second nodes is less than the third threshold value, communicating the new node through a 5G frequency band.
In one embodiment, the communication method further comprises:
when the signal intensity of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 5G frequency band, when the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, and when the number of the second nodes plus one is less than N times of the number of the first nodes, the new node is communicated through the 2.4G frequency band;
when the signal intensity of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 5G frequency band, the channel utilization rate of the 2.4G frequency band is greater than the second threshold and the channel utilization rate of the 5G frequency band is less than or equal to the first threshold, and when the number of the first nodes is added by one and is greater than N times of the number of the second nodes, the new node is communicated through the 2.4G frequency band;
when the signal intensity of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 2.4G frequency band, the channel utilization rate of the 2.4G frequency band is greater than the second threshold and the channel utilization rate of the 5G frequency band is less than or equal to the first threshold, and when the number of the first nodes is added by one and is less than N times of the number of the second nodes, the new node is communicated through the 5G frequency band;
when the signal intensity of the new node is greater than or equal to a fourth threshold value and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold value, if the default frequency band of the new node is a 2.4G frequency band, the new node is communicated through the 5G frequency band when the channel utilization rate of the 5G frequency band is greater than the first threshold value and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold value, and when the number of the second nodes is added by one and is greater than N times of the number of the first nodes.
In one embodiment, the communication method further comprises:
when the signal intensity of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 5G frequency band, the new node is communicated through a 2.4G frequency band when a third preset condition is met and the number of the first nodes plus one is greater than N times of the number of the second nodes;
when the signal intensity of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is smaller than the third threshold, if the default frequency band of the new node is a 2.4G frequency band, the new node is communicated through a 5G frequency band when a third preset condition is met and the number of the second nodes plus one is greater than N times of the number of the first nodes;
the third preset condition is that the channel utilization rate of the 5G frequency band is greater than a first threshold and the channel utilization rate of the 2.4G frequency band is greater than a second threshold, or the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold.
A second aspect of the embodiments of the present application provides a communication apparatus of a dual-band repeater, including:
the first acquisition module is used for respectively acquiring the channel utilization rate of a 5G frequency band and the channel utilization rate of a 2.4G frequency band, taking a node accessed to the 5G frequency band as a first node, and taking a node accessed to the 2.4G frequency band as a second node;
the first judging module is used for respectively judging whether the channel utilization rate of the 5G frequency band is greater than a first threshold value and whether the channel utilization rate of the 2.4G frequency band is greater than a second threshold value;
a second determining module, configured to determine whether a sum of the first node number and the second node number is greater than a third threshold if the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold;
a first switching module, configured to calculate a first idle bandwidth value of the 5G frequency band if a sum of the first node number and the second node number is less than or equal to the third threshold, obtain a node that meets a first preset condition in the second node and serve as a third node, and switch a node with a largest communication traffic flow in the third node to the 5G frequency band for data communication; the first preset condition is that the traffic flow value in the 2.4G frequency band is smaller than the second node of the first idle bandwidth value;
and the first equalization processing module is configured to perform first equalization processing on the first node and the first node if the sum of the first node number and the second node number is greater than the third threshold.
A third aspect of embodiments of the present application provides a dual-frequency repeater, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the above method when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the steps of the above-mentioned method.
In the embodiment of the invention, whether the channel utilization rate of the 5G frequency band is greater than a first threshold and whether the channel utilization rate of the 2.4G frequency band is greater than a second threshold can be respectively judged to judge whether the 5G frequency band and the 2.4G frequency band are in a busy state, and then whether the sum of the first node number and the second node number is greater than a third threshold is judged, so that the reasonable allocation of resources is carried out on the data received by the nodes and sent by the two frequency bands according to the node numbers accessed by the 5G frequency band and the 2.4G frequency band and the idle bandwidth values of the 5G frequency band and the 2.4G frequency band, the two frequency bands can be fully utilized, the frequency band utilization rate is improved, and the product performance and the user experience are improved to the maximum extent.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating a communication method of a dual-band repeater according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a communication method of a dual-band repeater according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating a communication method of a dual-frequency repeater according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating a communication method of a dual-frequency repeater according to a fourth embodiment of the present invention;
fig. 5 is a schematic flowchart of a communication method of a dual-frequency repeater according to a fifth embodiment of the present invention;
fig. 6 is a flowchart illustrating a communication method of a dual-frequency repeater according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a communication device of a dual-band repeater according to a seventh embodiment of the present invention
Fig. 8 is a schematic structural diagram of a dual-band repeater according to an eighth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It should be understood that the sequence numbers of the steps in the method embodiments described below do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation on the implementation process of each embodiment.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
The communication method of the dual-frequency repeater provided by the embodiment of the invention can be applied to the dual-frequency repeater, and as shown in fig. 1, the communication method comprises the following steps:
step S101, respectively obtaining the channel utilization rate of a 5G frequency band and the channel utilization rate of a 2.4G frequency band, taking a node accessed to the 5G frequency band as a first node, and taking a node accessed to the 2.4G frequency band as a second node;
in the embodiment of the present invention, the dual-band repeater may use two frequency bands (2.4G and 5G) for communication, for example, data transmitted by the access node may be received through two frequency band receiving interfaces (which may be defined as a 5G frequency band receiving interface and a 2.4G frequency band receiving interface), and a bridge interface of the two frequency bands (which may be defined as a 5G frequency band transmitting interface and a 2.4G frequency band transmitting interface) may forward the data to the target node through different frequency band communication channels. The channel utilization rate of the 5G frequency band and the channel utilization rate of the 2.4G frequency band can be obtained by directly reading parameter values of the microprocessor. The access node corresponding to the 5G frequency band may be a node to which a 5G frequency band receiving interface corresponding to the 5G frequency band is accessed, and the access node corresponding to the 2.4G frequency band may be a node to which a 2.4G frequency band receiving interface corresponding to the 2.4G frequency band is accessed.
Step S102, respectively judging whether the channel utilization rate of the 5G frequency band is greater than a first threshold value and whether the channel utilization rate of the 2.4G frequency band is greater than a second threshold value;
in the embodiment of the invention, a first threshold and a second threshold are preset, and whether the channel utilization rate of the 5G frequency band is greater than the first threshold and whether the channel utilization rate of the 2.4G frequency band is greater than the second threshold are respectively judged so as to judge the busyness degree of the first frequency band and the second frequency band.
Step S103, if the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, determining whether the sum of the first node number and the second node number is greater than a third threshold.
In the embodiment of the present invention, the third threshold is preset, and preferably, the third threshold may be preset to 4, and may be set to other values according to practical applications. If the channel utilization rate of the 5G frequency band is less than or equal to the first threshold value, and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold value, which can indicate that the 5G frequency band and the 2.4G frequency band are not busy, whether the sum of the number of the first nodes and the number of the second nodes is greater than a third threshold value is judged.
Step S104, if the sum of the first node number and the second node number is less than or equal to the third threshold, calculating a first idle bandwidth value of the 5G frequency band, acquiring a node meeting a first preset condition in the second node and using the node as a third node, and switching the node with the largest communication traffic in the third node to the 5G frequency band for data communication; the first preset condition is that the traffic flow value in the 2.4G frequency band is smaller than the second node of the first idle bandwidth value;
in this embodiment of the present invention, if the total number of the first node number and the second node number is less than or equal to a third threshold, which indicates that the number of nodes accessed by the 5G band receiving interface and the number of nodes accessed by the 2.4G band receiving interface are small, a first idle bandwidth value of the 5G band is calculated, and a node with the largest traffic among all nodes in the 2.4G band that are smaller than the first idle bandwidth value is switched to the 5G band for data communication.
Step S105, if the sum of the first node number and the second node number is greater than the third threshold, performing a first equalization process on the first node and the second node.
In the embodiment of the present invention, if the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, which indicates that the number of the nodes accessed by the 5G frequency band receiving interface and the number of the nodes accessed by the 2.4G frequency band receiving interface reach a certain number, the first equalization processing is performed on the first nodes and the second nodes. The first balancing processing may be to perform first balancing policy processing according to node load conditions of the 5G frequency band and the 2.4G frequency band, so as to switch the communication frequency band of the access node.
Step S106, if the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold, performing a second equalization process on the first node and the second node.
In the embodiment of the present invention, if the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold, which indicates that the 5G frequency band and the 2.4G frequency band are in a busy state, the second equalization processing is performed on the first node and the second node. The second balancing processing may perform second balancing policy processing according to node load conditions of the 5G frequency band and the 2.4G frequency band, so as to switch a frequency band channel of node communication.
In an embodiment, the idle bandwidth value of the frequency band may be calculated by determining an occupied traffic value of the frequency band according to a channel utilization rate of the frequency band, and subtracting the occupied traffic value from a pre-stored maximum traffic value (for example, the maximum traffic value of the 2.4G frequency band may be 180Mbps, and the maximum traffic value of the 5G frequency band may be 600Mbps) and then multiplying the subtracted value by a preset weight coefficient, thereby determining the idle bandwidth value.
Therefore, in the embodiment of the invention, whether the channel utilization rate of the 5G frequency band is greater than the first threshold and whether the channel utilization rate of the 2.4G frequency band is greater than the second threshold can be respectively judged to judge whether the 5G frequency band and the 2.4G frequency band are in a busy state, and then whether the sum of the first node number and the second node number is greater than the third threshold is judged, so that the data received by the nodes and sent by the two frequency bands are reasonably distributed according to the node numbers accessed to the 5G frequency band and the 2.4G frequency band and the idle bandwidth values of the 5G frequency band and the 2.4G frequency band, the two frequency bands can be fully utilized, the frequency band utilization rate is improved, and the product performance and the user experience are improved to the maximum extent.
Example two
This embodiment is a further description of the first embodiment, and the same or similar places of this embodiment as the first embodiment may specifically refer to the related description of the first embodiment, which is not repeated herein, and as shown in fig. 2, after the step S102, the method further includes:
step S201, if the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold, calculating an idle bandwidth value of the 5G frequency band and taking the idle bandwidth value as a second idle bandwidth value, acquiring a node in the 2.4G frequency band which is less than the second idle bandwidth value and taking the node as a fourth node, and switching a node in the fourth node with the largest communication traffic to the 5G frequency band;
in the embodiment of the present invention, if the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold, which indicates that the 5G frequency band is not busy and the 2.4G frequency band is busy, an idle bandwidth value of the 5G frequency band is calculated and used as a second idle bandwidth value, and a node with the largest communication traffic flow amount in nodes in the 2.4G frequency band that are less than the second idle bandwidth value is switched to the 5G frequency band.
Step S202, if the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, calculating an idle bandwidth value of the 2.4G frequency band and taking the idle bandwidth value as a third idle bandwidth value, acquiring a node which is smaller than the third idle bandwidth value in the 5G frequency band and is taken as a fifth node, and switching a node with the largest communication flow in the fifth node to the 2.4G frequency band;
in the embodiment of the present invention, if the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, which indicates that the 5G frequency band is in a busy state and the 2.4G frequency band is in a non-busy state, an idle bandwidth value of the 2.4G frequency band is calculated and used as a third idle bandwidth value, and a node with the largest communication traffic flow amount in nodes smaller than the third idle bandwidth value in the 5G frequency band is switched to the 2.4G frequency band.
Step S203, when the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold, if the sum of the first node number and the second node number is greater than the third threshold and the node number of the 5G frequency band is greater than N times of the node number of the 2.4G frequency band, switching the node with the minimum communication flow in the 5G frequency band to the 2.4G frequency band for data communication; wherein N > 1;
in the embodiment of the invention, the 5G frequency band is in a not-busy state and the 2.4G frequency band is in a busy state, if the number of the nodes accessed by the 5G frequency band receiving interface and the number of the nodes accessed by the 2.4G frequency band receiving interface reach a certain number, when the number of the nodes accessed to the 5G frequency band is more than N times of the number of the nodes accessed to the 2.4G frequency band, the node with the minimum communication flow in the 5G frequency band is switched to the 2.4G frequency band for data communication.
Step S204, when the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, if the sum of the first node number and the second node number is greater than the third threshold and the node number accessing the 2.4G frequency band is greater than N times of the node number accessing the 5G frequency band, switching the node with the minimum traffic flow in the 2.4G frequency band to the 5G frequency band for data communication.
In the embodiment of the invention, the 5G frequency band is in a busy state and the 2.4G frequency band is in a non-busy state, if the number of the nodes accessed by the 5G frequency band receiving interface and the number of the nodes accessed by the 2.4G frequency band receiving interface reach a certain number, when the number of the nodes accessed to the 2.4G frequency band is more than N times of the number of the nodes accessed to the 5G frequency band, the node with the minimum traffic flow in the 2.4G frequency band is switched to the 5G frequency band for data communication.
In the embodiment of the present invention, the N is preferably preset to 2, and may be set to 1.5, 3 or other values according to an actual application scenario, and if the sum of the first node number and the second node number is greater than a third threshold, and the number of nodes accessed in the communication link with the less busy frequency band is greater than N times the number of nodes accessed in the communication link with the busy frequency band, the node with the minimum communication traffic in the communication link with the less busy frequency band is switched to the communication link with the busy frequency band.
Therefore, in the embodiment of the invention, whether the channel utilization rate of the 5G frequency band is greater than the first threshold and whether the channel utilization rate of the 2.4G frequency band is greater than the second threshold can be respectively judged to judge whether the 5G frequency band and the 2.4G frequency band are in a busy state, and then whether the sum of the first node number and the second node number is greater than the third threshold is judged, so that the data received by the nodes and sent by the two frequency bands are reasonably distributed according to the node numbers accessed to the 5G frequency band and the 2.4G frequency band and the idle bandwidth values of the 5G frequency band and the 2.4G frequency band, the two frequency bands can be fully utilized, the frequency band utilization rate is improved, and the product performance and the user experience are improved to the maximum extent.
EXAMPLE III
This embodiment is a further description of the first embodiment, and the same or similar places of this embodiment as the first embodiment may specifically refer to the related description of the first embodiment, which is not repeated herein, and as shown in fig. 3, the step S106 includes:
step S301, judging whether the sum of the first node number and the second node number is greater than a third threshold value;
in the embodiment of the invention, if the channel utilization rate of the 5G frequency band and the channel utilization rate of the 2.4G frequency band are both greater than the first threshold, the fact that the 5G frequency band and the 2.4G frequency band are both in a busy state is represented. It is determined whether the sum of the number of first nodes and the number of second nodes is greater than a third threshold.
Step S302, if the sum of the first node number and the second node number is greater than the third threshold value and the first node number is greater than N times of the second node number, switching the node with the minimum communication flow in the 5G frequency band to a 2.4G frequency band for data communication;
in the embodiment of the invention, N > 1, if the 5G frequency band and the 2.4G frequency band are both in a busy state, and the number of nodes accessed by the 5G frequency band receiving interface and the number of nodes accessed by the 2.4G frequency band receiving interface reach a certain number, when the number of the 5G frequency band access nodes is more than N times of the number of the 2.4G frequency band access nodes, the node with the minimum communication flow in the 5G frequency band is switched to the 2.4G frequency band for data communication.
Step S303, if the sum of the first node number and the second node number is greater than the third threshold, and the second node number is greater than N times of the first node number, switching the node with the minimum traffic flow in the 2.4G frequency band to the 5G frequency band for data communication.
In the embodiment of the invention, if the 5G frequency band and the 2.4G frequency band are in a busy state, and the number of the nodes accessed by the 5G frequency band receiving interface and the number of the nodes accessed by the 2.4G frequency band receiving interface reach a certain number, when the number of the 2.4G frequency band access nodes is more than N times of the number of the 5G frequency band access nodes, the node with the minimum communication traffic in the 2.4G frequency band is switched to the 5G frequency band for data communication.
Therefore, in the embodiment of the invention, whether the channel utilization rate of the 5G frequency band is greater than the first threshold and whether the channel utilization rate of the 2.4G frequency band is greater than the second threshold can be respectively judged to judge whether the 5G frequency band and the 2.4G frequency band are in a busy state, and then whether the sum of the first node number and the second node number is greater than the third threshold is judged, so that the data received by the nodes and sent by the two frequency bands are reasonably distributed according to the node numbers accessed to the 5G frequency band and the 2.4G frequency band and the idle bandwidth values of the 5G frequency band and the 2.4G frequency band, the two frequency bands can be fully utilized, the frequency band utilization rate is improved, and the product performance and the user experience are improved to the maximum extent.
Example four
In this embodiment, the first embodiment is further described, and the same or similar places in this embodiment as the first embodiment may specifically refer to the related description of the first embodiment, which is not repeated herein, and as shown in fig. 4, the performing the first equalization process on the first node and the second node in the step S105 includes:
step S401, judging the multiple relation between the first node number and the second node number;
in the embodiment of the present invention, if the sum of the first node number and the second node number is greater than the third threshold, the multiple relationship between the first node number and the second node number is determined, so as to determine the relationship between the loads in the 5G frequency band and the 2.4G frequency band.
Step S402, if the number of the second nodes is larger than N times of the number of the first nodes, calculating an idle bandwidth value of a 5G frequency band and using the idle bandwidth value as a fourth idle bandwidth value, acquiring a node with a corresponding communication flow smaller than the fourth idle bandwidth value in the second nodes and using the node as a sixth node, and switching the node with the largest communication flow in the sixth node to the 5G frequency band for data communication;
in the embodiment of the present invention, if the number of the second nodes is greater than N times of the number of the first nodes, a node with the largest communication traffic among all nodes whose communication traffic in the 2.4G frequency band is smaller than the fourth idle bandwidth value is switched to the 5G frequency band for data communication.
Step S403, if the number of the first nodes is greater than N times the number of the second nodes, calculating an idle bandwidth value of the 2.4G frequency band and taking the idle bandwidth value as a fifth idle bandwidth value, acquiring a node in the first nodes whose corresponding communication traffic is smaller than the fifth idle bandwidth value and taking the node as a seventh node, and switching the node in the seventh node with the minimum communication traffic to the 2.4G frequency band for data communication.
In this embodiment of the present invention, if the number of the first nodes is greater than N times the number of the second nodes, an idle bandwidth value of the 2.4G frequency band is calculated and used as a fifth idle bandwidth value, and a node with the smallest communication traffic flow among all nodes whose communication traffic flows in the 5G frequency band are less than the fifth idle bandwidth value is switched to the 2.4G frequency band for data communication.
In one embodiment, after switching the node with the largest communication flow rate in the sixth node to the 5G frequency band for data communication, or after switching the node with the smallest communication flow rate in the seventh node to the 2.4G frequency band for data communication, the method further includes: and if the number of the first nodes plus 1 is less than or equal to N times of the number of the second nodes minus 1, calculating an idle bandwidth value of a 5G frequency band and taking the idle bandwidth value as a sixth idle bandwidth value, acquiring a node with corresponding communication flow less than the sixth idle bandwidth value in the second nodes and taking the node as an eighth node, and switching the node with the largest communication flow in the eighth node to the 5G frequency band for data communication.
In one embodiment, after switching the node with the largest communication flow rate in the sixth node to the 5G frequency band for data communication, or after switching the node with the smallest communication flow rate in the seventh node to the 2.4G frequency band for data communication, the method further includes: if the number of the first nodes plus 1 is larger than the number of the second nodes minus 1 by N times, respectively calculating an idle bandwidth value of a 2.4G frequency band as a seventh idle bandwidth value and an idle bandwidth value of a 5G frequency band as an eighth idle bandwidth value, acquiring a node of the first nodes, the corresponding communication flow of which is smaller than the seventh idle bandwidth value, as a ninth node, and acquiring a node of the second nodes, the corresponding communication flow of which is smaller than the eighth idle bandwidth value, as a tenth node; if the communication flow value of the node corresponding to the minimum communication flow in the ninth node is greater than the communication flow value of the node corresponding to the maximum communication flow in the tenth node, switching the node with the minimum communication flow in the ninth node to a 2.4G frequency band for data communication, and switching the node with the maximum communication flow in the tenth node to a 5G frequency band for data communication.
In one embodiment, after the access node switches the frequency band channel and forwards the data to the target node for communication, an Address Resolution Protocol (ARP) table of the target node is not updated, and in the ARP table of the target node, an MAC Address corresponding to an original access node IP is still an MAC Address of a relay bridge interface of the frequency band before switching. In order to trigger the update of the ARP table of the target node, a method of sending two ARP packets, namely, a General Attribute Registration Protocol (GARP) and an ARP request packet requesting the target node, to the switched frequency band is adopted, and specifically, the method includes:
in the first mode, if a frequency band is switched to a certain access node, a GARP is sent to a target frequency band sending interface. The Linux system generally updates the ARP table, but the Windows system needs the target ip to be the ARP Request packet of the Windows system, and the following second mode is needed;
in the second mode, after the frequency band is switched, the packets still sent from the original frequency band sending interface and the ip information are counted (only the ip of the same subnet is counted), and if the number of the packets sent from the original frequency band sending interface corresponding to the ip exceeds a certain threshold (for example, 128 or other values can be set), an ARP request message with the target ip being the ip, the source ip and the address being the current entry is sent to the ip through the switched frequency band channel. For Windows systems, this approach may update its ARP table.
Therefore, in the embodiment of the invention, whether the channel utilization rate of the 5G frequency band is greater than the first threshold and whether the channel utilization rate of the 2.4G frequency band is greater than the second threshold can be respectively judged to judge whether the 5G frequency band and the 2.4G frequency band are in a busy state, and then whether the sum of the first node number and the second node number is greater than the third threshold is judged, so that the data received by the nodes and sent by the two frequency bands are reasonably distributed according to the node numbers accessed to the 5G frequency band and the 2.4G frequency band and the idle bandwidth values of the 5G frequency band and the 2.4G frequency band, the two frequency bands can be fully utilized, the frequency band utilization rate is improved, and the product performance and the user experience are improved to the maximum extent.
EXAMPLE five
In this embodiment, a further description is provided for the first embodiment, the second embodiment, the third embodiment, or the fourth embodiment, and the same or similar places in this embodiment as those in the first embodiment, the second embodiment, the third embodiment, or the fourth embodiment may specifically refer to the related descriptions in the first embodiment, the second embodiment, the third embodiment, or the fourth embodiment, which are not repeated herein, and as shown in fig. 5, the calculating the first idle bandwidth value of the 5G frequency band in the step S104 includes:
step S501, determining the occupied flow value of the 5G frequency band according to the channel utilization rate of the 5G frequency band.
Step S502, subtracting the occupied flow value from the pre-stored maximum flow value of the 5G frequency band, and then multiplying the subtracted value by a preset first weight coefficient to determine the first idle bandwidth value.
For convenience of understanding, the 5G band is exemplified in an application scenario, as shown in table 1 and table 2 below, the table of 2.4G and 5G channel utilization rates (thousandths) and the current communication traffic throughput value are tested by using TL-WDA6332RE 3.0.0 (dual-band repeater) in a shielded environment, a data table obtained by running a fixed value traffic with another node through an AC68 network card and reading the channel utilization rates by the repeater for multiple times is stored in advance in table 1 and table 2.
Table 12.4G lower channel utilization/throughput correspondence table
Channel utilization (‰) Throughput(Mbps)
120 0
257 1*20=20
342 2*20=40
442 3*20=60
545 4*20=80
664 5*20=100
720 6*20=120
790 7*20=140
825 8*20=160
839 9*20=180
Table 25G lower channel utilization/throughput correspondence table
Channel utilization (‰) Throughput(Mbps)
0 0
160 1*50=50
305 2*50=100
400 3*50=150
510 4*50=200
600 5*20=100
706 6*50=300
750 7*50=350
798 8*50=400
820 9*50=450
846 10*50=500
880 11*50=550
930 12*50=600
The traffic may be divided into 12 units with size, 50 units per unit, and 600Mbps for the maximum traffic supported by 5G. Assuming that the channel utilization read from the drive at this time is chanUtil 723 (unit ‰), the step of calculating 5G remaining bandwidth is:
referring to table 2, it can be seen that the sequence number i is 7 between util [ i-1] ═ 706 and util [ i ] ═ 750;
secondly, the occupied bandwidth busy of the frequency band at the time is calculated:
busyTput=(i–1)*uint+(chanUtil–util[i-1])/(util[i]-util[I-1])*unit;
according to the calculated maximum flow maxTput that the busy cpu and the 5G can reach, 600, the current negotiation rate currtxrate of the Repeater (the negotiation rate currxrate is real-time change and can be read from the drive), 867, the 5G maximum negotiation rate maxTxRate is calculated, and the calculation formula is as follows:
IdleTput=(maxTput–busyTput)/2*(curTxRate/maxTxRate);
the division by 2 is because the relay cannot simultaneously transmit and receive packets, and thus the traffic is halved.
Therefore, in the embodiment of the invention, whether the channel utilization rate of the 5G frequency band is greater than the first threshold and whether the channel utilization rate of the 2.4G frequency band is greater than the second threshold can be respectively judged to judge whether the 5G frequency band and the 2.4G frequency band are in a busy state, and then whether the sum of the first node number and the second node number is greater than the third threshold is judged, so that the data received by the nodes and sent by the two frequency bands are reasonably distributed according to the node numbers accessed to the 5G frequency band and the 2.4G frequency band and the idle bandwidth values of the 5G frequency band and the 2.4G frequency band, the two frequency bands can be fully utilized, the frequency band utilization rate is improved, and the product performance and the user experience are improved to the maximum extent.
EXAMPLE six
In this embodiment, the first embodiment, the second embodiment, the third embodiment, the fourth embodiment and the fifth embodiment are further described, and the descriptions related to the first embodiment, the second embodiment, the third embodiment, the fourth embodiment and the fifth embodiment may be specifically referred to where the present embodiment is the same as or similar to the first embodiment, the second embodiment, the third embodiment, the fourth embodiment and the fifth embodiment, which are not repeated herein, and as shown in fig. 6, the communication method further includes:
step S601, if detecting the access of a new node, judging the signal intensity of the new node;
in the embodiment of the invention, when a new node is detected to be accessed to the dual-frequency repeater, the signal intensity of the new node is firstly judged.
Step S602, if the signal intensity of the new node is smaller than a fourth threshold, the new node performs data communication through the default frequency band of the new node;
in the embodiment of the present invention, a fourth threshold is preset, and the default frequency band associated with the new node may be: the frequency band where the new node accesses the repeater is the default frequency band of the new node. That is, the frequency band of the communication between the new node and the repeater is the default frequency band of the new node, and if the new node sends a signal to the repeater through the 2.4G frequency band, the 2.4G frequency band is the default frequency band of the new node; if the new node sends the signal to the repeater through the 5G frequency band, the 5G frequency band is the default frequency band of the new node.
Step S603, if the signal strength of the new node is greater than or equal to a fourth threshold and the sum of the first node number and the second node number is less than a third threshold, communicating the new node through a 5G frequency band.
In the embodiment of the present invention, if the signal strength of the new node is greater than or equal to the fourth threshold and the sum of the number of the first node and the second node is less than the third threshold, the new node communicates through the 5G frequency band.
In one embodiment, when the signal strength of the new node is greater than or equal to a fourth threshold and the sum of the first node number and the second node number is greater than the third threshold, if the default frequency band of the new node is a 5G frequency band, when the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, and when the sum of the second node number and one is less than N times of the first node number, the new node communicates through the 2.4G frequency band;
in one embodiment, when the signal strength of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 5G frequency band, the new node communicates through the 2.4G frequency band when the channel utilization rate of the 2.4G frequency band is greater than the second threshold and the channel utilization rate of the 5G frequency band is less than or equal to the first threshold, and when the number of the first nodes plus one is greater than N times of the number of the second nodes;
in an embodiment, when the signal strength of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 2.4G frequency band, the new node communicates through the 5G frequency band when the channel utilization rate of the 2.4G frequency band is greater than the second threshold and the channel utilization rate of the 5G frequency band is less than or equal to the first threshold, and when the sum of the number of the first nodes and one of the first nodes is less than N times of the number of the second nodes.
In an embodiment, when the signal strength of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 2.4G frequency band, the new node communicates through the 5G frequency band when the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, and when the number of the second nodes plus one is greater than N times of the number of the first nodes.
In one embodiment, when the signal strength of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 5G frequency band, the new node communicates through a 2.4G frequency band when a third preset condition is met and the number of the first nodes plus one is greater than N times of the number of the second nodes; when the signal intensity of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is smaller than the third threshold, if the default frequency band of the new node is a 2.4G frequency band, the new node is communicated through a 5G frequency band when a third preset condition is met and the number of the second nodes plus one is greater than N times of the number of the first nodes; the third preset condition is that the channel utilization rate of the 5G frequency band is greater than the first threshold value and the channel utilization rate of the 2.4G frequency band is greater than the second threshold value, or the channel utilization rate of the 5G frequency band is less than or equal to the first threshold value and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold value, that is, the third preset condition may be that the 5G frequency band and the 2.4G frequency band are both idle or busy.
In the embodiment of the invention, if the default frequency band of the new node is in an overload or busy state, if the number of the access nodes corresponding to the other frequency band is added by one, the number of the access nodes corresponding to the default frequency band of the new node is less than N times of the number of the access nodes corresponding to the default frequency band of the new node; or if the other frequency band is in an overload or busy state, if the number of the access nodes corresponding to the default frequency band of the new node is more than N times of the number of the access nodes corresponding to the other frequency band; the new node is communicated over another frequency band. And if the condition is not met, communicating with the default frequency band of the new node.
In the embodiment of the invention, whether the channel utilization rate of the 5G frequency band is greater than a first threshold and whether the channel utilization rate of the 2.4G frequency band is greater than a second threshold can be respectively judged to judge whether the 5G frequency band and the 2.4G frequency band are in a busy state, and then whether the sum of the first node number and the second node number is greater than a third threshold is judged, so that the reasonable allocation of resources is carried out on the data received by the nodes and sent by the two frequency bands according to the node numbers accessed by the 5G frequency band and the 2.4G frequency band and the idle bandwidth values of the 5G frequency band and the 2.4G frequency band, the two frequency bands can be fully utilized, the frequency band utilization rate is improved, and the product performance and the user experience are improved to the maximum extent.
EXAMPLE seven
An embodiment of the present invention provides a communication apparatus of a dual-band repeater, which can be integrated in the dual-band repeater, and is configured to perform the method steps in the method embodiment, for convenience of description, only relevant parts of the present invention are shown, as shown in fig. 7, where the communication apparatus 700 includes:
a first obtaining module 701, configured to obtain a channel utilization rate of a 5G frequency band and a channel utilization rate of a 2.4G frequency band, respectively, and use a node accessing the 5G frequency band as a first node and a node accessing the 2.4G frequency band as a second node;
a first determining module 702, configured to respectively determine whether a channel utilization rate of the 5G frequency band is greater than a first threshold and whether a channel utilization rate of the 2.4G frequency band is greater than a second threshold;
a second determining module 703, configured to determine whether a sum of the first node number and the second node number is greater than a third threshold if the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold;
a first switching module 704, configured to calculate a first idle bandwidth value of the 5G frequency band if a sum of the first node number and the second node number is less than or equal to the third threshold, obtain a node that meets a first preset condition in the second node and serve as a third node, and switch a node with a largest communication traffic flow in the third node to the 5G frequency band for data communication; the first preset condition is that the traffic flow value in the 2.4G frequency band is smaller than the second node of the first idle bandwidth value;
in one embodiment, the calculating the first idle bandwidth value of the 5G frequency band includes: determining the occupied flow value of the 5G frequency band according to the channel utilization rate of the 5G frequency band; and subtracting the occupied flow value from the pre-stored maximum flow value of the 5G frequency band, and multiplying the obtained value by a preset first weight coefficient to determine the first idle bandwidth value.
A first equalization processing module 705, configured to perform a first equalization process on the first node and the first node if a sum of the first node number and the second node number is greater than the third threshold. In one embodiment of the present invention,
the first equalization processing module 705 includes:
a first judging unit, configured to judge a multiple relationship between the first node number and the second node number;
a first switching unit, configured to, if the number of the second nodes is greater than N times of the number of the first nodes, calculate an idle bandwidth value of a 5G frequency band and use the idle bandwidth value as a fourth idle bandwidth value, acquire a node, of the second nodes, whose corresponding communication traffic is smaller than the fourth idle bandwidth value and use the node as a sixth node, and switch a node, of the sixth node, with a largest communication traffic to the 5G frequency band for data communication;
and if the number of the first nodes is larger than N times of the number of the second nodes, the second switching unit calculates an idle bandwidth value of the 2.4G frequency band and takes the idle bandwidth value as a fifth idle bandwidth value, obtains a node corresponding to the communication flow smaller than the fifth idle bandwidth value in the first nodes and takes the node as a seventh node, and switches the node with the minimum communication flow in the seventh node to the 2.4G frequency band for data communication.
In one embodiment, the communication apparatus 700 further comprises:
a first calculating module, configured to, after respectively determining whether a channel utilization rate of the 5G frequency band is greater than a first threshold and whether a channel utilization rate of the 2.4G frequency band is greater than a second threshold, if the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold, calculate an idle bandwidth value of the 5G frequency band and use the idle bandwidth value as a second idle bandwidth value, obtain a node in the 2.4G frequency band that is less than the second idle bandwidth value and use the node as a fourth node, and switch a node with a largest communication traffic flow in the fourth node to the 5G frequency band;
and the second calculating module is used for calculating an idle bandwidth value of the 2.4G frequency band and using the idle bandwidth value as a third idle bandwidth value if the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, acquiring a node which is smaller than the third idle bandwidth value in the 5G frequency band and is used as a fifth node, and switching a node with the largest communication flow in the fifth node to the 2.4G frequency band.
In one embodiment, the communication apparatus 700 further comprises:
a second switching module, configured to, when the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold, switch a node with a minimum communication traffic in the 5G frequency band to the 2.4G frequency band for data communication if the sum of the first node number and the second node number is greater than the third threshold and the number of nodes accessing the 5G frequency band is greater than N times the number of nodes accessing the 2.4G frequency band; wherein N > 1;
and a third switching module, configured to, when the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, switch a node with a minimum traffic flow in the 2.4G frequency band to the 5G frequency band for data communication if the sum of the first node number and the second node number is greater than the third threshold and the number of nodes accessing the 2.4G frequency band is greater than N times the number of nodes accessing the 5G frequency band.
In one embodiment, the communication apparatus 700 further comprises:
and the second equalization processing module is used for performing second equalization processing on the first node and the second node if the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold after respectively judging whether the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold.
In one embodiment, the second equalization processing module includes:
a second judging unit, configured to judge whether a sum of the first node number and the second node number is greater than a third threshold;
a third switching unit, configured to switch, if the sum of the first node number and the second node number is greater than the third threshold, and the first node number is greater than N times of the second node number, the node with the minimum communication traffic in the 5G frequency band to the 2.4G frequency band for data communication;
and a fourth switching unit, configured to switch, if the sum of the first node number and the second node number is greater than the third threshold, and the second node number is greater than N times the first node number, the node with the smallest traffic flow in the 2.4G frequency band to the 5G frequency band for data communication.
In one embodiment, the communication apparatus 700 further comprises:
and a fourth switching module, configured to, after switching a node with a largest communication flow amount in the sixth node to a 5G frequency band for data communication, or after switching a node with a smallest communication flow amount in the seventh node to a 2.4G frequency band for data communication, if 1 added to the first node number is less than or equal to N times less than 1 subtracted from the second node number, calculate an idle bandwidth value of the 5G frequency band and use the idle bandwidth value as a sixth idle bandwidth value, acquire a node with a corresponding communication flow amount less than the sixth idle bandwidth value in the second node and use the node as an eighth node, and switch a node with a largest communication flow amount in the eighth node to the 5G frequency band for data communication.
In one embodiment, the communication apparatus 700 further comprises:
a fifth switching module, configured to, after switching a node with a largest communication traffic flow in the sixth node to a 5G frequency band for data communication, or after switching a node with a smallest communication traffic flow in the seventh node to a 2.4G frequency band for data communication, if 1 added to the first node number is greater than N times that 1 subtracted from the second node number, calculate an idle bandwidth value of the 2.4G frequency band and serve as a seventh idle bandwidth value and an idle bandwidth value of the 5G frequency band and serve as an eighth idle bandwidth value, respectively, obtain a node with a corresponding communication traffic smaller than the seventh idle bandwidth value in the first node and serve as a ninth node, and obtain a node with a corresponding communication traffic smaller than the eighth idle bandwidth value in the second node and serve as a tenth node; if the communication flow value of the node corresponding to the minimum communication flow in the ninth node is greater than the communication flow value of the node corresponding to the maximum communication flow in the tenth node, switching the node with the minimum communication flow in the ninth node to a 2.4G frequency band for data communication, and switching the node with the maximum communication flow in the tenth node to a 5G frequency band for data communication.
In one embodiment, the communication apparatus 700 further comprises:
the third judging module is used for judging the signal strength of the new node if the access of the new node is detected;
the first communication module is used for carrying out data communication on the new node through a default frequency band of the new node if the signal intensity of the new node is smaller than a fourth threshold;
and the second communication module is used for communicating the new node through a 5G frequency band if the signal intensity of the new node is greater than or equal to a fourth threshold value and the sum of the number of the first nodes and the number of the second nodes is less than the third threshold value.
In one embodiment, the communication apparatus 700 further comprises:
a third communication module, configured to, when the signal strength of the new node is greater than or equal to a fourth threshold and a sum of the number of the first nodes and the number of the second nodes is greater than a third threshold, if the default frequency band of the new node is a 5G frequency band, communicate the new node through the 2.4G frequency band when a channel utilization rate of the 5G frequency band is greater than the first threshold and a channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, and when the number of the second nodes plus one is less than N times of the number of the first nodes;
a fourth communication module, configured to, when the signal strength of the new node is greater than or equal to a fourth threshold and a sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 5G frequency band, communicate the new node through the 2.4G frequency band when the channel utilization rate of the 2.4G frequency band is greater than the second threshold and the channel utilization rate of the 5G frequency band is less than or equal to the first threshold, and when the number of the first nodes plus one is greater than N times of the number of the second nodes;
a fifth communication module, configured to, when the signal strength of the new node is greater than or equal to a fourth threshold and a sum of the number of the first nodes and the number of the second nodes is greater than a third threshold, if the default frequency band of the new node is a 2.4G frequency band, communicate the new node through the 5G frequency band when the channel utilization rate of the 2.4G frequency band is greater than the second threshold and the channel utilization rate of the 5G frequency band is less than or equal to the first threshold, and when the number of the first nodes plus one is less than N times of the number of the second nodes;
and the sixth communication module is used for communicating the new node through the 5G frequency band when the signal intensity of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, and if the default frequency band of the new node is a 2.4G frequency band, the channel utilization rate of the 5G frequency band is greater than the first threshold, the channel utilization rate of the 2.4G frequency band is less than or equal to a second threshold, and when the number of the second nodes is increased by one and is greater than N times of the number of the first nodes.
In one embodiment, the communication apparatus 700 further comprises:
a seventh communication module, configured to, when the signal strength of the new node is greater than or equal to a fourth threshold and a sum of the first node number and the second node number is greater than a third threshold, if the default frequency band of the new node is a 5G frequency band, communicate the new node through a 2.4G frequency band when a third preset condition is met and N times of the first node number plus one of the second node number is greater than the second node number;
an eighth communication module, configured to, when the signal strength of the new node is greater than or equal to a fourth threshold and a sum of the first node number and the second node number is smaller than the third threshold, if the default frequency band of the new node is a 2.4G frequency band, communicate the new node through a 5G frequency band when a third preset condition is met and N times of the second node number plus one is greater than the first node number;
the third preset condition is that the channel utilization rate of the 5G frequency band is greater than a first threshold and the channel utilization rate of the 2.4G frequency band is greater than a second threshold, or the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold.
Therefore, in the embodiment of the invention, whether the channel utilization rate of the 5G frequency band is greater than the first threshold and whether the channel utilization rate of the 2.4G frequency band is greater than the second threshold can be respectively judged to judge whether the 5G frequency band and the 2.4G frequency band are in a busy state, and then whether the sum of the first node number and the second node number is greater than the third threshold is judged, so that the data received by the nodes and sent by the two frequency bands are reasonably distributed according to the node numbers accessed to the 5G frequency band and the 2.4G frequency band and the idle bandwidth values of the 5G frequency band and the 2.4G frequency band, the two frequency bands can be fully utilized, the frequency band utilization rate is improved, and the product performance and the user experience are improved to the maximum extent.
Example eight
Fig. 8 is a schematic structural diagram of a dual-band repeater according to an embodiment of the present invention. The dual frequency repeater 800 includes: a processor 801, a memory 802, and a computer program 803 stored in the memory 802 and operable on the processor 801. The processor 801 implements the steps in the communication method embodiment of the dual band repeater when executing the computer program 803.
Illustratively, the computer program 803 may be divided into one or more units/modules, which are stored in the memory 802 and executed by the processor 801 to implement the present invention. The one or more units/modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 803 in the dual-band repeater 800. For example, the computer program 803 may be divided into a first obtaining module, and specific functions of the first determining module, the second determining module, the first switching module, the first equalizing processing module, and the like have been described in the seventh embodiment, which is not described herein again.
The dual band repeater 800 may be a terminal device such as a repeater. The dual-band repeater 800 may include, but is not limited to, a processor 801 and a memory 802. Those skilled in the art will appreciate that fig. 8 is merely an example of a dual-frequency repeater 800 and does not constitute a limitation on the dual-frequency repeater 800, and may include more or fewer components than shown, or combine certain components, or different components, e.g., the dual-frequency repeater 800 described above may also include input-output devices, network access devices, buses, etc.
The Processor 801 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 802 may be an internal storage unit of the dual-band repeater 800, such as a hard disk or a memory of the dual-band repeater 800. The memory 802 may be an external storage device of the dual-band repeater 800, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided in the dual-band repeater 800. Further, the memory 802 may include both an internal storage unit and an external storage device of the dual band repeater 800. The memory 802 is used to store the computer program and other programs and data required by the dual band repeater 800. The memory 802 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the dual-frequency repeater may refer to the corresponding process in the foregoing method embodiment, and details are not described here.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the above-described modules or units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and can implement the steps of the embodiments of the method when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium described above may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media excludes electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (15)

1. A communication method of a dual-band repeater, comprising:
respectively acquiring the channel utilization rate of a 5G frequency band and the channel utilization rate of a 2.4G frequency band, taking a node accessed to the 5G frequency band as a first node, and taking a node accessed to the 2.4G frequency band as a second node;
respectively judging whether the channel utilization rate of the 5G frequency band is greater than a first threshold value and whether the channel utilization rate of the 2.4G frequency band is greater than a second threshold value;
if the channel utilization rate of the 5G frequency band is less than or equal to the first threshold value and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold value, judging whether the sum of the number of the first nodes and the number of the second nodes is greater than a third threshold value;
if the sum of the number of the first nodes and the number of the second nodes is smaller than or equal to the third threshold, calculating a first idle bandwidth value of the 5G frequency band, acquiring a node meeting a first preset condition in the second nodes and serving as a third node, and switching the node with the largest communication flow in the third nodes to the 5G frequency band for data communication; the first preset condition is that the traffic flow value in the 2.4G frequency band is smaller than the second node of the first idle bandwidth value;
and if the sum of the first node number and the second node number is greater than the third threshold, performing first equalization processing on the first node and the second node.
2. The communication method according to claim 1, after respectively determining whether the channel utilization of the 5G band is greater than a first threshold and whether the channel utilization of the 2.4G band is greater than a second threshold, further comprising:
if the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold, calculating an idle bandwidth value of the 5G frequency band and taking the idle bandwidth value as a second idle bandwidth value, acquiring a node which is smaller than the second idle bandwidth value in the 2.4G frequency band and taking the node as a fourth node, and switching a node with the largest communication traffic in the fourth node to the 5G frequency band;
if the channel utilization rate of the 5G frequency band is greater than the first threshold value and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold value, calculating an idle bandwidth value of the 2.4G frequency band and taking the idle bandwidth value as a third idle bandwidth value, acquiring a node which is smaller than the third idle bandwidth value in the 5G frequency band and taking the node as a fifth node, and switching a node with the largest communication flow in the fifth node to the 2.4G frequency band.
3. The communication method according to claim 2, further comprising:
when the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is greater than the second threshold, if the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold and the number of the nodes accessing the 5G frequency band is greater than N times of the number of the nodes accessing the 2.4G frequency band, switching the node with the minimum communication flow in the 5G frequency band to the 2.4G frequency band for data communication; wherein N > 1;
and when the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, if the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold and the number of the nodes accessing the 2.4G frequency band is greater than N times of the number of the nodes accessing the 5G frequency band, switching the node with the minimum traffic flow in the 2.4G frequency band to the 5G frequency band for data communication.
4. The communication method according to claim 1, after respectively determining whether the channel utilization of the 5G band is greater than a first threshold and whether the channel utilization of the 2.4G band is greater than a second threshold, further comprising:
and if the channel utilization rate of the 5G frequency band is greater than the first threshold value and the channel utilization rate of the 2.4G frequency band is greater than the second threshold value, performing second equalization processing on the first node and the second node.
5. The communication method according to claim 4, wherein the performing the second equalization process on the first node and the second node comprises:
judging whether the sum of the first node number and the second node number is greater than a third threshold value;
if the sum of the number of the first nodes and the number of the second nodes is larger than the third threshold value, and the number of the first nodes is larger than N times of the number of the second nodes, switching the node with the minimum communication flow in the 5G frequency band to a 2.4G frequency band for data communication;
and if the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold value and the number of the second nodes is greater than N times of the number of the first nodes, switching the node with the minimum communication flow in the 2.4G frequency band to the 5G frequency band for data communication.
6. The communication method according to claim 1, wherein the performing a first equalization process on the first node and the second node comprises:
judging the multiple relation between the first node number and the second node number;
if the number of the second nodes is larger than N times of the number of the first nodes, calculating an idle bandwidth value of a 5G frequency band and taking the idle bandwidth value as a fourth idle bandwidth value, acquiring a node with a corresponding communication flow smaller than the fourth idle bandwidth value in the second nodes and taking the node as a sixth node, and switching the node with the maximum communication flow of the sixth node to the 5G frequency band for data communication;
and if the number of the first nodes is larger than N times of the number of the second nodes, calculating an idle bandwidth value of the 2.4G frequency band to be used as a fifth idle bandwidth value, acquiring a node with a corresponding communication flow smaller than the fifth idle bandwidth value in the first nodes to be used as a seventh node, and switching the node with the minimum communication flow in the seventh node to the 2.4G frequency band for data communication.
7. The communication method according to claim 6, wherein after switching the node with the largest communication flow rate in the sixth node to a 5G band for data communication or after switching the node with the smallest communication flow rate in the seventh node to a 2.4G band for data communication, the method further comprises:
and if the number of the first nodes plus 1 is less than or equal to N times of the number of the second nodes minus 1, calculating an idle bandwidth value of a 5G frequency band and taking the idle bandwidth value as a sixth idle bandwidth value, acquiring a node with corresponding communication flow less than the sixth idle bandwidth value in the second nodes and taking the node as an eighth node, and switching the node with the largest communication flow in the eighth node to the 5G frequency band for data communication.
8. The communication method according to claim 6, wherein after switching the node with the largest communication flow rate in the sixth node to a 5G band for data communication or after switching the node with the smallest communication flow rate in the seventh node to a 2.4G band for data communication, the method further comprises:
if the number of the first nodes plus 1 is larger than the number of the second nodes minus 1 by N times, respectively calculating an idle bandwidth value of a 2.4G frequency band as a seventh idle bandwidth value and an idle bandwidth value of a 5G frequency band as an eighth idle bandwidth value, acquiring a node of the first nodes, the corresponding communication flow of which is smaller than the seventh idle bandwidth value, as a ninth node, and acquiring a node of the second nodes, the corresponding communication flow of which is smaller than the eighth idle bandwidth value, as a tenth node;
if the communication flow value of the node corresponding to the minimum communication flow in the ninth node is greater than the communication flow value of the node corresponding to the maximum communication flow in the tenth node, switching the node with the minimum communication flow in the ninth node to a 2.4G frequency band for data communication, and switching the node with the maximum communication flow in the tenth node to a 5G frequency band for data communication.
9. The communication method according to claim 1, wherein the calculating the first idle bandwidth value of the 5G band comprises:
determining the occupied flow value of the 5G frequency band according to the channel utilization rate of the 5G frequency band;
and subtracting the occupied flow value from the pre-stored maximum flow value of the 5G frequency band, and multiplying the obtained value by a preset first weight coefficient to determine the first idle bandwidth value.
10. The communication method according to claim 1, further comprising:
if the access of a new node is detected, judging the signal intensity of the new node;
if the signal intensity of the new node is smaller than a fourth threshold value, performing data communication on the new node through a default frequency band of the new node;
and if the signal intensity of the new node is greater than or equal to a fourth threshold value and the sum of the number of the first nodes and the number of the second nodes is less than the third threshold value, communicating the new node through a 5G frequency band.
11. The communication method according to claim 10, further comprising:
when the signal intensity of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 5G frequency band, when the channel utilization rate of the 5G frequency band is greater than the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold, and when the number of the second nodes plus one is less than N times of the number of the first nodes, the new node is communicated through the 2.4G frequency band;
when the signal intensity of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 5G frequency band, the channel utilization rate of the 2.4G frequency band is greater than the second threshold and the channel utilization rate of the 5G frequency band is less than or equal to the first threshold, and when the number of the first nodes is added by one and is greater than N times of the number of the second nodes, the new node is communicated through the 2.4G frequency band;
when the signal intensity of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 2.4G frequency band, the channel utilization rate of the 2.4G frequency band is greater than the second threshold and the channel utilization rate of the 5G frequency band is less than or equal to the first threshold, and when the number of the first nodes is added by one and is less than N times of the number of the second nodes, the new node is communicated through the 5G frequency band;
when the signal intensity of the new node is greater than or equal to a fourth threshold value and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold value, if the default frequency band of the new node is a 2.4G frequency band, the new node is communicated through the 5G frequency band when the channel utilization rate of the 5G frequency band is greater than the first threshold value and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold value, and when the number of the second nodes is added by one and is greater than N times of the number of the first nodes.
12. The communication method according to claim 10 or 11, characterized in that the communication method further comprises:
when the signal intensity of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is greater than the third threshold, if the default frequency band of the new node is a 5G frequency band, the new node is communicated through a 2.4G frequency band when a third preset condition is met and the number of the first nodes plus one is greater than N times of the number of the second nodes;
when the signal intensity of the new node is greater than or equal to a fourth threshold and the sum of the number of the first nodes and the number of the second nodes is smaller than the third threshold, if the default frequency band of the new node is a 2.4G frequency band, the new node is communicated through a 5G frequency band when a third preset condition is met and the number of the second nodes plus one is greater than N times of the number of the first nodes;
the third preset condition is that the channel utilization rate of the 5G frequency band is greater than a first threshold and the channel utilization rate of the 2.4G frequency band is greater than a second threshold, or the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold.
13. A communication apparatus of a dual-band repeater, comprising:
the first acquisition module is used for respectively acquiring the channel utilization rate of a 5G frequency band and the channel utilization rate of a 2.4G frequency band, taking a node accessed to the 5G frequency band as a first node, and taking a node accessed to the 2.4G frequency band as a second node;
the first judging module is used for respectively judging whether the channel utilization rate of the 5G frequency band is greater than a first threshold value and whether the channel utilization rate of the 2.4G frequency band is greater than a second threshold value;
a second determining module, configured to determine whether a sum of the first node number and the second node number is greater than a third threshold if the channel utilization rate of the 5G frequency band is less than or equal to the first threshold and the channel utilization rate of the 2.4G frequency band is less than or equal to the second threshold;
a first switching module, configured to calculate a first idle bandwidth value of the 5G frequency band if a sum of the first node number and the second node number is less than or equal to the third threshold, obtain a node that meets a first preset condition in the second node and serve as a third node, and switch a node with a largest communication traffic flow in the third node to the 5G frequency band for data communication; the first preset condition is that the traffic flow value in the 2.4G frequency band is smaller than the second node of the first idle bandwidth value;
and the first equalization processing module is configured to perform first equalization processing on the first node and the first node if the sum of the first node number and the second node number is greater than the third threshold.
14. A dual frequency repeater comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 12 when executing the computer program.
15. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 12.
CN201811583495.XA 2018-12-24 2018-12-24 Communication method and device of double-frequency repeater Active CN109587734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811583495.XA CN109587734B (en) 2018-12-24 2018-12-24 Communication method and device of double-frequency repeater

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811583495.XA CN109587734B (en) 2018-12-24 2018-12-24 Communication method and device of double-frequency repeater

Publications (2)

Publication Number Publication Date
CN109587734A CN109587734A (en) 2019-04-05
CN109587734B true CN109587734B (en) 2021-11-09

Family

ID=65931500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811583495.XA Active CN109587734B (en) 2018-12-24 2018-12-24 Communication method and device of double-frequency repeater

Country Status (1)

Country Link
CN (1) CN109587734B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110992666A (en) * 2019-12-12 2020-04-10 云南电力技术有限责任公司 Electric energy meter data acquisition relay device based on LORA
CN111447022B (en) * 2020-03-05 2022-03-08 普联技术有限公司 Channel deployment method, device, wireless access point and computer storage medium
CN111917434B (en) * 2020-07-27 2022-07-12 深圳创维-Rgb电子有限公司 Dual-frequency concurrent communication circuit, dual-frequency signal selection method, television and storage medium
CN112118411A (en) * 2020-08-14 2020-12-22 视联动力信息技术股份有限公司 Data transmission method, device, terminal equipment and storage medium
CN111988826B (en) * 2020-09-21 2023-03-31 展讯通信(上海)有限公司 STA channel switching method and device under TDLS connection, storage medium and terminal
CN113541724B (en) * 2021-07-19 2022-12-27 中移(杭州)信息技术有限公司 Frequency band switching control method, control device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561449A (en) * 2013-11-08 2014-02-05 福建星网锐捷网络有限公司 Wireless access method and wireless access point
CN103889011A (en) * 2014-04-09 2014-06-25 上海斐讯数据通信技术有限公司 Wireless bandwidth selecting method and system based on WLAN wireless bandwidth assessment
CN104093190A (en) * 2014-06-16 2014-10-08 北京奇天揽胜科技有限公司 Terminal access method and access system for WLAN system
CN106385691A (en) * 2016-09-05 2017-02-08 上海斐讯数据通信技术有限公司 Wireless network access navigation system and method
CN107949030A (en) * 2017-10-18 2018-04-20 北京算云联科科技有限公司 A kind of control method and device for accessing multiband channel

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1604551B (en) * 2003-09-10 2012-04-25 达创科技股份有限公司 Qos based load-balance policy for WLAN
AU2011354847B2 (en) * 2011-01-10 2015-06-18 Lg Electronics Inc. Method and apparatus for transmitting management information frame in wireless local area network system
JP6446553B2 (en) * 2015-07-30 2018-12-26 京セラ株式会社 Wireless terminal, processor, and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561449A (en) * 2013-11-08 2014-02-05 福建星网锐捷网络有限公司 Wireless access method and wireless access point
CN103889011A (en) * 2014-04-09 2014-06-25 上海斐讯数据通信技术有限公司 Wireless bandwidth selecting method and system based on WLAN wireless bandwidth assessment
CN104093190A (en) * 2014-06-16 2014-10-08 北京奇天揽胜科技有限公司 Terminal access method and access system for WLAN system
CN106385691A (en) * 2016-09-05 2017-02-08 上海斐讯数据通信技术有限公司 Wireless network access navigation system and method
CN107949030A (en) * 2017-10-18 2018-04-20 北京算云联科科技有限公司 A kind of control method and device for accessing multiband channel

Also Published As

Publication number Publication date
CN109587734A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN109587734B (en) Communication method and device of double-frequency repeater
CN108494681B (en) Multilink data stream transmission method, wireless communication device and storage medium
US10735323B2 (en) Service traffic allocation method and apparatus
US20190045562A1 (en) Tunnel binding based communication method and network device
CN108337698B (en) Multilink-based data stream adjusting method, device, equipment and medium
CN107786676B (en) Relay communication method, system and terminal for relay communication
CN106954225B (en) wireless roaming method and device and wireless equipment
CN109068332B (en) Data transmission method and device
WO2021076878A1 (en) Data cache mechanism through dual sim phone
US11765570B2 (en) Data transfer using a dual SIM phone
US11330421B2 (en) Dual subscriber identification module (SIM) customer premises equipment (CPE) for wireless network power measurements
US20200029228A1 (en) Channel Selection Method and Apparatus
EP4038837B1 (en) Quality of experience measurements for control of wi-fi networks
CN108966350A (en) A kind of method and apparatus selecting wireless router bandwidth
CN112788160A (en) Switching method and switching device of address information
CN112350845B (en) Wide area network port configuration method, network device and computer readable storage medium
CN109617815B (en) Data acquisition system, method and device of LTE core network and terminal equipment
CN114760719B (en) Method, apparatus, device and storage medium for discovering and connecting to soft access device
WO2019222999A1 (en) Access control method and device, and readable storage medium
CN113632558B (en) Wi-Fi communication method and device
CN110601948B (en) Network bandwidth superposition method and device and gateway equipment
CN112188580A (en) Frequency band switching method and device, AP and storage medium
CN114125931A (en) Flow regulation method and device and network equipment
CN106686645B (en) Method and system for improving throughput of multi-hop transmission link
CN110912832A (en) Processing method and device for flow load balancing, electronic equipment and storage medium

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