CN114650573A - Network delay processing method and device and mobile terminal - Google Patents
Network delay processing method and device and mobile terminal Download PDFInfo
- Publication number
- CN114650573A CN114650573A CN202011517099.4A CN202011517099A CN114650573A CN 114650573 A CN114650573 A CN 114650573A CN 202011517099 A CN202011517099 A CN 202011517099A CN 114650573 A CN114650573 A CN 114650573A
- Authority
- CN
- China
- Prior art keywords
- network
- exceeds
- network system
- preset
- measurement report
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 230000001960 triggered effect Effects 0.000 claims abstract description 34
- 238000000034 method Methods 0.000 claims abstract description 25
- 238000012545 processing Methods 0.000 claims abstract description 19
- 230000005540 biological transmission Effects 0.000 claims abstract description 15
- 238000005259 measurement Methods 0.000 claims description 64
- 238000004590 computer program Methods 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 8
- 238000012544 monitoring process Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0055—Transmission or use of information for re-establishing the radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0055—Transmission or use of information for re-establishing the radio link
- H04W36/0058—Transmission of hand-off measurement information, e.g. measurement reports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/16—Performing reselection for specific purposes
- H04W36/165—Performing reselection for specific purposes for reducing network power consumption
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a network delay processing method, a device and a mobile terminal, wherein the method comprises the following steps: under a first network system, if it is monitored that a delay value of an application program triggering DNS query exceeds a preset value, switching a current network system into a second network system; wherein the transmission rate of the first network system is lower than the transmission rate of the second network system. According to the technical scheme, the network condition is judged by using the delay value of the DNS query triggered by the application program so as to select a proper network connection scheme, and the network adaptability of the network delay processing scheme is improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network delay processing method and apparatus, and a mobile terminal.
Background
In the current communication scheme, since the 5G technology is not mature, if only the 5G network is limited to be used, the power consumption is very high, and most mobile phones use some limiting strategies for saving power, for example, the LTE4G network is used by default. Of course, the 5G network can be used directly without any limitation, but this case causes high power consumption.
In the existing network side base stations with 5G capability, if a mobile phone is only connected to 4G data, 5G data connection is limited, and obvious jamming and delay can be felt when the 4G data is used, so that the user experience is poor. In addition, there are some base stations with 5G capability, and delay is perceived using 5G data, which is also experienced poorly.
Therefore, the existing network connection scheme has the technical problem of poor adaptability of the base station and the network state.
Disclosure of Invention
In order to solve the foregoing technical problem, embodiments of the present application provide a network delay processing method and apparatus, and a mobile terminal.
In a first aspect, an embodiment of the present application provides a network delay processing method, including:
under a first network system, if it is monitored that a delay value of an application program triggering DNS query exceeds a preset value, switching a current network system into a second network system;
and the transmission rate of the first network system is lower than that of the second network system.
According to a specific embodiment of the present disclosure, in the first network format, if it is monitored that a delay value of triggering DNS query by an application exceeds a preset value, the step of switching the current network format to the second network format includes:
under a first network system, if it is monitored that a delay value of DNS query triggered by an application program exceeds a first preset value, a measurement report corresponding to a second network system is opened;
after the measurement report corresponding to the second network type is opened, if it is monitored that the delay value of the DNS query triggered by the application program exceeds a second preset value, the current network type is switched to the first network type.
According to a specific embodiment of the present disclosure, if it is monitored that a delay value of triggering DNS query by an application exceeds a first preset value, the step of opening a measurement report corresponding to the second network type includes:
if the delay value of the DNS query triggered by the current application program is monitored, judging whether the delay value of the DNS query triggered by the current application program exceeds the first preset value or not;
if the delay value of the DNS query triggered by the current application program exceeds the first preset value, judging whether to open a measurement report corresponding to a second network system;
and if the measurement report corresponding to the second network type is not opened, opening the measurement report corresponding to the second network type.
According to a specific embodiment of the present disclosure, the step of opening the measurement report corresponding to the second network type if the measurement report corresponding to the second network type is not opened includes:
if the measurement report corresponding to the second network type is not opened, adding the identification information of the current application program to a first list;
judging whether the number of the identification information of the application programs in the first list exceeds a first preset number or not;
and if the number of the application programs in the first list exceeds the first preset number, opening a measurement report corresponding to a second network system.
According to a specific embodiment of the present disclosure, after the step of determining whether the number of the applications in the first list exceeds a first preset number, the method further includes:
if the number of the identification information of the application programs in the first list does not exceed the first preset number, waiting for the first preset time period, and judging whether the number of the application programs in the first list exceeds the first preset number or not;
and if a new application program is not received in the first preset time period, clearing the first list.
According to a specific embodiment of the present disclosure, after the measurement report corresponding to the second network type is opened, if it is monitored that a delay value of the application program triggering the DNS query exceeds a second preset value, the step of switching the current network type to the first network type includes:
if the delay value of DNS inquiry triggered by the current application program is monitored, the measurement report corresponding to the second network system is opened, and whether the time interval between the current moment and the opening of the measurement report corresponding to the second network system exceeds a second preset time period or not is judged;
if the time interval exceeds the second preset time period, judging whether the delay value exceeds the second preset value;
and if the delay value exceeds the second preset value, switching the current network standard to the first network standard.
According to a specific embodiment of the present disclosure, the step of switching the current network standard to the first network standard if the delay value exceeds the second preset value includes:
if the delay value exceeds the second preset value, adding the identification information of the current application program to a second list;
judging whether the number of the identification information of the application programs in the second list exceeds a second preset number or not;
and if the number of the identification information of the application programs in the second list exceeds the second preset number, switching the current network system to the first network system.
According to a specific embodiment of the present disclosure, the first network standard is a non-5G network standard, and the second network standard is a 5G network standard.
In a second aspect, an embodiment of the present application provides a network delay processing apparatus, including:
the switching module is used for switching the current network system into a second network system if the delay value of the DNS query triggered by the application program exceeds a preset value is monitored under the first network system;
wherein the transmission rate of the first network system is lower than the transmission rate of the second network system.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a memory and a processor, where the memory is used to store a computer program, and the computer program executes the network delay processing method in any one of the first aspect when the processor runs.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program runs on a processor, the computer program performs the network delay processing method according to any one of the first aspects.
In the network delay processing method, the network delay processing device, and the mobile terminal provided in the embodiments of the present application, in the first network format, the mobile terminal monitors the delay value of the application program triggering DNS query, and switches the current network format to the second network format when the delay value exceeds a preset value. According to the scheme provided by the embodiment, the network condition is judged by using the delay value of the DNS query triggered by the application program so as to select a proper network connection scheme, and the network adaptability of the network delay processing scheme is improved.
Drawings
In order to more clearly explain the technical solutions of the present application, the drawings needed to be used in the embodiments are briefly introduced below, and it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope of protection of the present application. Like components are numbered similarly in the various figures.
Fig. 1 shows a first flowchart of a network delay processing method provided by an embodiment of the present application;
fig. 2 shows a second flow chart of the network delay processing method provided by the embodiment of the present application;
fig. 3 is a simplified schematic diagram illustrating an overall process of a network delay processing method provided by an embodiment of the present application;
fig. 4 is a schematic process diagram illustrating a network delay processing method according to an embodiment of the present application;
fig. 5 shows a block diagram of a network delay processing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
The components of the embodiments of the present application, as generally described and illustrated in the figures herein, could be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present application, are intended to indicate only specific features, numerals, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the presence of or adding to one or more other features, numerals, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of the present application belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments.
Example 1
Referring to fig. 1, a schematic flow chart of a network delay processing method according to an embodiment of the present application is shown. As shown in fig. 1, the method mainly comprises the following steps:
s101, under a first network system, if it is monitored that a delay value of DNS query triggered by an application program exceeds a preset value, switching a current network system into a second network system;
wherein the transmission rate of the first network system is lower than the transmission rate of the second network system.
The network delay method provided by the embodiment is applied to a mobile terminal and is used for realizing network system switching of the mobile terminal. The mobile terminal referred to herein may be a mobile terminal such as a mobile phone, a personal computer, a server, a wearable device, or a network device. The related switched network systems can be respectively defined as a first network system and a second network system, and the transmission rate of the first network system is lower than that of the second network system. Optionally, the first network system is a non-5G network system, and the second network system is a 5G network system. The non-5G network system may be a 4G network system, a 3G network system, etc., and the 5G network system refers to an existing network connection scheme in a 5G frequency band. Of course, the provided network delay scheme may also be extended to a subsequent new network standard switching scheme, for example, switching from a 5G network standard to a 6G network standard, or even switching from a network standard with a higher transmission rate, without limitation.
The mobile terminal is loaded with a plurality of applications, such as a chat application, a shopping application, a cropping application, a web page application, and the like. Each time the mobile terminal uses a different application or opens a web page, the application triggers a query to a DNS (Domain Name System) server for information. The DNS is a service of the internet, and serves as a distributed database that maps domain names and IP addresses to each other, which facilitates the mobile terminal to access the internet.
When an application program inquires in a DNS (domain name system) every time, a time statistic value is generated between the beginning of inquiry and the return of a result, and the time statistic value is used as a delay value for triggering the DNS inquiry by using the application program. The size of the delay value can represent the current network condition of the mobile terminal accessing the internet, the larger the delay value is, the worse the network state is, and conversely, the smaller the delay value is, the better the network state is. The application controls the network type to be switched to 5G or non-5G by monitoring the delay value of the application triggering DNS query, where the non-G network is usually 4G, and certainly, the application can also extend to a connection switching scheme between subsequent different network modes, such as switching between 6G and 5G, and the like, without limitation.
In specific implementation, as shown in fig. 2, the process of switching the network types according to the delay value may include the following steps:
s201, in the first network mode, if it is monitored that the delay value of DNS query triggered by the application program exceeds a first preset value, a measurement report corresponding to the second network mode is opened.
Specifically, as shown in fig. 2 and 3, the mobile terminal defaults to a state where the mobile terminal has 5G capability but is not allowed to connect with 5G data at the start time, so as to save power consumption. The mobile terminal can be internally provided with a Telephony module for monitoring the related information of the DNS server after being started.
When the condition that the application program is used by the mobile terminal is monitored, whether a delay value of DNS inquiry triggered by the application program exceeds a first preset value or not is judged. If one or more application programs trigger the delay value of the DNS query to exceed the first preset value, the current network delay is considered to be higher, and the mobile terminal needs to be connected to the 5G cell, and at the moment, the mobile terminal opens a measurement report corresponding to the second network type, namely the 5G measurement report.
The mobile terminal reports the 5G capability to the base station, and the base station can switch the mobile terminal to a cell with the 5G capability; the mobile terminal reports the 5G measurement to the cell with 5G capability, and the base station can establish 5G data connection with the mobile terminal; the mobile terminal does not report the 5G capability to the base station, and the base station can switch the mobile terminal to a cell without the 5G capability.
S202, after the measurement report corresponding to the second network type is opened, if it is monitored that the delay value of the DNS query triggered by the application program exceeds a second preset value, the current network type is switched to the first network type.
Continuing to use the method shown in fig. 2 and 3, after the mobile terminal opens the 5G measurement report according to the above steps, the mobile terminal continues to monitor the delay value of the DNS query triggered by the application in the mobile terminal, and if the delay value exceeds the second preset value, the current network state is considered that the network delay is high, that is, the mobile terminal cannot be connected to the 5G cell or the 5G network signal strength is poor. In order to ensure the network connection stability, the mobile terminal is limited to switch the current network standard back to the first network standard.
After reporting the 5G measurement, the mobile terminal may not yet be connected to the 5G network, or may already be connected to the 5G network. When network systems are switched, the mobile terminal can close the 5G measurement report or close the 5G frequency band, namely, the mobile terminal is directly connected to other cells, namely, a base station without 5G capability. It should be noted that the application program monitored for the first time and the application program monitored for the second time may be the same or different application programs, and the relative sizes of the first preset value and the second preset value used as the delay reference are not limited.
In the network delay processing method provided in the embodiment of the present application, when processing a network delay with 5G capability, the general idea is to use 4G data in a cell with 5G capability first, use 5G data if the network delay is high, and switch to a cell without 5G capability as much as possible if the delay is still high even if 5G data is used. According to the scheme provided by the embodiment, the network condition is judged by using the delay value of the DNS query triggered by the application program so as to select a proper network connection scheme, and the network adaptability of the network delay processing scheme is improved.
On the basis of the above embodiments, the following explains the process of the mobile terminal listening to the delay value and performing the network delay processing by several specific embodiments.
According to a specific embodiment of the present disclosure, the step of opening the measurement report corresponding to the second network type if it is monitored that the delay value of the application triggering the DNS query exceeds the first preset value may include:
if the delay value of the DNS query triggered by the current application program is monitored, judging whether the delay value of the DNS query triggered by the current application program exceeds the first preset value or not;
if the delay value of the DNS query triggered by the current application program exceeds the first preset value, judging whether to open a measurement report corresponding to a second network system;
and if the measurement report corresponding to the second network type is not opened, opening the measurement report corresponding to the second network type.
After the mobile terminal is started, a Telephony module arranged in the mobile terminal monitors DNS server information. When a user accesses different webpages, the DNS server is triggered to be inquired, after the inquiry is completed, the corresponding information is notified to Telephony, and the mobile terminal receives the DNS notification.
As shown in fig. 4, after receiving a delay value of a currently used application triggering DNS query, considering that network system switching is only required when the delay value is high, the mobile terminal first determines whether the delay value of the currently used application triggering DNS query exceeds a first preset value, and then determines whether a 5G measurement report is currently opened, that is, whether the current state is a first stage (i.e., S101 shown in fig. 4) or a second stage (i.e., S102 shown in fig. 4). And if the 5G measurement report is opened, directly entering the processing flow of the second stage, otherwise, continuing the processing flow of the first stage.
And for the condition that the 5G measurement report is not opened, judging whether the current delay value exceeds a first preset value, for example, judging that the current delay value is greater than the first preset value by 1s, and the mobile terminal can judge that the delay value is too high to open the 5G measurement report.
Furthermore, it may also be limited that the measurement report corresponding to the second network type is opened only when the delay value of triggering DNS query by 2 or other first preset number of application programs exceeds the first preset value. Specifically, if the measurement report corresponding to the second network type is not opened, the step of opening the measurement report corresponding to the second network type may include:
if the measurement report corresponding to the second network type is not opened, adding the identification information of the current application program to a first list;
judging whether the number of the identification information of the application programs in the first list exceeds a first preset number or not;
and if the number of the application programs in the first list exceeds the first preset number, opening a measurement report corresponding to a second network system.
As shown in fig. 4, if the current delay value is greater than 1s, record a corresponding User Identification (UID) to a first List1, and when the List1 is updated, determine the number of different UIDs in the current List1, and if the current delay value is greater than the first preset number 2, open the 5G measurement report to allow the mobile phone to connect with 5G data.
In another case, after the step of determining whether the number of the applications in the first list exceeds a first preset number, the method further includes:
if the number of the identification information of the application programs in the first list does not exceed the first preset number, waiting for the first preset time period, and judging whether the number of the application programs in the first list exceeds the first preset number or not;
and if no new application program is received in the first preset time period, emptying the first list.
In this embodiment, the monitoring time period in the first stage is defined as a first preset time period, and the 5G measurement report is opened only when the number of delay values of receiving the DNS query triggered by the application program in the first preset time period exceeds the first preset number by 2. If the delay value of receiving the application program triggering DNS query within the first preset time period does not exceed 2, or the monitored interval between two adjacent DNS queries exceeds 1s and exceeds 10s, directly clearing the List1 or the UID of the previous application program therein.
At the second stage, as shown in fig. 4, after the measurement report corresponding to the second network type is opened, if it is monitored that the delay value of the application triggering the DNS query exceeds the second preset value, the step of switching the current network type to the first network type may include:
if the delay value of DNS inquiry triggered by the current application program is monitored, the measurement report corresponding to the second network system is opened, and whether the time interval between the current moment and the opening of the measurement report corresponding to the second network system exceeds a second preset time period or not is judged;
if the time interval exceeds the second preset time period, judging whether the delay value exceeds the second preset value;
and if the delay value exceeds the second preset value, switching the current network standard to the first network standard.
In this embodiment, for the situation that the 5G measurement report is already turned on when the new delay value is monitored, it is determined whether the time interval from the current time to the 5G measurement report is greater than a second preset time period, for example, whether the time to the 5G measurement report is greater than 30s is determined, and it is further determined whether the delay value is greater than a second preset value corresponding to the second stage, where the second preset value may be 2 s.
If the current delay value is greater than 2s, it can be directly determined that the 5G capability is required to be turned off when the current delay value is too high.
Further, the step of switching the current network format to the first network format if the delay value exceeds the second preset value may specifically include:
if the delay value exceeds the second preset value, adding the identification information of the current application program into a second list;
judging whether the number of the identification information of the application programs in the second list exceeds a second preset number or not;
and if the number of the identification information of the application programs in the second list exceeds the second preset number, switching the current network system to the first network system.
The embodiment also limits the scheme that the second stage needs to detect a plurality of delay values and then comprehensively judges the delay values. Specifically, when the delay value larger than 2s is monitored, the corresponding application UID is recorded to a second List2, when the List2 is updated, the number of different UIDs in the current List2 is judged, and if the number is larger than 2, the 5G capability is directly closed, and the network is switched to the first network type.
It should be noted that, if the current cell is switched, the mobile terminal may turn on the 5G frequency band again, instead of keeping unchanged after switching the connection according to the foregoing processing scheme, so that the base station adaptability of the network connection scheme may be improved.
In specific implementation, the setting conditions of the relevant parameters at the above stages are as follows:
the value ranges of the first preset quantity and the second preset quantity are both 1 to 5; and/or the presence of a gas in the atmosphere,
the value range of the first preset value is 1 second to 3 seconds; and/or the presence of a gas in the gas,
the value range of the second preset value is 2 seconds to 5 seconds; and/or the presence of a gas in the gas,
the value range of the first preset time interval is 5 seconds to 15 seconds; and/or the presence of a gas in the atmosphere,
the second preset time period ranges from 10 seconds to 40 seconds.
To sum up, the network delay processing method provided by the embodiment of the application monitors relevant information of the DNS server, and when different applications are used each time or a web page is opened, an application program triggers query of information of the DNS server, and when a query is performed each time, a time statistic value is obtained from the start of the query to the return of a result, and the time statistic value is reported to the monitoring module as a current delay value, and after the monitoring module receives the value, different processing is performed according to different values. The above parameters can be set by user in the corresponding range or by user according to the requirement.
Example 2
Corresponding to the above method embodiment, referring to fig. 5, a block diagram of a network delay processing apparatus according to an embodiment of the present application is provided. As shown in fig. 5, the network delay processing apparatus 500 includes:
a switching module 501, configured to switch, in a first network type, a current network type to a second network type if it is monitored that a delay value of an application triggering DNS query exceeds a preset value;
wherein the transmission rate of the first network system is lower than the transmission rate of the second network system.
Optionally, the switching module 501 specifically includes:
the reporting submodule is used for opening a measurement report corresponding to a second network system if the delay value of DNS query triggered by the application program exceeds a first preset value in the first network system;
and the closing submodule is used for switching the current network standard to the first network standard if the delay value of the DNS query triggered by the application program exceeds a second preset value after the measurement report corresponding to the second network standard is opened.
Further, the reporting sub-module is specifically configured to:
if the delay value of the DNS query triggered by the current application program is monitored, judging whether the delay value of the DNS query triggered by the current application program exceeds the first preset value or not;
if the delay value of the DNS query triggered by the current application program exceeds the first preset value, judging whether to open a measurement report corresponding to a second network system;
and if the measurement report corresponding to the second network type is not opened, opening the measurement report corresponding to the second network type.
Further, the reporting sub-module is specifically configured to:
if the measurement report corresponding to the second network type is not opened, adding the identification information of the current application program to a first list;
judging whether the number of the identification information of the application programs in the first list exceeds a first preset number or not;
and if the number of the application programs in the first list exceeds the first preset number, opening a measurement report corresponding to a second network system.
Further, the reporting sub-module is specifically configured to:
if the number of the identification information of the application programs in the first list does not exceed the first preset number, waiting for the first preset time period, and judging whether the number of the application programs in the first list exceeds the first preset number or not;
and if a new application program is not received in the first preset time period, clearing the first list.
The shutdown submodule is specifically configured to:
if the delay value of DNS inquiry triggered by the current application program is monitored, the measurement report corresponding to the second network system is opened, and whether the time interval between the current moment and the opening of the measurement report corresponding to the second network system exceeds a second preset time period or not is judged;
if the time interval exceeds the second preset time period, judging whether the delay value exceeds the second preset value;
and if the delay value exceeds the second preset value, switching the current network standard to the first network standard.
The shutdown submodule is specifically configured to:
if the delay value exceeds the second preset value, adding the identification information of the current application program to a second list;
judging whether the number of the identification information of the application programs in the second list exceeds a second preset number or not;
and if the number of the identification information of the application programs in the second list exceeds the second preset number, switching the current network system to the first network system.
In addition, an embodiment of the present application provides a mobile terminal, which includes a memory and a processor, where the memory is used to store a computer program, and the computer program executes the network delay processing method according to the foregoing embodiment when the processor runs.
In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program runs on a processor, the computer program executes the network delay processing method according to the foregoing embodiment.
To sum up, when processing network delay with 5G capability, the network delay processing method, the network delay processing device, and the mobile terminal provided in the embodiments of the present application switch network connection when a delay value of triggering DNS query by monitoring an application exceeds a preset value. According to the scheme provided by the embodiment, the network condition is judged by using the delay value of the DNS query triggered by the application program so as to select a proper network connection scheme, and the network adaptability of the network delay processing scheme is improved. For a specific implementation process of the network delay processing apparatus and the mobile terminal provided in the embodiment of the present application, reference may be made to the specific implementation process of the network delay processing method provided in the above embodiment, and details are not described here any more.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a mobile terminal (which may be a smart phone, a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.
Claims (11)
1. A network delay processing method, comprising:
under a first network system, if it is monitored that a delay value of an application program triggering DNS query exceeds a preset value, switching the current network system to a second network system;
wherein the transmission rate of the first network system is lower than the transmission rate of the second network system.
2. The method according to claim 1, wherein the step of switching the current network standard to the second network standard if it is monitored that a delay value for triggering the DNS query by the application exceeds a preset value in the first network standard comprises:
under a first network system, if it is monitored that a delay value of DNS query triggered by an application program exceeds a first preset value, a measurement report corresponding to a second network system is opened;
after the measurement report corresponding to the second network type is opened, if it is monitored that the delay value of the application program triggering DNS query exceeds a second preset value, the current network type is switched to the first network type.
3. The method according to claim 2, wherein the step of opening the measurement report corresponding to the second network type if it is monitored that the delay value for triggering the DNS query by the application exceeds the first preset value comprises:
if the delay value of the DNS query triggered by the current application program is monitored, judging whether the delay value of the DNS query triggered by the current application program exceeds the first preset value or not;
if the delay value of the DNS query triggered by the current application program exceeds the first preset value, judging whether to open a measurement report corresponding to a second network system;
and if the measurement report corresponding to the second network type is not opened, opening the measurement report corresponding to the second network type.
4. The method according to claim 3, wherein the step of opening the measurement report corresponding to the second network type if the measurement report corresponding to the second network type is not opened comprises:
if the measurement report corresponding to the second network type is not opened, adding the identification information of the current application program to a first list;
judging whether the number of the identification information of the application programs in the first list exceeds a first preset number or not;
and if the number of the application programs in the first list exceeds the first preset number, opening a measurement report corresponding to a second network system.
5. The method of claim 4, wherein after the step of determining whether the number of applications in the first list exceeds a first predetermined number, the method further comprises:
if the number of the identification information of the application programs in the first list does not exceed the first preset number, waiting for a first preset time period, and judging whether the number of the application programs in the first list exceeds the first preset number or not;
and if a new application program is not received in the first preset time period, clearing the first list.
6. The method according to claim 5, wherein the step of switching the current network standard to the first network standard if it is monitored that a delay value for triggering DNS query by an application exceeds a second preset value after the measurement report corresponding to the second network standard is opened comprises:
if the delay value of DNS inquiry triggered by the current application program is monitored, the measurement report corresponding to the second network system is opened, and whether the time interval between the current moment and the opening of the measurement report corresponding to the second network system exceeds a second preset time period or not is judged;
if the time interval exceeds the second preset time period, judging whether the delay value exceeds the second preset value;
and if the delay value exceeds the second preset value, switching the current network standard to the first network standard.
7. The method according to claim 6, wherein the step of switching the current network standard to the first network standard if the delay value exceeds the second preset value comprises:
if the delay value exceeds the second preset value, adding the identification information of the current application program to a second list;
judging whether the number of the identification information of the application programs in the second list exceeds a second preset number or not;
and if the number of the identification information of the application programs in the second list exceeds the second preset number, switching the current network system to the first network system.
8. The method according to any one of claims 1 to 7, wherein the first network standard is a non-5G network standard and the second network standard is a 5G network standard.
9. A network delay processing apparatus, comprising:
the switching module is used for switching the current network system into a second network system if the delay value of the DNS query triggered by the application program exceeds a preset value is monitored under the first network system;
wherein the transmission rate of the first network system is lower than the transmission rate of the second network system.
10. A mobile terminal, characterized in that it comprises a memory for storing a computer program which, when run by the processor, performs the network delay handling method of any of claims 1 to 8, and a processor.
11. A computer-readable storage medium, characterized in that it stores a computer program which, when run on a processor, performs the network delay processing method of any of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011517099.4A CN114650573B (en) | 2020-12-21 | 2020-12-21 | Network delay processing method and device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011517099.4A CN114650573B (en) | 2020-12-21 | 2020-12-21 | Network delay processing method and device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114650573A true CN114650573A (en) | 2022-06-21 |
CN114650573B CN114650573B (en) | 2023-10-27 |
Family
ID=81991344
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011517099.4A Active CN114650573B (en) | 2020-12-21 | 2020-12-21 | Network delay processing method and device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114650573B (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009182650A (en) * | 2008-01-30 | 2009-08-13 | Kyocera Corp | Wireless communication apparatus |
CN104572241A (en) * | 2013-10-18 | 2015-04-29 | 南京中兴新软件有限责任公司 | Method and device for switching over application programs and system |
US20150327178A1 (en) * | 2012-09-21 | 2015-11-12 | Nec Corporation | Communications device and a method thereby, a base station and a method thereby, a system, and a non-transitory computer readable medium |
US20150350967A1 (en) * | 2013-01-14 | 2015-12-03 | Telefonaktiebolaget L M Ericsson (Publ) | Handover in a telecommunications system with distributed processing |
CN105517129A (en) * | 2015-11-28 | 2016-04-20 | 广东欧珀移动通信有限公司 | Network type switching method in communication terminal and communication terminal |
CN105791034A (en) * | 2016-05-15 | 2016-07-20 | 北京联合大学 | Browse type service perception analysis method |
CN105848233A (en) * | 2016-03-24 | 2016-08-10 | 广东欧珀移动通信有限公司 | Switching method and switching device for communication networks |
CN107479957A (en) * | 2017-08-07 | 2017-12-15 | 广州视源电子科技股份有限公司 | Multi-system application switching method, device, equipment and storage medium |
CN108668328A (en) * | 2018-06-26 | 2018-10-16 | 维沃移动通信有限公司 | A kind of method for switching network and mobile terminal |
CN108834203A (en) * | 2018-06-29 | 2018-11-16 | Oppo(重庆)智能科技有限公司 | Method for switching network, device, terminal and storage medium |
CN110300404A (en) * | 2019-06-27 | 2019-10-01 | 维沃移动通信有限公司 | A kind of network control method and mobile terminal |
CN110572859A (en) * | 2019-09-29 | 2019-12-13 | 珠海格力电器股份有限公司 | AP switching method, device, equipment and medium |
CN111556541A (en) * | 2020-04-30 | 2020-08-18 | 海南掌上能量传媒有限公司 | Network switching method for mobile power supply leasing terminal |
CN111669799A (en) * | 2020-05-21 | 2020-09-15 | 维沃移动通信有限公司 | Network connection method and device and electronic equipment |
-
2020
- 2020-12-21 CN CN202011517099.4A patent/CN114650573B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009182650A (en) * | 2008-01-30 | 2009-08-13 | Kyocera Corp | Wireless communication apparatus |
US20150327178A1 (en) * | 2012-09-21 | 2015-11-12 | Nec Corporation | Communications device and a method thereby, a base station and a method thereby, a system, and a non-transitory computer readable medium |
US20150350967A1 (en) * | 2013-01-14 | 2015-12-03 | Telefonaktiebolaget L M Ericsson (Publ) | Handover in a telecommunications system with distributed processing |
CN104572241A (en) * | 2013-10-18 | 2015-04-29 | 南京中兴新软件有限责任公司 | Method and device for switching over application programs and system |
CN105517129A (en) * | 2015-11-28 | 2016-04-20 | 广东欧珀移动通信有限公司 | Network type switching method in communication terminal and communication terminal |
CN105848233A (en) * | 2016-03-24 | 2016-08-10 | 广东欧珀移动通信有限公司 | Switching method and switching device for communication networks |
CN105791034A (en) * | 2016-05-15 | 2016-07-20 | 北京联合大学 | Browse type service perception analysis method |
CN107479957A (en) * | 2017-08-07 | 2017-12-15 | 广州视源电子科技股份有限公司 | Multi-system application switching method, device, equipment and storage medium |
CN108668328A (en) * | 2018-06-26 | 2018-10-16 | 维沃移动通信有限公司 | A kind of method for switching network and mobile terminal |
CN108834203A (en) * | 2018-06-29 | 2018-11-16 | Oppo(重庆)智能科技有限公司 | Method for switching network, device, terminal and storage medium |
CN110300404A (en) * | 2019-06-27 | 2019-10-01 | 维沃移动通信有限公司 | A kind of network control method and mobile terminal |
CN110572859A (en) * | 2019-09-29 | 2019-12-13 | 珠海格力电器股份有限公司 | AP switching method, device, equipment and medium |
CN111556541A (en) * | 2020-04-30 | 2020-08-18 | 海南掌上能量传媒有限公司 | Network switching method for mobile power supply leasing terminal |
CN111669799A (en) * | 2020-05-21 | 2020-09-15 | 维沃移动通信有限公司 | Network connection method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114650573B (en) | 2023-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108495348B (en) | Network switching method, equipment and medium for user equipment | |
CN102415163B (en) | Apparatus and method for using motion sensor data to select full band scans | |
EP2512195A1 (en) | Measurement gaps triggering for a multi SIM mobile device | |
CN107277872B (en) | Network switching method, device, mobile terminal and computer readable storage medium | |
WO2005046269A1 (en) | Methods and apparatus for limiting communication capabilities in mobile communication devices | |
CN104853422A (en) | Power-saving method and device for mobile terminal | |
CN103283290A (en) | Multi SIM management | |
CN102271423A (en) | Smart card selection method for multimode terminal and multimode terminal | |
JP4296407B2 (en) | Cellular network acquisition method | |
CN111314968B (en) | Method for improving public and private network switching performance, terminal equipment and storage medium | |
EP3687224A1 (en) | Cell selection method and terminal | |
US20140295841A1 (en) | Incoming Call Processing Method for Dual Mode Terminal and Dual Mode Terminal Thereof | |
CN104604143A (en) | Method and apparatus for reducing power consumption of simultaneous receivers in wireless communications device | |
US9519867B1 (en) | Optimizing a user experience | |
CN104780590A (en) | Method and device used for dispatching SIM cards in multi-SIM-card system to search network | |
CN106304205B (en) | Method and device for managing network mode | |
CN1879308A (en) | Network aware mobile devices and operations | |
EP3585036B1 (en) | Recording method for mobile terminal, and mobile terminal | |
CN114650573A (en) | Network delay processing method and device and mobile terminal | |
CN103260171A (en) | Method and terminal of area measurement and reselection | |
CN104639752A (en) | Incoming call and outgoing call processing and communication method, terminal equipment and communication system | |
CN105657752A (en) | Redirecting method, network modules and terminal | |
CN104717375A (en) | Method and device for saving electricity for terminal | |
CN111586781A (en) | Call method and device | |
CN113079241A (en) | Dial-up calling method, device, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |