A network optimization method, device and storage medium
Patent Information
- Application Number
- CN202610696846.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-20
- Publication Date
- 2026-09-22
AI Technical Summary
[0003]基于信号强度的网络优化有一些不足之处,基本都是体现在某个网络(比如 LTE)信号不好的时候,切换到另外一个网络(WIFI),导致以下问题:仅仅基于信号强度判断切换,忽略了用户的个性化需求和习惯,用户在特定情境下可能更愿意选择一种网络,例如在家庭环境中更喜欢使用Wi-Fi,信号强度并不能完全反映用户所处的场景
[0011]本发明的有益效果是:通过从移动终端中获得移动网络信号强度、WiFi网络信号强度、移动网络信号质量以及WiFi网络信号质量,对移动网络信号强度、WiFi网络信号强度、移动网络信号质量以及WiFi网络信号质量的质量校验分析,并根据分析结果生成优化执行指令,根据优化执行指令从移动终端中获得移动网络类型、移动网络基本参数、移动终端速度、移动终端电池状态以及用户套餐可用数据流量,对移动终端速度的移动速度函数计算得到移动速度函数,对用户套餐可用数据流量和用户套餐总数据流量的数据流量使用函数计算得到数据流量使用函数,对移动网络类型、移动网络基本参数、移动终端电池状态、移动速度函数以及数据流量使用函数进行评分分析,并根据分析结果得到网络优化结果,能够更全面、智能地判断切换时机,提高了切换决策的智能性和用户体验,解决了现有移动网络和Wi-Fi切换仅依赖信号强度判断、忽略用户个性化需求与场景差异、易出现乒乓切换以及无法在双网质量均良好情况下智能选择最优网络的问题,提升了使用的便捷性与智能化水平,显著地降低了误切换以及错切换的概率。
Smart Images

Figure CN122802929A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of network optimization technology, specifically to a network optimization method, apparatus, and storage medium. Background Technology
[0002] Mobile networks and Wi-Fi are two different communication technologies, each with its own unique characteristics and advantages. Mobile networks, including 3G, 4G, 5G, and others, offer higher data transmission rates and support greater bandwidth, resulting in faster internet connection speeds. Mobile networks typically have lower latency, which is crucial for real-time applications such as voice and video calls. Mobile networks also offer good coverage in both urban and rural areas, providing reliable communication services. Wi-Fi networks are relatively simple to build and are usually free, making them less expensive. Wi-Fi generally has superior indoor coverage, especially in large buildings, providing a stronger signal. Wi-Fi uses radio frequency bands, which can be shared by multiple devices, helping to alleviate network congestion. Mobile network and Wi-Fi handover methods primarily involve intelligent and seamless switching between mobile networks and Wi-Fi to provide a better user experience. The handover method is based on signal strength. The basic principles, methods, and steps of signal strength-based network optimization are as follows: The mobile device continuously measures the signal strength of the currently connected network and surrounding available networks. Signal strength is typically expressed in dBm (decibels per milliwatt), with higher values indicating stronger signals. For each available network, a handover threshold is set. If the signal strength of the currently connected network drops below this threshold, the system begins to consider switching to another network. If the signal strength of the currently connected network is lower than the set handover threshold, the mobile device triggers a handover decision. The system evaluates the signal strength of other surrounding networks and selects a network with a signal strength higher than the set threshold for handover. If the handover decision is confirmed, the mobile device initiates the handover process, establishes a connection with the newly selected network, and disconnects the current connection.
[0003] Network optimization based on signal strength has some shortcomings, primarily manifesting in the need to switch to another network (Wi-Fi) when the signal of one network (such as LTE) is weak. This leads to the following problems: relying solely on signal strength to determine switching ignores the user's individual needs and habits. Users may prefer a particular network in specific situations; for example, they may prefer Wi-Fi in a home environment. Signal strength cannot fully reflect the user's scenario. For instance, in a home environment, a user may prefer Wi-Fi, while when on the move, mobile networks are more suitable. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a network optimization method, apparatus and storage medium to address the shortcomings of the prior art.
[0005] The technical solution of this invention to solve the above-mentioned technical problems is as follows: A network optimization method, applied to a terminal device, includes the following steps: Obtain mobile network signal strength, WiFi network signal strength, mobile network signal quality, and WiFi network signal quality from the mobile terminal; The mobile network signal strength, the WiFi network signal strength, the mobile network signal quality, and the WiFi network signal quality are analyzed for quality verification, and optimized execution instructions are generated based on the analysis results. According to the optimized execution instructions, the mobile network type, basic parameters of the mobile network, mobile terminal speed, mobile terminal battery status, and available data traffic in the user's data plan are obtained from the mobile terminal. The mobile terminal speed is calculated using a mobile speed function to obtain the mobile speed function; Import the total data traffic of the user's package, calculate the data traffic usage function by combining the available data traffic of the user's package and the total data traffic of the user's package; The mobile network type, the basic parameters of the mobile network, the battery status of the mobile terminal, the mobile speed function, and the data traffic usage function are scored and analyzed, and the network optimization results are obtained based on the analysis results.
[0006] Another technical solution of the present invention to solve the above-mentioned technical problems is as follows: A network optimization device, comprising: The first data acquisition module is used to obtain mobile network signal strength, WiFi network signal strength, mobile network signal quality and WiFi network signal quality from the mobile terminal; The quality verification and analysis module is used to perform quality verification and analysis on the mobile network signal strength, the WiFi network signal strength, the mobile network signal quality, and the WiFi network signal quality, and generate optimized execution instructions based on the analysis results. The second data acquisition module is used to obtain from the mobile terminal the mobile network type, basic parameters of the mobile network, mobile terminal speed, mobile terminal battery status, and available data traffic of the user's data plan according to the optimized execution instruction; The mobile speed function calculation module is used to calculate the mobile speed function of the mobile terminal to obtain the mobile speed function; The import module is used to import the total data usage of a user's data plan. The data usage function calculation module is used to calculate the data usage function based on the available data traffic of the user package and the total data traffic of the user package, and obtain the data usage function. The optimization result acquisition module is used to perform scoring analysis on the mobile network type, the basic parameters of the mobile network, the battery status of the mobile terminal, the mobile speed function, and the data traffic usage function, and obtain the network optimization result based on the analysis results.
[0007] Based on the above-mentioned network optimization method, the present invention also provides a network optimization system.
[0008] Another technical solution of the present invention to solve the above-mentioned technical problems is as follows: a network optimization system, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the network optimization method described above is implemented.
[0009] Based on the above-described network optimization method, the present invention also provides a computer-readable storage medium.
[0010] Another technical solution of the present invention to solve the above-mentioned technical problems is as follows: a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the network optimization method as described above.
[0011] The beneficial effects of this invention are as follows: By obtaining mobile network signal strength, WiFi network signal strength, mobile network signal quality, and WiFi network signal quality from the mobile terminal, performing quality verification and analysis on these parameters, and generating optimized execution instructions based on the analysis results, the invention obtains mobile network type, basic mobile network parameters, mobile terminal speed, mobile terminal battery status, and available data traffic in the user's data plan from the mobile terminal based on the optimized execution instructions. It also calculates the mobile speed function using a mobile speed function and calculates the available data traffic and total data traffic in the user's data plan. The data traffic usage function is calculated using a quantitative data traffic usage function. This function scores and analyzes mobile network type, basic mobile network parameters, mobile terminal battery status, mobile speed function, and data traffic usage function. Based on the analysis results, network optimization results are obtained, enabling a more comprehensive and intelligent judgment of handover timing. This improves the intelligence of handover decisions and user experience, and solves the problems of existing mobile network and Wi-Fi handover relying solely on signal strength, ignoring personalized user needs and scenario differences, being prone to ping-pong handovers, and failing to intelligently select the optimal network when both networks are of good quality. This enhances ease of use and intelligence, and significantly reduces the probability of erroneous and incorrect handovers. Attached Figure Description
[0012] Figure 1 A flowchart illustrating the network optimization method provided in an embodiment of the present invention; Figure 2 This is a block diagram of a network optimization device provided in an embodiment of the present invention. Detailed Implementation
[0013] The principles and features of the present invention are described below with reference to the accompanying drawings. The examples given are only for explaining the present invention and are not intended to limit the scope of the present invention.
[0014] Figure 1 This is a flowchart illustrating a network optimization method provided in an embodiment of the present invention.
[0015] like Figure 1 As shown, a network optimization method applied to a terminal device includes the following steps: S1: Obtain mobile network signal strength, WiFi network signal strength, mobile network signal quality, and WiFi network signal quality from the mobile terminal; S2: Perform quality verification analysis on the mobile network signal strength, the WiFi network signal strength, the mobile network signal quality, and the WiFi network signal quality, and generate optimized execution instructions based on the analysis results; S3: Obtain the mobile network type, basic mobile network parameters, mobile terminal speed, mobile terminal battery status, and available data traffic in the user's data plan from the mobile terminal according to the optimized execution instruction; S4: Calculate the mobile terminal speed using a mobile speed function to obtain the mobile speed function; S5: Import the total data traffic of the user's package, calculate the data traffic usage function based on the available data traffic of the user's package and the total data traffic of the user's package, and obtain the data traffic usage function; S6: Perform scoring analysis on the mobile network type, the basic parameters of the mobile network, the battery status of the mobile terminal, the mobile speed function, and the data traffic usage function, and obtain network optimization results based on the analysis results.
[0016] It should be understood that mobile terminals refer to devices such as mobile phones and tablets that can insert SIM cards. Networks refer to the mobile networks and Wi-Fi networks in the environment in which the mobile terminal operates; mobile networks can be 3G, 4G, 5G, etc.
[0017] Specifically, the measured metrics are the signal strength of LTE and WiFi networks. , Signal quality , (i.e., mobile network signal strength, WiFi network signal strength, mobile network signal quality, and WiFi network signal quality).
[0018] In the above embodiments, mobile network signal strength, WiFi network signal strength, mobile network signal quality, and WiFi network signal quality are obtained from the mobile terminal. Quality verification analysis is performed on these parameters, and an optimization execution instruction is generated based on the analysis results. Based on the optimization execution instruction, the mobile network type, basic mobile network parameters, mobile terminal speed, mobile terminal battery status, and available data traffic in the user's data plan are obtained from the mobile terminal. A mobile speed function is calculated based on the mobile terminal speed, and the available data traffic and total data traffic in the user's data plan are also calculated. The data traffic usage function is calculated using a data traffic usage function. This function scores and analyzes mobile network type, basic mobile network parameters, mobile terminal battery status, mobile speed function, and data traffic usage function, and then obtains network optimization results based on the analysis. This allows for a more comprehensive and intelligent determination of handover timing, improving the intelligence of handover decisions and user experience. It solves the problems of existing mobile network and Wi-Fi handover systems that rely solely on signal strength, ignore personalized user needs and scenario differences, are prone to ping-pong handovers, and cannot intelligently select the optimal network when both networks are of good quality. This enhances ease of use and intelligence, significantly reducing the probability of erroneous and incorrect handovers.
[0019] Optionally, as an embodiment of the present invention, the process of performing quality verification analysis on the mobile network signal strength, the WiFi network signal strength, the mobile network signal quality, and the WiFi network signal quality, and generating optimized execution instructions based on the analysis results includes: If the mobile network signal strength is greater than a preset mobile network signal strength threshold, the WiFi network signal strength is greater than a preset WiFi network signal strength threshold, the mobile network signal quality is greater than a preset mobile network signal quality threshold, and the WiFi network signal quality is greater than a preset WiFi network signal quality threshold, then an optimized execution instruction is generated.
[0020] It should be understood that signal strength switching thresholds are set separately. =A1 (dBm) (i.e., the preset mobile network signal strength threshold), =A2 (dBm) (i.e., the preset WiFi network signal strength threshold), the signal quality switching threshold. =B1 (dB) (i.e., the preset mobile network signal quality threshold), =B2 (dB) (i.e., the preset WiFi network signal quality threshold).
[0021] Specifically, if the signal strength and signal quality (i.e., mobile network signal strength, WiFi network signal strength, mobile network signal quality, and WiFi network signal quality) are lower than the threshold values (i.e., preset mobile network signal strength threshold, preset WiFi network signal strength threshold, preset mobile network signal quality threshold, and preset WiFi network signal quality threshold), it indicates that the network is not suitable for voice communication and it is necessary to switch to another network for voice communication.
[0022] It should be understood that the mobile terminal will only proceed to the next step when it measures that the signal strength and signal quality of LTE and WiFi (i.e., mobile network signal strength, WiFi network signal strength, mobile network signal quality, and WiFi network signal quality) are all greater than the threshold values (i.e., preset mobile network signal strength threshold, preset WiFi network signal strength threshold, preset mobile network signal quality threshold, and preset WiFi network signal quality threshold).
[0023] Specifically, the mobile terminal may be connected to an LTE network or a WiFi network.
[0024] Assuming the mobile terminal is in an LTE network, the next step will only proceed when the signal strength and signal quality of the connected LTE network and the disconnected WiFi (i.e., mobile network signal strength, WiFi network signal strength, mobile network signal quality, and WiFi network signal quality) are all greater than the threshold values (i.e., preset mobile network signal strength threshold, preset WiFi network signal strength threshold, preset mobile network signal quality threshold, and preset WiFi network signal quality threshold).
[0025] Assuming the mobile terminal is in a WiFi network, if the signal strength and signal quality (i.e., mobile network signal strength, WiFi network signal strength, mobile network signal quality, and WiFi network signal quality) of both the unconnected LTE and the connected WiFi are greater than the threshold values (i.e., preset mobile network signal strength threshold, preset WiFi network signal strength threshold, preset mobile network signal quality threshold, and preset WiFi network signal quality threshold), then proceed to the next step.
[0026] The reason for this requirement is to ensure that, assuming both LTE and WiFi signals meet the requirements, a more suitable network is selected based on factors such as user habits. If one network (such as LTE) has a weak signal, the mobile device must switch to the better network to ensure a better user communication experience.
[0027] In the above embodiments, quality verification analysis is performed on mobile network signal strength, WiFi network signal strength, mobile network signal quality, and WiFi network signal quality, and optimized execution instructions are generated based on the analysis results. This ensures the user's communication experience, improves the ease of use and intelligence level, and significantly reduces the probability of accidental and incorrect handovers.
[0028] Optionally, as an embodiment of the present invention, the process of calculating the mobile terminal speed using a mobile speed function to obtain the mobile speed function includes: By importing the speed boundary midpoint, and calculating the mobile terminal speed and the speed boundary midpoint using the first equation, a mobile speed function is obtained. The first equation is: , in, It is a function of movement speed. For steepness parameters, For mobile terminal speed, This is the midpoint of the velocity boundary.
[0029] It should be understood that the mobile terminal's mobile speed function g(speed) (i.e., the mobile speed function) is: the faster the mobile terminal is, the more likely it is to choose the LTE network, because LTE has better support capabilities for high-speed users.
[0030] Specifically, designing the function to be continuous can more accurately reflect the impact of speed on network selection. Below is an example of a possible continuous function, using a sigmoid function: , in: k is a parameter that controls the steepness of the function. It is the midpoint of the velocity, meaning that the value of the function is close to 0.5 near this velocity.
[0031] The maximum and minimum values of the sigmoid function are 1 and 0, respectively. As the speed increases (+∞), the sigmoid function approaches 1, meaning its maximum value is 1. This property of the sigmoid function makes it very commonly used to express probabilities or choice preferences, as its output ranges from 0 to 1. In this scenario, the output of the sigmoid function can be interpreted as the probability that a user will choose to use LTE at a given speed; slower speeds (speed < 0) are less likely to be LTE. When the speed is slow, the output of the sigmoid function tends to 0, indicating that the user is more inclined to choose a Wi-Fi network. Moderate speed (speed ≈ At moderate speeds, the function's output value is approximately 0.5, indicating that users have an equal probability of choosing to use LTE and Wi-Fi. At faster speeds (speed > 0.5), the output value is 0.5. When the speed is high, the output of the Sigmoid function tends to 1, indicating that the user is more inclined to choose the LTE network.
[0032] In the above embodiments, the mobile terminal speed is calculated using a mobile speed function to obtain the mobile speed function, which can more comprehensively and intelligently determine the handover timing, improve the intelligence of the handover decision and the user experience, and solve the problems of existing mobile network and Wi-Fi handover relying solely on signal strength, ignoring user-specific needs and scenario differences, being prone to ping-pong handover, and being unable to intelligently select the optimal network when both networks are of good quality.
[0033] Optionally, as an embodiment of the present invention, the process of calculating the data usage function based on the available data traffic of the user package and the total data traffic of the user package to obtain the data usage function includes: The data usage function is obtained by calculating the available data traffic and the total data traffic of the user package using the second formula. The second formula is: , in, Use functions for data traffic. The amount of data available in the user's plan. This represents the total data usage for the user's data plan.
[0034] Specifically, (Data usage) (i.e., data traffic usage function) is a function of data usage. If the mobile terminal is connected to a mobile network, the user may prefer to use Wi-Fi when they need to save data, as shown in the following formula: j (Data volume) = Remaining data allowance in user's data plan / User's data quota. Remaining data allowance (i.e., available data in the user's plan): This represents the remaining data allowance in the user's current plan, which can be obtained by accessing the mobile terminal's account information. User data quota (i.e., total data allowance in the user's plan): This represents the total data usage allowance in the user's plan. It refers to the total data usage quota a user has within a specific billing cycle. In mobile communications, users typically purchase a data plan, which may include a certain amount of talk time, SMS messages, and data allowance. For example, a user plan might stipulate 5GB of data usage per month; this is the total data quota in the user plan, representing the maximum amount of data the user can use within a month.
[0035] In the above embodiments, the second formula is used to calculate the available data traffic and total data traffic of the user's package to obtain the data traffic usage function, which improves the intelligence of the handover decision and the user experience. It solves the problems of existing mobile network and Wi-Fi handover relying solely on signal strength, ignoring user's personalized needs and scenario differences, being prone to ping-pong handover, and being unable to intelligently select the optimal network when both networks are of good quality.
[0036] Optionally, as an embodiment of the present invention, the process of scoring and analyzing the mobile network type, the basic parameters of the mobile network, the battery status of the mobile terminal, the mobile speed function, and the data traffic usage function, and obtaining network optimization results based on the analysis results, includes: An environment function analysis is performed on the mobile network type and the basic parameters of the mobile network to obtain the environment function; The mobile terminal battery state is used as a battery state function; The mobile terminal score is obtained by calculating the environmental function, the battery state function, the mobile speed function, and the data traffic usage function using the third equation. The third equation is: , in, Rate the mobile device , , as well as All are weighting coefficients. It is a function of movement speed. For environment functions, This is the battery state function. Use functions for data traffic; If the mobile terminal score is greater than a preset optimization threshold, the mobile network type is updated to a mobile network and the updated mobile network type is used as the network optimization result; otherwise, the mobile network type is updated to a WiFi network and the updated mobile network type is used as the network optimization result.
[0037] Preferably, the preset optimization threshold can be 0.5.
[0038] It should be understood that i (Battery state) (i.e., the battery state function) is a function of the mobile terminal's battery state. By obtaining its own battery state, the mobile terminal understands the remaining power. When the battery is low, the mobile terminal may be more inclined to choose energy-saving options, that is, choose Wi-Fi, as shown in the following formula: i (Battery Status) = Remaining Battery Capacity Percentage In this example,i (Battery state) (i.e., the battery state function) is a linear function, which means that the lower the battery state, the lower the corresponding score, and the more likely the mobile terminal is to choose Wi-Fi.
[0039] Specifically, the decision of whether a mobile terminal connects to an LTE network or a Wi-Fi network is based on the characteristics of the mobile terminal user. Below is an example of a calculation formula: , in: The mobile speed function (i.e., the mobile terminal's mobile speed function) is a continuous function that represents the impact of the mobile terminal's speed on network selection. The environment function (i.e., the environment function) is a function of the environment in which the mobile terminal is located, used to represent the impact of the environment on network selection. The battery state function (or battery state function) is a function of the mobile terminal's battery state, used to represent the impact of the mobile terminal's battery state on its network selection. The data usage function (i.e., the data usage function) is a function of the remaining data on the mobile terminal. It is used to represent the impact of mobile terminal users' choices when saving data. α, β, γ, and δ are weight coefficients, which represent the relative importance of each factor in the total score. They are added together to equal 1 and are used to adjust the relative importance of each factor in the decision. These weights can be adjusted according to actual needs.
[0040] Specifically, the Score (i.e., mobile device score) is calculated to determine whether to choose LTE or Wi-Fi. The final decision rule is as follows: If the score (i.e., the mobile terminal score) is greater than a certain threshold, the mobile terminal chooses to connect to LTE; if the score (i.e., the mobile terminal score) is less than a certain threshold, the mobile terminal chooses to connect to Wi-Fi.
[0041] Assuming the threshold (i.e., the preset optimization threshold) is set to 0.5, then: If the score is greater than 0.5, the mobile terminal will select LTE; if the score is less than or equal to 0.5, the mobile terminal will select Wi-Fi. This is just an example; in actual applications, the threshold needs to be adjusted flexibly according to the specific situation.
[0042] In the above embodiments, scoring analysis is performed on mobile network type, basic mobile network parameters, mobile terminal battery status, mobile speed function, and data traffic usage function. Based on the analysis results, network optimization results are obtained. This solves the problems of existing mobile network and Wi-Fi switching relying solely on signal strength, ignoring user-specific needs and scenario differences, being prone to ping-pong switching, and failing to intelligently select the optimal network when both networks are of good quality. It improves the ease of use and intelligence level, and significantly reduces the probability of erroneous and incorrect switching.
[0043] Optionally, as an embodiment of the present invention, the process of performing environmental function analysis on the mobile network type and the basic parameters of the mobile network to obtain the environmental function includes: The corresponding network coverage location is obtained from a preset network parameter database based on the mobile network type and the basic parameters of the mobile network. Determine whether the network coverage location is outdoors. If yes, use the first environment preset value as the environment function; otherwise, use the second environment preset value as the environment function.
[0044] Preferably, the first environmental preset value can be 1, and the second environmental preset value can be 0.
[0045] Specifically, mobile terminal environment functions (i.e., environment function): Assume there is a database (i.e., the preset network parameter database) that stores the parameter information of all mobile networks and Wi-Fi. The function of the parameters is usually to record the relevant physical information of the network, such as the location of the network coverage, whether the location is indoors or outdoors, the network opening time, etc. Based on the relevant information of the network type (LTE or Wi-Fi) connected to the mobile terminal, the mobile terminal checks the network parameters in the database (i.e., the preset network parameter database) to determine whether the network coverage of the mobile terminal is mainly indoors or outdoors.
[0046] It should be understood that if the mobile terminal is outdoors, They tend to use LTE networks if the mobile device is indoors. They tend to use Wi-Fi networks because LTE networks perform better outdoors and can better meet their needs.
[0047] In the above embodiments, environmental function analysis is performed on the mobile network type and basic parameters of the mobile network to obtain the environmental function, which improves the ease of use and intelligence level, and significantly reduces the probability of incorrect handover and faulty handover.
[0048] Optionally, as another embodiment of the present invention, the present invention proposes a new handover method that considers selecting a more suitable network when the mobile network and WiFi signal quality are good. By taking into account the introduction of user characteristics, such as user location, the handover timing can be determined more comprehensively and intelligently, thereby improving the intelligence of the handover decision and the user experience.
[0049] Alternatively, as another embodiment of the present invention, the present invention considers a new method for a mobile terminal to select a more suitable network when the mobile network and WiFi signal quality are good.
[0050] Figure 2 This is a block diagram of a network optimization device provided in an embodiment of the present invention.
[0051] Alternatively, as another embodiment of the present invention, such as Figure 2 As shown, a network optimization device includes: The first data acquisition module is used to obtain mobile network signal strength, WiFi network signal strength, mobile network signal quality and WiFi network signal quality from the mobile terminal; The quality verification and analysis module is used to perform quality verification and analysis on the mobile network signal strength, the WiFi network signal strength, the mobile network signal quality, and the WiFi network signal quality, and generate optimized execution instructions based on the analysis results. The second data acquisition module is used to obtain from the mobile terminal the mobile network type, basic parameters of the mobile network, mobile terminal speed, mobile terminal battery status, and available data traffic of the user's data plan according to the optimized execution instruction; The mobile speed function calculation module is used to calculate the mobile speed function of the mobile terminal to obtain the mobile speed function; The import module is used to import the total data usage of a user's data plan. The data usage function calculation module is used to calculate the data usage function based on the available data traffic of the user package and the total data traffic of the user package, and obtain the data usage function. The optimization result acquisition module is used to perform scoring analysis on the mobile network type, the basic parameters of the mobile network, the battery status of the mobile terminal, the mobile speed function, and the data traffic usage function, and obtain the network optimization result based on the analysis results.
[0052] Optionally, as an embodiment of the present invention, the quality verification and analysis module is specifically used for: If the mobile network signal strength is greater than a preset mobile network signal strength threshold, the WiFi network signal strength is greater than a preset WiFi network signal strength threshold, the mobile network signal quality is greater than a preset mobile network signal quality threshold, and the WiFi network signal quality is greater than a preset WiFi network signal quality threshold, then an optimized execution instruction is generated.
[0053] Optionally, another embodiment of the present invention provides a network optimization system, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the network optimization method described above. This system can be a computer or similar system.
[0054] Optionally, another embodiment of the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the network optimization method as described above.
[0055] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0056] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described apparatus and unit can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0057] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0058] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of the present invention, depending on actual needs.
[0059] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0060] If the integrated unit is implemented as 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 technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0061] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A network optimization method, characterized in that, When applied to terminal devices, the following steps are included: Obtain mobile network signal strength, WiFi network signal strength, mobile network signal quality, and WiFi network signal quality from the mobile terminal; The mobile network signal strength, the WiFi network signal strength, the mobile network signal quality, and the WiFi network signal quality are analyzed for quality verification, and optimized execution instructions are generated based on the analysis results. According to the optimized execution instructions, the mobile network type, basic parameters of the mobile network, mobile terminal speed, mobile terminal battery status, and available data traffic in the user's data plan are obtained from the mobile terminal. The mobile terminal speed is calculated using a mobile speed function to obtain the mobile speed function; Import the total data traffic of the user's package, calculate the data traffic usage function by combining the available data traffic of the user's package and the total data traffic of the user's package; The mobile network type, the basic parameters of the mobile network, the battery status of the mobile terminal, the mobile speed function, and the data traffic usage function are scored and analyzed, and the network optimization results are obtained based on the analysis results.
2. The network optimization method according to claim 1, characterized in that, The process of performing quality verification analysis on the mobile network signal strength, the WiFi network signal strength, the mobile network signal quality, and the WiFi network signal quality, and generating optimized execution instructions based on the analysis results, includes: If the mobile network signal strength is greater than a preset mobile network signal strength threshold, the WiFi network signal strength is greater than a preset WiFi network signal strength threshold, the mobile network signal quality is greater than a preset mobile network signal quality threshold, and the WiFi network signal quality is greater than a preset WiFi network signal quality threshold, then an optimized execution instruction is generated.
3. The network optimization method according to claim 1, characterized in that, The process of calculating the mobile speed function based on the mobile terminal speed includes: By importing the speed boundary midpoint, and calculating the mobile terminal speed and the speed boundary midpoint using the first equation, a mobile speed function is obtained. The first equation is: , in, It is a function of movement speed. For steepness parameters, For mobile terminal speed, This is the midpoint of the velocity boundary.
4. The network optimization method according to claim 1, characterized in that, The process of calculating the data usage function based on the available data traffic and the total data traffic of the user plan to obtain the data usage function includes: The data usage function is obtained by calculating the available data traffic and the total data traffic of the user package using the second formula. The second formula is: , in, Use functions for data traffic. The amount of data available in the user's plan. This represents the total data usage for the user's data plan.
5. The network optimization method according to claim 1, characterized in that, The process of scoring and analyzing the mobile network type, the basic parameters of the mobile network, the battery status of the mobile terminal, the mobile speed function, and the data traffic usage function, and obtaining network optimization results based on the analysis results, includes: An environment function analysis is performed on the mobile network type and the basic parameters of the mobile network to obtain the environment function; The mobile terminal battery state is used as a battery state function; The mobile terminal score is obtained by calculating the environmental function, the battery state function, the mobile speed function, and the data traffic usage function using the third equation. The third equation is: , in, Rate the mobile device , , as well as All are weighting coefficients. It is a function of movement speed. For environment functions, This is the battery state function. Use functions for data traffic; If the mobile terminal score is greater than a preset optimization threshold, the mobile network type is updated to a mobile network and the updated mobile network type is used as the network optimization result; otherwise, the mobile network type is updated to a WiFi network and the updated mobile network type is used as the network optimization result.
6. The network optimization method according to claim 5, characterized in that, The process of performing environmental function analysis on the mobile network type and the basic parameters of the mobile network to obtain the environmental function includes: The corresponding network coverage location is obtained from a preset network parameter database based on the mobile network type and the basic parameters of the mobile network. Determine whether the network coverage location is outdoors. If yes, use the first environment preset value as the environment function; otherwise, use the second environment preset value as the environment function.
7. A network optimization device, characterized in that, include: The first data acquisition module is used to obtain mobile network signal strength, WiFi network signal strength, mobile network signal quality and WiFi network signal quality from the mobile terminal; The quality verification and analysis module is used to perform quality verification and analysis on the mobile network signal strength, the WiFi network signal strength, the mobile network signal quality, and the WiFi network signal quality, and generate optimized execution instructions based on the analysis results. The second data acquisition module is used to obtain from the mobile terminal the mobile network type, basic parameters of the mobile network, mobile terminal speed, mobile terminal battery status, and available data traffic of the user's data plan according to the optimized execution instruction. The mobile speed function calculation module is used to calculate the mobile speed function of the mobile terminal to obtain the mobile speed function; The import module is used to import the total data usage of a user's data plan. The data usage function calculation module is used to calculate the data usage function based on the available data traffic of the user package and the total data traffic of the user package, and obtain the data usage function. The optimization result acquisition module is used to perform scoring analysis on the mobile network type, the basic parameters of the mobile network, the battery status of the mobile terminal, the mobile speed function, and the data traffic usage function, and obtain the network optimization result based on the analysis results.
8. The network optimization device according to claim 7, characterized in that, The quality verification and analysis module is specifically used for: If the mobile network signal strength is greater than a preset mobile network signal strength threshold, the WiFi network signal strength is greater than a preset WiFi network signal strength threshold, the mobile network signal quality is greater than a preset mobile network signal quality threshold, and the WiFi network signal quality is greater than a preset WiFi network signal quality threshold, then an optimized execution instruction is generated.
9. A network optimization apparatus, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the network optimization method 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, it implements the network optimization method as described in any one of claims 1 to 6.