Channel switching method and device

By evaluating and selecting the combination of candidate channels within the network, the performance problems caused by the same frequency interference between channels in the networking scenario are solved, and better channel selection and network performance improvement are achieved.

CN119521330APending Publication Date: 2025-02-25TP-LINK INT SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411425242.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In the networking scenario, there is a synchronous interference between channels, resulting in poor performance of the entire networking and the existing technology cannot effectively select a working channel with better network topology.

Method used

By determining the candidate channel combinations between multiple network elements in the network, the channel performance evaluation value of each candidate channel combination is obtained, and compared with the performance evaluation value of the current channel combination, the target channel combination is selected, and the current channel combination is switched to the target channel combination.

Benefits of technology

It realizes that on the premise of avoiding interference, selecting a working channel with better network topology is improved, and the working efficiency of the entire network topology is solved, and the poor performance caused by the same frequency interference between channels is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119521330A_ABST
    Figure CN119521330A_ABST
Patent Text Reader

Abstract

The invention discloses a channel switching method and device. The method comprises the following steps: determining a plurality of candidate channel combinations for communication among a plurality of network elements in a network; obtaining channel performance evaluation values respectively corresponding to the plurality of candidate channel combinations; acquiring a current channel performance evaluation value of a current channel combination of the plurality of network elements; selecting a target channel combination from the plurality of candidate channel combinations based on the channel performance evaluation values corresponding to the plurality of candidate channel combinations respectively and the current channel performance evaluation value; and switching the current channel combination of the plurality of network elements to the target channel combination. According to the invention, the technical problem that the performance of the whole network is relatively poor due to same-frequency interference between channels in a networking scene in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of channel selection, and in particular to a channel switching method and device. Background Art

[0002] FAP and RE communicate through wired or wireless networking. In particular, for APs that support multiple frequency bands, multi-frequency networking is generally used: that is, FAP and RE establish wireless communication links through 2G / 5G / 6G to increase the stability of the link. The advantage of this is that the communication link between FAP and RE can be more stable and reliable. For example, when the 5G / 6Gbackhaul / wired link is abnormal, data can be transmitted through the 2Gbakchau l link.

[0003] The specific 2G networking details are as follows: The 2G backhaul interface of FAP is connected to the 2G backhaul sta interface of RE to establish a 2G backhaul link for communication between FAP and RE. Among them, the 2G backhaul (sta) interface and the host interface are two virtual interfaces of a hardware device, so the channels of the two are consistent; and because FAP and RE are associated through the 2G backhaul link, the 2G of FAP and RE use the same channel. In summary, the FAP 2Ghost network, RE 2G host network, and 2Gbackhaul link all work on the same channel. When there are a large number of wireless clients associated with the RE 2Ghost network and the FAP 2G host network and the traffic is high, strong co-channel interference will be generated, which may cause low channel utilization and communication difficulties.

[0004] With respect to the problem in the above-mentioned related technologies that a working channel that is more optimal for the networking topology cannot be selected according to the environments of both the FAP and the RE, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a channel switching method and device to at least solve the technical problem in the related art that there is co-channel interference between channels in a networking scenario, which easily leads to poor performance of the entire networking.

[0006] According to one aspect of an embodiment of the present invention, a channel switching method is provided, comprising: determining a plurality of candidate channel combinations for communication between a plurality of network elements in a network; obtaining channel performance evaluation values ​​respectively corresponding to the plurality of candidate channel combinations; obtaining a current channel performance evaluation value of a current channel combination of the plurality of network elements; selecting a target channel combination from the plurality of candidate channel combinations based on the channel performance evaluation values ​​respectively corresponding to the plurality of candidate channel combinations and the current channel performance evaluation value; and switching the current channel combination of the plurality of network elements to the target channel combination.

[0007] Optionally, obtaining the channel performance evaluation values ​​respectively corresponding to the multiple candidate channel combinations includes: for a reference candidate channel combination among the multiple candidate channel combinations, obtaining the number of the multiple network elements, the channel bandwidth of the channels included in the reference candidate channel combination, the packet sending opportunities of the channels included in the reference candidate channel combination, the channel overlap ratio between the channels included in the reference candidate channel combination, and the impact factors between the channels included in the reference candidate channel combination; obtaining the channel performance evaluation value of the reference candidate channel combination based on the number, the channel bandwidth, the packet sending opportunities, the channel overlap ratio and the impact factors; and obtaining the channel performance evaluation values ​​respectively corresponding to the multiple candidate channel combinations by adopting the method of obtaining the channel performance evaluation value of the reference candidate channel combination.

[0008] Optionally, selecting a target channel combination from the multiple candidate channel combinations based on the channel performance evaluation values ​​respectively corresponding to the multiple candidate channel combinations and the current channel performance evaluation value includes: selecting a candidate channel combination whose channel performance evaluation value is greater than the current channel performance evaluation value as the target channel combination.

[0009] Optionally, the selecting a candidate channel combination whose channel performance evaluation value is greater than the current channel performance evaluation value as the target channel combination includes: when there are multiple candidate channel combinations whose channel performance evaluation values ​​are greater than the current channel performance evaluation value, selecting a candidate channel combination whose packet sending opportunities of the included channels are higher than the packet sending opportunities of the channels in the current channel combination as the target channel combination.

[0010] Optionally, the selecting of a candidate channel combination whose packet sending opportunities of included channels are higher than the packet sending opportunities of channels in the current channel combination as the target channel combination includes: in the case where there are multiple candidate channel combinations whose packet sending opportunities of included channels are higher than the packet sending opportunities of channels in the current channel combination, selecting the candidate channel combination with the largest channel performance evaluation value as the target channel combination.

[0011] Optionally, the selecting a target channel combination from the multiple candidate channel combinations based on the channel performance evaluation values ​​respectively corresponding to the multiple candidate channel combinations and the current channel performance evaluation value includes: when the channel performance evaluation values ​​respectively corresponding to the multiple candidate channel combinations are lower than or equal to the current channel performance evaluation value, selecting a candidate channel combination whose packet sending opportunities of the included channels are higher than the packet sending opportunities of the channels in the current channel combination as the target channel combination.

[0012] Optionally, the selecting a candidate channel combination including channels whose packet sending opportunities are higher than the packet sending opportunities of channels in the current channel combination as the target channel combination includes: detecting whether the packet sending opportunities of channels in the current channel combination are lower than a predetermined threshold; when the detection result is that the packet sending opportunities of channels in the current channel combination are lower than the predetermined threshold, selecting a candidate channel combination including channels whose packet sending opportunities are higher than the packet sending opportunities of channels in the current channel combination as the target channel combination.

[0013] Optionally, the selecting of a candidate channel combination including channels whose packet sending chances are higher than channels in the current channel combination as the target channel combination includes: in a case where there are multiple candidate channel combinations including channels whose packet sending chances are higher than channels in the current channel combination, selecting the candidate channel combination with the largest channel performance evaluation value as the target channel combination.

[0014] Optionally, before switching the current channel combination of the multiple network elements to the target channel combination, the method also includes: obtaining the channels scanned by the multiple network elements respectively; respectively obtaining the bandwidth and packet sending opportunities of the channels scanned by the multiple network elements respectively; and selecting the current channel combination from the channels scanned by the multiple network elements respectively based on the bandwidth and packet sending opportunities of the channels scanned by the multiple network elements respectively.

[0015] Optionally, determining multiple candidate channel combinations for communication between multiple network elements in the network includes: obtaining the channel quality of the current channel combination and the business volume of the current channel combination; when the channel quality is lower than a quality threshold and / or the business volume is lower than a business volume threshold, determining multiple candidate channel combinations for communication between multiple network elements in the network.

[0016] Optionally, the current channel combination includes channels corresponding to backhaul links between network elements.

[0017] Optionally, in the case that the multiple network elements are multiple network elements in a networking scenario including a 2G backhaul link, before obtaining the current channel performance evaluation value of the current channel combination of the multiple network elements, the method also includes: obtaining a first candidate channel that does not interfere with each other among a plurality of candidate channels for communication between the multiple network elements, and obtaining a second candidate channel with the smallest overlapping range among the multiple candidate channels; and performing channel selection from the first candidate channel and the second candidate channel to obtain the current channel combination.

[0018] Optionally, the channel selection from the first candidate channel and the second candidate channel to obtain the current channel combination includes: determining the total number of the first candidate channels and the second candidate channels; when the number of the multiple network elements does not exceed the total number, performing channel selection in sequence in the order of the first candidate channels and the second candidate channels to obtain the current channel combination; when the number of the multiple network elements exceeds the total number, for the total number of network elements among the multiple network elements, performing channel selection in sequence in the order of the first candidate channels and the second candidate channels to obtain the current channel combination; for the network elements among the multiple network elements that exceed the total number, performing channel selection in sequence in the order of the first candidate channels and the second candidate channels, or randomly performing channel selection from the first candidate channels and the second candidate channels to obtain the current channel combination.

[0019] Optionally, before obtaining a first candidate channel that does not interfere with each other among a plurality of candidate channels for communication between the plurality of network elements, and obtaining a second candidate channel with the smallest overlapping range among the plurality of candidate channels, the channel switching method further includes: determining bandwidths and packet sending opportunities of available channels respectively scanned by the plurality of network elements; and determining the plurality of candidate channels based on the bandwidths and the packet sending opportunities.

[0020] According to another aspect of an embodiment of the present invention, a channel switching device is also provided, including: a determination module, used to determine multiple candidate channel combinations for communication between multiple network elements in a network; a first acquisition module, used to obtain channel performance evaluation values ​​respectively corresponding to the multiple candidate channel combinations; a second acquisition module, used to obtain current channel performance evaluation values ​​of the current channel combination of the multiple network elements; a selection module, used to select a target channel combination from the multiple candidate channel combinations based on the channel performance evaluation values ​​respectively corresponding to the multiple candidate channel combinations and the current channel performance evaluation value; and a switching module, used to switch the current channel combination of the multiple network elements to the target channel combination.

[0021] Optionally, the first acquisition module includes: a first acquisition unit, used to acquire, for a reference candidate channel combination among the multiple candidate channel combinations, the number of the multiple network elements, the channel bandwidth of the channels included in the reference candidate channel combination, the packet sending opportunities of the channels included in the reference candidate channel combination, the channel overlap ratio between the channels included in the reference candidate channel combination, and the impact factor between the channels included in the reference candidate channel combination; a second acquisition unit, used to obtain a channel performance evaluation value of the reference candidate channel combination based on the number, the channel bandwidth, the packet sending opportunities, the channel overlap ratio and the impact factor; and a third acquisition unit, used to obtain the channel performance evaluation values ​​corresponding to the multiple candidate channel combinations respectively by adopting a method of acquiring the channel performance evaluation value of the reference candidate channel combination.

[0022] Optionally, the selection module includes: a first selection unit, configured to select a candidate channel combination having a channel performance evaluation value greater than the current channel performance evaluation value as the target channel combination.

[0023] Optionally, the first selection unit includes: a first selection sub-unit, used to select a candidate channel combination whose packet sending opportunities of the included channels are higher than the packet sending opportunities of the channels in the current channel combination as the target channel combination when there are multiple candidate channel combinations whose channel performance evaluation values ​​are greater than the current channel performance evaluation value.

[0024] Optionally, the first selection subunit includes: a second selection subunit, used to select the candidate channel combination with the largest channel performance evaluation value as the target channel combination when there are multiple candidate channel combinations including channels with higher packet sending opportunities than channels in the current channel combination.

[0025] Optionally, the selection module includes: a second selection unit, used to select a candidate channel combination whose packet sending opportunities of the included channels are higher than the packet sending opportunities of the channels in the current channel combination as the target channel combination when the channel performance evaluation values ​​corresponding to the multiple candidate channel combinations are lower than or equal to the current channel performance evaluation value.

[0026] Optionally, the second selection unit includes: a detection subunit, used to detect whether the packet sending opportunity of the channel in the current channel combination is lower than a predetermined threshold; a third selection subunit, used to select a candidate channel combination whose packet sending opportunity of the included channels is higher than the packet sending opportunity of the channels in the current channel combination as the target channel combination when the detection result is that the packet sending opportunity of the channels in the current channel combination is lower than the predetermined threshold.

[0027] Optionally, the second selection unit includes: a fourth selection subunit, used to select the candidate channel combination with the largest channel performance evaluation value as the target channel combination when there are multiple candidate channel combinations including channels with higher packet sending opportunities than the channels in the current channel combination.

[0028] Optionally, the device also includes: a third acquisition module, used to acquire the channels scanned by the multiple network elements respectively before switching the current channel combination of the multiple network elements to the target channel combination; a fourth acquisition module, used to respectively acquire the bandwidth and packet sending opportunities of the channels scanned by the multiple network elements respectively; and the selection module, used to select the current channel combination from the channels scanned by the multiple network elements respectively based on the bandwidth and packet sending opportunities of the channels scanned by the multiple network elements respectively.

[0029] Optionally, the determination module includes: a fourth acquisition unit, used to obtain the channel quality of the current channel combination and the business volume of the current channel combination; a first determination unit, used to determine multiple candidate channel combinations for communication between multiple network elements in the network when the channel quality is lower than a quality threshold and / or the business volume is lower than a business volume threshold.

[0030] Optionally, the current channel combination includes channels corresponding to backhaul links between network elements.

[0031] Optionally, the device also includes: a fifth acquisition module, which is used to obtain a first candidate channel that does not interfere with each other among multiple candidate channels for communication between the multiple network elements, and obtain a second candidate channel with the smallest overlapping range among the multiple candidate channels, before obtaining the current channel performance evaluation value of the current channel combination of the multiple network elements, when the multiple network elements are multiple network elements in a networking scenario including a 2G backhaul link; the selection module is also used to select a channel from the first candidate channel and the second candidate channel to obtain the current channel combination.

[0032] Optionally, the selection module includes: a second determination unit, used to determine the total number of the first candidate channels and the second candidate channels; a third selection unit, used to, when the number of the multiple network elements does not exceed the total number, perform channel selection in sequence in the order of the first candidate channels and the second candidate channels to obtain the current channel combination; a fourth selection unit, used to, when the number of the multiple network elements exceeds the total number, perform channel selection in sequence in the order of the first candidate channels and the second candidate channels for the total number of network elements among the multiple network elements to obtain the current channel combination; for the network elements among the multiple network elements that exceed the total number, perform channel selection in sequence in the order of the first candidate channels and the second candidate channels, or randomly perform channel selection among the first candidate channels and the second candidate channels to obtain the current channel combination.

[0033] Optionally, the device also includes: a third determination unit, used to determine the bandwidth and packet sending opportunities of the available channels scanned respectively by the multiple network elements before obtaining a first candidate channel that does not interfere with each other among the multiple candidate channels for communication between the multiple network elements and obtaining a second candidate channel with the smallest overlapping range among the multiple candidate channels; and a fourth determination unit, used to determine the multiple candidate channels based on the bandwidth and the packet sending opportunities.

[0034] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, wherein the non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute any one of the channel switching methods described above.

[0035] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a memory and a processor, wherein the memory stores a computer program; the processor is used to execute the computer program stored in the memory, and when the computer program is run, the processor executes any one of the channel switching methods described above.

[0036] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the channel switching method described in any one of the above is implemented.

[0037] In an embodiment of the present invention, multiple candidate channel combinations for communication between multiple network elements in a network are determined; channel performance evaluation values ​​corresponding to the multiple candidate channel combinations are obtained; current channel performance evaluation values ​​of the current channel combination of multiple network elements are obtained; based on the channel performance evaluation values ​​corresponding to the multiple candidate channel combinations and the current channel performance evaluation values, a target channel combination is selected from the multiple candidate channel combinations; the current channel combination of multiple network elements is switched to the target channel combination. Through the above technical scheme, the purpose of selecting a more suitable channel combination according to the channel performance evaluation values ​​of the multiple candidate channel combinations for communication between multiple network elements in a network and the current channel performance evaluation values ​​of the current channel combination of the multiple network elements is achieved. By evaluating the channel performance evaluation value of each available channel combination to select the best channel combination, the technical effect of selecting a working channel that is better for the networking topology under the premise of avoiding interference is achieved, and the working efficiency of the entire networking topology is improved, thereby solving the technical problem in the related technology that there is co-channel interference between channels in the networking scenario, which easily leads to poor performance of the entire networking. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0039] Figure 1 is a hardware structure block diagram of a mobile terminal of a channel switching method according to an embodiment of the present invention;

[0040] Figure 2 is a flow chart of a channel switching method according to an embodiment of the present invention;

[0041] Figure 3 is a flow chart of an optional channel switching method according to an embodiment of the present invention;

[0042] Figure 4 is a schematic diagram of channel distribution according to an embodiment of the present invention;

[0043] Figure 5 is a schematic diagram of a channel switching device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0044] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0045] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0046] As introduced in the background technology, there is co-channel interference between channels in the networking scenario in the related technology, which easily leads to poor performance of the entire network. In view of the above defects, a channel switching method and device, a non-volatile storage medium, an electronic device and a computer program product are provided in the embodiments of the present invention.

[0047] For the convenience of description, some nouns or terms appearing in the embodiments of the present invention are explained below:

[0048] Fixed Access Point (FAP): refers to the equipment or facilities used to provide fixed access services in wireless communication networks. They are usually used to provide broadband access services, such as Wi-Fi access points or fixed wireless access devices. FAP can be used in homes, businesses or public places to provide wireless access services.

[0049] A repeater (RE for short) is a device used to forward a signal from one device to another. It is usually used to extend the range or coverage of a signal, and can be used in wireless communication, wired communication, or hybrid communication systems. A repeater can amplify a signal, change the frequency, adjust the phase, or other means to ensure the quality and stability of the signal. It is widely used in telecommunications, networking, and wireless communication systems.

[0050] Bakhau l links refer to transmission links used to connect base stations and the network core for transmitting radio signals and data. These links are usually established through optical fiber, microwave or other wireless transmission technologies to support the normal operation of mobile communication networks. Bakhau l links play a vital role in mobile communication networks because they connect base stations and the network core to provide communication services to mobile users.

[0051] A base station is a device in a wireless communication system that transmits and receives wireless signals and connects them to the network core. A base station typically includes an antenna, wireless transmitter and receiver, and equipment to process wireless signals.

[0052] The network core is a key part of the wireless communication system. It is responsible for managing and controlling all devices and users connected to the base station. The network core includes various devices and systems, such as mobile switches, data transmission equipment, authentication and security systems, etc., which are used to ensure the normal operation and management of the wireless communication network. The network core is also responsible for handling the routing, forwarding and management of user data and signals to ensure that users can communicate stably and efficiently.

[0053] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0054] The method embodiments provided in the embodiments of the present invention can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a channel switching method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0055] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the channel switching method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0056] According to an embodiment of the present invention, a method embodiment of a channel switching method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0057] Figure 2 is a flow chart of a channel switching method according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0058] Step S202: determining a plurality of candidate channel combinations for communication between a plurality of network elements in the network.

[0059] Optionally, the above-mentioned network element refers to a basic unit in a communication network, which is a node or device in the network, used to process and forward data and provide network services.

[0060] In this embodiment, all combinations of candidate channels for communication between multiple network elements in the current networking environment can be determined first, that is, each of the multiple network elements can select a channel, then there will be multiple channel selection methods corresponding to the multiple network elements, and multiple candidate channel combinations can be obtained.

[0061] Step S204: Obtain channel performance evaluation values ​​corresponding to a plurality of candidate channel combinations.

[0062] In this embodiment, for the multiple candidate channel combinations determined in the above steps, performance evaluation can be performed on each channel combination respectively, so as to obtain a channel performance evaluation value of each of the multiple candidate channel combinations for subsequent optimal channel selection of multiple network elements.

[0063] It should be noted that the channel performance evaluation values ​​here can be calculated using the following formula: Among them, G represents the channel performance evaluation value, n represents the number of network elements in the networking scenario, i represents the i-th network element in the networking scenario, B represents bandwidth, 40M corresponds to 1, 20M corresponds to 0.5, M is the channel overlap ratio coefficient, which is the overlap ratio of any two AP alternative channels in the entire networking topology, ε is the influencing factor, which is positively correlated with the signal strength, number of spatial streams, and traffic size of any two APs in the entire networking topology; txop represents packet sending opportunity; is to measure the number of repetitions between n channels, and j is to measure the impact of the channels from the first group of repetitions to the last group of repetitions.

[0064] Step S206: obtaining current channel performance evaluation values ​​of current channel combinations of multiple network elements.

[0065] In this embodiment, after obtaining multiple candidate channel combinations corresponding to multiple network elements, the current channel combination of the multiple network elements may be determined, and the channel performance evaluation value of the current channel combination, ie, the current channel performance evaluation value, may be determined.

[0066] It should be noted that the current channel performance evaluation value can also be calculated using the above formula; however, the working channel score G currently being used by all network elements in the current networking topology is now (i.e., the current channel energy evaluation value) does not need to be considered (An estimate of adjacent channel interference), because at this time txop has already reflected the impact of adjacent channel interference.

[0067] Step S208: Select a target channel combination from the multiple candidate channel combinations based on the channel performance evaluation values ​​corresponding to the multiple candidate channel combinations and the current channel performance evaluation value.

[0068] Here, a target channel combination may be selected from multiple candidate channel combinations according to the channel performance evaluation values ​​corresponding to the multiple candidate channel combinations determined above and the channel performance evaluation value of the current channel combination, so as to improve the networking performance.

[0069] Step S210: Switch the current channel combination of multiple network elements to a target channel combination.

[0070] As can be seen from the above, in an embodiment of the present invention, a plurality of candidate channel combinations for communication between a plurality of network elements in a network can be first determined; then the channel performance evaluation values ​​corresponding to the plurality of candidate channel combinations are obtained; and the current channel performance evaluation values ​​of the current channel combination of the plurality of network elements are obtained; then based on the channel performance evaluation values ​​corresponding to the plurality of candidate channel combinations and the current channel performance evaluation values, a target channel combination is selected from the plurality of candidate channel combinations; and then the current channel combination of the plurality of network elements is switched to the target channel combination, thereby achieving the purpose of selecting a more suitable channel combination based on the channel performance evaluation values ​​of the plurality of candidate channel combinations for communication between a plurality of network elements in the network and the current channel performance evaluation values ​​of the current channel combination of the plurality of network elements. By evaluating the channel performance evaluation values ​​of each available channel combination to select the best channel combination, the technical effect of selecting a working channel that is better for the networking topology while avoiding interference is achieved, thereby improving the working efficiency of the entire networking topology.

[0071] Therefore, the technical solution provided according to the above embodiments of the present invention solves the technical problem in the related art that there is co-channel interference between channels in the networking scenario, which easily leads to poor performance of the entire networking.

[0072] In the above step S204, obtaining channel performance evaluation values ​​corresponding to multiple candidate channel combinations respectively may include: for a reference candidate channel combination in the multiple candidate channel combinations, obtaining the number of multiple network elements, the channel bandwidth of the channels included in the reference candidate channel combination, the packet sending opportunities of the channels included in the reference candidate channel combination, the channel overlap ratio between the channels included in the reference candidate channel combination, and the influence factors between the channels included in the reference candidate channel combination; obtaining the channel performance evaluation value of the reference candidate channel combination based on the number, channel bandwidth, packet sending opportunities, channel overlap ratio and influence factors; and obtaining the channel performance evaluation values ​​corresponding to the multiple candidate channel combinations respectively by adopting a method of obtaining the channel performance evaluation value of the reference candidate channel combination.

[0073] In this embodiment, for a reference candidate channel combination among multiple candidate channel combinations, the number of multiple network elements, the bandwidth of the channels included in the reference candidate channel combination, packet sending opportunities, the channel overlap ratio between channels, and the influencing factors between channels can be obtained; then, the channel performance evaluation value of the reference candidate channel combination is determined based on the above-determined indicators such as bandwidth, packet sending opportunities, the channel overlap ratio between channels, and the influencing factors between channels, and then the channel performance evaluation values ​​corresponding to the multiple candidate channel combinations are obtained based on the channel performance evaluation values ​​of the reference candidate channel combination.

[0074] Combine the following Figure 3 The technical solutions provided in the above embodiments of the present invention are described in detail. Figure 3 is a flow chart of an optional channel switching method according to an embodiment of the present invention. Figure 3 As shown, taking FAP and RE as network elements as an example, after FAP (fixed access point) and RE (repeater) work for a period of time, the environment may change, and co-frequency and adjacent-frequency interference may also occur between FAP and RE. Therefore, when FAP / RE detects that 2Gtxop is low or the packet retransmission rate is high, it is necessary to re-evaluate the channel situation; a detection environment time period T can be fixed on the FAP side. At the same time, in order to reduce the impact of channel switching on the client's disconnection, it is necessary to monitor whether there is a large amount of traffic at present, and only start channel evaluation when the traffic is low.

[0075] In addition, if Figure 3 As shown, when the FAP statistics time reaches n*T, that is, when the communication environment quality detection cycle of the fixed access point arrives, the FAP and RE scan their respective environments respectively, and count environmental indicators such as txop (packet sending opportunity). For example, there are 100 opportunities to send packets in the entire environment, which means that the sum of the packet sending opportunities of each environmental indicator is also 100, which can be expressed as follows: tx+inbss+obss+nocat+nopkt+txop=100, wherein tx represents the proportion of AP packet sending time per unit time, inbss represents the proportion of time for receiving packets from our BSS per unit time, obss represents the channel overlap ratio, nocat represents the proportion of erroneous FCS received by us per unit time, nopkt represents the proportion of incomplete frames received per unit time, and txop represents the channel idle rate or packet sending opportunity, which can continue to use the traditional meaning.

[0076] In addition, if co-channel interference occurs, it indicates that other BSSs on the same channel are occupied, which will be mainly reflected through the obss indicator. If adjacent-channel interference or non-wifi interference (such as electromagnetic interference from Bluetooth, induction cookers, etc.) occurs, the number of error packets will increase. nocat means FCS check failure, and nopkt means incomplete frames. When combined, they are error packets. Therefore, when adjacent-channel interference or non-wifi interference occurs, it will be reflected through the nocat+nopkt indicators.

[0077] In an optional embodiment, based on the channel performance evaluation values ​​corresponding to the multiple candidate channel combinations and the current channel performance evaluation value, selecting a target channel combination from the multiple candidate channel combinations may include: selecting a candidate channel combination whose channel performance evaluation value is greater than the current channel performance evaluation value as the target channel combination.

[0078] In this embodiment, when selecting a target channel combination from multiple candidate channel combinations, a candidate channel combination whose channel performance evaluation value is greater than the current channel performance evaluation value is selected as the target channel combination, that is, the target channel combination can be selected only based on the channel performance evaluation value.

[0079] In an optional embodiment, selecting a candidate channel combination whose channel performance evaluation value is greater than the current channel performance evaluation value as the target channel combination may include: when there are multiple candidate channel combinations whose channel performance evaluation values ​​are greater than the current channel performance evaluation value, selecting a candidate channel combination whose packet sending opportunities of the included channels are higher than the packet sending opportunities of the channels in the current channel combination as the target channel combination.

[0080] In this embodiment, when there are multiple candidate channel combinations whose channel performance evaluation values ​​are greater than the current channel performance evaluation value, a candidate channel combination with a higher packet sending opportunity in the current channel combination can be selected as the target channel combination.

[0081] Through the above two target channel combination selection methods, the selection of the target channel combination is more flexible.

[0082] According to the above embodiment of the present invention, a candidate channel combination whose packet sending opportunities of included channels are higher than the packet sending opportunities of channels in the current channel combination is selected as the target channel combination, including: when there are multiple candidate channel combinations whose packet sending opportunities of included channels are higher than the packet sending opportunities of channels in the current channel combination, selecting the candidate channel combination with the largest channel performance evaluation value as the target channel combination.

[0083] That is, in this embodiment, if there are multiple candidate channel combinations including channels whose packet sending opportunities are higher than the packet sending opportunities of the channels in the current channel combination, the candidate channel combination with the largest channel performance evaluation value can be selected as the target channel combination to optimize the selection of the target channel, thereby improving the networking efficiency.

[0084] In an optional embodiment, a target channel combination is selected from multiple candidate channel combinations based on the channel performance evaluation values ​​respectively corresponding to the multiple candidate channel combinations and the current channel performance evaluation value, including: when the channel performance evaluation values ​​respectively corresponding to the multiple candidate channel combinations are lower than or equal to the current channel performance evaluation value, selecting a candidate channel combination whose packet sending opportunities of the included channels are higher than the packet sending opportunities of the channels in the current channel combination as the target channel combination.

[0085] In this embodiment, when the channel performance evaluation values ​​corresponding to the plurality of candidate channel combinations are lower than or equal to the current channel performance evaluation value, a candidate channel combination including a channel whose packet sending opportunity is higher than the packet sending opportunity of a channel in the current channel combination may be selected as the target channel combination. That is, when the channel performance evaluation values ​​corresponding to the plurality of candidate channel combinations are lower than or equal to the current channel performance evaluation value, the target channel combination may be selected according to the packet sending opportunity of the channel.

[0086] In the above embodiment of the present invention, selecting a candidate channel combination including channels whose packet sending opportunities are higher than the packet sending opportunities of channels in the current channel combination as the target channel combination includes: detecting whether the packet sending opportunities of channels in the current channel combination are lower than a predetermined threshold; when the detection result is that the packet sending opportunities of channels in the current channel combination are lower than the predetermined threshold, selecting a candidate channel combination including channels whose packet sending opportunities are higher than the packet sending opportunities of channels in the current channel combination as the target channel combination.

[0087] That is, in an embodiment of the present invention, a candidate channel combination including channels with packet sending opportunities higher than the packet sending opportunities of channels in the current channel combination is selected as the target channel combination, and it can be detected whether the packet sending opportunities of channels in the current channel combination are lower than a predetermined threshold; if the packet sending opportunities of channels in the current channel combination are lower than the predetermined threshold, a candidate channel combination including channels with packet sending opportunities higher than the packet sending opportunities of channels in the current channel combination is selected as the target channel combination.

[0088] According to the above embodiment of the present invention, a candidate channel combination including channels with higher packet sending opportunities than channels in the current channel combination is selected as the target channel combination, including: in the case where there are multiple candidate channel combinations including channels with higher packet sending opportunities than channels in the current channel combination, selecting the candidate channel combination with the largest channel performance evaluation value as the target channel combination.

[0089] In this embodiment, if there are multiple candidate channel combinations whose channel packet sending opportunities are higher than the channel packet sending opportunities in the nitrogen channel combination, the candidate channel combination with the largest channel performance evaluation value may be selected as the target channel combination.

[0090] According to the above-mentioned embodiment of the present invention, before switching the current channel combination of multiple network elements to the target channel combination, the method may also include: obtaining channels scanned by the multiple network elements respectively; respectively obtaining the bandwidth and packet sending opportunities of the channels scanned by the multiple network elements respectively; and selecting the current channel combination from the channels scanned by the multiple network elements based on the bandwidth and packet sending opportunities of the channels scanned by the multiple network elements respectively.

[0091] In this embodiment, for the selection of the current channel combination, the channels scanned by multiple network elements can be obtained first, and then the bandwidths and packet sending opportunities of the channels scanned by multiple network elements can be obtained respectively. Then, based on the bandwidths and packet sending opportunities of the channels scanned by multiple network elements, the current channel combination can be selected from the channels scanned by multiple network elements.

[0092] According to the above-mentioned embodiment of the present invention, multiple candidate channel combinations for communication between multiple network elements in a network are determined, including: obtaining the channel quality of the current channel combination and the business volume of the current channel combination; when the channel quality is lower than the quality threshold and / or the business volume is lower than the business volume threshold, determining multiple candidate channel combinations for communication between multiple network elements in the network.

[0093] In this embodiment, the channel quality of the current channel combination and the business volume of the current channel combination can be obtained first, and then when it is determined that at least one of the channel quality is lower than the quality threshold and the business volume is lower than the business volume threshold is met, the process of determining multiple candidate channel combinations for communication between multiple network elements in the network will be triggered to avoid network instability.

[0094] It should be noted that, in the embodiment of the present invention, the current channel combination includes channels corresponding to the backhaul links between network elements.

[0095] In this case, if the backhau l link connection mode of the current network topology is wired networking, and the link connectivity and negotiation rate are normal, the FAP and RE disconnect the 2G backhau l link and can select different channels according to the environment; if the backhau l link connection mode is 5G / 6G wireless networking, it is necessary to calculate whether the negotiation rate *txop of the backhau l link is higher than the threshold ε (the threshold needs to be formulated according to the 2G backhau l link negotiation rate *txop). If it is higher than the threshold ε, the FAP and RE disconnect the 2G backhau l link and can select different channels according to the environment, where the negotiation rate *txop represents the throughput that the current channel is expected to achieve.

[0096] According to the above-mentioned embodiment of the present invention, in the case where the multiple network elements are multiple network elements in a networking scenario including a 2G backhaul link, before obtaining the current channel performance evaluation value of the current channel combination of the multiple network elements, the method also includes: obtaining a first candidate channel that does not interfere with each other among multiple candidate channels for communication between the multiple network elements, and obtaining a second candidate channel with the smallest overlapping range among the multiple candidate channels; and performing channel selection from the first candidate channel and the second candidate channel to obtain the current channel combination.

[0097] For example, the FAP may scan the environmental indicators of the available channels in their respective environments, such as bandwidth and packet sending opportunities; the RE may also scan the environmental indicators of the available channels in their respective environments, such as bandwidth and packet sending opportunities.

[0098] That is, in the embodiment of the present invention, before selecting a channel, it is necessary to analyze the network topology structure corresponding to the networking scenario in which the FAP and RE are currently located to determine the backhaul link connection mode (backhaul link) of the current network topology structure, and then determine whether it is necessary to perform a channel selection operation according to the current communication environment based on the backhaul link connection mode.

[0099] According to the above embodiment of the present invention, channel selection is performed from the first candidate channel and the second candidate channel to obtain the current channel combination, including: determining the total number of the first candidate channels and the second candidate channels; when the number of the multiple network elements does not exceed the total number, performing channel selection in sequence in the order of the first candidate channels and the second candidate channels to obtain the current channel combination; when the number of the multiple network elements exceeds the total number, for the total number of network elements among the multiple network elements, performing channel selection in sequence in the order of the first candidate channels and the second candidate channels to obtain the current channel combination; for the network elements among the multiple network elements that exceed the total number, performing channel selection in sequence in the order of the first candidate channels and the second candidate channels, or randomly performing channel selection from the first candidate channels and the second candidate channels to obtain the current channel combination.

[0100] According to the above embodiment of the present invention, before obtaining a first candidate channel that does not interfere with each other among multiple candidate channels for communication between multiple network elements, and obtaining a second candidate channel with the smallest overlapping range among multiple candidate channels, the channel switching method also includes: determining the bandwidth and packet sending opportunities of the available channels scanned by the multiple network elements respectively; and determining multiple candidate channels based on the bandwidth and packet sending opportunities.

[0101] Combine the following Figure 4 The above embodiment of the present invention is described in detail, and the network elements are still taken as AP and FAP as an example for description. Figure 4 Schematic diagram of channel distribution according to an embodiment of the present invention. Figure 4 As shown, under 20M bandwidth, ch1, ch6, and ch11 are three channels that do not interfere with each other; under 40M bandwidth, ch1 and ch11 are the two channels with the smallest overlapping range, so the FAP and RE are controlled to select the initial channel among the three channels ch1, ch6, and ch11. The FAP and each RE can respectively select ch1 / ch6 / ch11 as the initial channel (i.e., the current channel).

[0102] As above Figure 4As shown, if the total number of FAPs and REs exceeds 3, the other REs can select one of the three channels ch1, ch6, and ch11 in turn as an initial channel, or randomly select one of the three channels as the current channel.

[0103] As above Figure 4 As shown in the figure, when FAP and RE select the current channel, the principle is to select the candidate bandwidth (20M / 40M) × txop with the largest sum as the candidate channel in the channels scanned by each. For example, FAP-RE1-RE2 is networked and there are 6 channel allocation methods (1-6-11, 1-11-6, 6-1-11, 6-11-1, 11-1-6, 11-6-1), from which the allocation method with the largest ∑B × txop can be selected as the current channel (B is the bandwidth).

[0104] As above Figure 3 As shown, after the FAP and the RE scan and collect statistics on the environmental indicators respectively, they need to calculate the score of each of the multiple available channel combinations based on the statistics.

[0105] It should be noted that, in the embodiment of the present invention, when updating the channel, all optional channels are used as candidates, not limited to ch1 / ch6 / ch11, but mainly based on txop as an indicator for evaluating the quality of the channel environment.

[0106] As above Figure 3 As shown, when G>G now , and the txop of the alternative channels is higher than the txop of the current channel now , it means that this candidate channel combination is expected to bring higher performance benefits to each AP in the network, so a combination with the largest G and a candidate channel txop higher than the txop of the current channel will be selected for channel switching.

[0107] As above Figure 3 As shown, when G≤G now , and the current 2Gtxop of a certain AP is lower than the threshold γ, it means that the current experience of the channel is poor and the channel needs to be switched; among its alternative channels, the channel with a txop relatively higher than the current txop and a relatively high G is preferentially selected.

[0108] After selecting an available channel combination to which the FAP and RE are to switch, the FAP and RE may be triggered to switch to a channel corresponding to the available channel combination.

[0109] The technical solution provided by the above-mentioned embodiment of the present invention avoids the problem of co-channel interference, low txop and poor communication caused by the consistency of FAP RE2G channels required in the traditional networking mode; on the premise of ensuring sufficient backhaul link bandwidth, APs in the network are made to work in different channels to avoid co-channel interference, and at the same time, the overall available bandwidth of the entire network after switching channels is estimated through a formula to ensure that the new alternative channel can improve channel utilization and bring as little negative impact as possible to the entire networking topology.

[0110] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0111] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0112] According to an embodiment of the present invention, a channel switching device for implementing the above-mentioned channel switching method is also provided. Figure 5 is a schematic diagram of a channel switching device according to an embodiment of the present invention. Figure 5 As shown, the device includes: a determination module 501, a first acquisition module 503, a second acquisition module 505, a selection module 507 and a switching module 509. The channel switching device is described in detail below.

[0113] The determination module 501 is used to determine a plurality of candidate channel combinations for communication between a plurality of network elements in a network.

[0114] The first acquisition module 503 is used to acquire channel performance evaluation values ​​corresponding to a plurality of candidate channel combinations.

[0115] The second acquisition module 505 is used to acquire current channel performance evaluation values ​​of current channel combinations of multiple network elements.

[0116] The selection module 507 is configured to select a target channel combination from a plurality of candidate channel combinations based on the channel performance evaluation values ​​respectively corresponding to the plurality of candidate channel combinations and the current channel performance evaluation value.

[0117] The switching module 509 is used to switch the current channel combination of multiple network elements to the target channel combination.

[0118] It should be noted here that the above-mentioned determination module 501, first acquisition module 503, second acquisition module 505, selection module 507 and switching module 509 correspond to steps S202 to S210 in the above-mentioned embodiments, and the five units are the same as the instances and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above-mentioned embodiments.

[0119] As can be seen from the above, in the scheme recorded in the above-mentioned embodiment of the present invention, a determination module can be used to first determine multiple candidate channel combinations for communication between multiple network elements in the network; then a first acquisition module can be used to obtain the channel performance evaluation values ​​corresponding to the multiple candidate channel combinations respectively; then a second acquisition module is used to obtain the current channel performance evaluation value of the current channel combination of the multiple network elements; after the target channel combination is selected from the multiple candidate channel combinations based on the channel performance evaluation values ​​corresponding to the multiple candidate channel combinations respectively and the current channel performance evaluation value by the selection module, the current channel combination of the multiple network elements is switched to the target channel combination by the switching module, thereby achieving the purpose of selecting a more suitable channel combination based on the channel performance evaluation values ​​of the multiple candidate channel combinations for communication between the multiple network elements in the network and the current channel performance evaluation values ​​of the current channel combination of the multiple network elements. By evaluating the channel performance evaluation value of each available channel combination to select the best channel combination, the technical effect of selecting a working channel that is better for the networking topology under the premise of avoiding interference is achieved, thereby improving the working efficiency of the entire networking topology.

[0120] Therefore, the technical solution provided according to the above embodiments of the present invention solves the technical problem in the related art that there is co-channel interference between channels in the networking scenario, which easily leads to poor performance of the entire networking.

[0121] Optionally, the first acquisition module includes: a first acquisition unit, used to acquire, for a reference candidate channel combination among multiple candidate channel combinations, the number of multiple network elements, the channel bandwidth of the channels included in the reference candidate channel combination, the packet sending opportunities of the channels included in the reference candidate channel combination, the channel overlap ratio between the channels included in the reference candidate channel combination, and the influence factor between the channels included in the reference candidate channel combination; a second acquisition unit, used to obtain a channel performance evaluation value of the reference candidate channel combination based on the number, channel bandwidth, packet sending opportunities, channel overlap ratio and influence factor; and a third acquisition unit, used to obtain channel performance evaluation values ​​corresponding to multiple candidate channel combinations respectively by acquiring the channel performance evaluation value of the reference candidate channel combination.

[0122] Optionally, the selection module includes: a first selection unit, configured to select a candidate channel combination whose channel performance evaluation value is greater than a current channel performance evaluation value as a target channel combination.

[0123] Optionally, the first selection unit includes: a first selection subunit, which is used to select a candidate channel combination whose packet sending opportunities of the included channels are higher than the packet sending opportunities of the channels in the current channel combination as the target channel combination when there are multiple candidate channel combinations whose channel performance evaluation values ​​are greater than the current channel performance evaluation value.

[0124] Optionally, the first selection subunit includes: a second selection subunit, which is used to select the candidate channel combination with the largest channel performance evaluation value as the target channel combination when there are multiple candidate channel combinations whose packet sending opportunities of the included channels are higher than the packet sending opportunities of the channels in the current channel combination.

[0125] Optionally, the selection module includes: a second selection unit, used to select a candidate channel combination whose packet sending opportunities of the included channels are higher than the packet sending opportunities of the channels in the current channel combination as the target channel combination when the channel performance evaluation values ​​corresponding to multiple candidate channel combinations are lower than or equal to the current channel performance evaluation value.

[0126] Optionally, the second selection unit includes: a detection subunit, used to detect whether the packet sending opportunity of the channel in the current channel combination is lower than a predetermined threshold; a third selection subunit, used to select a candidate channel combination whose packet sending opportunity of the included channels is higher than the packet sending opportunity of the channels in the current channel combination as the target channel combination when the detection result is that the packet sending opportunity of the channels in the current channel combination is lower than the predetermined threshold.

[0127] Optionally, the second selection unit includes: a fourth selection subunit, which is used to select the candidate channel combination with the largest channel performance evaluation value as the target channel combination when there are multiple candidate channel combinations whose packet sending opportunities of the included channels are higher than the packet sending opportunities of the channels in the current channel combination.

[0128] Optionally, the device also includes: a third acquisition module, used to acquire channels scanned by multiple network elements respectively before switching the current channel combination of multiple network elements to the target channel combination; a fourth acquisition module, used to acquire the bandwidth and packet sending opportunities of the channels scanned by multiple network elements respectively; and a selection module, used to select a current channel combination from the channels scanned by multiple network elements respectively based on the bandwidth and packet sending opportunities of the channels scanned by multiple network elements respectively.

[0129] Optionally, the determination module includes: a fourth acquisition unit, used to obtain the channel quality of the current channel combination and the business volume of the current channel combination; a first determination unit, used to determine multiple candidate channel combinations for communication between multiple network elements in the network when the channel quality is lower than the quality threshold and / or the business volume is lower than the business volume threshold.

[0130] Optionally, the current channel combination includes channels corresponding to backhaul links between network elements.

[0131] Optionally, the device further includes: a fifth acquisition module, which is used to obtain a first candidate channel that does not interfere with each other among multiple candidate channels for communication between multiple network elements before obtaining the current channel performance evaluation value of the current channel combination of the multiple network elements, and obtain a second candidate channel with the smallest overlapping range among the multiple candidate channels, when the multiple network elements are multiple network elements in a networking scenario including a 2G backhaul link; and a selection module, which is also used to select a channel from the first candidate channel and the second candidate channel to obtain the current channel combination.

[0132] Optionally, the selection module includes: a second determination unit, used to determine the total number of first candidate channels and second candidate channels; a third selection unit, used to, when the number of multiple network elements does not exceed the total number, perform channel selection in sequence in the order of the first candidate channels and the second candidate channels to obtain the current channel combination; a fourth selection unit, used to, when the number of multiple network elements exceeds the total number, perform channel selection in sequence in the order of the first candidate channels and the second candidate channels for the total number of network elements among the multiple network elements to obtain the current channel combination; for the network elements among the multiple network elements that exceed the total number, perform channel selection in sequence in the order of the first candidate channels and the second candidate channels, or randomly perform channel selection from the first candidate channels and the second candidate channels to obtain the current channel combination.

[0133] Optionally, the device also includes: a third determination unit, used to determine the bandwidth and packet sending opportunities of available channels scanned by multiple network elements respectively before obtaining a first candidate channel that does not interfere with each other among multiple candidate channels for communication between multiple network elements and obtaining a second candidate channel with the smallest overlapping range among multiple candidate channels; a fourth determination unit, used to determine multiple candidate channels based on the bandwidth and packet sending opportunities.

[0134] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a memory and a processor, wherein the memory stores a computer program; and the processor is used to execute the computer program stored in the memory, wherein when the computer program is executed, the processor executes any one of the above-mentioned channel switching methods.

[0135] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, any one of the channel switching methods described above is implemented.

[0136] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided. The non-volatile storage medium includes a stored program. When the program is running, the device where the non-volatile storage medium is located is controlled to execute any one of the above channel switching methods.

[0137] Optionally, in this embodiment, the non-volatile storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the communication devices in a communication device group.

[0138] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: determining multiple candidate channel combinations for communication between multiple network elements in a network; obtaining channel performance evaluation values ​​corresponding to the multiple candidate channel combinations; obtaining current channel performance evaluation values ​​of current channel combinations of multiple network elements; selecting a target channel combination from the multiple candidate channel combinations based on the channel performance evaluation values ​​corresponding to the multiple candidate channel combinations and the current channel performance evaluation value; and switching the current channel combination of the multiple network elements to the target channel combination.

[0139] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: for a reference candidate channel combination among multiple candidate channel combinations, obtaining the number of multiple network elements, the channel bandwidth of the channels included in the reference candidate channel combination, the packet sending opportunities of the channels included in the reference candidate channel combination, the channel overlap ratio between the channels included in the reference candidate channel combination, and the influence factors between the channels included in the reference candidate channel combination; obtaining a channel performance evaluation value of the reference candidate channel combination based on the number, channel bandwidth, packet sending opportunities, channel overlap ratio and influence factors; and obtaining channel performance evaluation values ​​corresponding to multiple candidate channel combinations respectively by obtaining the channel performance evaluation value of the reference candidate channel combination.

[0140] Optionally, in this embodiment, the non-volatile storage medium is configured to store a program code for executing the following steps: selecting a candidate channel combination having a channel performance evaluation value greater than a current channel performance evaluation value as a target channel combination.

[0141] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: when there are multiple candidate channel combinations whose channel performance evaluation values ​​are greater than the current channel performance evaluation value, select a candidate channel combination whose packet sending opportunities of the included channels are higher than the packet sending opportunities of the channels in the current channel combination as the target channel combination.

[0142] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: when there are multiple candidate channel combinations including channels whose packet sending opportunities are higher than the packet sending opportunities of channels in the current channel combination, selecting the candidate channel combination with the largest channel performance evaluation value as the target channel combination.

[0143] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: when the channel performance evaluation values ​​corresponding to multiple candidate channel combinations are lower than or equal to the current channel performance evaluation value, select a candidate channel combination whose packet sending opportunities of the included channels are higher than the packet sending opportunities of the channels in the current channel combination as the target channel combination.

[0144] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: detecting whether the packet sending opportunity of the channel in the current channel combination is lower than a predetermined threshold; when the detection result is that the packet sending opportunity of the channel in the current channel combination is lower than the predetermined threshold, selecting a candidate channel combination including channels whose packet sending opportunities are higher than the packet sending opportunities of the channels in the current channel combination as the target channel combination.

[0145] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: when there are multiple candidate channel combinations including channels whose packet sending opportunities are higher than the packet sending opportunities of channels in the current channel combination, selecting the candidate channel combination with the largest channel performance evaluation value as the target channel combination.

[0146] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: before switching the current channel combination of multiple network elements to a target channel combination, obtaining channels scanned by the multiple network elements respectively; obtaining bandwidths and packet sending opportunities of the channels scanned by the multiple network elements respectively; and selecting a current channel combination from the channels scanned by the multiple network elements based on the bandwidths and packet sending opportunities of the channels scanned by the multiple network elements respectively.

[0147] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: obtaining the channel quality of the current channel combination and the traffic volume of the current channel combination; when the channel quality is lower than a quality threshold and / or the traffic volume is lower than a traffic volume threshold, determining multiple candidate channel combinations for communication between multiple network elements in the network.

[0148] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: in a case where the multiple network elements are multiple network elements in a networking scenario including a 2G backhaul link, before obtaining the current channel performance evaluation value of the current channel combination of the multiple network elements, obtaining a first candidate channel that does not interfere with each other among multiple candidate channels for communication between the multiple network elements, and obtaining a second candidate channel with the smallest overlapping range among the multiple candidate channels; and performing channel selection from the first candidate channel and the second candidate channel to obtain the current channel combination.

[0149] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: determining the total number of first candidate channels and second candidate channels; when the number of multiple network elements does not exceed the total number, performing channel selection in sequence in the order of the first candidate channels and the second candidate channels to obtain a current channel combination; when the number of multiple network elements exceeds the total number, for the total number of network elements among the multiple network elements, performing channel selection in sequence in the order of the first candidate channels and the second candidate channels to obtain the current channel combination; for the network elements among the multiple network elements that exceed the total number, performing channel selection in sequence in the order of the first candidate channels and the second candidate channels, or randomly performing channel selection from the first candidate channels and the second candidate channels to obtain the current channel combination.

[0150] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: before obtaining a first candidate channel that does not interfere with each other among multiple candidate channels for communication between multiple network elements, and obtaining a second candidate channel with the smallest overlapping range among the multiple candidate channels, determining the bandwidth and packet sending opportunities of the available channels scanned by multiple network elements respectively; and determining multiple candidate channels based on the bandwidth and packet sending opportunities.

[0151] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0152] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0153] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0154] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0155] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0156] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0157] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A channel switching method, characterized in that: include: Determine multiple candidate channel combinations for communication between multiple network elements in the network; Obtain channel performance evaluation values ​​corresponding to the plurality of candidate channel combinations respectively; Obtaining current channel performance evaluation values ​​of current channel combinations of the multiple network elements; Selecting a target channel combination from the multiple candidate channel combinations based on the channel performance evaluation values ​​respectively corresponding to the multiple candidate channel combinations and the current channel performance evaluation value; The current channel combination of the multiple network elements is switched to the target channel combination.

2. The method according to claim 1, characterized in that: The obtaining of channel performance evaluation values ​​respectively corresponding to the plurality of candidate channel combinations comprises: For a reference candidate channel combination among the multiple candidate channel combinations, obtaining the number of the multiple network elements, the channel bandwidth of the channels included in the reference candidate channel combination, the packet sending opportunities of the channels included in the reference candidate channel combination, the channel overlap ratio between the channels included in the reference candidate channel combination, and the influence factors between the channels included in the reference candidate channel combination; Based on the quantity, the channel bandwidth, the packet sending opportunity, the channel overlap ratio and the influencing factor, a channel performance evaluation value of the reference candidate channel combination is obtained; The channel performance evaluation values ​​respectively corresponding to the plurality of candidate channel combinations are obtained by acquiring the channel performance evaluation value of the reference candidate channel combination.

3. The method according to claim 1, characterized in that: The selecting a target channel combination from the multiple candidate channel combinations based on the channel performance evaluation values ​​respectively corresponding to the multiple candidate channel combinations and the current channel performance evaluation value comprises: Select a candidate channel combination whose channel performance evaluation value is greater than the current channel performance evaluation value as the target channel combination.

4. The method according to claim 3, characterized in that The selecting a candidate channel combination whose channel performance evaluation value is greater than the current channel performance evaluation value as the target channel combination comprises: When there are multiple candidate channel combinations whose channel performance evaluation values ​​are greater than the current channel performance evaluation value, a candidate channel combination whose included channels have packet sending opportunities higher than the packet sending opportunities of channels in the current channel combination is selected as the target channel combination.

5. The method according to claim 4, characterized in that The selecting a candidate channel combination including a packet sending opportunity of a channel in a current channel combination as the target channel combination includes: In the case that there are multiple candidate channel combinations including channels with higher packet sending opportunities than channels in the current channel combination, the candidate channel combination with the largest channel performance evaluation value is selected as the target channel combination.

6. The method according to claim 1, characterized in that The selecting a target channel combination from the multiple candidate channel combinations based on the channel performance evaluation values ​​respectively corresponding to the multiple candidate channel combinations and the current channel performance evaluation value comprises: When the channel performance evaluation values ​​corresponding to the multiple candidate channel combinations are lower than or equal to the current channel performance evaluation value, a candidate channel combination including channels with higher packet sending opportunities than the channels in the current channel combination is selected as the target channel combination.

7. The method according to claim 6, characterized in that The selecting a candidate channel combination whose packet sending opportunity of the included channels is higher than the packet sending opportunity of the channels in the current channel combination as the target channel combination comprises: Detecting whether the packet sending opportunity of the channel in the current channel combination is lower than a predetermined threshold; When the detection result is that the packet sending opportunity of the channels in the current channel combination is lower than the predetermined threshold, a candidate channel combination including channels with packet sending opportunities higher than the packet sending opportunities of the channels in the current channel combination is selected as the target channel combination.

8. The method according to claim 6, characterized in that The selecting a candidate channel combination whose packet sending opportunity of the included channels is higher than the packet sending opportunity of the channels in the current channel combination as the target channel combination comprises: In the case that there are multiple candidate channel combinations including channels with higher packet sending opportunities than channels in the current channel combination, the candidate channel combination with the largest channel performance evaluation value is selected as the target channel combination.

9. The method according to claim 1, characterized in that: Before switching the current channel combination of the multiple network elements to the target channel combination, the method further includes: Acquire channels scanned by the multiple network elements respectively; Respectively obtaining bandwidths and packet sending opportunities of channels scanned by the multiple network elements respectively; The current channel combination is selected from the channels respectively scanned by the multiple network elements based on the bandwidths and packet sending opportunities of the channels respectively scanned by the multiple network elements.

10. The method according to claim 1, characterized in that The determining of a plurality of candidate channel combinations for communication between a plurality of network elements in the network comprises: Acquire the channel quality of the current channel combination and the traffic volume of the current channel combination; When the channel quality is lower than a quality threshold and / or the traffic volume is lower than a traffic volume threshold, a plurality of candidate channel combinations for communication between a plurality of network elements in the network are determined.

11. The method according to claim 1, characterized in that: In a case where the multiple network elements are multiple network elements in a networking scenario including a 2G backhaul link, before obtaining the current channel performance evaluation values ​​of the current channel combinations of the multiple network elements, the method further includes: Acquire a first candidate channel that does not interfere with each other among a plurality of candidate channels for communication between the plurality of network elements, and acquire a second candidate channel with the smallest overlapping range among the plurality of candidate channels; Channel selection is performed from the first candidate channels and the second candidate channels to obtain the current channel combination.

12. The method according to claim 11, characterized in that The selecting a channel from the first candidate channel and the second candidate channel to obtain the current channel combination includes: determining a total number of the first candidate channels and the second candidate channels; When the number of the plurality of network elements does not exceed the total number, performing channel selection in sequence according to the order of the first candidate channels and the second candidate channels to obtain the current channel combination; When the number of the multiple network elements exceeds the total number, for the total number of network elements among the multiple network elements, channel selection is performed in sequence in the order of the first candidate channel and the second candidate channel to obtain the current channel combination; for the network elements among the multiple network elements that exceed the total number, channel selection is performed in sequence in the order of the first candidate channel and the second candidate channel, or channel selection is randomly performed from the first candidate channel and the second candidate channel to obtain the current channel combination.

13. The method according to claim 11, characterized in that Before acquiring a first candidate channel that does not interfere with each other among a plurality of candidate channels for communication between the plurality of network elements and acquiring a second candidate channel with the smallest overlapping range among the plurality of candidate channels, the method further includes: Determining bandwidths and packet sending opportunities of available channels scanned by the multiple network elements respectively; The plurality of candidate channels are determined according to the bandwidth and the packet sending opportunity.

14. A channel switching device, characterized in that: include: A determination module, used to determine multiple candidate channel combinations for communication between multiple network elements in the network; A first acquisition module is used to obtain channel performance evaluation values ​​corresponding to the multiple candidate channel combinations respectively; A second acquisition module, used to acquire current channel performance evaluation values ​​of current channel combinations of the multiple network elements; A selection module, configured to select a target channel combination from the plurality of candidate channel combinations based on the channel performance evaluation values ​​respectively corresponding to the plurality of candidate channel combinations and the current channel performance evaluation value; The switching module is used to switch the current channel combination of the multiple network elements to the target channel combination.

15. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the channel switching method according to any one of claims 1 to 13.

16. An electronic device, characterized in that: include: Memory and processor, The memory stores a computer program; The processor is used to execute the computer program stored in the memory, and when the computer program is run, the processor executes the channel switching method according to any one of claims 1 to 13.

17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the channel switching method according to any one of claims 1 to 13 is implemented.