Method and device for wireless roaming based on FTTR
By obtaining the current traffic type of the user terminal and matching the corresponding network needs, and combining calculating the network quality of other access points, intelligent switching to the best access point in the FTTR network is achieved, solving the problem that the existing technology cannot meet the needs of different traffic types, and improving network service quality and user experience.
Patent Information
- Application Number
- CN202510206814.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-25
- Publication Date
- 2025-05-30
AI Technical Summary
In FTTR networks, existing network switching technologies cannot intelligently switch to the optimal access point according to users' real-time traffic needs, resulting in the network service quality not meeting the needs of different traffic types.
By obtaining the current traffic type of the user terminal, matching the corresponding network requirements, and when the current access point cannot meet these requirements, calculate the network quality of other access points, and select the access point corresponding to the maximum first network quality for switching.
It realizes intelligent switching to the best access point according to the user's real-time traffic needs, ensuring network service quality, and improving user experience and network resource utilization.
Smart Images

Figure CN120075919A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of network communication, and particularly relates to a method and device for FTTR wireless roaming. Background Art
[0002] With the rapid development of Internet technology and the diversification of user terminal devices, modern network services have an increasing demand for network performance indicators such as bandwidth, latency, signal strength, and packet loss rate. Especially in the context of the wide application of fiber-to-the-room (FTTR) technology, the quality of network connection directly affects the user experience. Especially in high-traffic and diverse application scenarios, how to optimize network resource allocation according to different traffic types has become an important research direction in current network technology.
[0003] FTTR technology can provide higher bandwidth, lower latency, and more stable network connections by directly laying optical fibers to rooms, meeting the requirements of diverse applications such as high-definition video, online games, smart homes, and Internet of Things devices for network quality. However, due to various factors such as the deployment location, hardware performance, and load conditions of the access point devices in the FTTR network, it may be unable to meet the specific requirements of different traffic types.
[0004] In this case, existing network switching technologies often use wireless roaming methods based on signal strength, lacking precise matching of the needs of different traffic types and dynamic network quality assessment. Especially when the qualities of multiple access points accessed by user devices are different, how to intelligently switch to the best access point according to the real-time traffic needs of users to ensure network service quality has become an important research issue for FTTR network optimization. Summary of the Invention
[0005] In view of this, embodiments of the present invention provide a method and device for FTTR wireless roaming to solve the technical problem of how to intelligently switch to the best access point according to the real-time traffic needs of users.
[0006] The first aspect of the embodiments of the present invention provides a method for FTTR wireless roaming, and the method for FTTR wireless roaming includes:
[0007] Obtain the current traffic type of the user terminal; the traffic type includes Web traffic, video traffic, voice traffic, file transfer traffic, real-time application traffic, cloud service traffic, and IoT traffic;
[0008] Match the current network requirements corresponding to the current traffic type; among them, different traffic types correspond to different network requirements, and the current network requirements include signal strength requirements, bandwidth requirements, latency requirements, and packet loss rate requirements;
[0009] When the current access point does not meet the current network requirements, calculate the first network quality of other access points; the current access point refers to the access point device currently connected.
[0010] Extract the other access point corresponding to the maximum first network quality, and switch the user terminal from the current access point to the other access point corresponding to the maximum first network quality.
[0011] Further, the step of matching the current network requirements corresponding to the current traffic type includes:
[0012] Match the initial network requirements corresponding to the current traffic type; the initial network requirements refer to the initial values of the preset network requirements; the initial network requirements include signal strength requirements, latency requirements, and packet loss rate requirements.
[0013] Obtain the average bandwidth of the user terminal within a fixed historical duration, and use the average value as the bandwidth requirement.
[0014] Use the signal strength requirement, the latency requirement, the bandwidth requirement, and the packet loss rate requirement as the current network requirements.
[0015] Further, the step of calculating the first network quality of other access points when the current access point does not meet the current network requirements; the current access point refers to the access point device currently connected includes:
[0016] If the current access point does not meet the current network requirements, obtain multiple other access points with a first signal strength greater than a first threshold.
[0017] Obtain the first signal strength, the first remaining bandwidth, the first latency, and the first packet loss rate of other access points.
[0018] Calculate the first network quality according to the first signal strength, the first remaining bandwidth, the first latency, the first packet loss rate, the signal strength requirement, the bandwidth requirement, the latency requirement, and the packet loss rate requirement.
[0019] Further, the step of calculating the first network quality according to the first signal strength, the first remaining bandwidth, the first latency, the first packet loss rate, the signal strength requirement, the bandwidth requirement, the latency requirement, and the packet loss rate requirement includes:
[0020] Input the first signal strength, the first remaining bandwidth, the first latency, the first packet loss rate, the signal strength requirement, the bandwidth requirement, the latency requirement, and the packet loss rate requirement into a preset function to obtain the first network quality.
[0021] The preset function is as follows:
[0022]
[0023] where Q represents the first network quality, P 1 represents the first signal strength, P req represents the signal strength requirement, B 1 represents the first remaining bandwidth, B req represents the bandwidth requirement, D 1 represents the first delay, D req represents the delay requirement, L 1 represents the first packet loss rate, L req represents the packet loss rate requirement, α 1 α 2 α 3 and α 4 represent preset parameter adjustment factors.
[0024] Further, the step of obtaining multiple other access points with a first signal strength greater than a first threshold if the current access point does not meet the current network requirements includes:
[0025] Obtain the second signal strength, second remaining bandwidth, second delay, and second packet loss rate of the current access point;
[0026] Calculate the second network quality according to the second signal strength, the second remaining bandwidth, the second delay, the second packet loss rate, the signal strength requirement, the bandwidth requirement, the delay requirement, and the packet loss rate requirement;
[0027] If the second network quality of the current access point is lower than a second threshold, determine that the current access point does not meet the current network requirements, and obtain multiple other access points with a first signal strength greater than the first threshold.
[0028] Further, the step of extracting the other access point corresponding to the maximum first network quality and switching the user terminal from the current access point to the other access point corresponding to the maximum first network quality includes:
[0029] If the maximum first network quality is greater than the second network quality, switch the user terminal from the current access point to the other access point corresponding to the maximum first network quality;
[0030] If the maximum first network quality is not greater than the second network quality, maintain the connection state between the current access point and the user terminal.
[0031] Further, after the step of extracting other access points corresponding to the maximum first network quality and switching the user terminal from the current access point to the other access point corresponding to the maximum first network quality, the method further includes:
[0032] Taking the other access point corresponding to the maximum first network quality as the current access point, and cyclically executing the step of calculating the first network quality of other access points when the current access point does not meet the current network requirements and subsequent steps.
[0033] A second aspect of the embodiments of the present invention provides a device based on FTTR wireless roaming, including:
[0034] An acquisition unit, configured to acquire the current traffic type of a user terminal; the traffic type includes Web traffic, video traffic, voice traffic, file transfer traffic, real-time application traffic, cloud service traffic, and IoT traffic;
[0035] A matching unit, configured to match the current network requirements corresponding to the current traffic type; wherein different traffic types respectively correspond to different network requirements, and the current network requirements include signal strength requirements, bandwidth requirements, latency requirements, and packet loss rate requirements;
[0036] A calculation unit, configured to calculate the first network quality of other access points when the current access point does not meet the current network requirements; the current access point refers to the currently connected access point device;
[0037] A switching unit, configured to extract other access points corresponding to the maximum first network quality, and switch the user terminal from the current access point to the other access point corresponding to the maximum first network quality.
[0038] A third aspect of the embodiments of the present invention provides a terminal device, 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 steps of the method described in the first aspect are implemented.
[0039] A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0040] The beneficial effects of the embodiments of the present invention compared with the prior art are as follows: By obtaining the current traffic type of the user terminal, which covers various traffic types such as Web traffic, video traffic, voice traffic, file transfer traffic, real-time application traffic, cloud service traffic, and IoT traffic, each traffic type has different network requirements. For example, video traffic has high requirements for bandwidth and latency, while voice traffic is sensitive to packet loss rate and latency. The system can automatically match the current network requirements according to different traffic types to ensure the reasonable allocation of network resources. When the current access point cannot meet the user's traffic requirements, the system will detect the network quality of other available access points in real time and evaluate its first network quality. The first network quality indicators include important network performance parameters such as signal strength, bandwidth, latency, and packet loss rate. This process can intelligently determine the best access point and provide a more efficient and stable network connection for users. This solution calculates and extracts the access point with the optimal network quality, and intelligently switches the user terminal from the current access point to the access point with the optimal network quality. The switching process is efficient and seamless, which can ensure that users always maintain high network performance and low connection interruption rate under different traffic requirements and network environments, significantly improving the user experience. The implementation of this solution can not only improve the real-time network experience of the user terminal, but also optimize the allocation of network resources through intelligent switching, improving the resource utilization rate of the entire network system. At the same time, it reduces the need for manual intervention when the network quality is poor, providing a more stable and smooth network service for users, especially in high-demand application scenarios such as high-definition video playback, online games, and voice calls. In short, through real-time analysis and intelligent scheduling, this technical solution can ensure that the user terminal is always connected to the access point with the best network quality under different traffic requirements, thus effectively improving the overall network service performance and user experience, and adapting to the challenges of modern diversified traffic requirements and high-quality network connections. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0042] Figure 1 FIG. shows a schematic flowchart of a method based on FTTR wireless roaming provided by the present invention;
[0043] Figure 2 FIG. shows a schematic diagram of a device based on FTTR wireless roaming provided by an embodiment of the present invention;
[0044] Figure 3 FIG. shows a schematic diagram of a terminal device provided by an embodiment of the present invention. Detailed implementation manners
[0045] In the following description, for the purpose of illustration rather than limitation, specific details such as specific system architectures, technologies, etc. are presented to provide a thorough understanding of the embodiments of the present invention. However, those skilled in the art should clearly understand that the present invention can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from hindering the description of the present invention.
[0046] Embodiments of the present invention provide a method and device based on FTTR wireless roaming to solve the technical problem of how to intelligently switch to the best access point according to the real-time traffic requirements of users.
[0047] First, the present invention provides a method based on FTTR wireless roaming. The method based on FTTR wireless roaming can be based on an FTTR system, an FTTR-B system, or a broadband convergence terminal. Please refer to Figure 1 , Figure 1 shows a schematic flowchart of a method based on FTTR wireless roaming provided by the present invention. As Figure 1 shown, the method based on FTTR wireless roaming may include the following steps:
[0048] Step 101: Obtain the current traffic type of the user terminal; the traffic type includes Web traffic, video traffic, voice traffic, file transfer traffic, real-time application traffic, cloud service traffic, and IoT traffic;
[0049] The purpose of this link is to determine the specific type of traffic being transmitted by the user terminal. Different traffic types correspond to different network requirements and affect the selection of the access point. Traffic types include but are not limited to:
[0050] Web traffic: Usually for web browsing and small-scale data transmission, with relatively low bandwidth requirements.
[0051] Video traffic: Requires relatively high bandwidth and low latency, especially for high-definition or 4K videos.
[0052] Voice traffic: Has low latency requirements, especially in VoIP and video calls, and packet loss and high latency need to be avoided as much as possible.
[0053] File transfer traffic: For large file transfer, with relatively high bandwidth requirements but low latency requirements.
[0054] Real-time application traffic: Such as online games or real-time collaboration applications, and this type of traffic is very sensitive to latency and packet loss rate.
[0055] Cloud service traffic: Services that rely on data access usually have relatively high bandwidth requirements and relatively low latency requirements.
[0056] IoT traffic: The traffic of IoT devices usually has a small data volume, but requires a stable connection and low latency.
[0057] Step 102: Match the current network requirements corresponding to the current traffic type; among them, different traffic types correspond to different network requirements, and the current network requirements include signal strength requirements, bandwidth requirements, latency requirements, and packet loss rate requirements.
[0058] Different traffic types have different requirements for the network. For example: Web traffic has relatively loose requirements for bandwidth and latency, but has a relatively high tolerance for packet loss rate. Video traffic has high requirements for bandwidth and latency, especially when playing high-definition or ultra-high-definition videos smoothly. Voice traffic requires low latency and few packet losses. Real-time application traffic usually requires extremely low latency and very low packet loss rate, and the bandwidth requirement depends on the specific application.
[0059] The goal of this step is to adjust the network selection strategy based on the requirements of different traffic types to ensure that the quality requirements of the current traffic are met. Among them, the matching logic of the current network requirements is as follows:
[0060] Specifically, step 102 specifically includes steps 1021 to 1023:
[0061] Step 1021: Match the initial network requirements corresponding to the current traffic type; the initial network requirements refer to the initial values of the preset network requirements; the initial network requirements include signal strength requirements, latency requirements, and packet loss rate requirements.
[0062] The system first sets the initial network requirements for different traffic types. These initial values are preset and are used as reference benchmarks based on the typical requirements of network traffic types. For example: Web traffic may set relatively low latency requirements, moderate bandwidth requirements, and relatively low packet loss rate requirements. Video traffic may set relatively high bandwidth requirements and low latency requirements to ensure smooth video playback. Voice traffic may have very high requirements for latency and packet loss rate, and relatively low requirements for bandwidth.
[0063] For different traffic types, the requirements for signal strength may be different. For example, for Web traffic with low bandwidth requirements, weaker signals can be tolerated, while for video traffic or real-time applications, higher signal strength requirements are needed to avoid video stuttering or call interruption.
[0064] Different traffic types have different tolerances for latency. Real-time applications (such as online games, voice calls) require the latency to be as low as possible, while some non-real-time traffic (such as file transfer) has relatively loose requirements for latency.
[0065] Voice traffic and video traffic have relatively high requirements for packet loss rate, and low packet loss rate is the key to ensuring quality. For applications such as web browsing and file downloading, the tolerance for packet loss rate is relatively high.
[0066] The initial network requirements are actually parameters preset based on experience, standards, and usage scenarios, used to represent the most basic network requirements for each traffic type.
[0067] Step 1022: Obtain the average bandwidth of the user terminal within a fixed historical duration, and use the average value as the bandwidth requirement.
[0068] The core of this part is to dynamically determine the bandwidth requirement based on historical bandwidth data. The system calculates the average bandwidth of the user terminal by recording the bandwidth usage within a certain historical duration (such as the past hour or a certain period of time). This step is very important because the real-time network environment may fluctuate, and historical data can reflect the actual bandwidth usage of the terminal.
[0069] For example, if the average bandwidth of the video traffic used by the user in the past period is 10Mbps, then the system will use this average value as the bandwidth requirement for network access point selection. And if the bandwidth fluctuates, the system can adjust the bandwidth requirement to adapt to the actual situation.
[0070] Step 1023: Use the signal strength requirement, the latency requirement, the bandwidth requirement, and the packet loss rate requirement as the current network requirement.
[0071] Integrate all the requirement parameters together to form the current network requirement. These comprehensive requirements are the dynamic network requirements generated by the system according to the current traffic type, historical bandwidth data, and preset requirements. In other words, this step is to integrate all different network requirements into a complete set of network requirements for the system's subsequent network selection and access point switching decisions.
[0072] Steps 1021 to 1023 can adjust the network requirements in real time according to the user's historical data and traffic type, making the system more intelligent and adaptable to changes in different scenarios, and avoiding connection quality problems in cases where the traffic demand is large or special.
[0073] Step 103: When the current access point does not meet the current network requirement, calculate the first network quality of other access points; the current access point refers to the access point device currently connected.
[0074] When the access point (such as a Wi-Fi base station or a cellular network base station) to which the user is currently connected cannot meet the above network requirements, the system will automatically evaluate the network quality of other nearby access points. The specific calculation logic of the first network quality is as follows:
[0075] Specifically, step 103 specifically includes steps 1031 to 1033:
[0076] Step 1031: If the current access point does not meet the current network requirements, obtain multiple other access points with a first signal strength greater than a first threshold;
[0077] First, the system will detect whether the access point to which the user is currently connected can meet the user's network requirements (such as bandwidth, latency, packet loss rate, etc.). If the network quality of the current access point is not good enough, the system will start the process of switching access points.
[0078] Next, the system will scan other surrounding access points. During this process, only access points with a signal strength greater than a set threshold (the first threshold) are considered. Setting a threshold can ensure that the system only selects access points with stronger signals, thereby improving the stability and reliability of the network after switching. The purpose of this signal strength threshold is to avoid selecting access points with too weak signals and unstable quality.
[0079] Specifically, step 1031 specifically includes steps A1 to A3:
[0080] Step A1: Obtain the second signal strength, second remaining bandwidth, second latency, and second packet loss rate of the current access point;
[0081] The purpose of this part is to obtain the latest network quality data of the current access point. Specifically:
[0082] Second signal strength: The actual signal strength of the current access point. It represents the signal quality between the access point and the user device and is a key indicator for evaluating connection stability.
[0083] Second remaining bandwidth: The remaining bandwidth capacity of the current access point, that is, the available transmission capacity of the access point. The larger the bandwidth, the more users and higher data transmission rates can be supported.
[0084] Second latency: The network latency of the current access point, usually used to measure the response speed of data transmission. Low latency is particularly important for real-time applications such as video calls and online games.
[0085] Second packet loss rate: The packet loss rate of the current access point, which refers to the proportion of packets lost during data transmission. A higher packet loss rate will affect the stability of the network, especially having a greater impact on voice, video, and other real-time applications.
[0086] This data helps the system comprehensively understand the network status of the current access point and provides data support for subsequent quality assessment.
[0087] Step A2: Calculate the second network quality according to the second signal strength, the second remaining bandwidth, the second delay, the second packet loss rate, the signal strength requirement, the bandwidth requirement, the delay requirement, and the packet loss rate requirement.
[0088] In this part, the system will compare the network quality data of the current access point with the user's network requirements and calculate the second network quality. Among them, the calculation logic of the second network quality is the same as that of the first network quality. For the specific calculation process of the second network quality, please refer to the calculation process of the first network quality, which will not be elaborated here.
[0089] Step A3: If the second network quality of the current access point is lower than the second threshold, it is determined that the current access point does not meet the current network requirements, and multiple other access points with a first signal strength greater than the first threshold are obtained.
[0090] After calculating the second network quality, the system will compare it with the preset second threshold. If the network quality score of the current access point is lower than this threshold, it means that the quality of the current access point cannot meet the user's network requirements. The second threshold is a preset standard, indicating the minimum quality requirement that the access point must reach. If the network quality of the current access point is lower than this threshold, the system will determine that this access point does not meet the requirements and cannot continue to provide services to the user.
[0091] If the network quality of the current access point is lower than the second threshold, the system will initiate the access point switching process to find other access points with better network quality.
[0092] The system will scan other surrounding access points, and the access points with a first signal strength greater than the first threshold will be given priority. This first threshold of the signal strength is a set standard, used to filter out access points with weak signals and unstable quality, ensuring that a relatively stable network service can be provided after the access point is switched.
[0093] Steps A1 to A3 can quickly switch to an access point that meets the user's needs when the quality of the current access point is insufficient through precise network quality assessment and intelligent access point selection, ensuring that the user's network experience always remains at a high level.
[0094] Step 1032: Obtain the first signal strength, the first remaining bandwidth, the first delay, and the first packet loss rate of other access points.
[0095] After obtaining the access points with signal strength meeting the requirements, the system will further evaluate the network quality of each access point. Specifically, the system will collect the following information of each access point:
[0096] First signal strength: The signal strength of the access point, which determines the connection stability. A strong signal means a stable network connection.
[0097] First remaining bandwidth: The currently available bandwidth of each access point, that is, the remaining bandwidth capacity of the access point. This is an important factor in evaluating whether the access point can meet the user traffic demand.
[0098] First latency: The network latency of the access point, which affects the rate of data transmission and the requirements for real-time performance. Low latency is crucial for real-time applications (such as voice, video, online games, etc.).
[0099] First packet loss rate: The packet loss rate refers to the proportion of data packets lost during network transmission. A high packet loss rate will result in poor communication quality. Especially during voice and video calls, a too high packet loss rate will cause stuttering or unclear sound quality.
[0100] This information helps the system comprehensively evaluate the network quality of each access point and provides data support for the next step of access point selection.
[0101] Step 1033: Calculate the first network quality according to the first signal strength, the first remaining bandwidth, the first latency, the first packet loss rate, the signal strength requirement, the bandwidth requirement, the latency requirement, and the packet loss rate requirement.
[0102] After obtaining the key network quality indicators of each access point, the system will compare and calculate based on these data with the current traffic requirements (such as signal strength requirement, bandwidth requirement, latency requirement, and packet loss rate requirement), and comprehensively evaluate the first network quality of each access point. The specific calculation process may include:
[0103] Signal strength matching: By comparing the first signal strength of the access point with the user's signal strength requirement, it is judged whether the access point can provide sufficient signal strength. The closer the signal strength is to the required value, the higher the score.
[0104] Bandwidth matching: Compare the first remaining bandwidth of the access point with the user's bandwidth requirement to ensure that the access point can provide sufficient bandwidth. If the bandwidth meets the requirement, the score is relatively high.
[0105] Latency matching: Compare the first latency of the access point with the user's latency requirement. An access point with low latency will obtain a higher score. Real-time applications have higher requirements for latency, so access points with low latency are preferred.
[0106] Packet loss rate matching: Compare the first packet loss rate of the access point with the user's packet loss rate requirement. An access point with a low packet loss rate can provide better network stability, which is crucial especially for applications with high requirements such as voice, video, and real-time data streams.
[0107] Based on the above indicators, the system calculates a first network quality value for each access point. This value is a comprehensive score indicating the ability of the access point to meet the current needs of users.
[0108] Specifically, step 1033 specifically includes: inputting the first signal strength, the first remaining bandwidth, the first delay, the first packet loss rate, the signal strength requirement, the bandwidth requirement, the delay requirement, and the packet loss rate requirement into a preset function to obtain the first network quality;
[0109] The preset function is:
[0110]
[0111] where Q represents the first network quality, P 1 represents the first signal strength, P req represents the signal strength requirement, B 1 represents the first remaining bandwidth, B req represents the bandwidth requirement, D 1 represents the first delay, D req represents the delay requirement, L 1 represents the first packet loss rate, L req represents the packet loss rate requirement, α 1 、α 2 、α 3 and α 4 represent preset tuning factors.
[0112] To quantify the gap of each indicator, four performance functions are adopted in the preset function, which are respectively for signal strength, bandwidth, delay, and packet loss rate. These functions transform the gap between each indicator and its requirement into a value within the range of [0, 1] through different mathematical forms, where 1 indicates that the indicator fully meets the requirement and 0 indicates that the indicator completely does not meet the requirement.
[0113] This function measures the relative gap between the signal strength P 1 and the required signal strength P req The higher the signal strength, the better. Therefore, when P 1 is closer to P req , the signal quality is better and the function value is close to 1. If the signal strength is lower than the requirement, the function value decreases and tends to 0. This is a linear attenuation function, which reflects the proportional gap between the signal strength and the requirement.
[0114] This function measures the bandwidth B 1 and the required bandwidth Breq The relative gap. If the current bandwidth is sufficient to meet the demand (i.e., B 1 ≥B req ), the function value is 1, indicating that the network fully meets the bandwidth demand. If the bandwidth is insufficient, the function value is less than 1, and when the bandwidth is 0, the function value is 0. The minimum value function is used here to ensure that the bandwidth performance does not exceed the maximum value of 1, avoiding unnecessary weighting caused by excessive bandwidth.
[0115] This function measures the gap between the delay D 1 and the required delay D req . The lower the delay, the better. Therefore, when D 1 is very small (low delay), the function value is close to 1; while when the delay is high, the function value is close to 0. The reciprocal relationship is used in the function, which can clearly express the inverse relationship between the delay and the requirement.
[0116] This function measures the gap between the packet loss rate L 1 and the required packet loss rate L req . The lower the packet loss rate, the better. Therefore, when the packet loss rate is very low, the function value is close to 1; when the packet loss rate is very high, the function value is close to 0. The reciprocal relationship is also used in the function, indicating that an increase in the packet loss rate will lead to a significant decline in the network quality.
[0117] The value of each performance function is multiplied by a tuning factor α 1 , α 2 , α 3 and α 4 to adjust the importance of each indicator in the total network quality score. These tuning factors can be adjusted according to different application scenarios and changing requirements. For example, in some cases, the delay may be more important than the bandwidth, or the packet loss rate may have a greater impact on some real-time communication applications. The tuning factors ensure that the contributions of different indicators to the network quality are adjustable and can flexibly adapt to different network environments and application requirements.
[0118] Steps 1031 to 1033 can intelligently evaluate the network quality of multiple access points, avoid the trouble of network instability for users when the quality of the current access point is poor, and make dynamic adjustments according to actual needs, thus providing a better user experience.
[0119] Step 104: Extract the other access point corresponding to the maximum first network quality, and switch the user terminal from the current access point to the other access point corresponding to the maximum first network quality.
[0120] After the system calculates the network quality of different access points, it will select the access point with the best network quality. The "maximum first network quality" here is to determine an access point that is most suitable for the current traffic type and requirements after considering multiple factors.
[0121] Once the best access point is found, the system will automatically switch the user terminal from the current access point to this access point with the best quality. This switching process needs to be as smooth as possible to avoid interruptions in the user experience, such as network disconnection or excessive connection delay.
[0122] This step ensures that when the current access point cannot provide sufficient quality of service, the terminal can switch to a more suitable access point in a timely manner, thus ensuring that the user experience will not be affected by poor network quality.
[0123] Specifically, step 104 specifically includes steps 1041 to 1042:
[0124] Step 1041: If the maximum first network quality is greater than the second network quality, then switch the user terminal from the current access point to the other access point corresponding to the maximum first network quality;
[0125] Among multiple other access points, the system has calculated the network quality scores of each access point through indicators such as signal strength, bandwidth, delay, and packet loss rate. The maximum first network quality refers to the access point with the highest network quality score among all other access points.
[0126] The network quality of the current access point, after the aforementioned calculation and evaluation, obtains a relatively low network quality score (i.e., the "second network quality" in the previous steps). Compare the maximum first network quality with the second network quality: The system determines whether to switch the access point by comparing the maximum first network quality with the second network quality of the current access point.
[0127] If the maximum first network quality (i.e., the best quality of other access points) is better than the second network quality of the current access point, it means that the network quality provided by other access points is better and can meet the user's higher network requirements. In this case, the system will switch the user's terminal from the current access point to the access point with the best network quality. This means that the system improves the network performance by optimizing the access point selection and avoids the situation where the user experience deteriorates due to the poor network quality of the current access point.
[0128] Step 1042: If the maximum first network quality is not greater than the second network quality, then maintain the connection state between the current access point and the user terminal.
[0129] If the maximum first network quality does not exceed the second network quality, it indicates that the network quality of the current access point is at least comparable to or better than that of other access points. In this case, the system deems it unnecessary to switch the access point. Since the network quality of the current access point is already good enough, switching the access point may cause connection interruption or other additional complexities. Therefore, the system will choose to maintain the connection status between the current access point and the user terminal. This strategy can avoid unnecessary switching operations and reduce the impact of network fluctuations on the user experience.
[0130] The core objective of steps 1041 to 1042 is to dynamically adjust the access point selection so that the user can always maintain a connection with the access point having the optimal network quality. By comparing the network quality of the current access point with that of other access points, the system makes a decision on whether to switch the access point, thereby optimizing the network performance and enhancing the user experience. If the user switches to an access point with higher quality, the network experience will be improved. Especially in application scenarios with high network load, high bandwidth requirements, and strict latency requirements, switching to an access point with strong signal, large bandwidth, and low latency will significantly improve the experience. If the system frequently switches the access point without significantly improving the network quality, it may lead to unstable connections and even affect the user experience. Therefore, this solution avoids unnecessary switching operations without obvious improvement by determining whether the maximum first network quality is greater than the second network quality.
[0131] Optionally, after step 104, it further includes: using the other access point corresponding to the maximum first network quality as the current access point, and repeatedly executing the step of calculating the first network quality of other access points when the current access point does not meet the current network requirements and subsequent steps.
[0132] During the process of switching to a new access point, continuously detect the network quality and perform wireless roaming based on the logic of steps 101 to 104.
[0133] In this embodiment, by obtaining the current traffic type of the user terminal, which covers various traffic types such as Web traffic, video traffic, voice traffic, file transfer traffic, real-time application traffic, cloud service traffic, and IoT traffic, each traffic type has different network requirements. For example, video traffic has high requirements for bandwidth and latency, while voice traffic is sensitive to packet loss rate and latency. The system can automatically match the current network requirements according to different traffic types to ensure the reasonable allocation of network resources. When the current access point cannot meet the user's traffic requirements, the system will detect the network quality of other available access points in real time and evaluate its first network quality. The first network quality indicators include important network performance parameters such as signal strength, bandwidth, latency, and packet loss rate. This process can intelligently determine the best access point and provide a more efficient and stable network connection for users. This solution calculates and extracts the access point with the optimal network quality, and intelligently switches the user terminal from the current access point to the access point with the optimal network quality. The switching process is efficient and seamless, which can ensure that users always maintain high network performance and low connection interruption rate under different traffic requirements and network environments, significantly improving the user experience. The implementation of this solution can not only improve the real-time network experience of the user terminal, but also optimize the allocation of network resources through intelligent switching, improving the resource utilization rate of the entire network system. At the same time, it reduces the need for manual intervention when the network quality is poor, providing a more stable and smooth network service for users, especially in high-demand application scenarios such as high-definition video playback, online games, and voice calls. In short, through real-time analysis and intelligent scheduling, this technical solution can ensure that the user terminal is always connected to the access point with the best network quality under different traffic requirements, thus effectively improving the overall network service performance and user experience, and adapting to the challenges of modern diversified traffic requirements and high-quality network connections.
[0134] Such as Figure 2 The present invention provides a device 2 based on FTTR wireless roaming. Please refer to Figure 2 , Figure 2 shows a schematic diagram of a device based on FTTR wireless roaming provided by the present invention. Such as Figure 2 A device based on FTTR wireless roaming shown includes:
[0135] An acquisition unit 21, configured to acquire the current traffic type of the user terminal; the traffic type includes Web traffic, video traffic, voice traffic, file transfer traffic, real-time application traffic, cloud service traffic, and IoT traffic;
[0136] A matching unit 22, configured to match the current network requirements corresponding to the current traffic type; wherein, different traffic types respectively correspond to different network requirements, and the current network requirements include signal strength requirements, bandwidth requirements, latency requirements, and packet loss rate requirements;
[0137] A computing unit 23, configured to calculate a first network quality of other access points when the current access point does not meet the current network requirements; the current access point refers to the access point device currently connected.
[0138] A switching unit 24, configured to extract the other access point corresponding to the maximum first network quality, and switch the user terminal from the current access point to the other access point corresponding to the maximum first network quality.
[0139] A device based on FTTR wireless roaming provided by the present invention obtains the current traffic type of the user terminal, covering various traffic types such as Web traffic, video traffic, voice traffic, file transfer traffic, real-time application traffic, cloud service traffic, and IoT traffic. Each traffic type has different network requirements. For example, video traffic has higher requirements for bandwidth and latency, while voice traffic is sensitive to packet loss rate and latency. The system can automatically match the current network requirements according to different traffic types to ensure the reasonable allocation of network resources. When the current access point cannot meet the user's traffic requirements, the system will detect the network quality of other available access points in real time and evaluate their first network quality. The first network quality indicators include important network performance parameters such as signal strength, bandwidth, latency, and packet loss rate. This process can intelligently determine the best access point and provide a more efficient and stable network connection for users. This solution calculates and extracts the access point with the best network quality, and intelligently switches the user terminal from the current access point to the access point with the best network quality. The switching process is efficient and seamless, which can ensure that users always maintain high network performance and low connection interruption rate under different traffic demands and network environments, significantly improving the user experience. The implementation of this solution can not only improve the real-time network experience of the user terminal, but also optimize the allocation of network resources through intelligent switching, improving the resource utilization rate of the entire network system. At the same time, it reduces the need for manual intervention when the network quality is poor, providing a more stable and smooth network service for users, especially in high-demand application scenarios such as high-definition video playback, online games, and voice calls. In short, through real-time analysis and intelligent scheduling, this technical solution can ensure that the user terminal is always connected to the access point with the best network quality under different traffic demands, thereby effectively improving the overall network service performance and user experience, and adapting to the challenges of modern diverse traffic demands and high-quality network connections.
[0140] Figure 3 is a schematic diagram of a terminal device provided by an embodiment of the present invention. As Figure 3As shown, a terminal device 3 in this embodiment includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and executable on the processor 30, such as a program based on FTTR wireless roaming. When the processor 30 executes the computer program 32, the steps in the above-mentioned method embodiments of a method based on FTTR wireless roaming are implemented, such as Figure 1 the steps 101 to 105 shown. Alternatively, when the processor 30 executes the computer program 32, the functions of each unit in the above-mentioned device embodiments are implemented, such as Figure 2 the functions of the units 21 to 25 shown.
[0141] Exemplarily, the computer program 32 can be divided into one or more units. The one or more units are stored in the memory 31 and executed by the processor 30 to complete the present invention. The one or more units can be a series of computer program instruction segments capable of performing specific functions, and these instruction segments are used to describe the execution process of the computer program 32 in the terminal device 3. For example, the specific functions of the computer program 32 can be divided into the following units:
[0142] An acquisition unit, configured to acquire the current traffic type of the user terminal; the traffic type includes Web traffic, video traffic, voice traffic, file transfer traffic, real-time application traffic, cloud service traffic, and IoT traffic;
[0143] A matching unit, configured to match the current network requirements corresponding to the current traffic type; among them, different traffic types respectively correspond to different network requirements, and the current network requirements include signal strength requirements, bandwidth requirements, latency requirements, and packet loss rate requirements;
[0144] A calculation unit, configured to calculate the first network quality of other access points when the current access point does not meet the current network requirements; the current access point refers to the access point device currently connected;
[0145] A switching unit, configured to extract the other access point corresponding to the maximum first network quality, and switch the user terminal from the current access point to the other access point corresponding to the maximum first network quality.
[0146] The terminal device includes but is not limited to the processor 30 and the memory 31. Those skilled in the art can understand that Figure 3 this is only an example of a terminal device 3, and does not constitute a limitation on a terminal device 3. It may include more or fewer components than shown in the figure, or combine some components, or different components. For example, the terminal device may further include input / output devices, network access devices, buses, etc.
[0147] The processor 30 may be a Central Processing Unit (CPU), or may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0148] The memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or memory of the terminal device 3. The memory 31 may also be an external storage device of the terminal device 3, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc. equipped on the terminal device 3. Further, the memory 31 may also include both the internal storage unit and the external storage device of the terminal device 3. The memory 31 is used to store the computer program and other programs and data required by the roaming control device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
[0149] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution is prior or posterior. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0150] It should be noted that the content such as information interaction and execution process between the above devices / units, due to being based on the same concept as the method embodiments of the present invention, for its specific functions and the technical effects brought, reference may be specifically made to the method embodiment part, and details are not described herein again.
[0151] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of the present invention. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0152] An embodiment of the present invention also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0153] An embodiment of the present invention provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal is caused to execute the steps in the above-mentioned method embodiments.
[0154] If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above method embodiments of the present invention, a computer program can be used to instruct relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the photographing device / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.
[0155] In the above embodiments, the descriptions of the various embodiments have their own emphases. For parts not detailed or recorded in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0156] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. A professional technician can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0157] In the embodiments provided by the present invention, it should be understood that the disclosed device / network device and method can be implemented in other ways. For example, the device / network device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in an electrical, mechanical or other forms.
[0158] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units. They can be located in one place or distributed to multiple network units.
[0159] It should be understood that when used in the specification and appended claims of the present invention, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their combinations.
[0160] It should also be understood that the term "and / or" used in the specification and appended claims of the present invention refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0161] As used in the specification of the present invention and the appended claims, the term "if" may be construed contextually as "when" or "once" or "in response to determining" or "in response to detecting". Similarly, the phrases "if determined" or "if [the described condition or event] is detected" may be construed contextually to mean "once determined" or "in response to determining" or "once [the described condition or event] is detected" or "in response to detecting [the described condition or event]".
[0162] In addition, in the description of the specification of the present invention and the appended claims, the terms "first", "second", "third", etc. are used only for distinguishing descriptions and cannot be construed as indicating or implying relative importance.
[0163] Reference to "one embodiment" or "some embodiments" or the like described in the specification of the present invention means 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, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "comprising", "including", "having", and their variants all mean "including but not limited to", unless otherwise specifically emphasized in another way.
[0164] The above-described embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention and should all be included within the protection scope of the present invention.
Claims
1. A method based on FTTR wireless roaming, characterized in that: The method based on FTTR wireless roaming includes: Obtain the current traffic type of the user terminal; the traffic type includes Web traffic, video traffic, voice traffic, file transfer traffic, real-time application traffic, cloud service traffic and IoT traffic; Matching the current network demand corresponding to the current traffic type; wherein different traffic types correspond to different network demands, and the current network demands include signal strength demand, bandwidth demand, delay demand and packet loss rate demand; When the current access point does not meet the current network requirement, calculating the first network quality of other access points; the current access point refers to a currently connected access point device; Other access points corresponding to the maximum first network quality are extracted, and the user terminal is switched from the current access point to the other access points corresponding to the maximum first network quality.
2. The method based on FTTR wireless roaming as claimed in claim 1, characterized in that: The step of matching the current network demand corresponding to the current traffic type includes: Matching the initial network demand corresponding to the current traffic type; the initial network demand refers to the initial value of the pre-set network demand; the initial network demand includes signal strength demand, delay demand and packet loss rate demand; Obtaining an average bandwidth of the user terminal within a fixed historical time period, and using the average bandwidth as the bandwidth demand; The signal strength requirement, the delay requirement, the bandwidth requirement and the packet loss rate requirement are used as the current network requirement.
3. The method based on FTTR wireless roaming according to claim 1, characterized in that: The step of calculating the first network quality of other access points when the current access point does not meet the current network requirement, wherein the current access point refers to a currently connected access point device, comprises: If the current access point does not meet the current network requirement, acquiring a plurality of other access points whose first signal strength is greater than a first threshold; Obtaining a first signal strength, a first remaining bandwidth, a first delay, and a first packet loss rate of other access points; A first network quality is calculated according to the first signal strength, the first remaining bandwidth, the first delay, the first packet loss rate, the signal strength requirement, the bandwidth requirement, the delay requirement, and the packet loss rate requirement.
4. The method based on FTTR wireless roaming as claimed in claim 3, characterized in that: The step of calculating the first network quality according to the first signal strength, the first remaining bandwidth, the first delay, the first packet loss rate, the signal strength requirement, the bandwidth requirement, the delay requirement, and the packet loss rate requirement comprises: Input the first signal strength, the first remaining bandwidth, the first delay, the first packet loss rate, the signal strength requirement, the bandwidth requirement, the delay requirement, and the packet loss rate requirement into a preset function to obtain the first network quality; The preset function is: Wherein, Q represents the first network quality, P1 represents the first signal strength, and P req represents the signal strength requirement, B1 represents the first remaining bandwidth, and B req represents the bandwidth requirement, D1 represents the first delay, and D req represents the delay requirement, L1 represents the first packet loss rate, L req represents the packet loss rate requirement, and α1, α2, α3 and α4 represent preset parameter adjustment factors.
5. The method based on FTTR wireless roaming as claimed in claim 3, characterized in that: If the current access point does not meet the current network requirement, the step of acquiring a plurality of other access points whose first signal strength is greater than a first threshold comprises: Obtaining a second signal strength, a second remaining bandwidth, a second delay, and a second packet loss rate of the current access point; Calculate a second network quality according to the second signal strength, the second remaining bandwidth, the second delay, the second packet loss rate, the signal strength requirement, the bandwidth requirement, the delay requirement, and the packet loss rate requirement; If the second network quality of the current access point is lower than the second threshold, it is determined that the current access point does not meet the current network requirement, and a plurality of other access points whose first signal strength is greater than the first threshold are acquired.
6. The method based on FTTR wireless roaming according to claim 1, characterized in that: The step of extracting other access points corresponding to the maximum first network quality and switching the user terminal from the current access point to the other access points corresponding to the maximum first network quality includes: If the maximum first network quality is greater than the second network quality, switching the user terminal from the current access point to another access point corresponding to the maximum first network quality; If the maximum first network quality is not greater than the second network quality, the connection state between the current access point and the user terminal is maintained.
7. The method based on FTTR wireless roaming as claimed in claim 1, characterized in that: After the step of extracting other access points corresponding to the maximum first network quality and switching the user terminal from the current access point to the other access points corresponding to the maximum first network quality, the method further includes: The other access points corresponding to the maximum first network quality are used as current access points, and the step of calculating the first network quality of other access points when the current access point does not meet the current network requirement and subsequent steps are executed cyclically.
8. A device based on FTTR wireless roaming, characterized in that: The device based on FTTR wireless roaming includes: An acquisition unit, configured to acquire a current traffic type of a user terminal; the traffic type includes Web traffic, video traffic, voice traffic, file transfer traffic, real-time application traffic, cloud service traffic, and IoT traffic; A matching unit, configured to match a current network demand corresponding to the current traffic type; wherein different traffic types correspond to different network demands, and the current network demands include signal strength demand, bandwidth demand, delay demand and packet loss rate demand; A calculation unit, configured to calculate the first network quality of other access points when the current access point does not meet the current network requirement; the current access point refers to a currently connected access point device; The switching unit is used to extract other access points corresponding to the maximum first network quality, and switch the user terminal from the current access point to the other access points corresponding to the maximum first network quality.
9. A terminal device, characterized in that: The terminal device includes: a memory, a processor, and a program based on FTTR wireless roaming stored in the memory and executable on the processor, wherein the program based on FTTR wireless roaming is configured to implement the steps in the method based on FTTR wireless roaming as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.