CN113038638B - Channel allocation method, device, equipment and storage medium - Google Patents

Channel allocation method, device, equipment and storage medium Download PDF

Info

Publication number
CN113038638B
CN113038638B CN202110314756.3A CN202110314756A CN113038638B CN 113038638 B CN113038638 B CN 113038638B CN 202110314756 A CN202110314756 A CN 202110314756A CN 113038638 B CN113038638 B CN 113038638B
Authority
CN
China
Prior art keywords
wireless access
access points
access point
channel
signal area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110314756.3A
Other languages
Chinese (zh)
Other versions
CN113038638A (en
Inventor
李弋飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Sundray Technologies Co ltd
Original Assignee
Shenzhen Sundray Technologies Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Sundray Technologies Co ltd filed Critical Shenzhen Sundray Technologies Co ltd
Priority to CN202110314756.3A priority Critical patent/CN113038638B/en
Publication of CN113038638A publication Critical patent/CN113038638A/en
Application granted granted Critical
Publication of CN113038638B publication Critical patent/CN113038638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies

Landscapes

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

Abstract

The application discloses a channel allocation method, a device, equipment and a storage medium. The method is applied to the wireless gateway and comprises the following steps: determining the signal area relation among the accessed wireless access points; different channels are allocated between target wireless access points whose signal region relationships are signal region overlapping relationships. The wireless gateway sets different channels for the wireless access points overlapped between the signal areas on the basis that the channels are distributed to the wireless access points by the wireless gateway system, so that the situation that the wireless access points overlapped with the signal areas have communication interference due to the fact that the wireless access points occupy the same channel can be avoided, and the stability of network communication of the wireless access points is relatively ensured. In addition, the application also provides a channel allocation device, equipment and a storage medium, and the beneficial effects are the same as those described above.

Description

Channel allocation method, device, equipment and storage medium
Technical Field
The present application relates to the field of wireless networks, and in particular, to a channel allocation method, apparatus, device, and storage medium.
Background
A wireless Access Point, i.e. a wireless AP (Access Point), is used for a wireless switch of a wireless network, and is also a core of the wireless network. The wireless access point is an access point for accessing the mobile equipment to a wired network, and is mainly used in broadband families, building interiors and garden interiors. The signal area of the wireless access point, i.e. the area effectively covered by the wireless access point signal, can reach several tens of meters to hundreds of meters.
The wireless access points establish a communication relationship with a wired network based on a channel and provide network communication support for the mobile device, and a current mode of configuring the channel of the wireless access points is often that each wireless access point sets a channel occupied by itself, in this case, communication interference between wireless access points with overlapped signal areas may be caused by occupying the same channel, and it is difficult to ensure stability of network communication performed by the wireless access points.
It is therefore seen that a need exists for a method for channel allocation to ensure stability of network communications performed by a wireless access point.
Disclosure of Invention
The application aims to provide a channel allocation method, a device, equipment and a storage medium, so as to ensure the stability of network communication of a wireless access point.
In order to solve the above technical problem, the present application provides a channel allocation method, applied to a wireless gateway, including:
determining the signal area relationship among the accessed wireless access points;
different channels are allocated between target wireless access points whose signal area relationship is a signal area overlapping relationship.
Preferably, before allocating different channels between the target wireless access points whose signal area relationship is a signal area overlapping relationship, the method further comprises:
acquiring the rated channel number of the main channel group;
allocating different channels between target wireless access points with signal area relation being signal area overlapping relation, comprising:
selecting a current wireless access point;
judging whether the number of other wireless access points with signal area overlapping relation with the current wireless access point is less than the number of rated channels or not;
if yes, configuring channels different from other wireless access points in the main channel group for the current wireless access point;
selecting a new current wireless access point;
and executing the step of judging whether the number of other wireless access points with signal area overlapping relation with the current wireless access point is less than the rated channel number or not based on the new current wireless access point.
Preferably, before the current wireless access point is selected, the method further comprises:
dividing the wireless access points into wireless access point groups based on the signal area relationship; each wireless access point in the wireless access point group at least has a signal area overlapping relation with another wireless access point in the group;
selecting a current wireless access point, comprising:
selecting a current wireless access point in the wireless access point group;
selecting a new current wireless access point, comprising:
a new current wireless access point is selected in the group of wireless access points.
Preferably, when the number of other wireless access points having a signal area overlapping relationship with the current wireless access point is greater than or equal to the rated channel number, the method further comprises:
configuring channels in a standby channel group for a current wireless access point; wherein, the main channel group and the spare channel group comprise different channels.
Preferably, before selecting the new current wireless access point, the method further comprises:
judging whether the main channel group has an unallocated target channel;
and if the main channel group has the unallocated target channel, executing the step of selecting a new current wireless access point.
Preferably, determining the signal area relationship between the accessed wireless access points comprises:
configuring the same initial channel for each wireless access point;
controlling each wireless access point to obtain adjacent parameter information of adjacent wireless access points based on initial channel scanning, and receiving the adjacent parameter information transmitted by each wireless access point;
and generating a signal area relation between the wireless access points according to the adjacent parameter information.
Preferably, the adjacency parameter information includes signal strength;
generating a signal area relationship between the wireless access points according to the adjacent parameter information, comprising:
judging whether the signal intensity between the wireless access points reaches a preset intensity threshold value or not;
if so, setting the signal area overlapping relationship as the signal area relationship between the wireless access points;
otherwise, the non-signal overlapping relationship is set as a signal area relationship between the wireless access points.
In addition, the present application also provides a channel allocation apparatus, including:
the signal area relation determining module is used for determining the signal area relation among the accessed wireless access points;
and the channel allocation module is used for allocating different channels among the target wireless access points with the signal area relationship being the signal area overlapping relationship.
In addition, the present application also provides a channel allocation apparatus, including:
a memory for storing a computer program;
a processor for implementing the steps of the channel allocation method as described above when executing the computer program.
Furthermore, the present application also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, realizes the steps of the channel allocation method as described above.
The channel allocation method is applied to a wireless gateway, firstly, the signal area relationship between accessed wireless access points is determined, and then different channels are allocated between target wireless access points of which the signal area relationship is a signal area overlapping relationship. Because the channel is distributed to the wireless access points by the wireless gateway system, the unified planning distribution of the channel among the wireless access points by the wireless gateway can be ensured, on the basis, the wireless gateway sets different channels for the wireless access points overlapped among the signal areas, the condition that the wireless access points overlapped among the signal areas have communication interference because of occupying the same channel can be further avoided, and the stability of the network communication of the wireless access points is relatively ensured. In addition, the application also provides a channel allocation device, equipment and a storage medium, and the beneficial effects are as described above.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings required for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic view of a communication scenario of a wireless local area network disclosed in an embodiment of the present application;
fig. 2 is a flowchart of a channel allocation method disclosed in an embodiment of the present application;
fig. 3 is a flowchart of a channel allocation method disclosed in an embodiment of the present application;
fig. 4 is a flowchart of a channel allocation method disclosed in an embodiment of the present application;
fig. 5 is a flowchart of a channel allocation method disclosed in an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a relationship between signal areas of wireless access points in a scenario embodiment disclosed in the present application;
fig. 7 is a channel allocation table of a wireless access point according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating a relationship between signal areas of wireless access points in an embodiment of a scenario disclosed in the present application;
fig. 9 is a channel allocation table of a wireless access point according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a channel allocation apparatus according to an embodiment of the present application;
fig. 11 is a schematic hardware component structure diagram of a channel allocation device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The wireless access points establish a communication relationship with a wired network based on a channel and provide network communication support for the mobile device, and a current mode of configuring the channel of the wireless access points is often that each wireless access point sets a channel occupied by itself, in this case, communication interference between wireless access points with overlapped signal areas may be caused by occupying the same channel, and it is difficult to ensure stability of network communication performed by the wireless access points.
Therefore, the core of the present application is to provide a channel allocation method to ensure the stability of network communication performed by a wireless access point.
The wireless local area network communication scene related to the technical scheme of the application at least comprises a wireless gateway and one or more wireless access points, the wireless gateway establishes a communication relation between a wired internet and the wireless access points, the wireless access points access the wired internet based on the wireless gateway, each wireless access point has a specific signal range, and a user terminal can access a wireless access point in the signal range of the wireless access point and further can perform network communication through the wireless access point corresponding to the position where the user terminal is accessed.
As shown in fig. 2, an embodiment of the present application discloses a channel allocation method applied to a wireless gateway, including:
step S10: and determining the signal area relation among the accessed wireless access points.
Step S11: different channels are allocated between target wireless access points whose signal area relationship is a signal area overlapping relationship.
It should be noted that, the implementation subject of this embodiment is a wireless gateway, and is intended to configure a channel between a pair of wireless access points by a wireless gateway system, and on this basis, in the process of configuring a channel for a wireless access point, the wireless gateway allocates different channels between target wireless access points whose signal area relationships are signal area overlapping relationships, where a signal area overlapping relationship refers to a portion where areas overlap exists between signal areas of wireless access points, and the area overlapping relationship may be complete overlapping between signal areas or partial position overlapping between signal areas. When the signal areas are in an area overlapping relationship, when the signal areas communicate using the same channel, signals in the area overlapping portion interfere with each other because the signals used are the same, and therefore, different channels are allocated between the target wireless access points in which the signal area relationship is the signal area overlapping relationship, and signal interference in the overlapping area can be avoided.
The channel allocation method is applied to a wireless gateway, firstly, the signal area relationship between accessed wireless access points is determined, and then different channels are allocated between target wireless access points of which the signal area relationship is a signal area overlapping relationship. Because the channel is distributed to the wireless access points by the wireless gateway system, the unified planning distribution of the channel among the wireless access points by the wireless gateway can be ensured, on the basis, the wireless gateway sets different channels for the wireless access points overlapped among the signal areas, the condition that the wireless access points overlapped among the signal areas have communication interference because of occupying the same channel can be further avoided, and the stability of the network communication of the wireless access points is relatively ensured.
As shown in fig. 3, the embodiment of the present application discloses a channel allocation method, which is applied to a wireless gateway, and includes:
step S20: and determining the signal area relation among the accessed wireless access points.
Step S21: the nominal channel number of the main channel group is obtained.
It should be noted that the important point of this embodiment is to first obtain the rated channel number of the main channel group before selecting the current wireless access point, so as to perform channel allocation on the wireless access point based on the channels in the main channel group in the subsequent step.
Step S22: a current wireless access point is selected.
Step S23: and judging whether the number of other wireless access points having signal area overlapping relation with the current wireless access point is less than the rated channel number, if so, executing the steps S24 to S26.
Step S24: a different channel in the primary channel group from the other wireless access points is configured for the current wireless access point.
Step S25: a new current wireless access point is selected.
Step S26: based on the new current wireless access point, step S23 is performed.
After the rated channel number of the main channel group is obtained, the present embodiment further traverses the wireless access points in each wireless access point, each traversed wireless access point is the current wireless access point in the present embodiment, after the current wireless access point is obtained, it is further determined whether the number of other wireless access points having a signal region overlapping relationship with the current wireless access point is smaller than the rated channel number, that is, it is determined that, when the number of other wireless access points is smaller than the rated channel number, it indicates that after the channel of the main channel group is allocated to the current wireless access point, the number of signals in the main channel group is still enough to be allocated to other wireless access points having a signal region overlapping relationship with the current wireless access point, in this case, the current wireless access point is configured with a channel different from the other wireless access points in the main channel group, so as to complete channel configuration of the current wireless access point, and then a new current wireless access point is continuously selected in each wireless node, and a step of determining whether the number of other wireless access points having a signal region overlapping relationship with the current wireless access point is smaller than the rated channel number is continuously performed based on the new current wireless access point until all the wireless access points are traversed.
In the embodiment, the channels of the wireless access points are configured based on the channels in the main channel group with the rated channel number in a mode of circularly traversing the wireless access points, the reliable allocation of the channels in the main channel group is realized, and the stability of the network communication of the wireless access points is further ensured.
As shown in fig. 4, an embodiment of the present application discloses a channel allocation method applied to a wireless gateway, including:
step S30: and determining the signal area relation among the accessed wireless access points.
Step S31: the nominal channel number of the main channel group is obtained.
Step S32: wireless access points are divided into groups of wireless access points based on the signal region relationships.
Wherein each wireless access point in the group of wireless access points has a signal area overlapping relationship with at least another wireless access point in the group.
Step S33: a current wireless access point is selected from the group of wireless access points.
Step S34: and judging whether the number of other wireless access points having signal area overlapping relation with the current wireless access point is less than the rated channel number, if so, executing the step S35 to the step S37.
Step S35: a different channel in the primary channel group from the other wireless access points is configured for the current wireless access point.
Step S36: a new current wireless access point is selected in the group of wireless access points.
Step S37: based on the new current wireless access point, step S34 is performed.
It should be noted that, the present embodiment is focused on dividing the wireless access points into access point groups in advance before selecting the current wireless access point, each wireless access point in the wireless access point group has at least a signal area overlapping relationship with another wireless access point in the group, and on the basis of obtaining the access point group through the division, selecting the current wireless access point in units of groups, that is, selecting the current wireless access point in the wireless access point group, and selecting a new current wireless access point in the wireless access point group. In this embodiment, by dividing the wireless access points into the access point groups, it is ensured that all the wireless access points in the access point groups are directly or indirectly associated with each other in an area, and then each wireless access point in the access point groups is allocated with a channel in the channel group by using the access point group as a unit, so that the accuracy and reliability of channel allocation can be relatively ensured.
On the basis of the foregoing embodiment, as a preferred implementation, when the number of other wireless access points having a signal area overlapping relationship with the current wireless access point is greater than or equal to the rated channel number, the method further includes:
configuring channels in a standby channel group for a current wireless access point; wherein, the main channel group and the spare channel group comprise different channels.
It should be noted that, in this embodiment, after each round of traversal is obtained for the current wireless access point, when it is determined that the number of other wireless access points having a signal area overlapping relationship between the current wireless access points is greater than or equal to the rated channel number of the main channel group, that is, when there is no channel that can be allocated in the main channel group, a channel in the backup channel group is further configured for the current wireless access point, and channels included in the main channel group and the backup channel group are different, so that accuracy and reliability of channel allocation can be further ensured.
As shown in fig. 5, an embodiment of the present application discloses a channel allocation method applied to a wireless gateway, including:
step S40: and determining the signal area relation among the accessed wireless access points.
Step S41: the nominal channel number of the main channel group is obtained.
Step S42: a current wireless access point is selected.
Step S43: and judging whether the number of other wireless access points having signal area overlapping relation with the current wireless access point is less than the rated channel number, if so, executing the steps S44 to S47.
Step S44: a different channel in the primary channel group from the other wireless access points is configured for the current wireless access point.
Step S45: and judging whether the main channel group has an unallocated target channel, and if so, executing a step S46.
Step S46: a new current wireless access point is selected.
Step S47: based on the new current wireless access point, step S43 is performed.
It should be noted that, the important point of this embodiment is to first determine whether an unallocated target channel exists in the main channel group before a new current wireless access point is selected in the main channel group, and further perform the step of selecting the new current wireless access point if the unallocated target channel exists in the main channel group, so as to relatively ensure normal channel allocation for the current wireless access point, thereby ensuring accuracy and reliability of channel allocation.
On the basis of the above series of embodiments, as a preferred implementation, determining a signal area relationship between accessed wireless access points includes:
configuring the same initial channel for each wireless access point;
controlling each wireless access point to obtain adjacent parameter information of adjacent wireless access points based on initial channel scanning, and receiving the adjacent parameter information transmitted by each wireless access point;
and generating a signal area relation between the wireless access points according to the adjacent parameter information.
In the method, the wireless gateway further controls each wireless access point to obtain adjacent parameter information of adjacent wireless access points based on initial channel scanning, receives adjacent parameter information transmitted by each wireless access point, wherein the adjacent parameter information is parameter information representing other wireless access points adjacent to the wireless access point, and generates a signal area relation between each wireless access point according to the adjacent parameter information after obtaining the adjacent parameter information. The present embodiment further ensures the accuracy of the generated signal area relationship between the wireless access points.
Further, as a preferred embodiment, the adjacency parameter information includes signal strength;
generating a signal area relationship between the wireless access points according to the adjacent parameter information, comprising:
judging whether the signal intensity between the wireless access points reaches a preset intensity threshold value or not;
if so, setting the signal area relationship between the wireless access points as a signal area overlapping relationship;
otherwise, setting the signal area relation between the wireless access points as a non-signal overlapping relation.
It should be noted that the present embodiment focuses on using signal strength as the adjacent parameter information, that is, the wireless access points obtain the signal strength of the adjacent wireless access points based on the initial channel scanning, and further generate a signal area relationship according to the signal strength between the wireless access points, that is, determine whether the signal strength between the wireless access points reaches a preset strength threshold, if the signal strength between the wireless access points reaches the preset strength threshold, set the signal area relationship between the wireless access points as a signal area overlapping relationship, otherwise set the signal area relationship between the wireless access points as a non-signal overlapping relationship. The present embodiment further ensures the accuracy of generating the signal area relationship between the wireless access points from the adjacent parameter information.
In order to deepen understanding of the above embodiments of the present application, the present application further provides a scene embodiment in a specific application scenario for further explanation.
Fig. 6 is a schematic diagram of a wireless access point signal area relationship according to a scenario embodiment.
Taking 5G channels as an example, every 20M channel is taken as a channel, the 5G channels can be divided into two major groups, 36-48 (4 channels in total) are taken as a first group of channels, and 149-161 (4 channels in total) are taken as a second group of channels. The first group is a priority channel and the second group is a spare channel.
Taking a as an example, the wireless access points with signal area overlapping relation with a are C, D and E. After obtaining the signal area relation, the following steps are carried out to allocate the channel:
1. dividing A into 36 channels, and then C, D and E can not be 36 channels;
2. randomly selecting an area from C, D and E, and if C is assumed, allocating 40 channels for C;
3. since both a and C have selected a channel and E is the channel most adjacent to the signal region of the selected channel, a channel is assigned to E, which is assigned to 44 channels.
4. Since a, C, E have all selected channels but there is no region adjacent to all three regions, D is the channel most adjacent to the signal region of the selected channel, then channel 48 is selected for D;
5. as can be seen from the above, B is the channel most adjacent to the signal region of the already selected channel, and channel 36 is selected for B;
6. f and G are both adjacent to a channel region, one region is randomly selected, and if G is assumed, a channel 40 is distributed for G;
7. finally F is assigned a channel 44.
The resulting channel allocation table for all wireless access points is shown in fig. 7.
In addition, fig. 8 is a schematic diagram illustrating another wireless access point signal area relationship in a scenario embodiment.
A and E, after removing themselves, still adjoin three or more identical signal regions (B, C, D, F), then a and E are overlapping regions and either a or E can be upgraded to a second set of channels. According to the four-color theorem, it can be determined that when B, C, D, and F are allocated to non-interfering channels, two channels a and E must be the same. Since the 36-48 (4 total) signals and 149-161 (4 total) channels have been previously grouped into two groups, to make a and E not on the same channel, E needs to be boosted. After the foregoing channel allocation procedure for the remaining channels, a channel allocation table for all wireless access points can be obtained as shown in fig. 9 below.
Referring to fig. 10, an embodiment of the present application discloses a channel allocating apparatus, including:
a signal area relation determining module 10, configured to determine a signal area relation between the accessed wireless access points.
A channel allocating module 11, configured to allocate different channels between target wireless access points whose signal area relationship is a signal area overlapping relationship.
In one embodiment, the apparatus further comprises:
a rated number obtaining module, configured to obtain a rated channel number of the main channel group;
the channel allocation module 11 includes:
a current wireless access point selection module for selecting a current wireless access point;
the device comprises a rated judging module, a channel configuration module and a channel configuration module, wherein the rated judging module is used for judging whether the number of other wireless access points which have signal area overlapping relation with the current wireless access point is less than the rated channel number or not, and if so, the channel configuration module is called;
the channel configuration module is used for configuring channels different from other wireless access points in the main channel group for the current wireless access point;
a new access point selection module for selecting a new current wireless access point;
and the new access point execution module is used for calling the rated judgment module based on the new current wireless access point.
In one embodiment, the apparatus further comprises:
the access point group division module is used for dividing the wireless access points into wireless access point groups based on the signal area relation; each wireless access point in the wireless access point group at least has a signal area overlapping relation with another wireless access point in the group;
a current wireless access point selection module comprising:
an intra-group wireless access point selection module for selecting a current wireless access point in the group of wireless access points;
a new access point selection module comprising:
and the new access point in the group selecting module is used for selecting a new current wireless access point in the wireless access point group.
In one embodiment, when the number of other wireless access points having a signal area overlapping relationship with the current wireless access point is greater than or equal to the rated number of channels, the apparatus further comprises:
the standby channel configuration module is used for configuring channels in a standby channel group for the current wireless access point; wherein, the main channel group and the spare channel group comprise different channels.
In one embodiment, the apparatus further comprises:
and the main channel group judging module is used for judging whether the main channel group has an unallocated target channel or not, and if so, calling the new access point selecting module.
In one embodiment, the signal region relation determining module 10 includes:
the initial channel configuration module is used for configuring the same initial channel for each wireless access point;
the adjacent parameter scanning module is used for controlling each wireless access point to obtain adjacent parameter information of the adjacent wireless access point based on initial channel scanning and receiving the adjacent parameter information transmitted by each wireless access point;
and the area relation generating module is used for generating the signal area relation among the wireless access points according to the adjacent parameter information.
In one embodiment, the adjacency parameter information includes signal strength;
a region relationship generation module comprising:
the threshold value judging module is used for judging whether the signal intensity between the wireless access points reaches a preset intensity threshold value, if so, the overlapping relation setting module is called, and otherwise, the non-overlapping relation setting module is called;
the overlapping relation setting module is used for setting the overlapping relation of the signal areas as the signal area relation between the wireless access points;
and the non-overlapping relation setting module is used for setting the non-signal overlapping relation as a signal area relation between the wireless access points.
The channel allocation device provided by the application is applied to a wireless gateway, firstly, the signal area relation between accessed wireless access points is determined, and then different channels are allocated between target wireless access points of which the signal area relation is a signal area overlapping relation. Because the channel is distributed to the wireless access points by the wireless gateway system, the unified planning distribution of the channel among the wireless access points by the wireless gateway can be ensured, on the basis, the wireless gateway sets different channels for the wireless access points overlapped among the signal areas, the condition that the wireless access points overlapped among the signal areas have communication interference because of occupying the same channel can be further avoided, and the stability of the network communication of the wireless access points is relatively ensured.
Based on the hardware implementation of the program module, and in order to implement the channel allocation method according to the embodiment of the present application, an embodiment of the present application further provides a channel allocation device, where a virtual machine runs and a communication connection is established between a virtual machine disk corresponding to the virtual machine, and fig. 11 is a schematic diagram of a hardware composition structure of the channel allocation device according to the embodiment of the present application, and as shown in fig. 11, the channel allocation device includes:
a communication interface 1 capable of performing information interaction with other devices such as network devices and the like;
and the processor 2 is connected with the communication interface 1 to realize information interaction with other equipment, and is used for executing the channel allocation method provided by one or more technical schemes when running a computer program. And the computer program is stored on the memory 3.
In practice, of course, the various components of the channel allocation apparatus are coupled together by the bus system 4. It will be appreciated that the bus system 4 is used to enable connection communication between these components. The bus system 4 comprises, in addition to a data bus, a power bus, a control bus and a status signal bus. For clarity of illustration, however, the various buses are labeled as bus system 4 in fig. 11.
The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the channel allocation apparatus. Examples of such data include: any computer program for operating on a channel allocation apparatus.
It will be appreciated that the memory 3 may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a magnetic random access Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), synchronous Static Random Access Memory (SSRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (ESDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), synchronous Dynamic Random Access Memory (SLDRAM), direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 2 described in the embodiments herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The channel allocation method disclosed in the embodiment of the present application may be applied to the processor 2, or implemented by the processor 2. The processor 2 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the channel allocation method may be implemented by instructions in the form of hardware integrated logic circuits or software in the processor 2. The processor 2 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 2 may implement or execute the channel allocation methods, steps, and logic blocks disclosed in the embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the channel allocation method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 3, and the processor 2 reads the program in the memory 3 and, in conjunction with its hardware, performs the steps of the channel allocation method described above.
When the processor 2 executes the program, the corresponding processes in each channel allocation method according to the embodiment of the present application are implemented, and for brevity, are not described herein again.
In an exemplary embodiment, the present application further provides a storage medium, i.e., a computer storage medium, specifically a computer readable storage medium, for example, a memory 3 storing a computer program, where the computer program is executable by a processor 2 to perform the steps of the foregoing channel allocation method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, terminal and channel allocation method may be implemented in other manners. The above-described device embodiments are only illustrative, for example, the division of the unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the embodiments of the channel allocation method may be implemented by hardware related to program instructions, where the program may be stored in a computer-readable storage medium, and when executed, the program performs the steps including the embodiments of the channel allocation method; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated unit described above may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a channel allocating device (which may be a personal computer, a server, or a network device) to execute all or part of the channel allocating methods of the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The channel allocation device provided by the application is applied to a wireless gateway, firstly, the signal area relation between accessed wireless access points is determined, and then different channels are allocated between target wireless access points of which the signal area relation is a signal area overlapping relation. The wireless gateway sets different channels for the wireless access points overlapped between the signal areas on the basis that the channels are distributed to the wireless access points by the wireless gateway system, so that the situation that the wireless access points overlapped with the signal areas have communication interference due to the fact that the wireless access points occupy the same channel can be avoided, and the stability of network communication of the wireless access points is relatively ensured.
Furthermore, the present application also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, realizes the steps of the channel allocation method as described above.
The computer-readable storage medium provided by the application is applied to a wireless gateway, and is used for firstly determining the signal area relationship between accessed wireless access points and then allocating different channels between target wireless access points with the signal area relationship being a signal area overlapping relationship. Because the channel is distributed to the wireless access points by the wireless gateway system, the unified planning distribution of the channel among the wireless access points by the wireless gateway can be ensured, on the basis, the wireless gateway sets different channels for the wireless access points overlapped among the signal areas, the condition that the wireless access points overlapped among the signal areas have communication interference because of occupying the same channel can be further avoided, and the stability of the network communication of the wireless access points is relatively ensured.
A detailed description is given above of a channel allocation method, a device and a storage medium provided by the present application. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part. It should be noted that, for those skilled in the art, without departing from the principle of the present application, the present application can also make several improvements and modifications, and those improvements and modifications also fall into the protection scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (8)

1. A channel allocation method applied to a wireless gateway includes:
determining the signal area relationship among the accessed wireless access points;
acquiring the rated channel number of the main channel group;
allocating different channels between the target wireless access points with the signal area relationship of signal area overlapping, and allocating the same or different channels between the target wireless access points without the signal area overlapping; the existence of the signal area overlapping relationship means that a part with overlapped areas exists between the signal areas of the wireless access points;
wherein, the allocating different channels between the target wireless access points whose signal area relationship is that there is a signal area overlapping relationship includes:
selecting a current wireless access point;
judging whether the number of other wireless access points which have the signal area overlapping relation with the current wireless access point is less than the rated channel number or not;
if so, configuring channels different from the other wireless access points in the main channel group for the current wireless access point; selecting a new current wireless access point; based on the new current wireless access point, executing the step of judging whether the number of other wireless access points having the signal area overlapping relation with the current wireless access point is less than the rated channel number;
if not, configuring a channel in a standby channel group for the current wireless access point; wherein the main channel group and the spare channel group comprise different channels.
2. The channel assignment method of claim 1, wherein prior to the selecting the current wireless access point, the method further comprises:
partitioning the wireless access points into wireless access point groups based on the signal region relationships; wherein each of the wireless access points in the group of wireless access points has a signal area overlapping relationship with at least another of the wireless access points in the group;
the selected current wireless access point comprising:
selecting the current wireless access point in the group of wireless access points;
the selecting a new current wireless access point, comprising:
a new current wireless access point is selected in the group of wireless access points.
3. The channel assigning method of claim 1, wherein prior to said selecting a new current wireless access point, the method further comprises:
judging whether the main channel group has an unallocated target channel;
and if the main channel group has the unallocated target channel, executing the step of selecting the new current wireless access point.
4. The channel allocation method according to any one of claims 1 to 3, wherein the determining the signal region relationship between the accessed wireless access points comprises:
configuring the same initial channel for each wireless access point;
controlling each wireless access point to obtain adjacent parameter information of adjacent wireless access points based on the initial channel scanning, and receiving the adjacent parameter information transmitted by each wireless access point;
and generating a signal area relation between the wireless access points according to the adjacent parameter information.
5. The channel assigning method according to claim 4, wherein the adjacency parameter information includes signal strength;
generating a signal area relationship between the wireless access points according to the adjacent parameter information includes:
judging whether the signal intensity between the wireless access points reaches a preset intensity threshold value or not;
if so, setting the signal area overlapping relationship as the signal area relationship between the wireless access points;
otherwise, setting a non-signal overlapping relationship as the signal region relationship between the wireless access points.
6. A channel allocation apparatus, comprising:
the signal area relation determining module is used for determining the signal area relation among the accessed wireless access points;
a rated number obtaining module, configured to obtain a rated channel number of the main channel group;
a channel allocation module, configured to allocate different channels between target wireless access points whose signal area relationship is that a signal area overlapping relationship exists, and allocate the same or different channels between target wireless access points whose signal area overlapping relationship does not exist; the existence of the signal area overlapping relationship means that a part with overlapped areas exists between the signal areas of the wireless access points;
wherein the channel allocation module is specifically configured to: selecting a current wireless access point; judging whether the number of other wireless access points which have the signal area overlapping relation with the current wireless access point is less than the rated channel number or not; if so, configuring channels different from the other wireless access points in the main channel group for the current wireless access point; selecting a new current wireless access point; based on the new current wireless access point, executing the step of judging whether the number of other wireless access points having the signal area overlapping relation with the current wireless access point is less than the rated channel number; if not, configuring channels in a standby channel group for the current wireless access point; wherein the main channel group and the spare channel group comprise different channels.
7. A channel allocation apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the channel allocation method according to any one of claims 1 to 5 when executing said computer program.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the channel allocation method according to any one of claims 1 to 5.
CN202110314756.3A 2021-03-24 2021-03-24 Channel allocation method, device, equipment and storage medium Active CN113038638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110314756.3A CN113038638B (en) 2021-03-24 2021-03-24 Channel allocation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110314756.3A CN113038638B (en) 2021-03-24 2021-03-24 Channel allocation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113038638A CN113038638A (en) 2021-06-25
CN113038638B true CN113038638B (en) 2022-11-22

Family

ID=76473545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110314756.3A Active CN113038638B (en) 2021-03-24 2021-03-24 Channel allocation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113038638B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089318A (en) * 2017-06-14 2018-12-25 汤姆逊许可公司 For the method to multiple neighboring access point dividing frequency channels
CN112533241A (en) * 2020-11-30 2021-03-19 杭州迪普科技股份有限公司 Network optimization method, wireless access point, wireless controller and network system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039235B (en) * 2007-03-12 2010-09-01 杭州华三通信技术有限公司 Method and apparatus for adjusting anti-interference of accessing point
CN103561408B (en) * 2013-11-05 2017-05-24 中国联合网络通信集团有限公司 Channel distribution method and device, data transmission method and access points
US9843936B2 (en) * 2014-04-28 2017-12-12 Kabushiki Kaisha Toshiba Method for allocating communication channels to access points in a communications network
KR102318040B1 (en) * 2016-06-10 2021-10-27 릴라이언스 지오 인포컴 리미티드 A system and method for allocating a wireless channel using a plurality of access points

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089318A (en) * 2017-06-14 2018-12-25 汤姆逊许可公司 For the method to multiple neighboring access point dividing frequency channels
CN112533241A (en) * 2020-11-30 2021-03-19 杭州迪普科技股份有限公司 Network optimization method, wireless access point, wireless controller and network system

Also Published As

Publication number Publication date
CN113038638A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
JP2020510384A (en) Network slice management method, unit, and system
CN110247997B (en) Method, device and storage medium for IP address allocation and topology management in DAS system
CN110661894A (en) User IP address allocation method, network device and storage medium
JP4139770B2 (en) Non-dedicated connection between access node and switch in wireless communication network
US10749944B2 (en) Systems and methods to improve the performance of a network by more efficient virtual network resource allocation
CN110674095B (en) CTDB cluster expansion method, device and equipment and readable storage medium
US20100298022A1 (en) Configuration of radio coverage
CN111722908B (en) Virtual machine creating method, system, equipment and medium
CN113038638B (en) Channel allocation method, device, equipment and storage medium
EP3306858B1 (en) Network management system deployment method and device, and network management system
CN110933192A (en) Local area network IP address allocation method, device, system and computer equipment
CN108429641B (en) Network equipment management method and device
CN113419672A (en) Storage capacity management method, system and storage medium
CN114073055B (en) network controller
CN117155784A (en) Network configuration method, device, equipment and medium
CN114553771B (en) Method for virtual router loading and related equipment
CN113115369B (en) Resource allocation method and device for network slices
CN112566286B (en) Set top box AP mode realization method and device, set top box and storage medium
CN114173396A (en) Method and device for determining terminal networking time, electronic equipment and storage medium
CN109302749B (en) Method and device for allocating baseband resources
CN109561170B (en) Address pool creating method and device, address pool management system and storage medium
CN115225612B (en) Management method, device, equipment and medium for K8S cluster reserved IP
CN105812497A (en) Network address allocation method, device and system
CN117575544B (en) Distribution area equipment management method and device, storage medium and electronic equipment
CN115134230B (en) Switch management method, system, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant