WO2021233331A1 - 通信信道优化方法和装置、电子设备、存储介质 - Google Patents

通信信道优化方法和装置、电子设备、存储介质 Download PDF

Info

Publication number
WO2021233331A1
WO2021233331A1 PCT/CN2021/094591 CN2021094591W WO2021233331A1 WO 2021233331 A1 WO2021233331 A1 WO 2021233331A1 CN 2021094591 W CN2021094591 W CN 2021094591W WO 2021233331 A1 WO2021233331 A1 WO 2021233331A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
period
usage information
busy period
channels
Prior art date
Application number
PCT/CN2021/094591
Other languages
English (en)
French (fr)
Inventor
金晓静
程琼
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP21808391.3A priority Critical patent/EP4156559A4/en
Publication of WO2021233331A1 publication Critical patent/WO2021233331A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/382Monitoring; Testing of propagation channels for resource allocation, admission control or handover
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/0091Signaling for the administration of the divided path
    • H04L5/0094Indication of how sub-channels of the path are allocated
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/27Transitions between radio resource control [RRC] states
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present disclosure relates to the field of communications, and in particular to methods and devices for optimizing communication channels, electronic equipment, and computer-readable storage media.
  • WLAN Wireless Local Area Network
  • WLAN is also called WiFi and uses 2 frequency bands, 2.4G and 5.8G. These 2 frequency bands are unlicensed frequency bands. As long as they comply with national regulations, they can be used without authorization. Simply put, installing a wireless router at home does not require any unit approval and can be used without authorization, which means that it needs to share the air channel with neighbors, so it is very susceptible to interference.
  • embodiments of the present disclosure provide a communication channel optimization method, which includes:
  • the optimal channel in the busy period is determined according to the channel availability and channel usage information of the part or all of the channels obtained during the busy period of at least one cycle.
  • an electronic device which includes:
  • At least one processor At least one processor
  • the memory has at least one program stored thereon, and when the at least one program is executed by the at least one processor, the at least one processor is caused to execute the above-mentioned communication channel optimization method.
  • embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored, and the computer program implements the above-mentioned communication channel optimization method when the computer program is executed by a processor.
  • embodiments of the present disclosure provide a communication channel optimization device, including:
  • An acquiring module configured to acquire the channel availability and channel usage information of some or all of the channels in the working frequency band in at least one cycle
  • the busy period and idle period dividing module is configured to determine the busy period of the service according to the channel usage information of part or all of the channels obtained in at least one period;
  • the optimal channel determining module is configured to determine the optimal channel in the busy period according to the channel availability and channel usage information of some or all of the channels obtained during the busy period of at least one cycle.
  • FIG. 1 is a flowchart of a communication channel optimization method provided by an embodiment of the disclosure
  • FIG. 2 is a block diagram of a communication channel optimization device provided by an embodiment of the disclosure.
  • FIG. 3 is a block diagram of the composition of the communication channel optimization apparatus provided in Example 1 of the embodiments of the disclosure.
  • Fig. 4 is a block diagram of the composition of the communication channel optimization apparatus provided in Example 2 of the embodiments of the disclosure.
  • adjacent access point diagnosis function can allow APs to discover The neighbor AP's relevant information, according to the neighbor AP's occupancy of the channel to select its own channel.
  • the AP since the neighboring AP diagnosis will affect the WiFi service, the AP usually detects the neighboring AP at startup and then selects an optimal channel. This disadvantage is also obvious. The optimal channel at startup is not always optimal.
  • DCS Dynamic Channel Selection
  • AP When the AP is working, it detects the surrounding radio environment according to predetermined rules, and then switches channels according to the detection results.
  • the above methods all detect in real time which channel is currently the most idle, and if the currently used channel is not the optimal channel, and the service is idle, switch. Since switching channels will cause network interruption, it is not possible to switch channels when the business is busy, so as not to affect the user's business experience. However, the optimal channel detected when the WiFi business is idle may not be the best when the WiFi business is busy.
  • the above WiFi channel optimization method has low accuracy.
  • the embodiment of the present disclosure is a method proposed based on the problems existing in the WiFi channel optimization method, the method proposed in the embodiment of the present disclosure is also applicable to optimization of other communication channels.
  • FIG. 1 is a flowchart of a communication channel optimization method according to an embodiment of the disclosure.
  • an embodiment of the present disclosure provides a communication channel optimization method, including the following steps 100 to 102.
  • Step 100 Obtain channel availability and channel usage information of some or all of the channels located in the working frequency band in at least one cycle.
  • Step 101 Determine the busy period of the service according to the channel usage information of part or all of the channels obtained in at least one period.
  • Step 102 Determine an optimal channel in the busy period according to the channel availability and channel usage information of some or all of the channels obtained during the busy period of at least one cycle.
  • the busy period of the service is first obtained based on the channel usage information of part or all of the channels obtained in at least one period, that is, the historical usage law of the user's channel is summarized, and then based on at least
  • the channel availability and channel usage information of some or all channels obtained during the busy period of a cycle obtain the optimal channel during the busy period, that is, the optimal channel is obtained based on the user’s actual occupancy of the channel and historical usage rules.
  • the channel optimization process is carried out based on the actual occupation of the channel by the user during the busy period, which improves the accuracy of channel optimization.
  • the communication channel optimization method further includes:
  • the idle period of the service is determined according to the channel usage information of part or all of the channels obtained in at least one period; the working channel is switched to the optimal channel in the next busy period during the idle period.
  • the working channel can be switched to the optimal channel in the next busy period at any time during the idle period.
  • the working channel is switched to the next busy period in the idle period.
  • Optimal channel of the period when the optimal channel in the last busy period of the idle period is different from the optimal channel in the next busy period of the idle period, the working channel is switched to the next busy period in the idle period.
  • the working channel is not switched during the idle period.
  • the working channel is switched to the optimal channel in the next busy period during the idle period.
  • the working channel is switched to the optimal channel in the next busy period during the idle period .
  • the embodiment of the present disclosure only performs the switching of working channels during the idle period, and does not perform the switching of the working channels during the busy period. Without affecting the normal business, it is guaranteed to work on the optimal channel during each busy period, thereby further improving The optimization efficiency of the communication channel.
  • the channel may refer to a WiFi channel.
  • the channel can also refer to any other communication channel.
  • the channel may refer to any channel located in the working frequency band.
  • the channel in the embodiment of the present disclosure may be any one or more of these 11 WiFi channels.
  • the channel may refer to a key channel located in the working frequency band, and the key channel refers to a channel that does not cause adjacent frequency interference in the working frequency band.
  • the key channel refers to a channel that does not cause adjacent frequency interference in the working frequency band.
  • the channel usage information may include: flow rate.
  • the channel usage information may include: bandwidth utilization.
  • channel usage information may also include other information.
  • the channel availability rate is the difference between 1 and the channel utilization rate.
  • the channel utilization rate refers to the rate at which the channel in the air cannot be used by the device due to noise interference or occupied by other devices. In other words, the channel utilization does not include the occupancy rate of the air channel by this device.
  • the channel availability rate of the channel may refer to the channel availability rate when the channel is in a working state.
  • the channel since the channel (that is, the main working channel) does not work alone, it often works in conjunction with at least one adjacent frequency of the channel (that is, the auxiliary working channel).
  • 11 WiFi channels corresponding to 2.4G are usually When channel 1 is working, channel 2 and channel 3 are also working, channel 1 is the main working channel, channel 2 and channel 3 are auxiliary working channels; similarly, when channel 6 is working , Channel 4, Channel 5, and Channel 7 are also in working state, channel 6 is the main working channel, channel 4, channel 5, and channel 7 are auxiliary working channels; similarly, when channel 11 is in working state , Channel 8, Channel 9, and Channel 10 (in some scenarios also include Channel 12 and Channel 13) are also in working status, Channel 11 is the main working channel, Channel 8, Channel 9, Channel 10 Channel No. (In some scenarios, it also includes No. 12 and No. 13 channels) is the auxiliary working channel; therefore, the channel availability rate of the channel may also refer to the sum of the channel availability rates of the main working channel and the auxiliary working channel.
  • the channel usage information may refer to channel usage information when the channel is in a working state.
  • the channel since the channel (that is, the main working channel) does not work alone, it often works in conjunction with at least one adjacent frequency of the channel (that is, the auxiliary working channel). Therefore, the channel usage information may also refer to the main working channel. And auxiliary working channel usage information.
  • the channel usage information includes: channel usage information corresponding to all service types. In some embodiments, the channel usage information includes: channel usage information corresponding to at least one service type. The following describes the implementation process of these two cases respectively.
  • Channel usage information includes: channel usage information corresponding to all service types.
  • the service type of the data message is not distinguished in the process of obtaining the channel usage information.
  • the following manners can be used to achieve the step of acquiring the channel availability and channel usage information of some or all of the channels located in the working frequency band in at least one cycle:
  • the sum of the number of transmitted and received bytes may also be referred to as traffic.
  • the collection time when collecting the sum of the channel utilization rate and the number of transmitted and received bytes, the collection time is also recorded.
  • the channel availability rate corresponding to the i-th acquisition is the difference between 1 and the channel utilization rate of the i-th acquisition, and i is an integer greater than or equal to 1.
  • the channel usage information includes: flow rate.
  • W i is the sum of the number of bytes sent and received in the i-th acquisition
  • W i-1 is the sum of the number of bytes sent and received in the (i-1)th acquisition
  • T i is the acquisition time corresponding to the i-th acquisition
  • T i -1 is the acquisition time corresponding to the (i-1)th acquisition.
  • the channel usage information includes: bandwidth utilization.
  • the bandwidth utilization rate corresponding to the i-th acquisition is the ratio of the flow rate and the maximum bandwidth corresponding to the i-th acquisition.
  • the maximum bandwidth can be any of the maximum bandwidth of the link, the maximum physical bandwidth, the actual maximum bandwidth, or other maximum bandwidths. .
  • the following manners can be used to implement the step of determining the busy period and the idle period of the service according to the obtained channel usage information of part or all of the channels:
  • the average value of the channel usage information of some or all channels corresponding to the acquisition time is less than the first preset threshold, it is determined that the acquisition time is in the idle period; the time period between two adjacent acquisition times in the idle period is determined In the idle period;
  • the time period between the adjacent collection time in the busy period and the collection time in the idle period is in the busy period, or in the idle period, or part of it is in the busy period and the other part is in the idle period.
  • the following manners can be used to implement the step of determining the optimal channel in the busy period according to the channel availability and channel usage information of some or all of the channels obtained during the busy period of at least one cycle:
  • calculating the average value of the channel availability rate of the channel obtained in the busy period of at least one cycle based on the channel availability rate and channel usage information of the channel obtained in the busy period of at least one cycle includes: using the channel The information is used as the weight to calculate the weighted average of the channel availability rate of the channel obtained during the busy period of at least one cycle.
  • the average channel availability P kn obtained by channel k in the n-th busy period of at least one cycle is: B knmi is the channel usage information corresponding to the i-th acquisition of channel k in the n-th busy period of the m-th cycle, U knmi is the i-th acquisition corresponding to channel k in the n-th busy period of the m-th cycle Channel availability rate, Q n is the number of acquisitions in the nth busy period, and M is the number of cycles.
  • the channel usage information includes: channel usage information corresponding to at least one service type.
  • the following methods can be used to achieve the step of obtaining the channel availability and channel usage information of some or all channels located in the working frequency band in at least one cycle:
  • the sum of the number of transmitted and received bytes may also be referred to as traffic.
  • the collection time when collecting the sum of the channel utilization rate and the number of transmitted and received bytes, the collection time is also recorded.
  • the channel availability rate corresponding to the i-th acquisition is the difference between 1 and the channel utilization rate of the i-th acquisition, and i is an integer greater than or equal to 1.
  • the channel usage information includes: flow rate.
  • W ij is the sum of the number of transmitted and received bytes of the j-th service type collected at the i-th time
  • W (i-1)j is the sum of the number of transmitted and received bytes of the j-th service type collected at the (i-1) time
  • T i is the i th collection corresponding acquisition time
  • T i-1 for the first (i-1) corresponding to the acquisition time acquisitions.
  • the channel usage information includes: bandwidth utilization.
  • the bandwidth utilization rate of the j-th service type corresponding to the i-th collection is the ratio of the flow rate and the maximum bandwidth of the j-th service type corresponding to the i-th collection.
  • the maximum bandwidth can be the maximum bandwidth of the link, the maximum physical bandwidth, and the actual Any one of the maximum bandwidths, or other maximum bandwidths.
  • the following manners can be used to implement the step of determining the busy period and the idle period of the service according to the channel usage information of part or all of the channels obtained in at least one period:
  • the collection time is in the idle period; two adjacent collection times in the idle period are determined The time period between is in the idle period;
  • the time period between the adjacent collection time in the busy period and the collection time in the idle period is in the busy period, or in the idle period, or part of it is in the busy period and the other part is in the idle period.
  • the average value of channel usage information corresponding to all service types of some or all channels when calculating the average value of channel usage information corresponding to all service types of some or all channels, first calculate the weighted average value of channel usage information corresponding to all service types of each channel, and then calculate the average value of all channels.
  • the average of the weighted average E.g, A j is the weight of the j-th service type, and B kj is the channel usage information of the j-th service type on channel k.
  • the following manners can be used to implement the step of determining the optimal channel in the busy period according to the channel availability and channel usage information of some or all of the channels obtained during the busy period of at least one cycle:
  • calculating the average value of the channel availability rate obtained during the busy period of at least one cycle according to the channel availability rate obtained during the busy period of at least one cycle and the channel usage information corresponding to all service types includes: The weighted average value of the channel usage information corresponding to the type is used as the weight to calculate the weighted average value of the channel availability obtained during the busy period of at least one cycle.
  • the average value P kn of the channel availability rate obtained by the channel k in the nth busy period of at least one cycle is: A j is the weight of the j-th service type, B knmij is the channel usage information of the j-th service type collected for the i-th time during the n-th busy period of the m-th cycle, and U knmi is the channel k in the n-th busy period.
  • an electronic device which includes:
  • At least one processor At least one processor
  • the memory has at least one program stored thereon, and when the at least one program is executed by the at least one processor, the at least one processor is caused to implement the aforementioned WiFi channel optimization method.
  • a processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; a memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR) Etc.), read-only memory (ROM), charged erasable programmable read-only memory (EEPROM), flash memory (FLASH).
  • RAM random access memory
  • ROM read-only memory
  • EEPROM charged erasable programmable read-only memory
  • FLASH flash memory
  • the processor and the memory are connected to each other through a bus, and further connected to other components of the computing device.
  • embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the WiFi channel optimization method described above.
  • FIG. 2 is a block diagram of the composition of a communication channel optimization device according to an embodiment of the disclosure.
  • an embodiment of the present disclosure provides a communication channel optimization device, which can be set in an access point (AP, Access Point), or set outside the AP as an independent device.
  • the communication channel optimization device include:
  • the acquiring module 201 is configured to acquire the channel availability and channel usage information of some or all of the channels located in the working frequency band in at least one cycle;
  • the busy period and idle period dividing module 202 is configured to determine the busy period of the service according to the channel usage information of part or all of the channels obtained in at least one period;
  • the optimal channel determining module 203 is configured to determine the optimal channel in the busy period according to the channel availability and channel usage information of some or all of the channels obtained during the busy period of at least one cycle.
  • the busy period and idle period dividing module 202 is further configured to:
  • the idle period of the service is determined according to the channel usage information of part or all of the channels obtained in at least one period; the communication channel optimization device further includes:
  • the optimal channel switching module 204 is configured to switch the working channel to the optimal channel in the next busy period during the idle period.
  • the optimal channel switching module 204 is further configured to:
  • the working channel is switched to the optimal channel of the next busy period in the idle period.
  • the channel usage information includes: flow rate; or, bandwidth utilization.
  • the channel is a critical channel.
  • the channel usage information includes: channel usage information corresponding to at least one service type
  • the obtaining module 201 is configured as:
  • the obtaining module 201 is configured to:
  • the busy period and idle period dividing module 202 is configured to:
  • the optimal channel determination module 203 is configured to:
  • the optimal channel determining module 203 is configured to calculate the channel obtained during the busy period of at least one cycle according to the channel availability and channel usage information of the channel obtained during the busy period of at least one cycle in the following manner: The average of the channel availability rate:
  • the specific implementation process of the foregoing communication channel optimization apparatus is the same as the specific implementation process of the communication channel optimization method of the foregoing embodiment, and will not be repeated here.
  • the AP’s wireless module has a single antenna. Due to hardware limitations, it can only monitor the channel utilization of the WiFi channel it uses. For this situation, the channels of different channels are collected by periodically switching channels. Utilization rate.
  • the data acquisition module and the analysis module may be AP management equipment, such as an automatic configuration server (ACS, Automatic Configuration Server), and the data acquisition module performs data acquisition and configuration modification on the AP through the TR-069 protocol.
  • ACS Automatic Configuration Server
  • the data analysis cycle (that is, the cycle described above) is a natural day (24 hours);
  • Monitoring period that is, the period for channel optimization, which is not given in the above description: 7 days.
  • the WiFi channel optimization process is as follows.
  • the data collection module uses TR-069 protocol for parameter configuration and data collection in the following ways; specifically,
  • W ki is the sum of the transmitted and received bytes of the i-th acquisition of channel k
  • W k(i-1) is the (i-1)-th acquisition of channel k bytes and the number of transceivers
  • T i is the i th acquisition acquisition time
  • T i -1 for the first (i-1) times the acquisition time of acquisition
  • the channel availability U ki of the ith acquisition of channel k is the difference between 1 and the channel utilization of the ith acquisition of channel k;
  • the analysis module performs the following data analysis:
  • the acquisition time if the average WiFi flow rate of the acquisition time is greater than or equal to the first preset threshold, it is determined that the acquisition time is in the busy period; it is determined that the time period between two adjacent acquisition times in the busy period is in the busy period.
  • the acquisition time if the average WiFi flow rate of the acquisition time is less than the first preset threshold, it is determined that the acquisition time is in the idle period; it is determined that the time period between two adjacent acquisition times in the idle period is in the idle period ;
  • the 24 hours a day is divided into several time periods, each of which is a busy period or an idle period;
  • channel k collection time, WiFi flow rate and channel availability, and divide each piece of data into busy or idle periods according to the collection time;
  • V knmi is the WiFi flow rate corresponding to the i-th acquisition of channel k during the n-th busy period of the m-th cycle
  • U knmi is the channel corresponding to the i-th acquisition of channel k during the n-th busy period of the m-th cycle
  • Availability rate Q n is the number of acquisitions in the nth busy period, and the number of acquisitions can be the difference between the maximum acquisition sequence number and the minimum acquisition sequence number of channel k in the nth busy period of the mth cycle;
  • an optimal channel table in the 2.4G frequency band is shown in Table 2.
  • the two busy periods and the idle period between these two busy periods are combined into one large busy period.
  • the peak period of the 2.4G frequency band above The combined optimal channel table is shown in Table 3.
  • Channel switching Set the working channel of the AP according to the optimal channel obtained above, and generate a periodic execution strategy. For example, it is now 5 o'clock, which is the idle period, the current channel is 11, and the next busy period (6:00- The optimal channel of 8:00) is 1, and the working channel is switched to channel 1 at this time.
  • the AP's wireless module has multiple antennas and supports any antenna to detect the channel utilization of channels not used by the AP.
  • the data acquisition module and the analysis module are software modules of the AP, and the wireless module of the AP is used for data acquisition and configuration modification through the C or Java application program interface (API, Application Interface).
  • API Java application program interface
  • the data analysis cycle is a natural day (24 hours);
  • the WiFi channel optimization process is as follows.
  • W ki is the sum of the transmitted and received bytes of the i-th acquisition of channel k
  • W k(i-1) is the (i-1)-th acquisition of channel k
  • T i is the acquisition time of the i-th acquisition
  • T i -1 is the acquisition time of the (i-1)th acquisition
  • the channel availability U ki of the ith acquisition of channel k is the difference between 1 and the channel utilization of the ith acquisition of channel k;
  • the analysis module performs the following data analysis:
  • the acquisition time if the average WiFi flow rate of the acquisition time is greater than or equal to the first preset threshold, it is determined that the acquisition time is in the busy period; it is determined that the time period between two adjacent acquisition times in the busy period is in the busy period.
  • the acquisition time if the average WiFi flow rate of the acquisition time is less than the first preset threshold, it is determined that the acquisition time is in the idle period; it is determined that the time period between two adjacent acquisition times in the idle period is in the idle period ;
  • the 24 hours a day is divided into several time periods, each of which is a busy period or an idle period;
  • channel k collection time, WiFi flow rate and channel availability, and divide each piece of data into busy or idle periods according to the collection time;
  • V knmi is the WiFi flow rate corresponding to the i-th acquisition of channel k in the n-th busy period on the m-th day
  • U knmi is the channel availability rate corresponding to the i-th acquisition of channel k in the n-th busy period on the m-th day
  • Q n is the number of acquisitions in the nth busy period, and the number of acquisitions can be the difference between the maximum and minimum acquisition sequence numbers in the nth busy period;
  • an optimal channel table for 2.4G frequency band is shown in Table 5.
  • Channel switching Set the AP's working channel according to the optimal channel obtained above, and generate a periodic execution strategy. For example, it is 5 o'clock, it is the idle period, the current channel is 11, and the optimal channel for the next busy period (6:00-8:00) is 1, if it is detected that the AP has no device connected to it, or the number of bytes sent and received When the sum is less than the second preset threshold, the working channel is switched to channel 1.
  • Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium).
  • the term computer storage medium includes volatile and non-volatile memory implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media.
  • Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, tape, magnetic disk storage or other magnetic storage device, or Any other medium used to store desired information and that can be accessed by a computer.
  • a communication medium usually contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium. .

Landscapes

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

Abstract

本公开提供了一种通信信道优化方法,包括:获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息;根据至少一个周期内获得的所述部分或全部信道的信道使用信息确定业务的繁忙期;根据至少一个周期的繁忙期内获得的所述部分或全部信道的信道可用率和信道使用信息确定所述繁忙期的最优信道。本公开还提供了一种通信信道优化装置、一种电子设备、及一种计算机可读存储介质。

Description

通信信道优化方法和装置、电子设备、存储介质
相关申请的交叉引用
本申请要求于2020年5月19日提交的中国专利申请NO.202010427896.7的优先权,该中国专利申请的内容通过引用的方式整体合并于此。
技术领域
本公开涉及通信领域,特别涉及通信信道优化方法和装置、电子设备、计算机可读存储介质。
背景技术
自从1997年电气和电子工程师协会(IEEE,Institute of Electrical and Electronics Engineers)801.11无线标准发布以来,无线局域网(WLAN,Wireless Local Area Networks)就广泛被市场接受,迅速发展成为家庭网络、企业内部网络以及公众接入网络的主流技术。
WLAN也被称为WiFi,使用了2个频段,即2.4G和5.8G,这2个频段都是非授权频段,只要符合国家法规,不经授权就可使用。简单说就是,在家里安装无线路由器是不需要任何单位审批的,不需要授权即可使用,也就意味着需要和邻居共享空中的信道,因此很容易受到干扰。
发明内容
第一方面,本公开实施例提供一种通信信道优化方法,其包括:
获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息;
根据至少一个周期内获得的所述部分或全部信道的信道使用信 息确定业务的繁忙期;
根据至少一个周期的繁忙期内获得的所述部分或全部信道的信道可用率和信道使用信息确定所述繁忙期的最优信道。
第二方面,本公开实施例提供一种电子设备,其包括:
至少一个处理器;
存储器,其上存储有至少一个程序,当所述至少一个程序被所述至少一个处理器执行时,使得所述至少一个处理器执行上述的通信信道优化方法。
第三方面,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述的通信信道优化方法。
第四方面,本公开实施例提供一种通信信道优化装置,包括:
获取模块,配置为获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息;
繁忙期及空闲期划分模块,配置为根据至少一个周期内获得的部分或全部信道的信道使用信息确定业务的繁忙期;以及
最优信道确定模块,配置为根据至少一个周期的繁忙期内获得的部分或全部信道的信道可用率和信道使用信息确定该繁忙期的最优信道。
附图说明
图1为本公开实施例提供的一种通信信道优化方法的流程图;
图2为本公开实施例提供的一种通信信道优化装置的组成框图;
图3为本公开实施例的示例1提供的通信信道优化装置的组成框图;以及
图4为本公开实施例的示例2提供的通信信道优化装置的组成框图。
具体实施方式
为使本领域的技术人员更好地理解本公开的技术方案,下面结 合附图对本公开提供的通信信道优化方法和装置、电子设备、计算机可读存储介质进行详细描述。
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现且不应当被解释为限于本文阐述的实施例。提供这些示例实施例的目的在于使本公开透彻和完整,并使本领域技术人员充分理解本公开的范围。
在不冲突的情况下,本公开各实施例及实施例中的各特征可相互组合。
如本文所使用的,术语“和/或”包括至少一个相关列举条目的任何和所有组合。
本文所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在特定特征、整体、步骤、操作、元件和/或组件,但不排除存在或可添加至少一个其它特征、整体、步骤、操作、元件、组件和/或其群组。
除非另外限定,否则本文所用的所有术语(包括技术术语和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。
针对WiFi邻频和同频干扰严重的问题,业界在WiFi信道的优化方面已经开发了一些相关技术,如相邻接入点(AP,Access Point)诊断,这个相邻AP诊断功能可以让AP发现邻居AP的相关信息,根据邻居AP对信道的占用情况来选择自身的信道。然而,由于相邻AP诊断会影响WiFi业务,所以AP通常在启动时检测相邻AP,然后选择一个最优信道,这样的缺点也很明显,启动时最优的信道并不会一直最优。
针对上面方案的缺陷,业界又提出了动态信道选择(DCS,Dynamic Channel Selection),AP在工作时,按照预定规则,检测 周围无线电环境,然后根据检测结果切换信道。具体的检测方法有以下两种:方法1,AP在正常使用业务时也会抽取一些时隙进行相邻AP检测,该方法的缺点是,抽取一部分时隙进行相邻AP检测会降低本AP的WiFi传输性能;方法2,使用专用天线来检测周围无线电环境,然后根据检测结果进行信道切换,这种方法的缺点是这根专用天线不能用作数据传输。
上述方法都是实时检测当前哪个信道最空闲,如果当前使用的信道不是最优信道,且业务空闲就切换。由于切换信道会导致网络中断,因此在业务繁忙时不能切换信道,以免影响用户业务体验,然而,在WiFi业务空闲时检测出来的最优信道,在WiFi业务繁忙时未必是最优的。
综上,上述WiFi信道优化方法精度较低。
本公开实施例虽然是基于WiFi信道优化方法中存在的问题提出的方法,但本公开实施例提出的方法同样适用于其他通信信道的优化。
图1为本公开实施例的通信信道优化方法的流程图。
第一方面,参照图1,本公开实施例提供一种通信信道优化方法,包括以下步骤100至102。
步骤100、获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息。
步骤101、根据至少一个周期内获得的部分或全部信道的信道使用信息确定业务的繁忙期。
步骤102、根据至少一个周期的繁忙期内获得的部分或全部信道的信道可用率和信道使用信息确定所述繁忙期的最优信道。
本公开实施例提供的通信信道优化方法中,先基于至少一个周期内获得的部分或全部信道的信道使用信息获得了业务的繁忙期,也就是总结了用户对信道的历史使用规律,再基于至少一个周期的繁忙期内获得的部分或全部信道的信道可用率和信道使用信息获得了繁忙期的最优信道,也就是基于用户对信道的实际占用情况及历史使用规律来获得最优信道,由于信道优化过程是基于繁忙期内用户对信道的实际占用情况来进行的,提高了信道优化精度。
在一些实施方式中,获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息之后,所述通信信道优化方法还包括:
根据至少一个周期内获得的部分或全部信道的信道使用信息确定所述业务的空闲期;在空闲期内将工作信道切换为下一个繁忙期的最优信道。
在一些实施方式中,可以在空闲期内的任意一个时刻将工作信道切换为下一个繁忙期的最优信道。
在一些实施方式中,当所述空闲期的上一个繁忙期的最优信道与所述空闲期的下一个繁忙期的最优信道不同时,在该空闲期内将工作信道切换为下一个繁忙期的最优信道;
当所述空闲期的上一个繁忙期的最优信道与所述空闲期的下一个繁忙期的最优信道相同时,在该空闲期内不进行工作信道的切换。
在一些实施方式中,在检测到AP没有下挂设备之后,在所述空闲期内将工作信道切换为下一个繁忙期的最优信道。
在一些实施方式中,在判断出所述空闲期内的一段时间内收发字节数之和小于第二预设阈值之后,在该空闲期内将工作信道切换为下一个繁忙期的最优信道。
本公开实施例仅在空闲期内进行工作信道的切换,在繁忙期内不进行工作信道的切换,在不影响业务正常的情况下,保证每一个繁忙期工作于最优信道,从而进一步提高了通信信道的优化效率。
在一些实施方式中,信道可以是指WiFi信道。
当然,信道也可以是指其他任意一种通信信道。
在一些实施方式中,信道可以是指位于工作频段内的任意信道。例如,对于2.4G,有11个WiFi信道,本公开实施例的信道可以是这11个WiFi信道中的任意一个或一个以上。
在一些实施方式中,信道可以是指位于工作频段内的关键信道,关键信道是指工作频段内不会互相产生邻频干扰的信道。例如,对于2.4G,有11个WiFi信道,互不干扰的信道是1、6、11。使用关键信道进行优化有效减少了信道冲突概率,降低了同频和邻频的干扰, 提升了业务传输性能和用户业务体验。
在一些实施方式中,信道使用信息可以包括:流速。
在一些实施方式中,信道使用信息可以包括:带宽利用率。
当然,信道使用信息也可以包括其他的信息。
在一些实施方式中,信道可用率为1和信道利用率的差值。
在一些实施方式中,信道利用率是指空中信道因为噪声干扰或其他设备占用,导致本设备不能使用该信道的比率。也就是说,信道利用率是不包含本设备对空中信道的占用率的。
在一些实施方式中,信道的信道可用率可以是指信道处于工作状态时的信道可用率。在一些实施方式中,由于信道(即主要工作信道)不会单独工作,往往会联合该信道的至少一个邻频(即辅助工作信道)一起工作,例如,对应2.4G的11个WiFi信道,通常,1号信道处于工作状态时,2号信道和3号信道也处于工作状态,1号信道为主要工作信道,2号信道和3号信道为辅助工作信道;同样,6号信道处于工作状态时,4号信道、5号信道、7号信道也处于工作状态,6号信道为主要工作信道,4号信道、5号信道、7号信道为辅助工作信道;同样,11号信道处于工作状态时,8号信道、9号信道、10号信道(在某些场景下还包括12号信道和13号信道)也处于工作状态,11号信道为主要工作信道,8号信道、9号信道、10号信道(在某些场景下还包括12号信道和13号信道)为辅助工作信道;因此,信道的信道可用率也可以是指主要工作信道和辅助工作信道的信道可用率之和。
在一些实施方式中,信道使用信息可以是指信道处于工作状态时的信道使用信息。在一些实施方式中,由于信道(即主要工作信道)不会单独工作,往往会联合该信道的至少一个邻频(即辅助工作信道)一起工作,因此,信道使用信息也可以是指主要工作信道和辅助工作信道的使用信息。
在一些实施方式中,信道使用信息包括:所有业务类型对应的信道使用信息。在一些实施例中,信道使用信息包括:至少一种业务类型对应的信道使用信息。下面分别描述这两种情况的实现过程。
情况一、信道使用信息包括:所有业务类型对应的信道使用信息。
对于情况一,在获取信道使用信息的过程中是不区分数据报文的业务类型的。
对于情况一,在一些实施方式中,可以采用以下方式实现获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息的步骤:
在每一个周期内周期性采集位于工作频段的部分或全部信道的信道利用率、收发字节数之和;根据采集的信道利用率确定采集对应的信道可用率,根据采集的收发字节数之和确定集对应的信道使用信息。
在一些实施方式中,收发字节数之和也可以称为流量。
在一些实施方式中,在采集信道利用率和收发字节数之和时,还记录采集时间。
在一些实施方式中,第i次采集对应的信道可用率为1和第i次采集的信道利用率的差值,i为大于或等于1的整数。
在一些实施方式中,信道使用信息包括:流速。
第i次采集对应的流速V i
Figure PCTCN2021094591-appb-000001
W i为第i次采集的收发字节数之和,W i-1为第(i-1)次采集的收发字节数之和,T i为第i次采集对应的采集时间,T i-1为第(i-1)次采集对应的采集时间。
在一些实施方式中,信道使用信息包括:带宽利用率。
第i次采集对应的带宽利用率为第i次采集对应的流速和最大带宽的比值,该最大带宽可以是链路最大带宽、物理最大带宽、实际最大带宽中的任意一个,或为其他最大带宽。
对于情况一,在一些实施方式中,可以采用以下方式实现根据获得的部分或全部信道的信道使用信息确定业务的繁忙期和空闲期的步骤:
计算不同周期内同一采集时间对应的部分或全部信道的信道使用信息的平均值;当采集时间对应的部分或全部信道的信道使用信息 的平均值大于或等于第一预设阈值时,确定所述采集时间位于繁忙期内;确定位于所述繁忙期内的相邻两个采集时间之间的时间段位于所述繁忙期内;
当采集时间对应的部分或全部信道的信道使用信息的平均值小于第一预设阈值时,确定所述采集时间位于空闲期;确定位于空闲期内的相邻两个采集时间之间的时间段位于空闲期内;
确定相邻的位于繁忙期内的采集时间和位于空闲期内的采集时间之间的时间段位于繁忙期内,或位于空闲期内,或一部分位于繁忙期内,另一部分位于空闲期内。
对于情况一,在一些实施方式中,可以采用以下方式实现根据至少一个周期的繁忙期内获得的部分或全部信道的信道可用率和信道使用信息确定繁忙期的最优信道的步骤:
根据至少一个周期的繁忙期内获得的信道的信道可用率和信道使用信息计算至少一个周期的所述繁忙期内获得的信道的所述信道可用率的平均值;确定所述信道可用率的平均值最大的信道为所述繁忙期的最优信道。
在一些实施方式中,根据至少一个周期的繁忙期内获得的信道的信道可用率和信道使用信息计算至少一个周期的繁忙期内获得的信道的信道可用率的平均值包括:将所述信道使用信息作为权重计算至少一个周期的繁忙期内获得的信道的信道可用率的加权平均值。
在一些实施方式中,信道k在至少一个周期的第n个繁忙期内获得的信道可用率的平均值P kn为:
Figure PCTCN2021094591-appb-000002
B knmi为信道k在第m个周期的第n个繁忙期内第i次采集对应的信道使用信息,U knmi为信道k在第m个周期的第n个繁忙期内第i次采集对应的信道可用率,Q n为第n个繁忙期内的采集次数,M为周期个数。
情况二、信道使用信息包括:至少一种业务类型对应的信道使用信息。
对于情况二,在获取信道使用信息的过程中需要区分数据报文 的业务类型的。
对于情况二,在一些实施方式中,可以采用以下方式实现获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息的步骤:
在每一个周期内周期性采集位于工作频段的部分或全部信道的信道利用率、所述业务类型对应的收发字节数之和;根据采集的信道利用率确定该次采集对应的所述信道可用率;根据采集的述业务类型的所述收发字节数之和确定该次采集对应的该种业务类型的所述信道使用信息。
在一些实施方式中,收发字节数之和也可以称为流量。
在一些实施方式中,在采集信道利用率和收发字节数之和时,还记录采集时间。
在一些实施方式中,第i次采集对应的信道可用率为1和第i次采集的信道利用率的差值,i为大于或等于1的整数。
在一些实施方式中,信道使用信息包括:流速。
第i次采集对应的第j种业务类型的流速V ij
Figure PCTCN2021094591-appb-000003
W ij为第i次采集的第j种业务类型的收发字节数之和,W (i-1)j为第(i-1)次采集的第j种业务类型的收发字节数之和,T i为第i次采集对应的采集时间,T i-1为第(i-1)次采集对应的采集时间。
在一些实施方式中,信道使用信息包括:带宽利用率。
第i次采集对应的第j种业务类型的带宽利用率为第i次采集对应的第j种业务类型的流速和最大带宽的比值,该最大带宽可以是链路最大带宽、物理最大带宽、实际最大带宽中的任意一个,或为其他最大带宽。
对于情况二,在一些实施方式中,可以采用以下方式实现根据至少一个周期内获得的部分或全部信道的信道使用信息确定业务的繁忙期和空闲期的步骤:
计算不同周期内同一采集时间对应的部分或全部信道的所有业务类型对应的信道使用信息的平均值;当采集时间对应的部分或全部 信道的所有业务类型对应的信道使用信息的平均值大于或等于第一预设阈值时,确定所述采集时间位于所述繁忙期内;确定位于所述繁忙期内的相邻两个采集时间之间的时间段位于所述繁忙期内;
当采集时间对应的部分或全部信道的所有业务类型对应的信道使用信息的平均值小于第一预设阈值时,确定所述采集时间位于空闲期;确定位于空闲期内的相邻两个采集时间之间的时间段位于空闲期内;
确定相邻的位于繁忙期内的采集时间和位于空闲期内的采集时间之间的时间段位于繁忙期内,或位于空闲期内,或一部分位于繁忙期内,另一部分位于空闲期内。
在一些实施方式中,在计算部分或全部信道的所有业务类型对应的信道使用信息的平均值时,先计算每一个信道的所有业务类型对应的信道使用信息的加权平均值,再计算所有信道的加权平均值的平均值。例如,
Figure PCTCN2021094591-appb-000004
A j为第j种业务类型的权重,B kj为信道k的第j种业务类型的信道使用信息。
对于情况二,在一些实施方式中,可以采用以下方式实现根据至少一个周期的繁忙期内获得的部分或全部信道的信道可用率和信道使用信息确定该繁忙期的最优信道的步骤:
根据至少一个周期的繁忙期内获得的信道的所述信道可用率和所有业务类型对应的所述信道使用信息计算至少一个周期的繁忙期内获得的信道的信道可用率的平均值;确定所述信道可用率的平均值最大的信道为该繁忙期的最优信道。
在一些实施方式中,根据至少一个周期的繁忙期内获得的信道可用率和所有业务类型对应的信道使用信息计算至少一个周期的该繁忙期内获得的信道可用率的平均值包括:将所有业务类型对应的所述信道使用信息的加权平均值作为权重计算至少一个周期的该繁忙期内获得的信道可用率的加权平均值。
在一些实施方式中,信道k在至少一个周期的第n个所述繁忙期内获得的所述信道可用率的平均值P kn为:
Figure PCTCN2021094591-appb-000005
A j为第j种业务类型的权重,B knmij为信道k在第m个周期的第n个繁忙期内第i次采集对应的第j种业务类型的信道使用信息,U knmi为信道k在第m个周期的第n个繁忙期内第i次采集对应的信道可用率,Q n为第n个繁忙期内的采集次数,M为周期的个数。
第二方面,本公开实施例提供一种电子设备,其包括:
至少一个处理器;
存储器,其上存储有至少一个程序,当所述至少一个程序被所述至少一个处理器执行时,使得所述至少一个处理器实现上述的WiFi信道优化方法。
处理器为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH)。
在一些实施方式中,处理器、存储器通过总线相互连接,进而与计算设备的其它组件连接。
第三方面,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述的WiFi信道优化方法。
图2为本公开实施例的通信信道优化装置的组成框图。
第四方面,参照图2,本公开实施例提供一种通信信道优化装置,可以设置在接入点(AP,Access Point)中,也可以设置在AP外作为独立的设备,该通信信道优化装置包括:
获取模块201,配置为获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息;
繁忙期及空闲期划分模块202,配置为根据至少一个周期内获得的部分或全部信道的信道使用信息确定业务的繁忙期;以及
最优信道确定模块203,配置为根据至少一个周期的繁忙期内获得的部分或全部信道的信道可用率和信道使用信息确定该繁忙期的最优信道。
在一些实施方式中,繁忙期及空闲期划分模块202还配置为:
根据至少一个周期内获得的部分或全部信道的信道使用信息确定所述业务的空闲期;所述通信信道优化装置还包括:
最优信道切换模块204,配置为在空闲期内将工作信道切换为下一个繁忙期的最优信道。
在一些实施方式中,最优信道切换模块204还配置为:
当空闲期的上一个繁忙期的最优信道与所述空闲期的下一个繁忙期的最优信道不同时,在该空闲期内将工作信道切换为下一个繁忙期的最优信道。
在一些实施方式中,所述信道使用信息包括:流速;或者,带宽利用率。
在一些实施方式中,所述信道为关键信道。
在一些实施方式中,所述信道使用信息包括:至少一种业务类型对应的信道使用信息;
获取模块201配置为:
在每一个周期内周期性采集位于工作频段的部分或全部信道的信道利用率、所述业务类型对应的收发字节数之和;根据采集的信道利用率确定该次采集对应的所述信道可用率;根据采集的业务类型的所述收发字节数之和确定该次采集对应的该种业务类型的所述信道使用信息。
在一些实施方式中,获取模块201配置为:
在每一个周期内周期性采集位于工作频段的部分或全部信道的信道利用率、收发字节数之和;根据采集的信道利用率确定该次采集对应的所述信道可用率,根据采集的收发字节数之和确定该次采集对应的所述信道使用信息。
在一些实施方式中,繁忙期及空闲期划分模块202配置为:
计算不同周期内同一采集时间对应的部分或全部信道的信道使 用信息的平均值;当采集时间对应的部分或全部信道的所述信道使用信息的平均值大于或等于第一预设阈值时,确定所述采集时间位于所述繁忙期内;确定位于所述繁忙期内的相邻两个采集时间之间的时间段位于所述繁忙期内。
在一些实施方式中,最优信道确定模块203配置为:
根据至少一个周期的繁忙期内获得的信道的所述信道可用率和所述信道使用信息计算至少一个周期的该繁忙期内获得的信道的所述信道可用率的平均值;确定所述信道可用率的平均值最大的信道为该繁忙期的最优信道。
在一些实施方式中,最优信道确定模块203配置为采用以下方式实现所述根据至少一个周期的繁忙期内获得的信道的信道可用率和信道使用信息计算至少一个周期的繁忙期内获得的信道的信道可用率的平均值:
将所述信道使用信息作为权重计算至少一个周期的所述繁忙期内获得的所述信道的信道可用率的加权平均值。
上述通信信道优化装置的具体实现过程与前述实施例的通信信道优化方法的具体实现过程相同,这里不再赘述。
下面列举具体示例详细说明本公开实施例的通信信道优化方法的具体实现过程,所列举示例仅仅是为了说明方便,不用于限定本公开实施例的保护范围。
示例1
如图3所示,AP的无线模块具有单天线,由于硬件能力限制,只能监测自身使用的WiFi信道的信道利用率,针对这种情况,通过周期性切换信道的方式来采集不同信道的信道利用率。
数据采集模块和分析模块可以是AP的管理设备,例如自动配置服务器(ACS,Automatic Configuration Server),数据采集模块通过TR-069协议对AP进行数据采集和配置修改。
相关参数配置如下:
1、数据分析周期(也就是以上所描述的周期)为自然日(24小时);
2、关键信道列表:C1、C2、…、Cn;
3、数据采集周期(该周期在以上描述中没有给出):60秒;
4、监测周期(也就是进行信道优化的周期,该周期在以上描述中没有给出):7天。
WiFi信道优化过程如下。
1、数据采集:数据采集模块通过TR-069协议采用如下方式进行参数配置和数据采集;具体的,
1)设置AP的信道为C k(k=1);
2)每分钟采集一次AP的信道利用率、收发字节数之和,记录下采集时间T i(i为对这个信道的采集序号);
按照公式
Figure PCTCN2021094591-appb-000006
计算信道k的第i次采集的WiFi流速,W ki为信道k的第i次采集的收发字节数之和,W k(i-1)为信道k的第(i-1)次采集的收发字节数之和,T i为第i次采集的采集时间,T i -1为第(i-1)次采集的采集时间;
信道k的第i次采集的信道可用率U ki为1和信道k的第i次采集的信道利用率的差值;
3)采集7天后,设置信道为下一个关键信道C k+1,重复2),直到采集完成所有的N个关键信道。
通过以上采集,最终得到了这N个关键信道7天的数据(WiFi流速和信道可用率)。
2.4G频段采集的数据样例如表1所示。
Figure PCTCN2021094591-appb-000007
Figure PCTCN2021094591-appb-000008
表1
2、分析模块进行如下数据分析:
(1)分析用户的WiFi使用习惯;
将这7×N天每天得到的WiFi流速按照采集时间对齐;计算同一采集时间的WiFi流速的平均值,得到平均WiFi流速在一天内的变化;
对于采集时间,如果该采集时间的平均WiFi流速大于或等于第一预设阈值,则确定该采集时间位于繁忙期内;确定相邻两个位于繁忙期内的采集时间之间的时间段位于繁忙期内;
对于采集时间,如果该采集时间的平均WiFi流速小于第一预设阈值,则确定该采集时间位于空闲期内;确定相邻两个位于空闲期内的采集时间之间的时间段位于空闲期内;
确定相邻的位于繁忙期内的采集时间和位于空闲期内的采集时间之间的时间段位于繁忙期内;
通过上述分析,将一天24小时划分为若干段时间段,每一段时间段分别是繁忙期或空闲期;
(2)分析每一个繁忙期的最优信道;
取信道k的数据:采集时间、WiFi流速和信道可用率,按照采集时间把每一条数据划分到繁忙期或空闲期;
计算信道k在第m天的第n个繁忙期内获得的信道可用率的加权平均值P kmn为:
Figure PCTCN2021094591-appb-000009
V knmi为信道k在第m个周期的第 n个繁忙期内第i次采集对应的WiFi流速,U knmi为信道k在第m个周期的第n个繁忙期内第i次采集对应的信道可用率,Q n为第n个繁忙期内的采集次数,该采集次数可以是信道k在第m个周期的第n个繁忙期内的最大采集序号和最小采集序号之差;
计算信道k在这7天的第n个繁忙期内获得的信道可用率的加权平均值的平均值P kn=P kmn/M,M为监测周期,也就是7;
比较这N个关键信道在相同繁忙期内的平均信道可用率P kn,P kn最高的关键信道就是这个繁忙期的最优信道;
重复上述步骤分别得到每个繁忙期的最优信道,即繁忙期最优信道表,例如,一个2.4G频段的最优信道表如表2所示。
开始时间 结束时间 最优信道号
6:00:00 7:00:00 1
7:30:00 8:00:00 1
11:00:00 13:00:00 6
18:00:00 23:38:00 11
表2
如果两个相邻的繁忙期的最优信道相同,则将这两个繁忙期以及这两个繁忙期之间的空闲期合并成一个大的繁忙期,例如,上面2.4G频段的繁忙期最优信道表合并后如表3所示。
Figure PCTCN2021094591-appb-000010
表3
3、信道切换:根据前面得到的最优信道设置AP的工作信道,生成一个周期执行的策略,例如,现在是5点,是空闲期,当前信道是11,下一个繁忙期(6:00-8:00)的最优信道是1,此时将工作信道切换为信道1。
示例2
如图4所示,AP的无线模块具有多根天线,支持通过任意天线 检测本AP未使用的信道的信道利用率。
数据采集模块和分析模块是AP的软件模块,通过C或Java应用程序接口(API,Application Interface)对AP的无线模块进行数据采集和配置修改。
相关参数配置如下:
1、数据分析周期为自然日(24小时);
2、关键信道列表:C1、C2、…、Cn;
3、数据采集周期:60秒;
4、监测周期:7天。
WiFi信道优化过程如下。
1、数据采集:
1)设置一根或一根以上天线专用于监听本AP未使用的信道的信道利用率;
2)每分钟采集一次AP的所有监听的信道的信道利用率、收发字节数之和,记录下采集时间T i(i为对这个信道的采集序号);
按照公式
Figure PCTCN2021094591-appb-000011
计算信道k的第i次采集的WiFi流速,W ki为信道k的第i次采集的收发字节数之和,W k(i-1)为信道k的第(i-1)次采集的收发字节数之和,T i为第i次采集的采集时间,T i -1为第(i-1)次采集的采集时间;
信道k的第i次采集的信道可用率U ki为1和信道k的第i次采集的信道利用率的差值;
3)采集7天后,得到了这N个关键信道7天的数据(WiFi流速和信道可用率)。
2.4G频段采集的数据样例如表4所示。
Figure PCTCN2021094591-appb-000012
表4
2、分析模块进行如下数据分析:
(1)分析用户的WiFi使用习惯;
将这7×N天每天得到的WiFi流速按照采集时间对齐;计算同一采集时间的WiFi流速的平均值,得到平均WiFi流速在一天内的变化;
对于采集时间,如果该采集时间的平均WiFi流速大于或等于第一预设阈值,则确定该采集时间位于繁忙期内;确定相邻两个位于繁忙期内的采集时间之间的时间段位于繁忙期内;
对于采集时间,如果该采集时间的平均WiFi流速小于第一预设阈值,则确定该采集时间位于空闲期内;确定相邻两个位于空闲期内的采集时间之间的时间段位于空闲期内;
确定相邻的位于繁忙期内的采集时间和位于空闲期内的采集时间之间的时间段位于繁忙期内;
通过上述分析,将一天24小时划分为若干段时间段,每一段时间段分别是繁忙期或空闲期;
(2)分析每一个繁忙期的最优信道;
取信道k的数据:采集时间、WiFi流速和信道可用率,按照采集时间把每一条数据划分到繁忙期或空闲期;
计算信道k在第m天的第n个繁忙期内获得的信道可用率的加权平均值P kmn为:
Figure PCTCN2021094591-appb-000013
V knmi为信道k在第m天的第n个繁忙期内第i次采集对应的WiFi流速,U knmi为信道k在第m天的第n个繁忙期内第i次采集对应的信道可用率,Q n为第n个繁忙期内的采集次数,该采集次数可以是第n个繁忙期内的最大采集序号和最小采集序号之差;
计算信道k在这7天的第n个繁忙期内获得的信道可用率的加权平均值的平均值P kn=P kmn/M,M为监测周期,也就是7;
比较这N个关键信道在相同繁忙期内的平均信道可用率P kn,P kn最高的关键信道就是这个繁忙期的最优信道;
重复上述步骤分别得到每个繁忙期的最优信道,即繁忙期最优信道表。例如,一个2.4G频段的最优信道表如表5所示。
开始时间 结束时间 最优信道号
6:00:00 8:00:00 1
11:00:00 13:00:00 6
18:00:00 23:38:00 11
表5
3、信道切换:根据前面得到的最优信道设置AP的工作信道,生成一个周期执行的策略。例如,现在是5点,是空闲期,当前信道是11,下一个繁忙期(6:00-8:00)的最优信道是1,如果检测到AP没有下挂设备,或收发字节数之和小于第二预设阈值时,将工作信道切换为信道1。
本领域普通技术人员可以理解,上文中所公开的方法中的全部或某些步骤、设备、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递 送介质。
本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则与特定实施例相结合描述的特征、特性和/或元素可单独使用,或可与结合其它实施例描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。

Claims (15)

  1. 一种通信信道优化方法,包括:
    获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息;
    根据至少一个周期内获得的所述部分或全部信道的信道使用信息确定业务的繁忙期;
    根据至少一个周期的繁忙期内获得的所述部分或全部信道的信道可用率和信道使用信息确定所述繁忙期的最优信道。
  2. 根据权利要求1所述的方法,还包括:
    在获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息之后,根据至少一个周期内获得的所述部分或全部信道的信道使用信息确定所述业务的空闲期;
    在空闲期内将工作信道切换为下一个繁忙期的最优信道。
  3. 根据权利要求2所述的方法,当所述空闲期的上一个繁忙期的最优信道与所述空闲期的下一个繁忙期的最优信道不同时,在所述空闲期内将工作信道切换为下一个繁忙期的最优信道。
  4. 根据权利要求1至3中任意一项所述的方法,其中,所述信道使用信息包括:流速;或者,带宽利用率。
  5. 根据权利要求1至3中任意一项所述的方法,其中,所述信道为关键信道。
  6. 根据权利要求1至3中任意一项所述的方法,其中,所述信道使用信息包括:至少一种业务类型对应的信道使用信息;
    所述获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息包括:
    在每一个周期内周期性采集位于工作频段的部分或全部信道的信道利用率、所述业务类型对应的收发字节数之和;
    根据采集的信道利用率确定该次采集对应的所述信道可用率;
    根据采集的所述业务类型的所述收发字节数之和确定该次采集对应的该种所述业务类型的所述信道使用信息。
  7. 根据权利要求1至3中任意一项所述的方法,其中,所述获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息包括:
    在每一个周期内周期性采集位于工作频段的部分或全部信道的信道利用率、收发字节数之和;
    根据采集的信道利用率确定该次采集对应的所述信道可用率,根据采集的收发字节数之和确定该次采集对应的所述信道使用信息。
  8. 根据权利要求7所述的方法,所述根据至少一个周期内获得的部分或全部信道的信道使用信息确定业务的繁忙期包括:
    计算不同周期内同一采集时间对应的所述部分或全部信道的信道使用信息的平均值;
    当采集时间对应的所述部分或全部信道的所述信道使用信息的平均值大于或等于第一预设阈值时,确定所述采集时间位于所述繁忙期内;
    确定位于所述繁忙期内的相邻两个采集时间之间的时间段位于所述繁忙期内。
  9. 根据权利要求1至3中任意一项所述的方法,其中,所述根据至少一个周期的繁忙期内获得的部分或全部信道的信道可用率和信道使用信息确定繁忙期的最优信道包括:
    根据至少一个周期的所述繁忙期内获得的信道的所述信道可用率和所述信道使用信息计算至少一个周期的所述繁忙期内获得的所述信道的所述信道可用率的平均值;
    确定所述信道可用率的平均值最大的信道为所述繁忙期的最优信道。
  10. 根据权利要求9所述的方法,其中,所述根据至少一个周期的繁忙期内获得的信道的信道可用率和信道使用信息计算至少一个周期的繁忙期内获得的信道的信道可用率的平均值包括:
    将所述信道使用信息作为权重计算至少一个周期的所述繁忙期内获得的所述信道的信道可用率的加权平均值。
  11. 一种电子设备,其包括:
    至少一个处理器;
    存储装置,其上存储有至少一个程序,当所述至少一个程序被所述至少一个处理器执行时,使得所述至少一个处理器实现根据权利要求1至10中任意一项所述的通信信道优化方法。
  12. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现根据权利要求1至10中任意一项所述的通信信道优化方法。
  13. 一种通信信道优化装置,包括:
    获取模块,配置为获取至少一个周期内位于工作频段的部分或全部信道的信道可用率、信道使用信息;
    繁忙期及空闲期划分模块,配置为根据至少一个周期内获得的部分或全部信道的信道使用信息确定业务的繁忙期;以及
    最优信道确定模块,配置为根据至少一个周期的繁忙期内获得的部分或全部信道的信道可用率和信道使用信息确定该繁忙期的最优信道。
  14. 根据权利要求13所述的通信信道优化装置,其中,繁忙期及空闲期划分模块还配置为:
    根据至少一个周期内获得的部分或全部信道的信道使用信息确定所述业务的空闲期;
    所述通信信道优化装置还包括:
    最优信道切换模块,配置为在空闲期内将工作信道切换为下一个繁忙期的最优信道。
  15. 根据权利要求13或14所述的通信信道优化装置,其中,所述信道使用信息包括:流速;或者,带宽利用率。
PCT/CN2021/094591 2020-05-19 2021-05-19 通信信道优化方法和装置、电子设备、存储介质 WO2021233331A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP21808391.3A EP4156559A4 (en) 2020-05-19 2021-05-19 METHOD AND DEVICE FOR COMMUNICATION CHANNEL OPTIMIZATION, ELECTRONIC DEVICE AND STORAGE MEDIUM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010427896.7A CN113691333A (zh) 2020-05-19 2020-05-19 通信信道优化方法和装置、电子设备、存储介质
CN202010427896.7 2020-05-19

Publications (1)

Publication Number Publication Date
WO2021233331A1 true WO2021233331A1 (zh) 2021-11-25

Family

ID=78576012

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/094591 WO2021233331A1 (zh) 2020-05-19 2021-05-19 通信信道优化方法和装置、电子设备、存储介质

Country Status (3)

Country Link
EP (1) EP4156559A4 (zh)
CN (1) CN113691333A (zh)
WO (1) WO2021233331A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301555A (zh) * 2022-01-04 2022-04-08 烽火通信科技股份有限公司 信道切换方法、装置、设备及可读存储介质
CN114466425A (zh) * 2022-01-10 2022-05-10 深圳市联洲国际技术有限公司 无线网络中动态频率选择信道切换的方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120108276A1 (en) * 2010-10-27 2012-05-03 The Hong Kong University Of Science And Technology Cooperative spectrum sensing in cognitive radio networks
CN104853380A (zh) * 2015-05-11 2015-08-19 西南交通大学 一种多信道无线网络的链路质量评估方法
CN105432118A (zh) * 2013-07-31 2016-03-23 高通股份有限公司 使用预测移动性调适移动设备行为
CN105933260A (zh) * 2016-06-28 2016-09-07 中国联合网络通信集团有限公司 频谱接入方法和频谱接入系统
CN108200615A (zh) * 2017-12-28 2018-06-22 生迪智慧科技有限公司 无线路由器的控制方法、装置和led照明装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8509802B2 (en) * 2010-05-26 2013-08-13 Qualcomm Incorporated Methods and apparatus supporting load balancing in a wireless communications system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120108276A1 (en) * 2010-10-27 2012-05-03 The Hong Kong University Of Science And Technology Cooperative spectrum sensing in cognitive radio networks
CN105432118A (zh) * 2013-07-31 2016-03-23 高通股份有限公司 使用预测移动性调适移动设备行为
CN104853380A (zh) * 2015-05-11 2015-08-19 西南交通大学 一种多信道无线网络的链路质量评估方法
CN105933260A (zh) * 2016-06-28 2016-09-07 中国联合网络通信集团有限公司 频谱接入方法和频谱接入系统
CN108200615A (zh) * 2017-12-28 2018-06-22 生迪智慧科技有限公司 无线路由器的控制方法、装置和led照明装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4156559A4

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301555A (zh) * 2022-01-04 2022-04-08 烽火通信科技股份有限公司 信道切换方法、装置、设备及可读存储介质
CN114301555B (zh) * 2022-01-04 2023-06-16 烽火通信科技股份有限公司 信道切换方法、装置、设备及可读存储介质
CN114466425A (zh) * 2022-01-10 2022-05-10 深圳市联洲国际技术有限公司 无线网络中动态频率选择信道切换的方法及系统

Also Published As

Publication number Publication date
EP4156559A4 (en) 2024-06-19
EP4156559A1 (en) 2023-03-29
CN113691333A (zh) 2021-11-23

Similar Documents

Publication Publication Date Title
CN109195170A (zh) 小区扩容方法、装置及存储介质
JP5027383B2 (ja) ライセンス不要の帯域におけるスペクトル共有
WO2021233331A1 (zh) 通信信道优化方法和装置、电子设备、存储介质
US9161356B2 (en) Femto parameter profiles based upon nearby access point
US8724652B2 (en) Apparatus and method for determination of frame structure for reducing interference in frequency reuse system using cognitive radio
US11863996B2 (en) Centralized coordination for shared spectrum systems
US9743220B2 (en) Adaptive frequency hopping (AFH) with channel inhibition (CI) for bluetooth
TW200527928A (en) Method for selecting a channel in a wireless network
WO2010000141A1 (en) System and method for scheduling of spectrum sensing in cognitive radio systems
WO2010078815A1 (zh) 感知无线电中次要用户的频谱接入方法及装置
WO2018226538A1 (en) Systems and methods for dynamically selecting and adjusting energy detection thresholds (edts) in uncoordinated radio nodes deploying listen before talk to improve throughput on shared spectrum
Althunibat et al. Novel energy-efficient reporting scheme for spectrum sensing results in cognitive radio
WO2018181491A1 (ja) 無線通信システムおよび無線通信制御方法
KR101388557B1 (ko) 채널 선택 시스템 및 방법, 그 ap, 이를 위한 기록매체
Shukla et al. A survey on energy detection schemes in cognitive radios
EP2218217A1 (en) Method and apparatus for estimating collision probability in a wireless network
WO2020098575A1 (zh) 一种容量规划方法及装置
US20120309442A1 (en) Method and apparatus for spectrum sensing
WO2017115191A1 (en) Network performance framework for wireless local area networks
WO2019085824A1 (zh) 移动通信系统扩容方法、设备及存储介质、程序产品
KR101553924B1 (ko) 분산형 인지 무선 네트워크에서의 채널 감지 방법
US11122446B2 (en) Method and system for managing a plurality of Wi-Fi access points considering backhauls and energy consumption using a cloud based adaptive software defined network
Ko et al. The optimal spectrum sensing time for maximizing throughput of 802.11-based MAC protocol for cognitive radio networks under unsaturated traffic conditions
JP2022018880A (ja) 無線通信システムの最適化方法、無線通信システムおよび無線通信システム用プログラム
JP2019115041A (ja) 無線ネットワークアクセスポイントの数を確定する方法、装置及び端末装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21808391

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021808391

Country of ref document: EP

Effective date: 20221219