Roaming switching method and device in FTTR network environment
In the FTTR network environment, the terminal device sends traffic type information and calculates roaming priority, filters the best access point for switching, solving the network interruption and delay problems caused by traditional roaming switching methods, and improving network performance and user experience.
Patent Information
- Application Number
- CN202510390412.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-05-02
AI Technical Summary
Traditional roaming switching methods usually only rely on signal strength for selection, which can easily lead to network interruptions and delays during the switching process, especially in applications such as video streaming, online games and real-time live broadcasts that require high network quality.
When the signal strength of the current access point device is below the threshold, the terminal device sends traffic type information to other access point devices, receives and calculates the roaming priority, comprehensively considers the signal strength and network parameters, and filters out the best target access point device for switching.
By optimizing the roaming switching process, the lag and delay caused by network switching are significantly reduced, the user experience is improved, and network needs in different application scenarios are met.
Smart Images

Figure CN119922637A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of network communications, and in particular relates to a method and device for roaming switching in an FTTR network environment. Background Art
[0002] With the continuous development and popularization of wireless network technology, users' demand for wireless networks is also increasing. In various scenarios such as home, office environment and public places, the coverage, stability and efficiency of wireless networks have become particularly important. Especially in applications such as smart home, high-definition video transmission, online games and real-time live broadcast, users' demand for high bandwidth, low latency and stable connection of the network is becoming more and more urgent.
[0003] Traditional wireless networks usually rely on a single wireless access point (AP) to cover a certain area. However, with the increase in the number of users and the diversification of network applications, a single AP often cannot meet the needs of users, and problems such as network congestion and insufficient signal coverage are prone to occur. In order to solve these problems, solutions for multi-AP collaboration have been proposed in recent years, such as the FTTR (Fiber To The Room) network environment. The FTTR network is a new type of home network solution that introduces optical fiber into each room and combines multiple wireless access point devices to achieve a high-bandwidth, low-latency, and seamless coverage wireless network environment. The FTTR network can significantly improve the network coverage and signal quality, meeting users' needs for high-quality network connections.
[0004] However, as users move around (for example, from one room to another), terminal devices may experience signal switching between multiple APs. Traditional roaming switching methods usually rely solely on signal strength for selection, which can easily lead to network interruptions and increased latency during the switching process. These problems are particularly prominent in applications that require high network quality, such as video streaming, online games, and live broadcasts. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a method and apparatus for roaming switching in an FTTR network environment to solve the technical problem that traditional roaming switching methods usually only rely on signal strength for selection, which easily leads to network interruption and increased delay during the switching process.
[0006] A first aspect of an embodiment of the present invention provides a method for roaming switching in an FTTR network environment, wherein the method for roaming switching in an FTTR network environment is applied to a terminal device, and the method for roaming switching in an FTTR network environment includes: When the first signal strength of the current access point device is lower than the first threshold, the terminal device sends a traffic type to other access point devices; the traffic type includes a video traffic type, an online game traffic type, a web page traffic type, and a real-time live broadcast traffic type; Receiving a roaming priority returned by the other access point device according to the traffic type; wherein the roaming priority is calculated based on the traffic type and network parameters, and the network parameters include bandwidth margin, current number of connections, delay, and packet loss rate of the other access point device; Filtering a target access point device from a plurality of other access point devices according to the roaming priorities corresponding to each of the plurality of other access point devices and the second signal strengths corresponding to each of the plurality of other access point devices; Switch the current access point device currently connected to the terminal device to the target access point device.
[0007] Further, the step of screening the target access point device from the plurality of other access point devices according to the roaming priorities corresponding to the plurality of other access point devices and the second signal strengths corresponding to the plurality of other access point devices comprises: Calculate a roaming score according to the roaming priority corresponding to the other access point devices and the second signal strength corresponding to the other access point devices; The other access point devices corresponding to the maximum roaming score are used as the target access point devices.
[0008] Further, the step of calculating the roaming score according to the roaming priority corresponding to other access point devices and the second signal strength corresponding to other access point devices includes: Substituting the roaming priority corresponding to other access point devices and the second signal strength corresponding to other access point devices into function one, and obtaining a roaming score; The function 1 is: in, represents the roaming score of the i-th other access point device, represents the roaming priority of the i-th other access point device, Indicates the maximum roaming priority of all other access point devices. represents the signal strength of the i-th other access point device, Indicates the minimum signal strength among all other access point devices. Indicates the maximum signal strength among all other access point devices. represents the first weight parameter, represents the second weight parameter, represents the first adjustment index, Represents the second adjustment index.
[0009] Furthermore, after the step of switching the current access point device currently connected to the terminal device to the target access point device, the method further includes: The target access point device is used as the current access point device, and the step of the terminal device sending the traffic type to other access point devices when the first signal strength of the current access point device is lower than the first threshold and subsequent steps are executed cyclically.
[0010] A second aspect of an embodiment of the present invention provides a method for roaming switching in an FTTR network environment. The method for roaming switching in an FTTR network environment is applied to other access point devices. The method for roaming switching in an FTTR network environment includes: The type of traffic sent by the receiving terminal device; Matching multiple preset weight coefficients corresponding to the traffic type; the multiple preset weight coefficients include a first weight coefficient corresponding to the bandwidth margin, a second weight coefficient corresponding to the current number of connections, a third weight coefficient corresponding to the delay, and a fourth weight coefficient corresponding to the packet loss rate; Calculate the roaming priority according to the bandwidth margin, the current number of connections, the delay, the packet loss rate, the first weight coefficient corresponding to the bandwidth margin, the second weight coefficient corresponding to the current number of connections, the third weight coefficient corresponding to the delay, and the fourth weight coefficient corresponding to the packet loss rate; The roaming priority is sent to the terminal device; the roaming priority is used to screen a target access point, and switch a current access point device currently connected to the terminal device to a target access point device.
[0011] Further, the step of calculating the roaming priority according to the bandwidth margin, the current number of connections, the delay, the packet loss rate, the first weight coefficient corresponding to the bandwidth margin, the second weight coefficient corresponding to the current number of connections, the third weight coefficient corresponding to the delay, and the fourth weight coefficient corresponding to the packet loss rate includes: Substituting the bandwidth margin, the current number of connections, the delay, the packet loss rate, the first weight coefficient corresponding to the bandwidth margin, the second weight coefficient corresponding to the current number of connections, the third weight coefficient corresponding to the delay, and the fourth weight coefficient corresponding to the packet loss rate into function 2 to obtain the roaming priority; The second function is: in, Indicates roaming priority. Indicates the bandwidth margin, Indicates the current number of connections. Indicates delay, Indicates the packet loss rate, represents the first weight coefficient corresponding to the bandwidth margin, Indicates the second weight coefficient corresponding to the current number of connections, represents the third weight coefficient corresponding to the delay, Indicates the fourth weight coefficient corresponding to the packet loss rate, Indicates the preset threshold value, Indicates milliseconds, Indicates the judgment condition. It means the relationship between the two is and.
[0012] A third aspect of an embodiment of the present invention provides a device for roaming handover in an FTTR network environment, including: A judgment unit, configured to, when the first signal strength of the current access point device is lower than a first threshold, cause the terminal device to send a traffic type to other access point devices; the traffic type includes a video traffic type, an online game traffic type, a web page traffic type, and a real-time live broadcast traffic type; A first receiving unit, configured to receive a roaming priority returned by the other access point device according to the traffic type; wherein the roaming priority is calculated based on the traffic type and network parameters, and the network parameters include a bandwidth margin, a current number of connections, a delay, and a packet loss rate of the other access point device; a screening unit, configured to screen a target access point device from a plurality of other access point devices according to the roaming priorities respectively corresponding to the plurality of other access point devices and the second signal strengths respectively corresponding to the plurality of other access point devices; The roaming unit is used to switch the current access point device currently connected to the terminal device to the target access point device.
[0013] A fourth aspect of an embodiment of the present invention provides a device for roaming handover in an FTTR network environment, including: A second receiving unit, used to receive the traffic type sent by the terminal device; A matching unit, configured to match a plurality of preset weight coefficients corresponding to the traffic type; the plurality of preset weight coefficients comprising a first weight coefficient corresponding to the bandwidth margin, a second weight coefficient corresponding to the current number of connections, a third weight coefficient corresponding to the delay, and a fourth weight coefficient corresponding to the packet loss rate; a calculation unit, configured to calculate the roaming priority according to the bandwidth margin, the current number of connections, the delay, the packet loss rate, the first weight coefficient corresponding to the bandwidth margin, the second weight coefficient corresponding to the current number of connections, the third weight coefficient corresponding to the delay, and the fourth weight coefficient corresponding to the packet loss rate; A sending unit is used to send the roaming priority to the terminal device; the roaming priority is used to screen a target access point and switch a current access point device currently connected to the terminal device to a target access point device.
[0014] The fifth aspect of an embodiment 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, wherein the processor implements the steps of the method described in the first aspect when executing the computer program.
[0015] A sixth aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0016] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: the traditional roaming switching method mainly relies on signal strength for selection, which is prone to network interruption and increased delay during the switching process. In this method, when the first signal strength of the current access point device is lower than the first threshold, the terminal device sends traffic type information to other access point devices, so that the access point can respond according to the actual needs of the terminal device, thereby effectively reducing network interruption and delay during the switching process. Different traffic types (such as video traffic, online game traffic, web traffic and real-time live broadcast traffic) have different requirements for parameters such as network bandwidth, delay and packet loss rate. In this method, by calculating the roaming priority according to the traffic type and network parameters (including bandwidth margin, current number of connections, delay and packet loss rate), network resources can be allocated and utilized more efficiently, ensuring that network requirements in different application scenarios are met. In the switching decision process, not only the signal strength of other access point devices is considered, but also the roaming priority calculated by each access point device according to the traffic type is combined. After considering multiple factors, the terminal device can screen out the best target access point device to ensure the accuracy and stability of the switching. For applications that have high requirements for network quality, such as video streaming, online games, and real-time live broadcasts, this method significantly reduces problems such as lag and delay caused by network switching by optimizing the switching process, thereby enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces 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 ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A schematic flow chart of a method for roaming switching in an FTTR network environment provided by the present invention is shown; Figure 2 A schematic diagram showing a device for roaming handover in an FTTR network environment provided by an embodiment of the present invention; Figure 3 A schematic diagram of a terminal device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0019] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may 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 prevent unnecessary details from obstructing the description of the present invention.
[0020] The embodiment of the present invention provides a method and device for roaming switching in an FTTR network environment to solve the technical problem that the traditional roaming switching method usually only relies on signal strength for selection, which easily leads to network interruption and increased delay during the switching process.
[0021] First, the present invention provides a method for roaming switching in an FTTR network environment, and the method for roaming switching in an FTTR network environment is applied to a terminal device. The method for roaming switching in an FTTR network environment can be based on an FTTR system, an FTTR-B system, or a broadband converged terminal. Figure 1 , Figure 1 FIG. 2 is a schematic flow chart showing a method for roaming switching in an FTTR network environment provided by the present invention. Figure 1 As shown, the method for roaming switching in the FTTR network environment may include the following steps: Step 101: When the first signal strength of the current access point device is lower than the first threshold, the terminal device sends a traffic type to other access point devices; the traffic type includes a video traffic type, an online game traffic type, a web page traffic type, and a real-time live broadcast traffic type; When the terminal device detects that the first signal strength of the current access point device is lower than the preset first threshold, the terminal device prepares for roaming switching. The first threshold is a set signal strength critical value. When the signal strength is lower than this value, it indicates that the signal quality of the current access point has deteriorated, which may affect network performance.
[0022] The terminal device sends the information of the traffic type currently in use to other access point devices. Traffic types include but are not limited to different categories such as video traffic, online game traffic, web traffic and real-time live broadcast traffic. These traffic types are sent to let other access point devices understand the needs of the terminal device and provide more matching network services.
[0023] Step 102: receiving a roaming priority returned by the other access point device according to the traffic type; wherein the roaming priority is calculated based on the traffic type and network parameters, and the network parameters include bandwidth margin, current number of connections, delay, and packet loss rate of the other access point device; Other access point devices return corresponding roaming priorities based on the received traffic type information. These priorities are calculated based on the traffic type and the network parameters of each access point device. Network parameters include but are not limited to bandwidth margin, current number of connections, latency, and packet loss rate.
[0024] Bandwidth margin refers to the available bandwidth of the current access point device. Current number of connections refers to the number of terminals currently connected to the access point device. Latency refers to the network delay of the access point device. Packet loss rate refers to the packet loss rate of the access point device. These parameters together determine the quality of service that each access point can provide, thereby forming the roaming priority.
[0025] Step 103: Filtering a target access point device from a plurality of other access point devices according to the roaming priorities corresponding to each of the plurality of other access point devices and the second signal strengths corresponding to each of the plurality of other access point devices; The terminal device selects the most suitable target access point device from the multiple access point devices according to the roaming priorities and the corresponding second signal strengths returned by the multiple other access point devices. The second signal strength refers to the current signal strength of the other access point devices. The screening process comprehensively considers the roaming priority (i.e., network service quality) and signal strength to select the best access point device for switching.
[0026] Specifically, step 103 specifically includes step 1031 to step 1032: Step 1031: Calculate a roaming score according to the roaming priority corresponding to other access point devices and the second signal strength corresponding to other access point devices; Specifically, step 1031 specifically includes: substituting the roaming priority corresponding to other access point devices and the second signal strength corresponding to other access point devices into function one to obtain a roaming score; The function 1 is: in, represents the roaming score of the i-th other access point device, represents the roaming priority of the i-th other access point device, Indicates the maximum roaming priority of all other access point devices. represents the signal strength of the i-th other access point device, Indicates the minimum signal strength among all other access point devices. Indicates the maximum signal strength among all other access point devices. represents the first weight parameter, represents the second weight parameter, represents the first adjustment index, Represents the second adjustment index.
[0027] This part combines roaming priority and signal strength through normalization and nonlinear adjustment to give a comprehensive score. and The relative influence of priority and signal strength can be adjusted.
[0028] This section combines signal strength and priority to ensure that a high-priority access point is not scored too high when its signal strength is weak, nor is it scored too low when a low-priority access point is strong.
[0029] Final Rating It is the sum of the above two parts, taking into account the roaming priority and signal strength of the access point, ensuring that the device can make better decisions when switching between different access points. , , and The value of can be used to optimize function 1 to adapt to the specific network environment and requirements.
[0030] Step 1032: Use other access point devices corresponding to the maximum roaming score as the target access point devices.
[0031] In the embodiment corresponding to step 1031 to step 1032, by calculating the roaming score, the two key factors of roaming priority and signal strength are comprehensively considered to ensure that the selected access point not only has a high signal strength but also can provide good network service quality. This method avoids potential problems caused by relying only on signal strength or network parameters.
[0032] Step 104: Switch the current access point device currently connected to the terminal device to the target access point device.
[0033] The terminal device switches the access point device it is currently connected to to the selected target access point device, thus achieving seamless roaming. This process ensures that the terminal device can quickly switch to a suitable access point when the signal strength is insufficient, reducing network interruption and delay.
[0034] As an optional embodiment of the present application, after step 104, it also includes: taking the target access point device as the current access point device, and looping the step of sending the traffic type by the terminal device to other access point devices when the first signal strength of the current access point device is lower than the first threshold and subsequent steps (i.e., looping steps 101 to 104).
[0035] In the embodiments corresponding to steps 101 to 104, the traditional roaming switching method mainly relies on signal strength for selection, which is prone to network interruption and increased delay during the switching process. In this method, when the first signal strength of the current access point device is lower than the first threshold, the terminal device sends traffic type information to other access point devices, so that the access point can respond according to the actual needs of the terminal device, thereby effectively reducing network interruption and delay during the switching process. Different traffic types (such as video traffic, online game traffic, web traffic and real-time live broadcast traffic) have different requirements for parameters such as network bandwidth, delay and packet loss rate. In this method, by calculating the roaming priority according to the traffic type and network parameters (including bandwidth margin, current number of connections, delay and packet loss rate), network resources can be allocated and utilized more efficiently to ensure that network requirements in different application scenarios are met. In the switching decision process, not only the signal strength of other access point devices is considered, but also the roaming priority calculated by each access point device according to the traffic type is combined. After considering multiple factors, the terminal device can screen out the best target access point device to ensure the accuracy and stability of the switching. For applications that have high requirements for network quality, such as video streaming, online games, and real-time live broadcasts, this method significantly reduces problems such as lag and delay caused by network switching by optimizing the switching process, thereby enhancing the user experience.
[0036] Secondly, the present invention provides a method for roaming switching in a FTTR network environment, and the method for roaming switching in a FTTR network environment is applied to other access point devices. The method for roaming switching in a FTTR network environment can be based on a FTTR system, a FTTR-B system or a broadband converged terminal. The method for roaming switching in a FTTR network environment may include the following steps: Step 201: receiving a traffic type sent by a terminal device; Step 202: Match multiple preset weight coefficients corresponding to the traffic type; the multiple preset weight coefficients include a first weight coefficient corresponding to the bandwidth margin, a second weight coefficient corresponding to the current number of connections, a third weight coefficient corresponding to the delay, and a fourth weight coefficient corresponding to the packet loss rate; Depending on the type of traffic sent by the terminal device, the system will match the corresponding preset weight coefficients. These weight coefficients represent the importance of different network parameters under the traffic type. For example, for video calls, the weight coefficient of latency may be relatively large, while for file downloads, the weight coefficient of bandwidth margin may be larger. The weight coefficients can be set based on the actual application scenario.
[0037] Step 203: Calculate the roaming priority according to the bandwidth margin, the current number of connections, the delay, the packet loss rate, the first weight coefficient corresponding to the bandwidth margin, the second weight coefficient corresponding to the current number of connections, the third weight coefficient corresponding to the delay, and the fourth weight coefficient corresponding to the packet loss rate; Specifically, step 203 specifically includes: substituting the bandwidth margin, the current number of connections, the delay, the packet loss rate, the first weight coefficient corresponding to the bandwidth margin, the second weight coefficient corresponding to the current number of connections, the third weight coefficient corresponding to the delay, and the fourth weight coefficient corresponding to the packet loss rate into function 2 to obtain the roaming priority; The second function is: in, Indicates roaming priority. Indicates the bandwidth margin, Indicates the current number of connections. Indicates delay, Indicates the packet loss rate, represents the first weight coefficient corresponding to the bandwidth margin, Indicates the second weight coefficient corresponding to the current number of connections, represents the third weight coefficient corresponding to the delay, Indicates the fourth weight coefficient corresponding to the packet loss rate, Indicates the preset threshold value, Indicates milliseconds, Indicates the judgment condition. It means the relationship between the two is and.
[0038] Among them, function 2 uses a piecewise function to adjust the priority calculation method according to different network conditions: ①Low latency conditions ( ): In the case of low latency, priority is mainly determined by bandwidth margin and the number of current connections. Bandwidth margin is given a higher weight, and the current number of connections The effect of is to prevent the denominator from being zero by adding 1.
[0039] ② Medium delay condition ( ): When the delay is between 50 and 100 milliseconds, in addition to the influence of bandwidth margin and current number of connections, a value proportional to the delay needs to be deducted. This proportional value is calculated by and Expressed, reflecting the negative impact of delays on priorities.
[0040] ③ High latency and high packet loss rate conditions ( ): When the delay exceeds 100 milliseconds and the packet loss rate is higher than 1, the priority is further deducted by a value proportional to the packet loss rate based on the medium delay. This proportional value is calculated by and It is expressed,reflecting the negative impact of packet loss rate on priority.
[0041] ④High latency but low packet loss rate conditions ( ): ,When the delay exceeds 100 ms but the packet loss ratio is not high (less than or equal to 1), only the negative impact of the delay is considered.
[0042] Function 2 can flexibly adjust the priority under different network conditions: bandwidth margin and current number of connections are considered in all conditions, reflecting the network resource usage. The impact of latency begins to be significant when the latency exceeds 50 milliseconds and reaches its maximum when the latency exceeds 100 milliseconds. The impact of packet loss rate is only considered when the latency exceeds 100 milliseconds and the packet loss rate is higher than 1, to reflect network stability issues in extreme cases. This piecewise function design allows roaming priority to be dynamically adjusted according to actual network conditions, thereby optimizing the network performance experience.
[0043] Step 204: Send the roaming priority to the terminal device; the roaming priority is used to screen a target access point, and switch the current access point device currently connected to the terminal device to the target access point device.
[0044] In the embodiment corresponding to step 201 to step 204, by receiving the traffic type information sent by the terminal device, personalized processing can be performed according to different traffic requirements (such as video streaming, audio streaming, data transmission, etc.), thereby improving the utilization efficiency of network resources and user experience. Four key indicators, namely bandwidth margin, current number of connections, delay and packet loss rate, are introduced, and a preset weight coefficient is matched for each indicator, and the influence of multiple factors on roaming switching is comprehensively considered, thereby avoiding the one-sidedness of single signal strength selection, thereby achieving more accurate and intelligent roaming decisions. By combining actual network status information such as bandwidth margin, current number of connections, delay and packet loss rate, the roaming priority is calculated to ensure that when the user terminal device switches, the optimal target access point device is preferentially selected, thereby reducing network interruption and delay during the switching process. The calculated roaming priority is sent to the terminal device in a timely manner, so that the terminal device can screen the target access point according to the real-time network status and priority, thereby ensuring a smooth and efficient switching process. By reasonably allocating and utilizing network resources, the packet loss rate and delay during the switching process are reduced, and the performance and stability of the overall network are improved, which is particularly suitable for high-density user scenarios and application environments with high bandwidth requirements. By reducing network interruptions and delays during roaming switching, users can continue to enjoy high-quality network services during mobility, thereby improving user satisfaction. In summary, the roaming switching method under the FTTR network environment of the present invention realizes more intelligent, stable and efficient roaming switching through multi-dimensional weight matching and dynamic priority calculation, significantly improving network performance and user experience.
[0045] like Figure 2 The present invention provides a roaming switching device 2 in a FTTR network environment, see Figure 2 , Figure 2 A schematic diagram of a roaming switching device in a FTTR network environment provided by the present invention is shown. Figure 2 A roaming switching device in a FTTR network environment includes: The judging unit 21 is configured to, when the first signal strength of the current access point device is lower than the first threshold, cause the terminal device to send a traffic type to other access point devices; the traffic type includes a video traffic type, an online game traffic type, a web page traffic type, and a real-time live broadcast traffic type; A first receiving unit 22 is used to receive the roaming priority returned by the other access point device according to the traffic type; wherein the roaming priority is calculated based on the traffic type and network parameters, and the network parameters include bandwidth margin, current number of connections, delay and packet loss rate of other access point devices; A screening unit 23, configured to screen a target access point device from a plurality of other access point devices according to the roaming priorities corresponding to each of the plurality of other access point devices and the second signal strengths corresponding to each of the plurality of other access point devices; The roaming unit 24 is used to switch the current access point device currently connected to the terminal device to the target access point device.
[0046] The present invention provides a device for roaming switching in an FTTR network environment. The traditional roaming switching method mainly relies on signal strength for selection, which is prone to network interruption and increased delay during the switching process. In this method, when the first signal strength of the current access point device is lower than the first threshold, the terminal device sends traffic type information to other access point devices, so that the access point can respond according to the actual needs of the terminal device, thereby effectively reducing network interruption and delay during the switching process. Different traffic types (such as video traffic, online game traffic, web traffic and real-time live broadcast traffic) have different requirements for parameters such as network bandwidth, delay and packet loss rate. In this method, by calculating the roaming priority according to the traffic type and network parameters (including bandwidth margin, current number of connections, delay and packet loss rate), network resources can be allocated and utilized more efficiently, ensuring that network requirements in different application scenarios are met. In the switching decision process, not only the signal strength of other access point devices is considered, but also the roaming priority calculated by each access point device according to the traffic type is combined. After considering multiple factors, the terminal device can screen out the best target access point device to ensure the accuracy and stability of the switching. For applications that have high requirements for network quality, such as video streaming, online games, and real-time live broadcasts, this method significantly reduces problems such as lag and delay caused by network switching by optimizing the switching process, thereby enhancing the user experience.
[0047] Figure 3 Schematic diagram of a terminal device provided by an embodiment of the present invention. Figure 3 As shown, a terminal device 3 of 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 for roaming handover in an FTTR network environment. When the processor 30 executes the computer program 32, the steps in the above-mentioned method embodiments for roaming handover in an FTTR network environment are implemented, such as Figure 1 Alternatively, when the processor 30 executes the computer program 32, the functions of each unit in the above-mentioned device embodiments are realized, for example, Figure 2 The functions of units 21 to 24 are shown.
[0048] Exemplarily, the computer program 32 may be divided into one or more units, which are stored in the memory 31 and executed by the processor 30 to complete the present invention. The one or more units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 32 in the terminal device 3. For example, the computer program 32 may be divided into the following specific functions of each unit: A judgment unit, configured to, when the first signal strength of the current access point device is lower than a first threshold, cause the terminal device to send a traffic type to other access point devices; the traffic type includes a video traffic type, an online game traffic type, a web page traffic type, and a real-time live broadcast traffic type; A first receiving unit, configured to receive a roaming priority returned by the other access point device according to the traffic type; wherein the roaming priority is calculated based on the traffic type and network parameters, and the network parameters include a bandwidth margin, a current number of connections, a delay, and a packet loss rate of the other access point device; a screening unit, configured to screen a target access point device from a plurality of other access point devices according to the roaming priorities respectively corresponding to the plurality of other access point devices and the second signal strengths respectively corresponding to the plurality of other access point devices; The roaming unit is used to switch the current access point device currently connected to the terminal device to the target access point device.
[0049] The terminal device includes but is not limited to a processor 30 and a memory 31. Those skilled in the art will appreciate that Figure 3 It is only an example of a terminal device 3 and does not constitute a limitation on the terminal device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.
[0050] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0051] 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, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an 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.
[0052] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0053] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0054] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be 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. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0055] An embodiment of the present invention further provides a computer-readable storage medium, wherein 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.
[0056] An embodiment of the present invention provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0057] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of 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 source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0058] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0059] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0060] In the embodiments provided by the present invention, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0061] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed over multiple network units.
[0062] 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 exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0063] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0064] As used in the present specification and the appended claims, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to monitoring, depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is monitored" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is monitored" or "in response to monitoring [described condition or event]", depending on the context.
[0065] 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.
[0066] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0067] 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 the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for roaming switching in an FTTR network environment, characterized in that: The method for roaming switching in the FTTR network environment is applied to a terminal device, and the method for roaming switching in the FTTR network environment includes: When the first signal strength of the current access point device is lower than the first threshold, the terminal device sends a traffic type to other access point devices; the traffic type includes a video traffic type, an online game traffic type, a web page traffic type, and a real-time live broadcast traffic type; Receiving a roaming priority returned by the other access point device according to the traffic type; wherein the roaming priority is calculated based on the traffic type and network parameters, and the network parameters include bandwidth margin, current number of connections, delay, and packet loss rate of the other access point device; Filtering a target access point device from a plurality of other access point devices according to the roaming priorities corresponding to each of the plurality of other access point devices and the second signal strengths corresponding to each of the plurality of other access point devices; Switch the current access point device currently connected to the terminal device to the target access point device.
2. The method for roaming handover in an FTTR network environment as claimed in claim 1, characterized in that: The step of screening the target access point device from the plurality of other access point devices according to the roaming priorities respectively corresponding to the plurality of other access point devices and the second signal strengths respectively corresponding to the plurality of other access point devices comprises: Calculate a roaming score according to the roaming priority corresponding to the other access point devices and the second signal strength corresponding to the other access point devices; The other access point devices corresponding to the maximum roaming score are used as the target access point devices.
3. The method for roaming handover in an FTTR network environment as claimed in claim 1, characterized in that: The step of screening the target access point device from the plurality of other access point devices according to the roaming priorities respectively corresponding to the plurality of other access point devices and the second signal strengths respectively corresponding to the plurality of other access point devices comprises: Calculate a roaming score according to the roaming priority corresponding to the other access point devices and the second signal strength corresponding to the other access point devices; The other access point devices corresponding to the maximum roaming score are used as the target access point devices.
4. The method for roaming handover in an FTTR network environment as claimed in claim 1, characterized in that: After the step of switching the current access point device currently connected to the terminal device to the target access point device, the method further includes: The target access point device is used as the current access point device, and the step of the terminal device sending the traffic type to other access point devices when the first signal strength of the current access point device is lower than the first threshold and subsequent steps are executed cyclically.
5. A method for roaming switching in an FTTR network environment, characterized in that: The method for roaming switching in the FTTR network environment is applied to other access point devices, and the method for roaming switching in the FTTR network environment includes: The type of traffic sent by the receiving terminal device; Matching multiple preset weight coefficients corresponding to the traffic type; the multiple preset weight coefficients include a first weight coefficient corresponding to the bandwidth margin, a second weight coefficient corresponding to the current number of connections, a third weight coefficient corresponding to the delay, and a fourth weight coefficient corresponding to the packet loss rate; Calculate the roaming priority according to the bandwidth margin, the current number of connections, the delay, the packet loss rate, the first weight coefficient corresponding to the bandwidth margin, the second weight coefficient corresponding to the current number of connections, the third weight coefficient corresponding to the delay, and the fourth weight coefficient corresponding to the packet loss rate; The roaming priority is sent to the terminal device; the roaming priority is used to screen a target access point, and switch a current access point device currently connected to the terminal device to a target access point device.
6. The method for roaming handover in an FTTR network environment as claimed in claim 5, characterized in that: The step of calculating the roaming priority according to the bandwidth margin, the current number of connections, the delay, the packet loss rate, the first weight coefficient corresponding to the bandwidth margin, the second weight coefficient corresponding to the current number of connections, the third weight coefficient corresponding to the delay, and the fourth weight coefficient corresponding to the packet loss rate comprises: Substituting the bandwidth margin, the current number of connections, the delay, the packet loss rate, the first weight coefficient corresponding to the bandwidth margin, the second weight coefficient corresponding to the current number of connections, the third weight coefficient corresponding to the delay, and the fourth weight coefficient corresponding to the packet loss rate into function 2 to obtain the roaming priority; The second function is: in, Indicates roaming priority. Indicates the bandwidth margin, Indicates the current number of connections. Indicates delay, Indicates the packet loss rate, represents the first weight coefficient corresponding to the bandwidth margin, Indicates the second weight coefficient corresponding to the current number of connections, represents the third weight coefficient corresponding to the delay, Indicates the fourth weight coefficient corresponding to the packet loss rate, Indicates the preset threshold value, Indicates milliseconds, Indicates the judgment condition. It means the relationship between the two is and.
7. A device for roaming switching in an FTTR network environment, characterized in that: The device for roaming switching in the FTTR network environment includes: A judgment unit, configured to, when the first signal strength of the current access point device is lower than a first threshold, cause the terminal device to send a traffic type to other access point devices; the traffic type includes a video traffic type, an online game traffic type, a web page traffic type, and a real-time live broadcast traffic type; A first receiving unit, configured to receive a roaming priority returned by the other access point device according to the traffic type; wherein the roaming priority is calculated based on the traffic type and network parameters, and the network parameters include a bandwidth margin, a current number of connections, a delay, and a packet loss rate of the other access point device; a screening unit, configured to screen a target access point device from a plurality of other access point devices according to the roaming priorities respectively corresponding to the plurality of other access point devices and the second signal strengths respectively corresponding to the plurality of other access point devices; The roaming unit is used to switch the current access point device currently connected to the terminal device to the target access point device.
8. A device for roaming switching in an FTTR network environment, characterized in that: The device for roaming switching in the FTTR network environment includes: A second receiving unit, used to receive the traffic type sent by the terminal device; A matching unit, configured to match a plurality of preset weight coefficients corresponding to the traffic type; the plurality of preset weight coefficients comprising a first weight coefficient corresponding to the bandwidth margin, a second weight coefficient corresponding to the current number of connections, a third weight coefficient corresponding to the delay, and a fourth weight coefficient corresponding to the packet loss rate; a calculation unit, configured to calculate the roaming priority according to the bandwidth margin, the current number of connections, the delay, the packet loss rate, the first weight coefficient corresponding to the bandwidth margin, the second weight coefficient corresponding to the current number of connections, the third weight coefficient corresponding to the delay, and the fourth weight coefficient corresponding to the packet loss rate; A sending unit is used to send the roaming priority to the terminal device; the roaming priority is used to screen a target access point and switch a current access point device currently connected to the terminal device to a target access point device.
9. A terminal device, characterized in that: The terminal device includes: a memory, a processor, and a program for roaming switching in a FTTR network environment stored in the memory and executable on the processor, wherein the program for roaming switching in a FTTR network environment is configured to implement the steps in the method for roaming switching in a FTTR network environment as described in any one of claims 1 to 6.
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 6 are implemented.
Citation Information
Patent Citations
Analytic hierarchy process based heterogeneous wireless network selection method
CN104602325A
Heterogeneous network switching method and device
CN108901052A
Methods and apparatus for selecting a wireless network based on quality of service (QoS) criteria associated with an application
US20050059397A1
Cited By
Wireless roaming method and device based on multi-factor weight fusion
CN121547833A
Method and apparatus for ap switching in pon and onu environment
CN122661858A