Channel switching method, device and equipment based on PON (Passive Optical Network), and storage medium
By obtaining multi-dimensional state information of service traffic of wireless clients, evaluating and switching to the channel with the lowest interference degree, the channel interference problem of wireless devices in the PON network is solved and the service quality is improved.
Patent Information
- Application Number
- CN202510568098.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-08-08
AI Technical Summary
Wireless network access devices are susceptible to channel interference from devices in the same frequency band in the PON network, resulting in a decline in service quality of wireless clients.
By obtaining the multi-dimensional traffic status information of the wireless client, the service quality level and service quality level are evaluated. If the threshold is not reached, the interference degree of all channels is evaluated, the target channel with the lowest interference degree is determined, and the wireless client is switched to the channel to reduce interference.
The service quality level of wireless clients is improved, channel interference of devices in the same frequency band is reduced, and better wireless network access services are provided.
Smart Images

Figure CN120455872A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer networks, and in particular to a channel switching method, a channel switching device, a computer device, and a computer-readable storage medium based on a PON network. Background Art
[0002] A Passive Optical Network (PON) is a telecommunications network that transmits data over optical fiber lines. It is a key technology supporting network access technologies such as Fiber to the Room (FTTR) and Fiber to the Room-Business (FTTR-B). FTTR / FTTR-B extend optical fiber to every room, installing fiber optic terminal equipment in each room to convert the optical signal into an electrical signal. Typically, fiber optic terminal equipment also has wireless network access capabilities, enabling it to act as a wireless network access device and provide wireless network access services to wireless clients (such as mobile phones and tablets) using wireless network access technologies such as Wi-Fi. However, in actual use, wireless network access devices are inevitably subject to channel interference from devices operating in the same frequency band (such as gateways, routers, and microwave ovens). Summary of the Invention
[0003] The embodiments of the present invention provide a channel switching method, a channel switching device, a computer device and a computer-readable storage medium based on a PON network, which can improve the service quality level of a wireless client.
[0004] On the one hand, the present invention provides a channel switching method based on a PON network, comprising: Obtain multi-dimensional traffic status information of the service traffic of wireless clients connected to the current channel; Determine the service quality level of wireless clients based on multi-dimensional traffic status information; Determine, based on the service quality level, a quality of service level for the wireless network access service provided by the current channel; If the service quality level does not reach the level threshold, the interference level of all channels is evaluated; A target channel with the lowest interference level is determined, and the wireless client is switched from the current channel to the target channel.
[0005] Optionally, in one embodiment, obtaining multi-dimensional traffic state information of service traffic of wireless clients connected in the current channel includes: Determine the main service type of wireless clients connected to the current channel; Obtain multi-dimensional traffic status information of service traffic belonging to main service types of wireless clients.
[0006] Optionally, in one embodiment, determining the service quality level of the wireless client according to the multi-dimensional traffic state information includes: For each dimension of traffic state information, determine the state level corresponding to the dimension of traffic state information according to the corresponding relationship between the dimension of traffic state information associated with the main service type and the state level; The service quality level of the wireless client is calculated based on the status level corresponding to the traffic status information of each dimension.
[0007] Optionally, in one embodiment, calculating the service quality level of the wireless client according to the status level corresponding to each dimension of traffic status information includes: According to the preset weight corresponding to each dimension of traffic state information, the state level of each dimension of traffic state information is weightedly calculated to obtain the service quality level of the wireless client.
[0008] Optionally, in one embodiment, there are multiple wireless clients, and determining the quality of service level of the wireless network access service provided by the current channel according to the service quality level includes: An average service quality level of a plurality of wireless clients is calculated, and the average service quality level is determined as a service quality level of a wireless network access service provided by a current channel.
[0009] Optionally, in one embodiment, obtaining multi-dimensional traffic state information of service traffic of wireless clients connected in the current channel includes: In response to reaching a channel switching period, multi-dimensional flow state information of service flows of wireless clients connected to the current channel is acquired.
[0010] Optionally, in one embodiment, determining a target channel with the lowest interference level and switching the wireless client from the current channel to the target channel includes: Predicting the low traffic period of each wireless client during the current channel switching cycle, and determining the channel switching time based on the low traffic period of each wireless client; At the time of channel switching, a target channel with the lowest interference level is determined, and each wireless client is switched from the current channel to the target channel.
[0011] In a second aspect, the present invention provides a channel switching device based on a PON network, comprising: A status information acquisition module is used to obtain multi-dimensional traffic status information of the service traffic of the wireless client connected under the current channel; A service quality assessment module is used to determine the service quality level of the wireless client based on multi-dimensional traffic status information; A service quality evaluation module is used to determine the service quality level of the wireless network access service provided by the current channel according to the service quality level; an interference level assessment module, configured to assess the interference levels of all channels if the quality of service level does not reach a level threshold; The channel switching module is used to determine the target channel with the lowest interference level and switch the wireless client from the current channel to the target channel.
[0012] In a third aspect, the present invention provides a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the PON network-based channel switching method provided by the present invention is implemented.
[0013] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the PON network-based channel switching method provided by the present invention.
[0014] The present invention provides a channel switching solution based on a PON network. The solution evaluates the service quality level of the wireless client according to the traffic state information of the service traffic of the wireless client carried by the current channel, and measures the service quality level of the wireless network access service provided by the current channel according to the service quality level. Based on this, a decision is made as to whether to switch the channel. When switching is required, the wireless client is switched to a target channel with the lowest interference level, thereby avoiding channel interference of devices in the same frequency band as much as possible, thereby providing the wireless client with a better wireless network access service and improving the service quality level of the wireless client. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0016] Figure 1 1 is a flow chart of a channel switching method based on a PON network provided by an embodiment of the present invention; Figure 2 is an example diagram of channel switching in an embodiment of the present invention; Figure 3 This is an example diagram of a wireless network access device providing wireless network access services to multiple wireless clients in an embodiment of the present invention; Figure 4 1 is a schematic structural diagram of a channel switching device based on a PON network provided by an embodiment of the present invention; Figure 5 It is a structural diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0017] In order to make the technical problems, technical solutions and beneficial effects solved by the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0018] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0019] It will also be understood that the term "and / or" used in the present description and appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0020] As used in the present specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0021] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0022] References to "one embodiment" or "some embodiments" in the present specification mean that a particular feature, structure, or characteristic described in connection with that embodiment is included in one or more embodiments of the present invention. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in yet other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically stated. The terms "including," "comprising," "having," and variations thereof mean "including but not limited to," unless otherwise specifically stated.
[0023] The present invention provides a channel switching method, device, computer equipment and storage medium based on a PON network, wherein the channel switching method based on a PON network can be executed by a channel switching device based on a PON network, or by a computer equipment integrated with the channel switching device based on a PON network, wherein the method comprises obtaining multidimensional flow status information of the service flow of a wireless client connected to a current channel; determining the service quality level of the wireless client based on the multidimensional flow status information; determining the service quality level of the wireless network access service provided by the current channel based on the service quality level; if the service quality level does not reach a level threshold, evaluating the interference levels of all channels; determining a target channel with the lowest interference level, and switching the wireless client from the current channel to the target channel.
[0024] Please refer to Figure 1 , which is a flow chart of a channel switching method based on a PON network disclosed in an embodiment of the present invention. The method can be applied to any wireless network access device that provides wireless network access services, such as an optical fiber terminal device with wireless network access capabilities in FTTR / FFTR-B technology, such as Figure 1 As shown, the benefits of the channel switching method based on the PON network can be as follows: In 110, multi-dimensional traffic state information of the service traffic of the wireless client connected in the current channel is obtained.
[0025] It should be noted that in the following embodiments, a wireless network access device using Wi-Fi technology to provide a wireless network access service is used as an example for description.
[0026] A channel can be thought of as the "road" along which wireless signals travel. In Wi-Fi communications, traffic is transmitted via wireless signals of specific frequencies, with each frequency range corresponding to a channel. Different channels, like lanes, allow different wireless clients to use them simultaneously or in a time-sharing manner to avoid signal interference. For example, in the 2.4 GHz band, there are typically 14 available channels, numbered 1 through 14. Each channel has a bandwidth of 20 MHz, and the center frequencies of adjacent channels are spaced 5 MHz apart.
[0027] The current channel refers to the channel currently used by the wireless network access device to provide wireless network access services, rather than a specific channel. Typically, a single-band wireless network access device can only select one channel at a time to provide wireless network access services; a multi-band wireless network access device can select one channel in each frequency band to provide wireless network access services at the same time.
[0028] Traffic refers to the data of network services transmitted over a channel within a certain period of time. Traffic is generated when users use wireless clients (such as mobile phones, computers, and tablets) connected to wireless network access devices to conduct various network services. For example, when a user browses the web using a wireless client, the client retrieves the webpage's text, images, videos, and other data from the web server. When a user plays an online game using a wireless client, the client continuously exchanges data with the game server to ensure the game runs. When a user watches a live broadcast using a wireless client, the client retrieves live broadcast data from the live broadcast server. The following examples illustrate this process:
[0029] Multi-dimensional traffic status information is used to describe the traffic status of business traffic in multiple different dimensions, including but not limited to packet loss rate, delay, bit error rate, etc.
[0030] In an embodiment of the present invention, when a channel switching process is triggered, the wireless network access device identifies the current channel used to provide wireless network access services, determines the wireless clients connected to the current channel, and performs statistics on the traffic status of the service traffic of the wireless clients connected to the current channel within a reference statistical period (which can be configured according to actual needs, for example, can be configured to be 1 minute with the current time as the end time) to obtain multi-dimensional traffic status information. For example, multi-dimensional traffic status information such as packet loss rate, delay, and bit error rate of the service traffic of the wireless clients connected to the current channel can be statistically analyzed using traffic monitoring tools such as NetFlow.
[0031] In addition, in the embodiment of the present invention, there is no specific limitation on the triggering method of the channel switching process. For example, the channel switching process may be triggered when an input channel switching instruction is received.
[0032] In 120, the service quality level of the wireless client is determined according to the multi-dimensional traffic state information.
[0033] In an embodiment of the present invention, after obtaining multi-dimensional traffic state information of the service traffic of a wireless client connected to the current channel, the wireless network access device further performs a service quality assessment based on the obtained multi-dimensional traffic state information in accordance with a configured service quality assessment strategy, and obtains a service quality level of the wireless client, which is used to characterize the service experience of the user of the wireless client. There is no specific limitation on the configuration of the service quality assessment strategy herein. For example, historical multi-dimensional traffic state information and calibrated service quality level labels corresponding to the historical multi-dimensional traffic state information can be used to construct training samples, and model training can be performed based on the constructed training samples to obtain a service quality assessment model with multi-dimensional traffic state information as input and service quality level as output, thereby utilizing the service quality assessment model to implement service quality level assessment.
[0034] In addition, a score can be used to represent the service quality level. For example, the service quality level is divided into N levels, and the numerical value is used to represent the level. N is a positive integer greater than or equal to 2. For example, assuming there are four levels, service quality level 10 indicates that the service user experience of the wireless client is ideal, service quality level 8 indicates that the service user experience of the wireless client is acceptable, service quality level 5 indicates that the service user experience of the wireless client is poor, and service quality level 3 indicates that the service user experience of the wireless client is unacceptable.
[0035] In 130, a quality of service level of the wireless network access service provided by the current channel is determined according to the service quality level.
[0036] In this embodiment of the present invention, the wireless client's service quality level is further used to measure the service quality level of the wireless network access device provided by the wireless network access device based on the current channel. Exemplarily, in this embodiment of the present invention, the service quality level classification method is systematic with the service quality level classification method, so that the wireless client's service quality level can be directly determined as the service quality level of the wireless network access device provided by the wireless network access device based on the current channel.
[0037] S140: If the service quality level does not reach the level threshold, evaluate the interference levels of all channels.
[0038] In the embodiment of the present invention, a level threshold for triggering channel scanning is configured. There is no specific limitation on the value of the level threshold, and it can be configured by those skilled in the art according to actual needs.
[0039] Accordingly, after determining the service quality level of the wireless network access service provided based on the current channel, the wireless network access device further compares the service quality level with the level threshold. If the service quality level does not reach the level threshold, it is determined that channel scanning is required. At this time, channel scanning is performed to obtain channel interference status information of all channels in the frequency band to which the current channel belongs. For a channel, the channel interference status information of the channel includes at least one of the number of wireless network access devices operating on the channel, the received signal strength indication of the channel, and the busyness of the channel.
[0040] According to the configured interference level assessment strategy, the interference level of each channel is assessed based on the channel interference status information of each channel. The configuration of the interference level assessment strategy is not specifically limited here. For example, taking the channel interference status information including the number of wireless network access devices, the received signal strength indicator value, and the busyness as an example, the interference level assessment strategy can be configured as follows: 1. Quantization and normalization The number of wireless network access devices: This is a quantitative value. The greater the number, the greater the potential interference.
[0041] Received Signal Strength Indicator (RSSI): This value is typically negative. A larger absolute value indicates a stronger signal, but it may also indicate greater interference. The RSSI can be linearly transformed to convert it into a value that is positively correlated with the level of interference. For example, a RSSI threshold can be set. When the RSSI is below this threshold, interference is considered low and a lower score is assigned. When the RSSI is above this threshold, the assigned score increases accordingly as the RSSI value increases.
[0042] Busyness: Busyness is expressed as a percentage and can be used as a quantitative indicator. The higher the percentage, the busier the channel and the greater the potential for interference.
[0043] In order to enable the above three indicators to be compared and comprehensively calculated on the same scale, the above three indicators are normalized (the normalization method is not limited here, for example, it can be minimum-maximum normalization) and their values are mapped to the interval [0, 1].
[0044] 2. Determine indicator weights Based on the actual network environment and expert experience, different weights are assigned to the three indicators of wireless network access device quantity, RSSI, and busyness. For example, if the number of wireless network access devices has a greater impact on interference in the current network environment, a higher weight can be assigned to the number of wireless network access devices. If the RSSI better reflects the interference situation, the weight of the RSSI can be increased accordingly, and so on. Assume that the weights of the number of wireless network access devices, RSSI, and busyness are w1, w2, and w3, respectively, and w1 + w2 + w3 = 1.
[0045] 3. Calculate the interference level Multiply the normalized index value by the corresponding weight and then sum them to get the interference degree of the channel, which is expressed as: S=w1×x1norm+w2×x2norm+w3×x3norm; S represents the interference level, x1norm, x2norm, and x3norm are the normalized number of wireless network access devices, received signal strength indicator, and normalized busyness index values, respectively.
[0046] A higher S score indicates less interference on that channel, and vice versa. For example, if there are three channels, A, B, and C, and the interference levels calculated in the above steps are 0.8, 0.6, and 0.4, respectively, channel A can be considered to have the least interference, and channel C the most.
[0047] In other embodiments, if the service quality level reaches the level threshold, it means that there is no need to initiate channel scanning, and the channel switching process ends at this time.
[0048] S150: Determine a target channel with the lowest interference level, and switch the wireless client from the current channel to the target channel.
[0049] As described above, after evaluating the interference levels of all channels within the frequency band to which the current channel belongs, the channel with the lowest interference level is determined and recorded as the target channel. If the target channel is the current channel, that is, if the current channel itself is the channel with the lowest interference level, the wireless network access device maintains the current channel as the current channel and does not switch channels. If the target channel is not the current channel, the wireless network access device switches the target channel to the current channel, switches the wireless client from the current channel to the target channel, and continues to provide wireless network access services to the wireless client on the target channel, thus ending the channel switching process.
[0050] For example, please refer to Figure 2 The current channel of the wireless network access device is channel 6. Assuming that after channel scanning, it is determined that the target channel with the lowest interference level is channel 11, the wireless client is switched to channel 11, and the wireless network access service is continued to be provided to the wireless client through channel 11.
[0051] Optionally, in one embodiment, obtaining multi-dimensional traffic state information of service traffic of wireless clients connected in the current channel includes: Determine the main service type of wireless clients connected to the current channel; Obtain multi-dimensional traffic status information of service traffic belonging to main service types of wireless clients.
[0052] It is understandable that in the same time period, a wireless client can actually perform a variety of different services, such as gaming, live streaming, and general Internet access (such as web browsing, social media, and email). To more accurately represent the service experience of wireless client users, the embodiments of the present invention only provide multi-dimensional traffic status information for service traffic belonging to the primary service type of the wireless client.
[0053] The wireless network access device first determines the main service type of the wireless client connected to the current channel according to the configured main service type determination policy. No specific restrictions are imposed on the configuration of the main service type determination policy.
[0054] Exemplarily, the main business type determination strategy may be configured as follows: Monitor the port number of the traffic data packet, classify and count the business types according to the preset correspondence between the port number and the business type, and determine the business type with the largest proportion as the main business type.
[0055] The main business type determination strategy can also be configured as: A service type identification request is sent to the wireless client, the service type identification request being used to instruct the wireless client to return the service type of the service being executed in the foreground, and the service type returned by the wireless client in response to the service type identification request is determined as the main service type.
[0056] Optionally, in one embodiment, determining the service quality level of the wireless client according to the multi-dimensional traffic state information includes: For each dimension of traffic state information, determine the state level corresponding to the dimension of traffic state information according to the corresponding relationship between the dimension of traffic state information associated with the main service type and the state level; The service quality level of the wireless client is calculated based on the status level corresponding to the traffic status information of each dimension.
[0057] It should be noted that, in the embodiment of the present invention, for each service type, a correspondence between each dimension of traffic status information and a status level is predefined, and the correspondence may be predefined based on expert knowledge.
[0058] For example, taking multi-dimensional traffic status information including packet loss rate and latency as an example, for gaming services, the corresponding relationship between packet loss rate, latency and status level is as follows: The packet loss rate is 0%, corresponding to status level 10, indicating an ideal state; Packet loss rate ∈ (0%, 1%], corresponding to state level 8, indicating an acceptable state; Packet loss rate ∈ (1%, 5%], corresponding to state level 5, indicating a poor state; Packet loss rate ∈ (5%, 1], corresponding to state level 3, indicating an unacceptable state; Delay∈(0ms,50ms], corresponding to state level 10, indicating an ideal state; Delay∈(50ms,100ms], corresponding to state level 8, indicating an acceptable state; Delay∈(100ms,200ms], corresponding to state level 5, indicating a poor state; Delay∈(200ms,+∞], corresponding to state level 3, indicating an unacceptable state; For live streaming services, the corresponding relationship between packet loss rate, latency, and status level is as follows: The packet loss rate is 0%, corresponding to status level 10, indicating an ideal state; Packet loss rate ∈ (0%, 3%], corresponding to state level 8, indicating an acceptable state; Packet loss rate ∈ (3%, 10%], corresponding to state level 5, indicating a poor state; Packet loss rate ∈ (10%, 1], corresponding to state level 3, indicating an unacceptable state; Delay∈(0ms,300ms], corresponding to state level 10, indicating an ideal state; Delay∈(300ms,500ms], corresponding to state level 8, indicating an acceptable state; Delay∈(500ms,1000ms], corresponding to state level 5, indicating a worse state; Delay∈(1000ms,+∞], corresponding to state level 3, indicating an unacceptable state; For common Internet services, the corresponding relationships between packet loss rate, latency, and status level are as follows: The packet loss rate is 0%, corresponding to status level 10, indicating an ideal state; Packet loss rate ∈ (0%, 5%], corresponding to state level 8, indicating an acceptable state; Packet loss rate ∈ (5%, 15%], corresponding to state level 5, indicating a poor state; Packet loss rate ∈ (15%, 1], corresponding to state level 3, indicating an unacceptable state; Delay∈(0ms,200ms], corresponding to state level 10, indicating an ideal state; Delay∈(200ms,500ms], corresponding to state level 8, indicating an acceptable state; Delay∈(500ms,1000ms], corresponding to state level 5, indicating a worse state; Delay∈(1000ms,+∞], corresponding to state level 3, indicating an unacceptable state; Accordingly, in an embodiment of the present invention, for each dimension of traffic state information, a correspondence between the traffic state information of that dimension and the status level associated with the primary service type is obtained, and based on the correspondence, the status level corresponding to the traffic state information of that dimension is determined. Furthermore, according to the configured calculation strategy, the service quality level of the wireless client is calculated based on the status level corresponding to each dimension of traffic state information. The configuration of the calculation strategy is not specifically limited herein. For example, the average status level of each dimension of traffic state information can be directly taken as the service quality level of the wireless client, which can be expressed as: ; Where D represents the service quality level, represents the state level of the i-th dimension traffic state information, and m represents the number of dimensions of the traffic state information.
[0059] Optionally, in one embodiment, calculating the service quality level of the wireless client according to the status level corresponding to each dimension of traffic status information includes: According to the preset weight corresponding to each dimension of traffic state information, the state level of each dimension of traffic state information is weightedly calculated to obtain the service quality level of the wireless client.
[0060] In the embodiment of the present invention, corresponding preset weights are set for each dimension of traffic state information, with the sum of the preset weights of each dimension of traffic state information being constrained to be equal to 1, and can be set according to actual needs.
[0061] Accordingly, when calculating the service quality level of the wireless client based on the status level corresponding to each dimension of traffic status information, the wireless network access device can perform weighted calculation on the status level of each dimension of traffic status information based on the preset weight corresponding to each dimension of traffic status information to obtain the service quality level of the wireless client. The specific method of weighted calculation is not limited here. For example, weighted calculation can be performed as follows: ; Where D represents the service quality level, represents the state level of the i-th dimension traffic state information, m represents the number of dimensions of the traffic state information, Represents the preset weight of the i-th dimension traffic status information.
[0062] Optionally, in one embodiment, there are multiple wireless clients, and determining the quality of service level of the wireless network access service provided by the current channel according to the service quality level includes: An average service quality level of a plurality of wireless clients is calculated, and the average service quality level is determined as a service quality level of a wireless network access service provided by a current channel.
[0063] It is understandable that in actual use environment, wireless network access device can provide wireless network access service to multiple different wireless clients at the same time. Figure 3 The current channel of the wireless network access device is channel 6, and four wireless clients, including a mobile phone, a tablet computer, a desktop computer, and a laptop computer, are connected to channel 6.
[0064] Faced with such a scenario where there are multiple wireless clients, when determining the service quality level of the wireless network access service provided based on the current channel, the wireless network access device can calculate the average service quality level of multiple wireless clients, and determine the calculated average service quality level as the service quality level of the wireless network access service provided based on the current channel.
[0065] Optionally, in one embodiment, obtaining multi-dimensional traffic state information of service traffic of wireless clients connected in the current channel includes: In response to reaching a channel switching period, multi-dimensional flow state information of service flows of wireless clients connected to the current channel is acquired.
[0066] In an embodiment of the present invention, a channel switching period is pre-configured, and the channel switching period is used to automatically trigger the wireless network access device to start the channel switching process. There is no specific restriction on the value of the channel switching period. For example, the channel switching period can be configured to 1 hour, so that the wireless network access device automatically triggers the channel switching process every 1 hour.
[0067] Optionally, in one embodiment, determining a target channel with the lowest interference level and switching the wireless client from the current channel to the target channel includes: Predicting the low traffic period of each wireless client during the current channel switching cycle, and determining the channel switching time based on the low traffic period of each wireless client; When the channel switching time is reached, a target channel with the lowest interference level is determined, and each wireless client is switched from the current channel to the target channel.
[0068] In an embodiment of the present invention, the traffic low periods of each wireless client connected to the current channel within the current channel switching cycle are first predicted according to a configured prediction strategy. The overlapping moments of the traffic low periods of all wireless clients are then determined, and the overlapping moments are determined as the channel switching moments. If the traffic low periods of all wireless clients do not overlap, that is, not all wireless clients have overlapping traffic low periods, then the traffic low periods with overlapping portions are determined. If the number of overlapping traffic low periods exceeds one-half the number of wireless clients, the overlapping moments of these overlapping traffic low periods are determined as the channel switching moments. Otherwise, the median moment of all traffic low periods is determined, and the median moment is determined as the channel switching moment.
[0069] Correspondingly, when the channel switching time is reached, the target channel with the lowest interference level is determined, and multiple wireless clients are switched from the current channel to the target channel. Here, how to determine the target channel with the lowest interference level and how to switch each wireless client from the current channel to the target channel will not be described in detail. Please refer to the relevant instructions in the above embodiment for details.
[0070] In addition, the embodiment of the present invention does not impose any specific restrictions on the configuration of the prediction strategy. For example, the prediction strategy can be configured as follows: Obtaining a current traffic size sequence of each wireless client, the traffic size sequence including traffic sizes of service traffic arranged in time sequence within a reference statistical period; For a wireless client, a current traffic size sequence of the wireless client is input into a traffic prediction model, and a future traffic size sequence of the wireless client within a future period of time is predicted using the traffic prediction model, including the traffic size of the service traffic arranged in time sequence at a future time after a reference statistical period; a traffic size subsequence within a current channel switching period is intercepted, and a time period in the traffic size subsequence that is below a traffic size threshold is determined as a traffic valley period of the wireless client; The traffic prediction model can be obtained by training a time series neural network such as a long short-term memory network using training samples, wherein the training samples can be obtained by dividing the historical traffic size sequence of the historical service traffic of the wireless client within a historical period, that is, dividing the historical traffic size sequence into two sub-historical traffic size sequences, using the sub-historical traffic size sequence with an earlier time as the input sample and the sub-historical traffic size sequence with a later time as the output label, and the input sample and the output label constitute a training sample.
[0071] As can be seen from the above, the PON network-based channel switching solution provided by the present invention evaluates the service quality level of the wireless client according to the traffic status information of the service traffic of the wireless client carried by the current channel, and measures the service quality level of the wireless network access service provided by the current channel based on the service quality level, and decides whether to switch the channel accordingly. When switching is required, the wireless client is switched to the target channel with the lowest interference level, thereby avoiding channel interference of devices in the same frequency band as much as possible, thereby providing better wireless network access services to the wireless client and improving the service quality level of the wireless client.
[0072] To facilitate better implementation of the above-mentioned PON network-based channel switching method, an embodiment of the present invention further provides a corresponding PON network-based channel switching device. The meanings of the terms herein are the same as those in the above-mentioned PON network-based channel switching method. For specific implementation details, please refer to the description in the above method embodiment.
[0073] Please refer to Figure 4 The channel switching device based on the PON network may include a status information acquisition module 210, a service quality evaluation module 220, a service quality evaluation module 230, an interference level evaluation module 240 and a channel switching module 250. The functional modules are described in detail as follows: The state information acquisition module 210 is used to obtain multi-dimensional traffic state information of the service traffic of the wireless client connected to the current channel; A service quality evaluation module 220 is configured to determine a service quality level of a wireless client based on multi-dimensional traffic status information; A service quality evaluation module 230 is configured to determine a service quality level of a wireless network access service provided by a current channel according to the service quality level; an interference level evaluation module 240 for evaluating the interference levels of all channels if the quality of service level does not reach the level threshold; The channel switching module 250 is configured to determine a target channel with the lowest interference level and switch the wireless client from the current channel to the target channel.
[0074] Optionally, in one embodiment, the state information acquisition module 210 is configured to determine a main service type of a wireless client connected to a current channel; and acquire multi-dimensional traffic state information of service traffic belonging to the main service type of the wireless client.
[0075] Optionally, in one embodiment, the service quality assessment module 220 is used to determine, for each dimension of traffic status information, the status level corresponding to the dimension of traffic status information based on the correspondence between the dimension of traffic status information associated with the main service type and the status level; and calculate the service quality level of the wireless client based on the status level corresponding to each dimension of traffic status information.
[0076] Optionally, in one embodiment, the service quality evaluation module 220 is configured to perform weighted calculation on the status level of each dimension of traffic status information according to preset weights corresponding to each dimension of traffic status information to obtain the service quality level of the wireless client.
[0077] Optionally, in one embodiment, there are multiple wireless clients, and the service quality evaluation module 230 is used to calculate the average service quality level of the multiple wireless clients, and determine the average service quality level as the service quality level of the wireless network access service provided by the current channel.
[0078] Optionally, in one embodiment, the state information acquisition module 210 is configured to acquire multi-dimensional traffic state information of service traffic of wireless clients connected to the current channel in response to reaching a channel switching period.
[0079] Optionally, in one embodiment, the channel switching module 250 is used to predict the low traffic period of each wireless client in the current channel switching cycle, and determine the channel switching time based on the low traffic period of each wireless client; determine the target channel with the lowest interference level at the channel switching time, and switch each wireless client from the current channel to the target channel.
[0080] The specific definitions of the PON-based channel switching device can be found in the definitions of the PON-based channel switching method described above and will not be further elaborated here. Each module in the aforementioned PON-based channel switching device can be implemented in whole or in part via software, hardware, or a combination thereof. Each of these modules can be embedded in or independent of a processor in a computer device in hardware form, or stored in a computer device memory in software form, allowing the processor to call and execute the corresponding operations of each module.
[0081] In one embodiment, a computer device is provided. The computer device may be a wireless network access device, and its internal structure diagram may be as follows: Figure 5As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The network interface of the computer device is used to connect to an external wireless client and provide wireless network access services for the connected wireless client. When the computer program is executed by the processor, the channel switching method based on the PON network provided by the present invention is implemented.
[0082] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the channel switching method based on the PON network in the above embodiment is implemented.
[0083] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the channel switching method based on the PON network in the above embodiment is implemented.
[0084] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the above-described method embodiments. Any reference to memory, storage, database, or other media used in the various embodiments provided herein may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM).
[0085] Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0086] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the scope of protection of the present invention.
Claims
1. A channel switching method based on a PON network, characterized in that: include: Obtain multi-dimensional traffic status information of the service traffic of wireless clients connected to the current channel; Determining a service quality level of the wireless client according to the multi-dimensional traffic status information; Determining, according to the service quality level, a quality of service level of the wireless network access service provided by the current channel; If the quality of service level does not reach the level threshold, evaluating the interference level of all channels; A target channel with the lowest interference level is determined, and the wireless client is switched from the current channel to the target channel.
2. The channel switching method based on the PON network according to claim 1, characterized in that: The obtaining of multi-dimensional traffic status information of the service traffic of the wireless client connected in the current channel includes: Determine the main service type of wireless clients connected to the current channel; Acquire multi-dimensional traffic status information of the service traffic of the wireless client belonging to the main service type.
3. The channel switching method based on the PON network according to claim 2, characterized in that: Determining the service quality level of the wireless client according to the multi-dimensional traffic state information includes: For each dimension of traffic state information, determining the state level corresponding to the dimension of traffic state information according to the corresponding relationship between the dimension of traffic state information associated with the main service type and the state level; The service quality level of the wireless client is calculated based on the state level corresponding to the traffic state information of each dimension.
4. The channel switching method based on the PON network according to claim 3, characterized in that: The calculating the service quality level of the wireless client according to the state level corresponding to each dimension of traffic state information includes: According to the preset weight corresponding to each dimension of the traffic state information, the state level of each dimension of the traffic state information is weightedly calculated to obtain the service quality level of the wireless client.
5. The channel switching method based on the PON network according to claim 1, characterized in that: There are multiple wireless clients, and determining, according to the service quality level, a quality of service level of a wireless network access service provided by the current channel, includes: An average service quality level of the plurality of wireless clients is calculated, and the average service quality level is determined as a service quality level of the wireless network access service provided by the current channel.
6. The channel switching method based on the PON network according to claim 1, characterized in that: The obtaining of multi-dimensional traffic status information of the service traffic of the wireless client connected in the current channel includes: In response to reaching a channel switching period, multi-dimensional flow state information of service flows of wireless clients connected to the current channel is acquired.
7. The channel switching method based on the PON network according to claim 6, characterized in that: The determining of the target channel with the lowest interference level and switching the wireless client from the current channel to the target channel includes: Predicting a low traffic period of each wireless client in a current channel switching cycle, and determining a channel switching time according to the low traffic period of each wireless client; At the channel switching moment, a target channel with the lowest interference level is determined, and each of the wireless clients is switched from the current channel to the target channel.
8. A channel switching device based on a PON network, characterized in that: include: A status information acquisition module is used to obtain multi-dimensional traffic status information of the service traffic of the wireless client connected under the current channel; A service quality evaluation module, configured to determine a service quality level of the wireless client based on the multi-dimensional traffic status information; a service quality evaluation module, configured to determine a service quality level of the wireless network access service provided by the current channel according to the service quality level; an interference level evaluation module, configured to evaluate the interference levels of all channels if the quality of service level does not reach a level threshold; The channel switching module is configured to determine a target channel with the lowest interference level and switch the wireless client from the current channel to the target channel.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the channel switching method based on the PON network according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the channel switching method based on the PON network according to any one of claims 1 to 7 is implemented.