Network connection method, mobile terminal, and storage medium
The network connection method in mobile terminals dynamically selects between Wi-Fi and mobile networks based on application type and quality parameters, addressing the suboptimal network selection in current systems by ensuring optimal network service for different applications.
Patent Information
- Application Number
- JP2024570277
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-07-05
- Filing Date
- 2023-05-22
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2043-05-22
AI Technical Summary
Current mobile terminals do not consider the varying network quality needs of different applications, leading to suboptimal network selection that fails to meet the requirements of applications such as video streaming or gaming.
A network connection method that dynamically selects between Wi-Fi and mobile networks based on application type and required network quality parameters, such as throughput rate or latency, by determining parameter priority items and comparing target parameters to ensure optimal network selection.
Provides an optimal network service by automatically switching to networks that meet the specific needs of the current application, enhancing user experience by ensuring high throughput for video streaming or low latency for gaming without manual intervention.
Smart Images

Figure 2025519172000001_ABST
Abstract
Description
Technical Field
[0001] This application is filed based on a Chinese patent application with an application number of 202210784298.4 and a filing date of July 5, 2022, and claims the priority of the Chinese patent application. All the contents of the Chinese patent application are incorporated herein by reference.
[0002] The embodiments of the present application relate to the field of communications, but are not limited thereto, and particularly relate to a network connection method, a mobile terminal, and a storage medium.
Background Art
[0003] Current mobile terminals usually preferentially select either a Wi-Fi network or a mobile network based on the access level detected in real time for the Wi-Fi network and the mobile network, or the default priority setting by the user. However, different types of applications running on the mobile terminal have different needs for network quality. For example, when an application is used to watch a video, the requirement for the throughput rate of the application is higher, and when an application is used to play a game, the requirement for the latency of the application is high. However, the current network connection method of the mobile terminal does not consider the needs of the application for network quality, so the selected network cannot properly meet the user's network access needs.
Summary of the Invention
Problems to be Solved by the Invention
[0004] The following is a summary of the subject matter described in detail in this specification. This summary is not intended to limit the scope of the claims.
[0005] The embodiments of the present application provide a network connection method, a mobile terminal, and a storage medium.
Means for Solving the Problem
[0006] In a first aspect, an embodiment of the present application is a network connection method applied to a mobile terminal, comprising: obtaining a first network quality parameter of a first network and a second network quality parameter of a second network; obtaining an application type of a current application running on the mobile terminal and a required network quality parameter; obtaining a parameter priority item for determining a type of network quality parameter prioritized in network selection according to the application type; determining a plurality of target parameters of the same type among the first network quality parameter, the second network quality parameter, and the required network quality parameter according to the parameter priority item, comparing the plurality of target parameters to perform network selection, and obtaining a selection result; determining and connecting a target network among the first network and the second network according to the selection result. A network connection method is provided.
[0007] In a second aspect, an embodiment of the present application further provides a mobile terminal, comprising a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the above network connection method is realized.
[0008] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions for executing the above network connection method. The drawings are for further understanding of the technical solution of the present application, form a part of the specification, and are used to explain the technical solution of the present application together with the embodiments of the present application, but do not limit the technical solution of the present application.
Brief Description of the Drawings
[0009]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Modes for Carrying Out the Invention
[0010] To make the objectives, technical solutions, and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. The specific embodiments described in this specification are for the purpose of explaining the present application and are not intended to limit the present application.
[0011] It should be noted that the division of functional modules is carried out in the schematic diagram of the device, and the logical order is shown in the flowchart. However, in some cases, it may be different from the division of modules in the device, or the steps shown or described may be executed in an order different from that in the flowchart. Terms such as "first", "second", etc. in this specification, the claims, or the above drawings are terms for distinguishing similar objects and are not necessarily used to explain a specific order or priority.
[0012] This application provides a network connection method, a mobile terminal, and a storage medium. The method includes: obtaining the first network quality parameter of the first network and the second network quality parameter of the second network; obtaining the application type of the current application running on the mobile terminal and the required network quality parameter; obtaining a parameter priority item for determining the type of network quality parameter prioritized in network selection according to the application type; determining, according to the parameter priority item, multiple target parameters of the same type among the first network quality parameter, the second network quality parameter, and the required network quality parameter, comparing the multiple target parameters to perform network selection, and obtaining a selection result; and determining and connecting to a target network among the first network and the second network according to the selection result. By combining the type of the current application running on the mobile terminal with the requirements for network service quality and dynamically connecting to a network that meets the requirements, an optimal network service is provided, improving the user's network experience.
[0013] Hereinafter, embodiments of the present application will be further described with reference to the drawings.
[0014] Embodiments of the present application provide a network connection method. Referring to FIG. 2, FIG. 2 is a flowchart of the network connection method. The network connection method includes the following steps S100 to S500, but is not limited thereto.
[0015] Step S100: Obtain the first network quality parameter of the first network and the second network quality parameter of the second network.
[0016] Step S200: Obtain the application type of the current application running on the mobile terminal and the required network quality parameter.
[0017] Step S300: Obtain parameter priority items according to the application type.
[0018] Step S400: According to the parameter priority items, determine multiple target parameters of the same type among the first network quality parameter, the second network quality parameter, and the required network quality parameter, compare the multiple target parameters to perform network selection, and obtain a selection result.
[0019] Step S500: According to the selection result, determine and connect the target network among the first network and the second network.
[0020] The mobile terminal 100 is a terminal device that can access the Internet by wireless network technology and can be used during movement. Its mobility is mainly reflected in the mobile communication ability and the portable volume. The mobile terminal 100 may include a mobile phone, a notebook computer, a tablet computer, etc.
[0021] The first network is a Wi-Fi (Wireless Fidelity) network. The Wi-Fi technology is a wireless local area network technology created based on the IEEE 802.11 standard. The mobile terminal 100 can perform Wi-Fi connection within the signal coverage range of the wireless data terminal 200. The second network is a mobile network, specifically, it may be a 4G mobile network or a 5G mobile network. The first network and the second network are two different networks. Furthermore, the first network and the second network are two different types of networks. Of course, in other embodiments, the first network and the second network may be other types of networks.
[0022] The mobile terminal 100 has the ability to make a Wi-Fi connection via a Wi-Fi network and also has the ability to make a network connection via a 4G mobile network or a 5G mobile network.
[0023] The Wi-Fi network is easily restricted by factors such as transmission distance, partitions, and obstacles like walls. When the radio signal transmits, it attenuates, and the coverage may shrink. When the distance between the mobile terminal 100 and the router is far or there is a partition, the mobile terminal 100 can detect the Wi-Fi signal, but due to the weak Wi-Fi signal, the network service quality of the Wi-Fi network becomes low, and it is not smooth for the user to access the Internet via the Wi-Fi network. On the other hand, the 4G mobile network or 5G mobile network of the mobile terminal 100 is restricted by the distance from the base station, or the transmission signal of the 4G mobile network or 5G mobile network of the mobile terminal 100 is interfered, resulting in a low network service quality of the 4G mobile network or 5G mobile network, and it is not smooth for the user to access the Internet via the 4G mobile network or 5G mobile network. In this case, with this network connection method, the user does not need to manually switch the network, and automatic switching to the optimal network can be realized.
[0024] When a user accesses the Internet using the mobile terminal 100, the emphasis on the required network quality parameters varies for each service type. For example, when watching a video using the mobile terminal 100, it is necessary to cache the video online and prioritize the throughput rate. When playing a game using the mobile terminal 100, low latency is required for the game, and it is necessary to prioritize latency. With this network connection method, when the current application being executed by the user using the mobile terminal 100 requires low latency and there is high latency in the current network to which the mobile terminal 100 is connected, or when the current application being executed by the user using the mobile terminal 100 requires a high throughput rate and there is a low throughput rate in the current network to which the mobile terminal 100 is connected, the user does not need to manually switch the network. Instead, the mobile terminal 100 can comprehensively consider the type of the current application being executed and the required network quality parameters, and realize automatic switching to the optimal network.
[0025] Referring to FIG. 3, step S100 of obtaining the first network quality parameter of the first network and the second network quality parameter of the second network includes, but is not limited to, the following steps S110 and S120.
[0026] Step S110: Obtain the first throughput rate and the first latency of the first network.
[0027] Step S120: Obtain the second throughput rate and the second latency of the second network.
[0028] In step S110, in this embodiment, the first throughput rate and the first latency of the first network are obtained, that is, the throughput rate and the latency of the Wi-Fi network path of the mobile terminal 100 are obtained.
[0029] In step S120, in this embodiment, the second throughput rate and the second delay of the second network are obtained, that is, the throughput rate and the delay of the mobile network path of the mobile terminal 100 are obtained.
[0030] The throughput rate and the delay are two parameters that reflect the network service quality (QoS). In other embodiments, other QoS parameters such as the packet loss rate of the transmitted data, the bandwidth of the network transmission, and the delay jitter may be used as the first network quality parameter of the first network and the second network quality parameter of the second network.
[0031] Referring to FIG. 1, FIG. 1 is a schematic diagram of the connection among the mobile terminal 100, the wireless data terminal 200, and the network providing side 300. The mobile terminal 100 and the wireless data terminal 200 are connected via a first network, that is, the mobile terminal 100 and the wireless data terminal 200 are Wi-Fi connected via a Wi-Fi network. The wireless data terminal 200 has a connection WAN interface to a 4G mobile network or a 5G mobile network, and the wireless data terminal 200 and the network providing side 300 realize a network connection via a 4G mobile network or a 5G mobile network. Also, the mobile terminal 100 is connected to the network providing side 300 via a 4G mobile network or a 5G mobile network. The network providing side 300 to which the mobile terminal 100 and the wireless data terminal 200 are connected may be the same or two different ones. Specifically, the wireless data terminal 200 is a router, and the network providing side 300 is a base station. When the wireless data terminal 200 and the base station are connected by 4G network technology, the wireless data terminal 200 and the base station realize a Public Data Network (PDN) connection. When the wireless data terminal 200 and the base station are connected by 5G network technology, the wireless data terminal 200 and the base station are connected by a Protocol Data Unit (PDU) session.
[0032] Referring to FIG. 4, step S110 of obtaining the first throughput rate and the first delay of the first network includes, but is not limited to, the following steps S111 to S113.
[0033] Step S111: Obtain the third throughput rate and the third delay of the wireless data terminal corresponding to the network providing side.
[0034] Step S112: Obtain the first throughput rate based on the third throughput rate.
[0035] Step S113: Obtain a first delay based on a third delay.
[0036] In step S111, when the wireless data terminal 200 establishes a network connection with the base station and the 4G mobile network or the 5G mobile network, the base station distributes a third throughput rate and a third delay via the 4G mobile network or the 5G mobile network. When the wireless data terminal 200 receives the third throughput rate and the third delay distributed from the base station, it stores the third throughput rate and the third delay in the memory within the wireless data terminal 200 device.
[0037] Referring to FIG. 5, the step of obtaining the third throughput rate and the third delay of the wireless data terminal 200 corresponding to the network providing side 300 includes, but is not limited to, the following steps S1111 and S1112.
[0038] Step S1111: Transmit a query request message to the wireless data terminal.
[0039] Step S1112: Receive response information transmitted from the wireless data terminal and corresponding to the query request message, where the response information includes a third throughput rate and a third delay.
[0040] After establishing a network connection with the wireless data terminal 200 via the first network, the mobile terminal 100 sends a query request message to the wireless data terminal 200 via the first network, and inquires about the third throughput rate and the third delay of the wireless data terminal 200 corresponding to the network provider 300. When the wireless data terminal 200 receives the query request message sent from the mobile terminal 100, after reading out the third throughput rate and the third delay stored in the internal memory, it sends the response information corresponding to the query request message to the mobile terminal 100, and the response information includes the information of the third throughput rate and the third delay. The mobile terminal 100 receives the response information sent from the wireless data terminal 200, and further obtains the third throughput rate and the third delay of the wireless data terminal 200 corresponding to the network provider 300.
[0041] In steps S112 and S113, in the simplest case, the throughput rate and the delay obtained by the mobile terminal 100 from the wireless data terminal 200 are directly treated as the throughput rate and the delay of the Wi-Fi network path of the mobile terminal 100. That is, based on the third throughput rate, the step of obtaining the first throughput rate is specifically to set the third throughput rate as the first throughput rate, and based on the third delay, the step of obtaining the first delay is specifically to set the third delay as the first delay.
[0042] However, generally, the Wi-Fi network connection between the mobile terminal 100 and the wireless data terminal 200 affects the throughput rate and the delay of the Wi-Fi network path. Therefore, when calculating the first throughput rate and the first delay from the third throughput rate and the third delay, it is necessary to consider this influence.
[0043] When the negotiation throughput rate between the mobile terminal 100 and the wireless data terminal 200 is smaller than the data throughput rate of the network service quality of the 4G mobile network or 5G mobile network connection of the wireless data terminal 200, the negotiation throughput rate of the Wi-Fi network path becomes a bottleneck, and the throughput rate of the Wi-Fi network path is limited, and it cannot reach the third throughput rate of the 4G mobile network or 5G mobile network connection of the wireless data terminal 200. Based on the third throughput rate, the step of obtaining the first throughput rate is specifically to obtain the negotiation throughput rate between the mobile terminal 100 and the wireless data terminal 200, and select the one with the smallest numerical value among the third throughput rate and the negotiation throughput rate as the first throughput rate. That is, when the third throughput rate is larger than the negotiation throughput rate, the negotiation throughput rate is used as the first throughput rate of the first network; when the third throughput rate is smaller than the negotiation throughput rate, the third throughput rate is used as the first throughput rate of the first network.
[0044] The Wi-Fi network connection between the mobile terminal 100 and the wireless data terminal 200 adds additional delay to the delay of the network service quality of the 4G mobile network or 5G mobile network connection of the wireless data terminal 200, obtains the additional delay between the mobile terminal 100 and the wireless data terminal 200 through actual measurement, and considers this additional delay in the delay of the Wi-Fi network connection to obtain the actual delay of the Wi-Fi network connection. Based on the third delay, the step of obtaining the first delay includes the step of obtaining the additional delay between the mobile terminal 100 and the wireless data terminal 200, and the step of using the sum of the third delay and the additional delay as the first delay.
[0045] In step S120, the mobile terminal 100 is connected to the base station via a 4G mobile network or 5G mobile network. The throughput rate and delay of the mobile network path of the mobile terminal 100 are obtained through actual measurement.
[0046] In step S200, when the user accesses the Internet using the mobile terminal 100, the emphasis on the required network quality parameters varies for each service type. For example, when watching a video using the mobile terminal 100, it is necessary to cache the video online and prioritize the throughput rate. When playing a game using the mobile terminal 100, low latency is required for the game, and it is necessary to prioritize latency. In order to select a network connection by comprehensively considering the application type and required network quality parameters of the current application, the mobile terminal 100 obtains the application type and required network quality parameters of the current application being executed.
[0047] Here, the required network quality parameters are the requirements for the network service quality of the current application being executed by the mobile terminal 100. For example, if a throughput rate of 1 Mbit / s is required as the throughput rate of the current application being executed by the mobile terminal 100, the throughput rate of 1 Mbit / s is the current required network quality parameter of the mobile terminal 100.
[0048] In step S300, obtain parameter priority items for determining the type of network quality parameter prioritized in network selection according to the application type. For example, if the current application being executed by the mobile terminal 100 is video viewing and it is necessary to prioritize the throughput rate, the parameter priority item is the throughput rate. If the current application being executed by the mobile terminal 100 is a game and it is necessary to prioritize latency, the parameter priority item is latency. In other embodiments, according to actual needs, other network service quality parameters such as the packet loss rate of transmitted data, the bandwidth of network transmission, and delay jitter may be selected as parameter priority items.
[0049] Step S400: According to the parameter priority item, determine multiple target parameters of the same type among the first network quality parameter, the second network quality parameter, and the required network quality parameter, compare the multiple target parameters to perform network selection, and obtain a selection result.
[0050] Referring to FIG. 6, in one aspect, when the parameter priority item is delay, step S400 includes, but is not limited to, the following steps S411 to S414.
[0051] Step S411: Determine that the first delay and the second delay are target parameters.
[0052] Step S412: Compare the first delay and the second delay to obtain a first comparison result.
[0053] Step S413: When the first comparison result is that the second delay is less than or equal to the first delay, set the selection result as the second network.
[0054] Step S414: When the first comparison result is that the second delay is greater than the first delay, set the selection result as the first network.
[0055] When the parameter priority item is delay, determine the target parameter of the delay type from among the first network quality parameter, the second network quality parameter, and the required network quality parameter, that is, determine the first delay and the second delay as the target parameters. Compare the numerical values of the first delay of the Wi-Fi network and the second delay of the mobile network, and select the network with lower delay from among the Wi-Fi network and the mobile network as the connection network. When the second delay is less than or equal to the first delay, set the selection result as the mobile network; when the second delay is greater than the first delay, set the selection result as the Wi-Fi network.
[0056] Referring to FIG. 7, in another aspect, when the parameter priority item is the throughput rate, step S400 includes, but is not limited to, the following steps S421 to S425.
[0057] Step S421: Determine that the first throughput rate, the second throughput rate, and the required throughput rate are target parameters.
[0058] Step S422: Compare the first throughput rate, the second throughput rate, and the required throughput rate to obtain a second comparison result.
[0059] Step S423: When the second comparison result is that the first throughput rate is greater than or equal to the required throughput rate, set the selection result to the first network.
[0060] Step S424: When the second comparison result is that the first throughput rate is less than the required throughput rate and the first throughput rate is greater than or equal to the second throughput rate, set the selection result to the first network.
[0061] Step S425: When the second comparison result is that the first throughput rate is less than the required throughput rate and the first throughput rate is less than the second throughput rate, set the selection result to the second network.
[0062] When the parameter priority item is the throughput rate, determine the target parameter of the throughput rate type from among the first network quality parameter, the second network quality parameter, and the required network quality parameter, that is, determine the first throughput rate, the second throughput rate, and the required throughput rate as the target parameters. Compare the numerical values of the first throughput rate, the second throughput rate, and the required throughput rate. Prioritize comparing the magnitude of the first throughput rate of the Wi-Fi network and the required throughput rate of the current application being executed by the mobile device to check whether the first throughput rate of the Wi-Fi network meets the required throughput rate of the current application being executed by the mobile device. If the first throughput rate of the Wi-Fi network is greater than or equal to the required throughput rate of the current application being executed by the mobile device, the selection result is the Wi-Fi network. If the first throughput rate of the Wi-Fi network is less than the required throughput rate of the current application being executed by the mobile device, compare the numerical values of the first throughput rate of the Wi-Fi network and the second throughput rate of the mobile network, and it is necessary to select the network with the higher throughput rate between the Wi-Fi network and the mobile network as the connected network. If the first throughput rate of the Wi-Fi network is greater than or equal to the second throughput rate of the mobile network, the selection result is the Wi-Fi network. If the first throughput rate of the Wi-Fi network is less than the second throughput rate of the mobile network, the selection result is the mobile network.
[0063] Of course, in other embodiments, when adopting other network quality parameters, such as the packet loss rate, as the parameter priority item, among the first network quality parameter of the first network, the second network quality parameter of the second network, and the required network quality parameter of the current application being executed by the mobile terminal 100, the packet loss rate of the first network, the packet loss rate of the second network, and the packet loss rate required by the current application are selected as the target parameters, and the packet loss rate of the first network, the packet loss rate of the second network, and the packet loss rate required by the current application are compared to select the optimal network between the first network and the second network.
[0064] In step S500, according to the selection result, the target network is determined and connected between the first network and the second network. Specifically, when the selection result is the first network, that is, when the selection result is the Wi-Fi network, the mobile terminal 100 is connected to the Wi-Fi network. When the selection result is the second network, that is, when the selection result is the mobile network, the mobile terminal 100 is connected to the mobile network.
[0065] The above network connection method is similarly applicable to two or more networks.
[0066] The mobile terminal 100 is provided with a network connection display interface, and the user manually switches the network on the network connection display interface. In addition, the network connection display interface is provided with a switch item for turning on or off the above network connection method on the mobile terminal 100. When the user turns on this switch item, the mobile terminal 100 turns on the network connection method and executes it. When the user turns off this switch item, the mobile terminal 100 turns off the network connection method.
[0067] In one aspect, the mobile terminal 100 periodically executes the above network connection method, that is, periodically executes steps S100 to S500, and dynamically switches to an appropriate network path according to the actual application situation at that time. The mobile terminal 100 executes steps S100 to S500 every minute, for example. Of course, in other embodiments, the execution period may be set according to actual application requirements. Furthermore, the mobile terminal 100 sets input items in the network connection display interface, and the user can input a periodic parameter into the input item to cause the mobile terminal 100 to execute this network connection method according to the periodic parameter.
[0068] In another aspect, when the currently running application on the mobile terminal 100 is switched, the above network connection method is executed. The network previously connected by the mobile terminal 100 is selected by the network connection method according to the application type of the previous application. When the mobile terminal 100 switches the application, the mobile terminal 100 executes this network connection method, and according to the application type of the new application being executed, it checks for the optimal network from among the first network and the second network and reconnects.
[0069] The embodiments of the present application further provide a mobile terminal 100. Referring to FIG. 8, FIG. 8 is a configuration diagram of the mobile terminal 100. This mobile terminal 100 includes one or more processors 110 and a memory 120. The processor 110 and the memory 120 may be connected by a bus 130 or other means.
[0070] The memory 120 is a non-transitory computer-readable storage medium and can be used to store non-transitory software programs and non-transitory computer-executable programs such as the network connection method in the embodiments of the present application above. The processor 110 realizes the network connection method in the embodiments of the present application above by executing the non-transitory software program and program stored in the memory 120.
[0071] In this embodiment, the first network quality parameter of the first network and the second network quality parameter of the second network are obtained, the application type of the current application being executed by the mobile terminal 100 and the required network quality parameter are obtained, a parameter priority item for determining the type of network quality parameter prioritized in network selection is obtained according to the application type, according to the parameter priority item, among the first network quality parameter, the second network quality parameter, and the required network quality parameter, a plurality of target parameters of the same type are determined, the plurality of target parameters are compared to perform network selection, a selection result is obtained, and according to the selection result, among the first network and the second network, a target network is determined and connected. By combining the type of the current application being executed by the mobile terminal 100 with the requirements for network service quality and dynamically connecting to a network that meets the requirements, an optimal network service is provided and the user's network experience is improved.
[0072] The memory 120 may include a program area and a data area. The program area may store an operating system and application programs necessary for at least one function, and the data area may store data necessary for executing the network connection method in the above embodiments of the present application. Further, the memory 120 may include a high-speed random access memory 120, and may further include a non-temporary memory 120 such as at least one magnetic disk memory device, flash memory device, or other non-temporary solid-state memory device. In some embodiments, the memory 120 may optionally include a memory 120 disposed remotely from the processor 110, and these remote memories 120 may be connected to the terminal via a network. Examples of the above network include, but are not limited to, the Internet, intranet, local area network, mobile communication network, and combinations thereof.
[0073] The non-temporary software programs and programs necessary to implement the network connection method in the above embodiments of the present application are stored in the memory 120 and, when executed by one or more processors 110, execute the network connection method in the above embodiments of the present application.
[0074] The node embodiments described above are merely schematic, and the units described as separate components may or may not be physically separated, that is, they may be arranged in one place or dispersed among multiple network units. Depending on actual requirements, some or all of these modules can be selected to achieve the objectives of the embodiments of this aspect.
[0075] One embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions that, when executed by one processor or controller, for example, one processor, can cause the above processor to execute the network connection method in the above embodiments.
[0076] In this embodiment, the first network quality parameter of the first network and the second network quality parameter of the second network are obtained, the application type of the current application being executed by the mobile terminal 100 and the required network quality parameter are obtained, a parameter priority item for determining the type of network quality parameter prioritized in network selection is obtained according to the application type, and according to the parameter priority item, among the first network quality parameter, the second network quality parameter, and the required network quality parameter, a plurality of target parameters of the same type are determined, the plurality of target parameters are compared to perform network selection, a selection result is obtained, and according to the selection result, among the first network and the second network, a target network is determined and connected. By combining the type of the current application being executed by the mobile terminal 100 with the requirements for network service quality and dynamically connecting to a network that meets the requirements, an optimal network service is provided to improve the user's network experience.
[0077] The embodiments of the present application include steps of obtaining the first network quality parameter of the first network and the second network quality parameter of the second network, obtaining the application type of the current application being executed by the mobile terminal and the required network quality parameter, obtaining parameter priority items for determining the type of network quality parameter prioritized in network selection according to the application type, determining a plurality of target parameters of the same type among the first network quality parameter, the second network quality parameter, and the required network quality parameter according to the parameter priority items, comparing the plurality of target parameters to perform network selection and obtaining a selection result, and determining and connecting to a target network among the first network and the second network according to the selection result. By combining the type of the current application being executed by the mobile terminal and the requirements for network service quality and dynamically connecting to a network that meets the requirements, an optimal network service is provided to improve the user's network experience.
[0078] All or part of the steps in the method disclosed above, the system may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor such as a central processor, a digital signal processor, a microprocessor, etc., or as hardware, or as an integrated circuit such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium that may include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium). As is well known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (e.g., computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage devices, magnetic cartridges, magnetic tape, magnetic disk storage devices or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Further, it is well known to those skilled in the art that communication media typically includes computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information distribution medium.
Claims
1. A network connection method applied to a mobile terminal, comprising: obtaining a first network quality parameter of a first network and a second network quality parameter of a second network; obtaining an application type of a current application running on the mobile terminal and a required network quality parameter; obtaining a parameter priority item for determining a type of network quality parameter to be prioritized in network selection according to the application type; determining a plurality of target parameters of the same type among the first network quality parameter, the second network quality parameter, and the required network quality parameter according to the parameter priority item, comparing the plurality of target parameters to perform network selection, and obtaining a selection result; determining and connecting a target network among the first network and the second network according to the selection result.
2. The step of obtaining a first network quality parameter of a first network and a second network quality parameter of a second network comprises: obtaining a first throughput rate and a first delay of the first network; obtaining a second throughput rate and a second delay of the second network.
3. The mobile terminal and the wireless data terminal are connected via the first network, the wireless data terminal is connected to a network providing side, and the step of obtaining a first throughput rate and a first delay of the first network comprises: obtaining a third throughput rate and a third delay of the wireless data terminal corresponding to the network providing side; obtaining the first throughput rate based on the third throughput rate; obtaining the first delay based on the third delay.
4. The step of obtaining a third throughput rate and a third delay of the wireless data terminal corresponding to the network providing side comprises: sending a query request message to the wireless data terminal; A step of receiving response information corresponding to the query request message transmitted from the wireless data terminal, wherein the response information includes the step of including the third throughput rate and the third delay, the network connection method according to claim 3.
5. The step of obtaining the first throughput rate based on the third throughput rate includes the step of setting the third throughput rate as the first throughput rate. The step of obtaining the first delay based on the third delay includes the step of setting the third delay as the first delay, the network connection method according to claim 3.
6. The step of obtaining the first throughput rate based on the third throughput rate is a step of obtaining a negotiation throughput rate between the mobile terminal and the wireless data terminal; a step of selecting, as the first throughput rate, the one with the smallest numerical value among the third throughput rate and the negotiation throughput rate, the network connection method according to claim 3.
7. The step of obtaining the first delay based on the third delay is a step of obtaining an additional delay between the mobile terminal and the wireless data terminal; a step of setting the sum of the third delay and the additional delay as the first delay, the network connection method according to claim 3.
8. According to the parameter priority item, among the first network quality parameter, the second network quality parameter, and the required network quality parameter, determining a plurality of target parameters of the same type, comparing the plurality of target parameters to perform network selection, and obtaining a selection result. The step is When the parameter priority item is delay, determining that the first delay and the second delay are the target parameters; comparing the first delay and the second delay to obtain a first comparison result; when the first comparison result is that the second delay is less than or equal to the first delay, setting the selection result as the second network; when the first comparison result is that the second delay is greater than the first delay, setting the selection result as the first network, the network connection method according to claim 2.
9. The required network quality parameter includes a required throughput rate. According to the parameter priority item, among the first network quality parameter, the second network quality parameter, and the required network quality parameter, a plurality of target parameters of the same type are determined, and the plurality of target parameters are compared to perform network selection. The step of obtaining a selection result is as follows: When the parameter priority item is the throughput rate, determining that the first throughput rate, the second throughput rate, and the required throughput rate are the target parameters; Comparing the first throughput rate, the second throughput rate, and the required throughput rate to obtain a second comparison result; When the second comparison result is that the first throughput rate is greater than or equal to the required throughput rate, setting the selection result as the first network; When the second comparison result is that the first throughput rate is less than the required throughput rate and the first throughput rate is greater than or equal to the second throughput rate, setting the selection result as the first network; When the second comparison result is that the first throughput rate is less than the required throughput rate and the first throughput rate is less than the second throughput rate, setting the selection result as the second network. The network connection method according to claim 2 includes the above steps.
10. The network connection method according to claim 1 is executed periodically or when the current application is switched.
11. A mobile terminal includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the network connection method according to any one of claims 1 to 10 is realized.
12. The mobile terminal is provided with a network connection display interface, and the network connection display interface is provided with a switch item for turning on or off the network connection method on the mobile terminal. The mobile terminal according to claim 11.
13. A computer-readable storage medium storing computer-executable instructions for executing the network connection method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Communication system, communication device, and method for controlling channel selection
JP2014116703A
Radio communication device, method for determining priority order of use access point, program and recording medium
JP2014179719A
Methods and apparatus for selecting a wireless network based on quality of service (QOS) criteria associated with an application
US20080062934A1