A method and device for dynamically allocating mesh slave bandwidth based on FTTR

By dynamically evaluating multiple key indicators of Mesh submachine, calculating weight values ​​and performing bandwidth allocation, the problem of uneven bandwidth allocation under the FTTR architecture is solved, and efficient and intelligent bandwidth allocation of Mesh submachine is achieved, improving network performance and user experience.

CN119789143APending Publication Date: 2025-04-08SHENZHEN SKYWORTH DIGITAL TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411960081.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

Under the FTTR architecture, how to dynamically optimize the bandwidth allocation of Mesh submachines, solve the problem of imbalanced use of network resources, and affect network performance and user experience.

Method used

By counting the data volume, connection volume ratio and connection duration of each Mesh submachine, obtain the current connection status and real-time network quality score, calculate the relative distance, and calculate the weight value of each Mesh submachine based on these indicators, and finally dynamic bandwidth allocation is performed based on the weight value and the total FTTR bandwidth amount.

Benefits of technology

The scientific and rationality of bandwidth allocation is achieved, and the changes in the network environment can be reflected more accurately, ensuring that bandwidth allocation meets actual needs, avoiding waste or insufficient resources, and improving bandwidth utilization and network quality stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119789143A_ABST
    Figure CN119789143A_ABST
Patent Text Reader

Abstract

The present invention is applicable to the technical field of network communication, and provides a method and device for dynamically allocating mesh sub-machine bandwidth based on FTTR. The method for dynamically allocating mesh sub-machine bandwidth can be implemented based on FTTR system, FTTR-B system or broadband fusion terminal. The method for dynamically allocating mesh sub-machine bandwidth based on FTTR includes: counting the data volume, connection volume proportion and connection time proportion of each mesh sub-machine; obtaining the current connection status and real-time network quality score of each mesh sub-machine; calculating the relative distance between each mesh sub-machine and the user terminal according to the signal strength between each mesh sub-machine and the user terminal; calculating the bandwidth allocation corresponding to each mesh sub-machine according to the weight value corresponding to each mesh sub-machine and the total FTTR bandwidth; and allocating bandwidth resources to the mesh sub-machine based on the bandwidth allocation. In summary, the technical solution can realize efficient and intelligent mesh sub-machine bandwidth allocation and improve bandwidth utilization through dynamic and multi-dimensional evaluation and calculation methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of network communication, and in particular relates to a method and device for dynamically allocating mesh slave bandwidth based on FTTR. Background Art

[0002] FTTR technology can provide high-quality network connection for each room by deploying fiber to the room. However, under the FTTR architecture, how to reasonably and dynamically allocate the bandwidth resources of each Mesh slave has become a key issue affecting the overall network performance. As a flexible and stable wireless communication solution, Mesh network is increasingly widely used in large-scale coverage and high-density user terminal access scenarios. Mesh network consists of multiple wireless access nodes (Mesh slaves), which realize seamless connection and collaborative work between devices through self-organization and self-repair to provide better network services.

[0003] In traditional wireless network architectures, bandwidth resource allocation usually relies on fixed rules or simple polling mechanisms, which may lead to unbalanced use of network resources and affect network performance. Especially when bandwidth resources are limited, some slaves may face insufficient bandwidth, affecting user experience and the overall performance of the system. Therefore, how to dynamically optimize bandwidth allocation has become an urgent problem to be solved in Mesh networks. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a method and device for dynamically allocating bandwidth of mesh slave units based on FTTR, so as to solve the technical problem of dynamically optimizing bandwidth allocation.

[0005] A first aspect of an embodiment of the present invention provides a method for dynamically allocating bandwidth of mesh slave units based on FTTR, the method for dynamically allocating bandwidth of mesh slave units based on FTTR comprising:

[0006] Count the data volume, connection volume ratio and connection duration ratio of each mesh slave; the connection volume ratio includes the ratio between the total number of connections of all mesh devices and the number of connections of the current mesh slave, and the connection duration ratio includes the ratio between the total connection duration of all mesh devices and the connection duration of the current mesh slave;

[0007] Get the current connection status and real-time network quality score of each mesh slave;

[0008] Calculate the relative distance between each mesh slave and the user terminal based on the signal strength between each mesh slave and the user terminal;

[0009] Calculate the weight value of each mesh slave according to the data volume, connection volume ratio, connection time ratio, current connection status, real-time network quality score and relative distance corresponding to each mesh slave;

[0010] Calculate the bandwidth allocation corresponding to each mesh sub-machine based on the weight value corresponding to each mesh sub-machine and the total FTTR bandwidth;

[0011] Based on the bandwidth allocation amount, bandwidth resources are allocated to the mesh slaves.

[0012] Furthermore, the step of calculating the relative distance between each mesh slave and the user terminal according to the signal strength between each mesh slave and the user terminal includes:

[0013] Connect multiple mesh slaves to the user terminal respectively to obtain the signal strength corresponding to each of the multiple mesh slaves;

[0014] Get the preset position coordinates of multiple mesh slaves;

[0015] Multiplying the signal strength corresponding to each of the multiple mesh slaves by the conversion coefficient to obtain an estimated distance;

[0016] Substituting the preset position coordinates and the estimated distances corresponding to each of the multiple mesh sub-units into a triangulation positioning function to obtain the estimated position coordinates of the user terminal;

[0017] The relative distance between each mesh slave and the user terminal is calculated according to the preset position coordinates corresponding to each of the multiple mesh slaves and the estimated position coordinates of the user terminal.

[0018] Furthermore, the step of obtaining the current connection status and real-time network quality score of each mesh slave includes:

[0019] If the mesh slave is connected to the user terminal, setting the current connection state to a first value;

[0020] If the mesh slave is not connected to the user terminal, setting the current connection state to a second value;

[0021] Get the signal strength, signal-to-noise ratio, delay and packet loss rate of the mesh slave;

[0022] The real-time network quality score is calculated according to the signal strength, the signal-to-noise ratio, the delay and the packet loss rate.

[0023] Further, the step of calculating the real-time network quality score according to the signal strength, the signal-to-noise ratio, the delay and the packet loss rate includes:

[0024] Substituting the signal strength, the signal-to-noise ratio, the delay and the packet loss rate into a first function to obtain the real-time network quality score;

[0025] The first function is:

[0026]

[0027] Among them, NQS represents the real-time network quality score, SNR represents the signal-to-noise ratio, D represents the delay, PL represents the packet loss rate, and S represents the signal strength.

[0028] Further, the step of calculating the weight value of each mesh slave according to the data volume, connection volume proportion, connection time proportion, current connection status, real-time network quality score and relative distance corresponding to each mesh slave includes:

[0029] Substitute the data volume, connection volume ratio, connection duration ratio, current connection status, real-time network quality score and relative distance of each mesh slave into the second function to obtain the weight value of each mesh slave;

[0030] The second function is:

[0031]

[0032] Among them, W i represents the weight value of the i-th sub-machine, D i represents the data volume of the ith sub-machine, C i represents the proportion of connections of the ith slave, T i represents the proportion of the connection time of the i-th sub-machine, S i Indicates the current connection status of the i-th sub-machine, NQS i represents the real-time network quality score of the ith sub-machine, R i represents the relative distance of the ith slave, R 1 , R 2 , ..., R n represents the relative distance of all slaves, α, β and γ represent adjustment parameters, n represents the number of slaves, D j Indicates the data volume of the jth sub-machine, NQS j Represents the real-time network quality score of the jth slave.

[0033] Furthermore, the step of calculating the bandwidth allocation amount corresponding to each mesh slave according to the weight value corresponding to each mesh slave and the total FTTR bandwidth includes:

[0034] Calculate the weight of each mesh slave in the total weight value;

[0035] The weight ratio is multiplied by the total FTTR bandwidth to obtain the bandwidth allocation corresponding to each mesh slave.

[0036] Further, after the step of allocating bandwidth resources to the mesh slave based on the bandwidth allocation amount, the method further includes:

[0037] The steps of counting the data volume, connection volume ratio and connection duration ratio of each mesh slave and subsequent steps are performed periodically.

[0038] A second aspect of an embodiment of the present invention provides a device for dynamically allocating mesh slave bandwidth based on FTTR, including:

[0039] A statistics unit, used to count the data volume, connection volume ratio and connection duration ratio of each mesh slave; wherein the connection volume ratio includes the ratio between the total number of connections of all mesh devices and the number of connections of the current mesh slave, and the connection duration ratio includes the ratio between the total connection duration of all mesh devices and the connection duration of the current mesh slave;

[0040] The acquisition unit is used to obtain the current connection status and real-time network quality score of each mesh slave;

[0041] A first calculation unit, configured to calculate a relative distance between each mesh slave and the user terminal according to a signal strength between each mesh slave and the user terminal;

[0042] A second calculation unit is used to calculate the weight value of each mesh sub-machine according to the data volume, connection volume proportion, connection time proportion, current connection state, real-time network quality score and relative distance corresponding to each mesh sub-machine;

[0043] The third calculation unit is used to calculate the bandwidth allocation corresponding to each mesh sub-machine according to the weight value corresponding to each mesh sub-machine and the total FTTR bandwidth;

[0044] The allocating unit is used to allocate bandwidth resources to the mesh slave machines based on the bandwidth allocation amount.

[0045] A third aspect of an embodiment of the present invention provides a terminal device, comprising 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.

[0046] A fourth 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.

[0047] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: by counting the key parameters such as the data volume, connection volume ratio, and connection duration ratio of each mesh sub-machine, the present solution can comprehensively evaluate the load and connection quality of each mesh sub-machine. This comprehensive evaluation based on multiple indicators avoids the limitation of a single basis in the traditional bandwidth allocation method, making the bandwidth allocation more scientific and reasonable. The current connection status and network quality score of each mesh sub-machine are monitored in real time, and the signal strength and relative distance between the user terminal and the mesh sub-machine are combined, so that the bandwidth allocation can more accurately reflect the changes in the network environment. This dynamic evaluation can ensure that the bandwidth allocation of the mesh sub-machine always meets the actual needs under different network conditions, avoiding the waste or shortage of resources. By allocating bandwidth resources based on weight values, it is ensured that the bandwidth allocation matches the actual needs of each mesh sub-machine. Multiple factors such as the data volume, connection volume ratio, and connection duration ratio are considered in the calculation process, which can control the bandwidth allocation more finely and avoid the network resource redundancy or bottleneck phenomenon caused by the traditional static allocation method. By optimizing bandwidth allocation, this solution can effectively reduce network delays and freezes in user terminals, especially in multi-user environments, ensuring the stability of network quality for different users and devices. In addition, based on the calculation of signal strength and relative distance, it can ensure that bandwidth is preferentially allocated to mesh slaves with stronger signals and closer distances, further improving the network experience. The bandwidth allocation method of this solution not only takes into account the current network quality of each mesh slave, but also takes into account the load balancing between devices, avoiding bandwidth bottlenecks caused by excessive loads on some mesh slaves, while ensuring balanced allocation of global network bandwidth. In summary, this technical solution can achieve efficient and intelligent mesh slave bandwidth allocation and improve bandwidth utilization through dynamic and multi-dimensional evaluation and calculation methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] 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.

[0049] Figure 1 A schematic flow chart of a method for dynamically allocating mesh slave bandwidth based on FTTR provided by the present invention is shown;

[0050] Figure 2 A schematic diagram of a device for dynamically allocating mesh slave bandwidth based on FTTR provided by an embodiment of the present invention is shown;

[0051] Figure 3 A schematic diagram of a terminal device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0052] 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.

[0053] In view of this, an embodiment of the present invention provides a method and device for dynamically allocating bandwidth of mesh slave units based on FTTR, so as to solve the technical problem of dynamically optimizing bandwidth allocation.

[0054] First, the present invention provides a method for dynamically allocating bandwidth of mesh slave units based on FTTR. The method for dynamically allocating bandwidth of mesh slave units based on FTTR can be based on FTTR system, FTTR-B system or broadband converged terminal. Figure 1 , Figure 1 FIG. 1 is a schematic flow chart of a method for dynamically allocating mesh slave bandwidth based on FTTR provided by the present invention. Figure 1 As shown, the method for dynamically allocating mesh slave bandwidth based on FTTR may include the following steps:

[0055] Step 101: Count the data volume, connection volume ratio and connection duration ratio of each mesh slave; wherein the connection volume ratio includes the ratio between the total connection times of all mesh devices and the connection times of the current mesh slave, and the connection duration ratio includes the ratio between the total connection duration of all mesh devices and the connection duration of the current mesh slave;

[0056] In the FTTR network architecture, Mesh sub-machines (usually referring to nodes in the Mesh network) are key elements in the entire network. They are connected to each other through wireless signals and transmit data to user terminals. In order to optimize the allocation of bandwidth, it is necessary to understand the workload and load level of each Mesh sub-machine:

[0057] Data volume: Statistics on the total amount of data processed by each Mesh slave. This includes the total number of bytes uploaded and downloaded by each slave per unit time. The larger the data volume, the more traffic the slave is processing and the more bandwidth support is needed.

[0058] Connection ratio: This refers to the ratio of the number of connections of a Mesh slave to the number of connections of all slaves in the entire Mesh network. A high percentage of connections usually means that they communicate with more user terminals and may face higher traffic pressure.

[0059] Connection time ratio: The connection time ratio of each Mesh slave refers to the proportion of time that the slave is connected to the user terminal. Slaves with longer connection times may face higher bandwidth requirements because they require a stable and continuous network connection.

[0060] Step 102: Obtain the current connection status and real-time network quality score of each mesh slave;

[0061] The network performance of each Mesh slave can be affected by many factors, such as signal quality, network interference, load balancing, etc.

[0062] Connection status: The connection status of each slave (such as whether it is online, whether it is working normally, etc.) directly affects its bandwidth allocation.

[0063] Real-time network quality score: The real-time network quality score (usually represented by a comprehensive indicator) can help determine whether the current sub-machine is in poor network conditions and needs more bandwidth resources or needs to adjust the connection strategy.

[0064] The calculation logic of the current connection status and real-time network quality score is as follows:

[0065] Specifically, step 102 specifically includes steps 1021 to 1024:

[0066] Step 1021: If the mesh slave is connected to the user terminal, setting the current connection state to a first value;

[0067] Step 1022: If the mesh slave is not connected to the user terminal, setting the current connection state to a second value;

[0068] Step 1023: Obtain the signal strength, signal-to-noise ratio, delay and packet loss rate of the mesh slave;

[0069] By acquiring four key network performance indicators (signal strength, signal-to-noise ratio, latency and packet loss rate) in real time, it provides input data for network quality scoring.

[0070] Signal Strength: Signal strength is usually expressed using RSSI (Received Signal Strength Indicator) in dBm. The higher the signal strength, the better the connection quality. A stronger signal can reduce transmission errors and increase data transmission rates. Mesh slaves measure the RSSI value between them and user terminals in real time through wireless communication modules (such as Wi-Fi, Zigbee, Bluetooth, etc.).

[0071] Signal-to-Noise Ratio (SNR): The signal-to-noise ratio is the ratio between signal strength and noise, indicating the clarity of the signal. The higher the SNR, the more reliable the data transmission. Network equipment obtains the power difference between the signal and the noise through spectrum analysis. The unit of SNR is usually dB.

[0072] Latency: Latency refers to the time required for data to travel from the sender to the receiver, usually measured in milliseconds (ms). Too high a latency will result in a slow network response, especially in real-time applications (such as video calls, online games, etc.). Latency can be measured through a Ping test, or end-to-end latency can be calculated through timestamps in real-time communication protocols.

[0073] Packet Loss: Packet loss refers to the proportion of data packets lost during network transmission, usually expressed as a percentage. A high packet loss means that the network is unstable and the transmission efficiency is low. The packet loss rate is calculated by counting the ratio of the number of data packets lost in the network to the total number of data packets sent.

[0074] Step 1024: Calculate the real-time network quality score according to the signal strength, the signal-to-noise ratio, the delay and the packet loss rate.

[0075] Specifically, step 1024 includes:

[0076] Substituting the signal strength, the signal-to-noise ratio, the delay and the packet loss rate into a first function to obtain the real-time network quality score;

[0077] The first function is:

[0078]

[0079] Among them, NQS represents the real-time network quality score, SNR represents the signal-to-noise ratio, D represents the delay, PL represents the packet loss rate, and S represents the signal strength.

[0080] Using the square root in function one can slow down the growth of the quality score at higher signal strengths, making the system respond more smoothly to strong signals.

[0081] The contribution of the growth of signal-to-noise ratio to network quality is nonlinear. Especially when the signal-to-noise ratio is high, further improving the signal-to-noise ratio has limited effect on improving network quality. Therefore, the use of a logarithmic function can gradually slow down the score growth when the signal-to-noise ratio is high, while better reflecting the impact of low signal-to-noise ratio. Adding 1 is to avoid log 10 (0) question.

[0082] The impact of delay on network quality is negative, that is, the greater the delay, the worse the network quality. (1+D) is used in the formula 0.3 To describe the impact of delay, where D is the delay time, and the exponent of 0.3 indicates that the impact of delay on the quality score is nonlinear. The purpose of this design is to increase the impact of high delay while ensuring that low-latency networks can get higher scores.

[0083] The packet loss rate has a significant impact on network quality, so the formula uses Here we use To express the inverse effect of packet loss rate on network quality, the higher the packet loss rate, the smaller this value. Use square to increase the sensitivity of packet loss rate to the score, so that when the packet loss rate is high, the score will drop rapidly.

[0084] Step 103: Calculate the relative distance between each mesh slave and the user terminal according to the signal strength between each mesh slave and the user terminal;

[0085] Signal strength is a key factor in determining the quality of wireless network connections. Weaker signal strength usually means a longer transmission distance or interference in the middle. In this step, the relative distance between the Mesh slave and the user terminal can be estimated by measuring the signal strength between them. The specific calculation logic of the relative distance is as follows:

[0086] Specifically, step 103 specifically includes steps 1031 to 1035:

[0087] Step 1031: Connect multiple mesh slaves to the user terminal respectively to obtain the signal strength corresponding to each of the multiple mesh slaves;

[0088] Step 1032: Obtaining preset position coordinates of multiple mesh slaves;

[0089] The preset location coordinates provide a known location information for each Mesh slave, which is the basis for calculating relative distance and positioning.

[0090] Step 1033: multiply the signal strength corresponding to each of the multiple mesh slaves by the conversion coefficient to obtain an estimated distance;

[0091] The relationship between signal strength and distance can be described by a conversion coefficient, which depends on the propagation characteristics of the wireless channel. For example, in some environments, the signal attenuation exponent may be 2 (under free space conditions), while it may be 3-4 in complex environments. The conversion coefficient is a parameter based on the law of signal attenuation.

[0092] For each Mesh slave, the distance to the user terminal can be estimated by combining the signal strength (RSSI) with the preset conversion coefficient.

[0093] It is understandable that for relative distance, accurate positioning data is not required, only a rough position estimate is required, so a rough position calculation can be performed based on signal strength.

[0094] Step 1034: Substitute the preset position coordinates and the estimated distances corresponding to each of the multiple mesh slaves into a triangulation positioning function to obtain the estimated position coordinates of the user terminal;

[0095] Triangulation positioning is a method of calculating the location of a target point (user terminal) by knowing the location information of multiple points and their distances to the target point (user terminal). Triangulation positioning is a traditional technology and will not be described in detail here.

[0096] Step 1035: Calculate the relative distance between each mesh slave and the user terminal according to the preset position coordinates corresponding to each of the plurality of mesh slaves and the estimated position coordinates of the user terminal.

[0097] In this embodiment, by measuring the signal strength between multiple mesh sub-units and the user terminal and combining it with the triangulation positioning method for calculation, the relative distance evaluation between the user terminal and each mesh sub-unit is effectively realized. The signal strength data is combined with the preset conversion coefficient to accurately calculate the estimated distance between each mesh sub-unit and the user terminal. The method of multiplying the signal strength by the conversion coefficient effectively realizes the scientific relationship between signal strength and distance, and provides a solid foundation for subsequent positioning and distance calculation. In summary, this technical solution can efficiently calculate the relative distance between each mesh sub-unit and the user terminal through an innovative signal strength and triangulation positioning method combined with calculation methods.

[0098] Step 104: Calculate the weight value of each mesh slave according to the data volume, connection volume ratio, connection duration ratio, current connection status, real-time network quality score and relative distance corresponding to each mesh slave;

[0099] Based on the above information (data volume, connection volume ratio, connection duration ratio, connection status, network quality score and relative distance), a weight value can be calculated for each Mesh slave. The weight value reflects the importance and bandwidth requirement of each slave in the network. The specific calculation logic is as follows:

[0100] Specifically, step 104 includes:

[0101] Substitute the data volume, connection volume ratio, connection duration ratio, current connection status, real-time network quality score and relative distance of each mesh slave into the second function to obtain the weight value of each mesh slave;

[0102] The second function is:

[0103]

[0104] Among them, W i represents the weight value of the i-th sub-machine, D i represents the data volume of the ith sub-machine, C i represents the proportion of connections of the ith slave, T i represents the proportion of the connection time of the i-th sub-machine, S i Indicates the current connection status of the i-th sub-machine, NQS i represents the real-time network quality score of the ith sub-machine, R i represents the relative distance of the ith slave, R 1 , R 2 , ..., R n represents the relative distance of all slaves, α, β and γ represent adjustment parameters, n represents the number of slaves, D j Indicates the data volume of the jth sub-machine, NQS j Represents the real-time network quality score of the jth slave.

[0105] The data volume share of each sub-machine is calculated by dividing the data volume of the sub-machine by the total data volume of all sub-machines. This ratio reflects the data transmission load ratio of the slave in the entire Mesh network.

[0106] This ratio is the ratio of the network quality score of the slave to the total network quality score of all slaves. This ratio can be used to determine the position of the slave in the overall network quality. If the proportion of slaves with higher network quality is large, their contribution to the overall network performance is also greater.

[0107] This item reflects the relative distance between the handset and other handsets. i is the actual distance of the ith slave, max(R 1, R 2 , ..., R n ) is the maximum distance among all slaves. The effect of this item is that the closer slaves (R i Small) will get a higher weight because the farther away sub-machine (R i The weight of the item will be reduced due to the influence of this item.

[0108] The comprehensive principle of this formula is to evaluate the importance of each slave in the Mesh network based on multiple key factors (data volume, connection volume, connection duration, connection status, network quality, and relative distance) to calculate a comprehensive weight value.

[0109] Step 105: Calculate the bandwidth allocation corresponding to each mesh slave according to the weight value corresponding to each mesh slave and the total FTTR bandwidth;

[0110] Specifically, step 105 specifically includes: calculating the weight proportion of each mesh sub-machine in the sum of all weight values; multiplying the weight proportion by the total FTTR bandwidth to obtain the bandwidth allocation corresponding to each mesh sub-machine.

[0111] Step 106: Allocate bandwidth resources to the mesh slaves based on the bandwidth allocation amount.

[0112] Optionally, after step 106, the method further includes: periodically executing the step of counting the data volume, connection volume proportion and connection duration proportion of each mesh slave and subsequent steps (ie, steps 101 to 106).

[0113] In this embodiment, by counting the key parameters such as the data volume, connection volume ratio, and connection duration ratio of each mesh sub-machine, this solution can comprehensively evaluate the load and connection quality of each mesh sub-machine. This comprehensive evaluation based on multiple indicators avoids the limitations of a single basis in the traditional bandwidth allocation method, making the bandwidth allocation more scientific and reasonable. The current connection status and network quality score of each mesh sub-machine are monitored in real time, and the signal strength and relative distance between the user terminal and the mesh sub-machine are combined, so that the bandwidth allocation can more accurately reflect the changes in the network environment. This dynamic evaluation can ensure that the bandwidth allocation of the mesh sub-machine always meets the actual needs under different network conditions, avoiding the waste or shortage of resources. By allocating bandwidth resources based on weight values, it is ensured that the bandwidth allocation matches the actual needs of each mesh sub-machine. Multiple factors such as data volume, connection volume ratio, and connection duration ratio are considered in the calculation process, which can control the bandwidth allocation more finely and avoid the network resource redundancy or bottleneck phenomenon caused by the traditional static allocation method. By optimizing bandwidth allocation, this solution can effectively reduce the network delay and jamming of user terminals, especially in a multi-user environment, to ensure the stability of network quality for different users and devices. In addition, based on the calculation of signal strength and relative distance, it can ensure that bandwidth is preferentially allocated to mesh slaves with stronger signals and closer distances, further improving the network experience. The bandwidth allocation method of this solution not only takes into account the current network quality of each mesh slave, but also takes into account the load balancing between devices, avoiding bandwidth bottlenecks caused by excessive loads on some mesh slaves, while ensuring balanced allocation of global network bandwidth. In summary, this technical solution can achieve efficient and intelligent bandwidth allocation for mesh slaves and improve bandwidth utilization through dynamic and multi-dimensional evaluation and calculation methods.

[0114] like Figure 2 The present invention provides a device 2 for dynamically allocating mesh slave bandwidth based on FTTR, see Figure 2 , Figure 2 A schematic diagram of a device for dynamically allocating mesh slave bandwidth based on FTTR provided by the present invention is shown, Figure 2 The device for dynamically allocating mesh slave bandwidth based on FTTR includes:

[0115] A statistics unit 21 is used to count the data volume, connection volume ratio and connection duration ratio of each mesh slave; wherein the connection volume ratio includes the ratio between the total connection times of all mesh devices and the connection times of the current mesh slave, and the connection duration ratio includes the ratio between the total connection duration of all mesh devices and the connection duration of the current mesh slave;

[0116] An acquisition unit 22 is used to acquire the current connection status and real-time network quality score of each mesh slave;

[0117] A first calculation unit 23, configured to calculate a relative distance between each mesh slave and the user terminal according to a signal strength between each mesh slave and the user terminal;

[0118] The second calculation unit 24 is used to calculate the weight value of each mesh sub-machine according to the data volume, connection volume proportion, connection time proportion, current connection state, real-time network quality score and relative distance corresponding to each mesh sub-machine;

[0119] The third calculation unit 25 is used to calculate the bandwidth allocation corresponding to each mesh sub-machine according to the weight value corresponding to each mesh sub-machine and the total FTTR bandwidth;

[0120] The allocating unit 26 is configured to allocate bandwidth resources to the mesh slaves based on the bandwidth allocation amount.

[0121] The present invention provides a device for dynamically allocating mesh sub-machine bandwidth based on FTTR. By counting key parameters such as the data volume, connection volume ratio, and connection duration ratio of each mesh sub-machine, this solution can comprehensively evaluate the load and connection quality of each mesh sub-machine. This comprehensive evaluation based on multiple indicators avoids the limitation of a single basis in the traditional bandwidth allocation method, making the bandwidth allocation more scientific and reasonable. The current connection status and network quality score of each mesh sub-machine are monitored in real time, and the signal strength and relative distance between the user terminal and the mesh sub-machine are combined to enable the bandwidth allocation to more accurately reflect the changes in the network environment. This dynamic evaluation can ensure that the bandwidth allocation of the mesh sub-machine always meets the actual needs under different network conditions, avoiding the waste or shortage of resources. By allocating bandwidth resources based on weight values, it is ensured that the bandwidth allocation matches the actual needs of each mesh sub-machine. Multiple factors such as the data volume, connection volume ratio, and connection duration ratio are considered in the calculation process, which can control the bandwidth allocation more finely and avoid the network resource redundancy or bottleneck phenomenon caused by the traditional static allocation method. By optimizing bandwidth allocation, this solution can effectively reduce network delays and freezes in user terminals, especially in multi-user environments, ensuring the stability of network quality for different users and devices. In addition, based on the calculation of signal strength and relative distance, it can ensure that bandwidth is preferentially allocated to mesh slaves with stronger signals and closer distances, further improving the network experience. The bandwidth allocation method of this solution not only takes into account the current network quality of each mesh slave, but also takes into account the load balancing between devices, avoiding bandwidth bottlenecks caused by excessive loads on some mesh slaves, while ensuring balanced allocation of global network bandwidth. In summary, this technical solution can achieve efficient and intelligent mesh slave bandwidth allocation and improve bandwidth utilization through dynamic and multi-dimensional evaluation and calculation methods.

[0122] 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 dynamically allocating mesh slave bandwidth based on FTTR. When the processor 30 executes the computer program 32, the steps in the above-mentioned method for dynamically allocating mesh slave bandwidth based on FTTR 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 25 are shown.

[0123] 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:

[0124] A statistics unit, used to count the data volume, connection volume ratio and connection duration ratio of each mesh slave; wherein the connection volume ratio includes the ratio between the total number of connections of all mesh devices and the number of connections of the current mesh slave, and the connection duration ratio includes the ratio between the total connection duration of all mesh devices and the connection duration of the current mesh slave;

[0125] The acquisition unit is used to obtain the current connection status and real-time network quality score of each mesh slave;

[0126] A first calculation unit, configured to calculate a relative distance between each mesh slave and the user terminal according to a signal strength between each mesh slave and the user terminal;

[0127] A second calculation unit is used to calculate the weight value of each mesh sub-machine according to the data volume, connection volume proportion, connection time proportion, current connection state, real-time network quality score and relative distance corresponding to each mesh sub-machine;

[0128] The third calculation unit is used to calculate the bandwidth allocation corresponding to each mesh sub-machine according to the weight value corresponding to each mesh sub-machine and the total FTTR bandwidth;

[0129] The allocating unit is used to allocate bandwidth resources to the mesh slave machines based on the bandwidth allocation amount.

[0130] 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.

[0131] 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.

[0132] 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.

[0133] 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.

[0134] 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.

[0135] 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.

[0136] 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.

[0137] 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.

[0138] 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 various 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.

[0139] 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.

[0140] 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.

[0141] 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.

[0142] 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.

[0143] 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.

[0144] 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.

[0145] 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.

[0146] 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.

[0147] 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.

[0148] 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 dynamically allocating mesh slave bandwidth based on FTTR, characterized in that: The method for dynamically allocating mesh slave bandwidth based on FTTR includes: Count the data volume, connection volume ratio and connection duration ratio of each mesh slave; the connection volume ratio includes the ratio between the total number of connections of all mesh devices and the number of connections of the current mesh slave, and the connection duration ratio includes the ratio between the total connection duration of all mesh devices and the connection duration of the current mesh slave; Get the current connection status and real-time network quality score of each mesh slave; Calculate the relative distance between each mesh slave and the user terminal based on the signal strength between each mesh slave and the user terminal; Calculate the weight value of each mesh slave according to the data volume, connection volume ratio, connection time ratio, current connection status, real-time network quality score and relative distance corresponding to each mesh slave; Calculate the bandwidth allocation corresponding to each mesh sub-machine based on the weight value corresponding to each mesh sub-machine and the total FTTR bandwidth; Based on the bandwidth allocation amount, bandwidth resources are allocated to the mesh slaves.

2. The method for dynamically allocating mesh slave bandwidth based on FTTR according to claim 1, characterized in that: The step of calculating the relative distance between each mesh slave and the user terminal according to the signal strength between each mesh slave and the user terminal comprises: Connect multiple mesh slaves to the user terminal respectively to obtain the signal strength corresponding to each of the multiple mesh slaves; Get the preset position coordinates of multiple mesh slaves; Multiplying the signal strength corresponding to each of the multiple mesh slaves by the conversion coefficient to obtain an estimated distance; Substituting the preset position coordinates and the estimated distances corresponding to each of the multiple mesh sub-units into a triangulation positioning function to obtain the estimated position coordinates of the user terminal; The relative distance between each mesh slave and the user terminal is calculated according to the preset position coordinates corresponding to each of the multiple mesh slaves and the estimated position coordinates of the user terminal.

3. The method for dynamically allocating mesh slave bandwidth based on FTTR according to claim 1, characterized in that: The step of obtaining the current connection status and real-time network quality score of each mesh slave comprises: If the mesh slave is connected to the user terminal, setting the current connection state to a first value; If the mesh slave is not connected to the user terminal, setting the current connection state to a second value; Get the signal strength, signal-to-noise ratio, delay and packet loss rate of the mesh slave; The real-time network quality score is calculated according to the signal strength, the signal-to-noise ratio, the delay and the packet loss rate.

4. The method for dynamically allocating mesh slave bandwidth based on FTTR as claimed in claim 3, characterized in that: The step of calculating the real-time network quality score according to the signal strength, the signal-to-noise ratio, the delay and the packet loss rate comprises: Substituting the signal strength, the signal-to-noise ratio, the delay and the packet loss rate into a first function to obtain the real-time network quality score; The first function is: Among them, NQS represents the real-time network quality score, SNR represents the signal-to-noise ratio, D represents the delay, PL represents the packet loss rate, and S represents the signal strength.

5. The method for dynamically allocating mesh slave bandwidth based on FTTR according to claim 1, characterized in that: The step of calculating the weight value of each mesh slave according to the data volume, connection volume ratio, connection duration ratio, current connection status, real-time network quality score and relative distance corresponding to each mesh slave comprises: Substitute the data volume, connection volume ratio, connection duration ratio, current connection status, real-time network quality score and relative distance of each mesh slave into the second function to obtain the weight value of each mesh slave; The second function is: Among them, W i represents the weight value of the i-th sub-machine, D i represents the data volume of the ith sub-machine, C i represents the proportion of connections of the ith slave, T i represents the proportion of the connection time of the i-th sub-machine, S i Indicates the current connection status of the i-th sub-machine, NQS i represents the real-time network quality score of the ith sub-machine, R i represents the relative distance of the i-th sub-machine, R1, R2, ..., R n represents the relative distance of all slaves, α, β and γ represent adjustment parameters, n represents the number of slaves, D j Indicates the data volume of the jth sub-machine, NQS j Represents the real-time network quality score of the jth slave.

6. The method for dynamically allocating mesh slave bandwidth based on FTTR as claimed in claim 1, characterized in that: The step of calculating the bandwidth allocation amount corresponding to each mesh slave according to the weight value corresponding to each mesh slave and the total FTTR bandwidth includes: Calculate the weight of each mesh slave in the total weight value; The weight ratio is multiplied by the total FTTR bandwidth to obtain the bandwidth allocation corresponding to each mesh slave.

7. The method for dynamically allocating mesh slave bandwidth based on FTTR as claimed in claim 1, characterized in that: After the step of allocating bandwidth resources to the mesh slaves based on the bandwidth allocation amount, the method further includes: The steps of counting the data volume, connection volume ratio and connection duration ratio of each mesh slave and subsequent steps are performed periodically.

8. A device for dynamically allocating mesh slave bandwidth based on FTTR, characterized in that: The device for dynamically allocating mesh slave bandwidth based on FTTR includes: A statistics unit, used to count the data volume, connection volume ratio and connection duration ratio of each mesh slave; wherein the connection volume ratio includes the ratio between the total number of connections of all mesh devices and the number of connections of the current mesh slave, and the connection duration ratio includes the ratio between the total connection duration of all mesh devices and the connection duration of the current mesh slave; The acquisition unit is used to obtain the current connection status and real-time network quality score of each mesh slave; A first calculation unit, configured to calculate a relative distance between each mesh slave and the user terminal according to a signal strength between each mesh slave and the user terminal; A second calculation unit is used to calculate the weight value of each mesh sub-machine according to the data volume, connection volume proportion, connection time proportion, current connection state, real-time network quality score and relative distance corresponding to each mesh sub-machine; The third calculation unit is used to calculate the bandwidth allocation corresponding to each mesh sub-machine according to the weight value corresponding to each mesh sub-machine and the total FTTR bandwidth; The allocating unit is used to allocate bandwidth resources to the mesh slave machines based on the bandwidth allocation amount.

9. A terminal device, characterized in that: The terminal device includes: a memory, a processor, and a program for dynamically allocating mesh sub-unit bandwidth based on FTTR stored in the memory and executable on the processor, wherein the program for dynamically allocating mesh sub-unit bandwidth based on FTTR is configured to implement the steps in the method for dynamically allocating mesh sub-unit bandwidth based on FTTR 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.

Citation Information

Cited By

  • Data transmission optimization method and system for WiFi (Wireless Fidelity) router

    CN120166430A

  • Network transmission optimization method, device, equipment and medium

    CN120956682A