CN110177380B - Network connection control method, system and computer readable storage medium - Google Patents
Network connection control method, system and computer readable storage medium Download PDFInfo
- Publication number
- CN110177380B CN110177380B CN201910573139.8A CN201910573139A CN110177380B CN 110177380 B CN110177380 B CN 110177380B CN 201910573139 A CN201910573139 A CN 201910573139A CN 110177380 B CN110177380 B CN 110177380B
- Authority
- CN
- China
- Prior art keywords
- power consumption
- communication connection
- threshold
- antenna chip
- network
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a network connection control method, a system and a computer readable storage medium, wherein the network connection control method comprises the following steps: presetting state parameters in the intelligent terminal; the intelligent terminal establishes a first communication connection and a second communication connection: comparing the current terminal temperature of the intelligent terminal with a terminal temperature threshold value; when the current terminal temperature is greater than or equal to the terminal temperature threshold, comparing the wireless network delay with a first network delay threshold, comparing the cellular network delay with a second network delay threshold, and disconnecting the first communication connection or the second communication connection; and when the current terminal temperature is smaller than the terminal temperature threshold, comparing the wireless network delay with a first network delay threshold, comparing the cellular network delay with a second network delay threshold, and starting the first communication connection or the second communication connection. Therefore, the use of the network interface can be adjusted according to the power consumption use condition and the heating condition of the intelligent terminal, the power consumption of the intelligent terminal is reduced, and the heating condition of the intelligent terminal is reduced.
Description
Technical Field
The present invention relates to the field of intelligent control, and in particular, to a network connection control method, system and computer-readable storage medium.
Background
With the increasing popularization of intelligent terminals, the requirements of people on the use experience brought by the intelligent terminals in use are higher and higher. For example, many users who have deep use of game type, video type, and live type applications installed on the smart terminal want to enjoy smooth and fast game and entertainment experience when using the smart terminal. The basic requirement of the experience is that the network connection of the intelligent terminal cannot be subjected to the situations of current interruption, current limitation and even network disconnection during the experience.
In order to ensure that the network is always stable and smooth, the intelligent terminal can be internally provided with a plurality of network interfaces, and the intelligent terminal can access an external network to receive and transmit data through each network interface. However, the simultaneous use of multiple network interfaces in the same time period can cause problems of high power consumption, serious heating and the like of the intelligent terminal. For example, taking a smart phone as an example, a wifi network and a mobile network are used at the same time, where the wifi network is a default data network, and an application program in the smart terminal frequently uses the mobile network to receive and transmit small data while using the wifi network to perform service data exchange, so as to monitor the network quality, or uses the mobile network as a delay compensation to concurrently transmit data with the wifi network, so that the result causes the problem that the power consumption is high and the heat generation is serious because two network interfaces of the wifi network and the mobile network are always operated.
Therefore, a new network connection control method and system are needed to save power consumption when multiple network interfaces are used simultaneously under the condition of ensuring that network connection is not interrupted.
Disclosure of Invention
In order to overcome the above technical defects, an object of the present invention is to provide a network connection control method, system and computer readable storage medium, which can adjust the use of a network interface according to the power consumption usage situation and the heating situation of an intelligent terminal, reduce the power consumption of the intelligent terminal, and reduce the heating situation.
The invention discloses a network connection control method, which comprises the following steps:
s100: a terminal temperature threshold, a first antenna chip power consumption threshold, a second antenna chip power consumption threshold, a first network delay threshold and a second network delay threshold are preset in the intelligent terminal, wherein the first antenna chip power consumption threshold and the first network delay threshold correspond to a wireless network, and the second antenna chip power consumption threshold and the second network delay threshold correspond to a cellular network;
s200: the intelligent terminal establishes a first communication connection based on a wireless network and a second communication connection based on a cellular network:
s300: comparing the current terminal temperature of the intelligent terminal with a terminal temperature threshold value;
s400: when the current terminal temperature is larger than or equal to the terminal temperature threshold, comparing the wireless network delay of the first communication connection with the first network delay threshold, comparing the cellular network delay of the second communication connection with the second network delay threshold, and disconnecting the first communication connection or the second communication connection according to the current values of the power consumption of the first antenna chip and the power consumption of the second antenna chip;
s500: and when the current terminal temperature is lower than the terminal temperature threshold, comparing the wireless network delay of the first communication connection with the first network delay threshold, comparing the cellular network delay of the second communication connection with the second network delay threshold, and starting the first communication connection or the second communication connection according to the current power consumption of the first antenna chip and the current power consumption of the second antenna chip.
Preferably, step S400 includes:
s410: when the wireless network time delay of the first communication connection is smaller than a first network time delay threshold value and the cellular network time delay of the second communication connection is smaller than a second network time delay threshold value, comparing the current power consumption of the first antenna chip with the power consumption threshold value of the first antenna chip, comparing the current power consumption of the second antenna chip with the power consumption threshold value of the second antenna chip, and disconnecting the first communication connection or the second communication connection according to the comparison result.
Preferably, step S410 includes:
s411: when the power consumption of the current first antenna chip is smaller than the power consumption threshold of the first antenna chip and the power consumption of the current second antenna chip is smaller than the power consumption threshold of the second antenna chip, comparing the power consumption of the current first antenna chip with the power consumption of the current second antenna chip so as to close the network connection corresponding to the current power consumption of the first antenna chip which is larger than the current power consumption of the second antenna chip;
s412: when the current power consumption of the first antenna chip is smaller than the power consumption threshold of the first antenna chip and the current power consumption of the second antenna chip is larger than or equal to the power consumption threshold of the second antenna chip, closing the second communication connection;
s413: and when the current power consumption of the first antenna chip is greater than or equal to the power consumption threshold of the first antenna chip and the current power consumption of the second antenna chip is less than the power consumption threshold of the second antenna chip, closing the first communication connection.
Preferably, step S400 includes:
s420: when the wireless network delay of the first communication connection is smaller than a first network delay threshold value and the cellular network delay of the second communication connection is larger than or equal to a second network delay threshold value, closing the second communication connection;
s430: when the wireless network delay of the first communication connection is greater than or equal to a first network delay threshold value and the cellular network delay of the second communication connection is less than a second network delay threshold value, closing the first communication connection;
s440: and when the wireless network delay of the first communication connection is greater than or equal to a first network delay threshold value and the cellular network delay of the second communication connection is greater than or equal to a second network delay threshold value, sending a prompt message containing a suggestion of closing the first communication connection and the second communication connection.
Preferably, step S500 includes:
s510: when the wireless network time delay of the first communication connection is smaller than a first network time delay threshold value and the cellular network time delay of the second communication connection is smaller than a second network time delay threshold value, comparing the current power consumption of the first antenna chip with the power consumption threshold value of the first antenna chip, comparing the current power consumption of the second antenna chip with the power consumption threshold value of the second antenna chip, and disconnecting the first communication connection or the second communication connection according to the comparison result.
Preferably, step S510 includes:
s511: when the power consumption of the current first antenna chip is smaller than the power consumption threshold of the first antenna chip and the power consumption of the current second antenna chip is smaller than the power consumption threshold of the second antenna chip, comparing the power consumption of the current first antenna chip with the power consumption of the current second antenna chip so as to close the network connection corresponding to the current power consumption of the first antenna chip which is larger than the current power consumption of the second antenna chip;
s512: when the power consumption of the current first antenna chip is smaller than the power consumption threshold of the first antenna chip and the power consumption of the previous second antenna chip is larger than or equal to the power consumption threshold of the second antenna chip, closing the second communication connection;
s513: and when the power consumption of the current first antenna chip is greater than or equal to the power consumption threshold of the first antenna chip and the power consumption of the previous second antenna chip is less than the power consumption threshold of the second antenna chip, closing the first communication connection.
Preferably, step S500 includes:
s520: when the wireless network delay of the first communication connection is smaller than a first network delay threshold value and the cellular network delay of the second communication connection is larger than or equal to a second network delay threshold value, closing the second communication connection;
s530: when the wireless network delay of the first communication connection is greater than or equal to a first network delay threshold value and the cellular network delay of the second communication connection is less than a second network delay threshold value, closing the first communication connection;
s540: and when the wireless network delay of the first communication connection is greater than or equal to a first network delay threshold value and the cellular network delay of the second communication connection is greater than or equal to a second network delay threshold value, starting the network connection corresponding to the smaller one of the wireless network delay and the cellular network delay.
Preferably, in step S100, a detection period is preset in the intelligent terminal;
in step S400 and/or S500, after the first communication connection or the second communication connection is closed or enabled, steps S300 to S500 are executed again through a detection period.
The invention also discloses a network connection control system, which comprises a first antenna chip for establishing wireless network connection, a second antenna chip for establishing cellular network connection, and a processing module,
a terminal temperature threshold, a first antenna chip power consumption threshold, a second antenna chip power consumption threshold, a first network delay threshold and a second network delay threshold are preset in the processing module, wherein the first antenna chip power consumption threshold and the first network delay threshold correspond to a wireless network, and the second antenna chip power consumption threshold and the second network delay threshold correspond to a cellular network;
the processing module compares the current terminal temperature of the intelligent terminal with a terminal temperature threshold value;
when the current terminal temperature is larger than or equal to the terminal temperature threshold, the processing module compares the wireless network delay of the first communication connection with the first network delay threshold, compares the cellular network delay of the second communication connection with the second network delay threshold, and controls to disconnect the first communication connection or the second communication connection according to the current power consumption of the first antenna chip and the current power consumption of the second antenna chip;
when the current terminal temperature is smaller than the terminal temperature threshold, the processing module compares the wireless network delay of the first communication connection with the first network delay threshold, compares the cellular network delay of the second communication connection with the second network delay threshold, and controls to start the first communication connection or the second communication connection according to the current power consumption of the first antenna chip and the current power consumption of the second antenna chip.
The invention also discloses a computer readable storage medium on which a computer program is stored, which computer program, when executed by a processor, implements a network connection control method as described above.
After the technical scheme is adopted, compared with the prior art, the method has the following beneficial effects:
1. according to the real-time power consumption condition, the use state of the multi-network interface can be intelligently adjusted, unnecessary use is reduced, the power consumption of the intelligent terminal is reduced, and the generation of heating condition is reduced;
2. by identifying various scenes of the intelligent terminal dual-channel network, network connection acceleration and power consumption can be considered.
Drawings
FIG. 1a is a flow chart illustrating a network connection control method according to a preferred embodiment of the present invention;
FIG. 1b is a flow chart illustrating a network connection control method according to a preferred embodiment of the present invention
Fig. 2 is a schematic diagram of a network connection control system according to a preferred embodiment of the present invention.
Detailed Description
The advantages of the invention are further illustrated in the following description of specific embodiments in conjunction with the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on context, the word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination"
In the description of the present invention, it is to be understood that the terms "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention.
In the description of the present invention, unless otherwise specified and limited, it is to be noted that the terms "mounted," "connected," and "connected" are to be interpreted broadly, and may be, for example, a mechanical connection or an electrical connection, a communication between two elements, a direct connection, or an indirect connection via an intermediate medium, and specific meanings of the terms may be understood by those skilled in the art according to specific situations.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
Referring to fig. 1a and 1b, which are schematic flow diagrams of a network connection control method according to a preferred embodiment of the present invention, in this embodiment, dual-channel network connection control and power consumption control under various conditions are implemented based on data processing and timely response under multiple parameters and multiple dimensions, and the specific steps include:
s100: the method comprises the steps that a terminal temperature threshold T _ threshold, a first antenna chip power consumption threshold WP _ threshold, a second antenna chip power consumption threshold MP _ threshold, a first network delay threshold W _ delay _ threshold and a second network delay threshold M _ delay _ threshold are preset in the intelligent terminal, wherein the first antenna chip power consumption threshold WP _ threshold and the first network delay threshold W _ delay _ threshold of the intelligent terminal correspond to a wireless network, and the second antenna chip power consumption threshold MP _ threshold and the second network delay threshold M _ delay _ threshold correspond to a cellular network.
When the dual-channel network is started, the terminal temperature threshold value T _ threshold is used for generating heat on the intelligent terminal mainly through the current power consumption WP of the first antenna chip generated during working of the first antenna chip connected with the wifi and the current power consumption MP of the second antenna chip generated during working of the second antenna chip connected with the cellular network, so that the intelligent terminal is heated. Therefore, for setting the terminal temperature threshold T _ threshold, the temperature that can be used normally by the user and does not affect the hand feeling, such as 30 ℃, 40 ℃ and the like, can be set according to the use habit and preference of the user. And selectable values of the first network delay threshold W _ delay _ threshold and the second network delay threshold M _ delay _ threshold, for example, values of 80ms, 100ms and the like which do not cause smooth data connection such as jamming and video buffering when used by a user.
S200: the intelligent terminal establishes a first communication connection based on a wireless network and a second communication connection based on a cellular network
When the intelligent terminal is used, due to the requirement of data transmission, a first communication connection based on a wireless network is established with equipment providing wireless network services, such as a router, a repeater, a base station and the like, and a second communication connection based on a cellular network is established with equipment providing the cellular network, such as the base station and the like. It is understood that the first communication connection is typically a Wifi connection and the second communication connection is typically a 3G, 4G, 5G mobile network connection. When the two communication connections are established, the intelligent terminal can transmit data through the network channel of the first communication connection and the network channel of the second communication connection at the same time.
It is understood that steps S100 and S200 are not limited to a sequential order, and the user can set the first network delay threshold and the second network delay threshold after the intelligent terminal establishes the first communication connection and the second communication connection; or when the intelligent terminal leaves the factory, the first network delay threshold value and the second network delay threshold value are preset. In addition, the intelligent terminal can be provided with corresponding antennas, wireless network antennas and cellular antennas for establishing the first communication connection and the second communication connection, and the antennas, the wireless network antennas and the cellular antennas are attached to the inner parts of two sides of the intelligent terminal so as to realize the functions.
Taking the android system as an example, when a Wifi connection and a mobile network such as 4G and 5G are required to be used to connect a network at the same time, it is first ensured that a 4G data link is not forcibly disconnected, for example, data in frame/base/services/core/java/com/android/server/connectivity service. Other networks, such as Api Level21 and above, which represent Network cards of mobile phones, have a bindSocket () method, which can bind a single Socket to a certain Network card; or calling a getSocketFactory () method to directly produce the Socket in a factory mode;
at Api Level23 and above, a bindprocesstontwork () method of ConnectivityManager is directly called, and network requests of the whole process are bound to a certain network card and the like.
S300: comparing the current terminal temperature T of the intelligent terminal with a terminal temperature threshold value T _ threshold;
in the step S300, the intelligent terminal needs to obtain the connection between the wireless network and the cellular network that are enabled by the intelligent terminal, and after the two channels are enabled, the current terminal temperature T is compared with the terminal temperature threshold T _ threshold to determine whether the intelligent terminal is overheated and whether the hand feeling of the user using the intelligent terminal is directly affected.
Two comparison results are obtained in step S300, where the current terminal temperature T is greater than or equal to the terminal temperature threshold T _ threshold, the intelligent terminal is overheated, or the current terminal temperature T is less than the terminal temperature threshold T _ threshold, and the intelligent terminal temperature is normal. Steps S400 and S500 are performed for the two comparison results, respectively.
S400: when the current terminal temperature T is greater than or equal to the terminal temperature threshold value T _ threshold, comparing the wireless network delay W _ delay of the first communication connection with the first network delay threshold value W _ delay _ threshold, and comparing the cellular network delay M _ delay of the second communication connection with the second network delay threshold value M _ delay _ threshold, and disconnecting the first communication connection or the second communication connection according to the current values of the first antenna chip power consumption WP and the current second antenna chip power consumption MP.
It is to be understood that the comparison of the wireless network latency W _ delay of the first communication connection with the first network latency threshold W _ delay _ threshold, the cellular network latency M _ delay of the second communication connection with the second network latency threshold M _ delay _ threshold includes being less than and less than, greater than (including equal to), and less than, less than and greater than (including equal to), and greater than (including equal to), different operations will be performed under different comparison results,
when the comparison result is less than and less than, step S410 is performed: when the wireless network delay W _ delay of the first communication connection is smaller than the first network delay threshold W _ delay _ threshold and the cellular network delay M _ delay of the second communication connection is smaller than the second network delay threshold M _ delay _ threshold, comparing the current first antenna chip power consumption WP with the first antenna chip power consumption threshold WP _ threshold, and comparing the current second antenna chip power consumption MP with the second antenna chip power consumption threshold MP _ threshold, and disconnecting the first communication connection or the second communication connection according to the comparison result.
More specifically, according to the comparison result of step S410, different steps will be performed, including:
s411: when the current power consumption WP of a first antenna chip is smaller than a power consumption threshold WP _ threshold of the first antenna chip and the current power consumption MP of a second antenna chip is smaller than a power consumption threshold MP _ threshold of the second antenna chip, comparing the current power consumption WP of the first antenna chip with the current power consumption MP of the second antenna chip to close the network connection corresponding to the larger one of the current power consumption WP of the first antenna chip and the current power consumption MP of the second antenna chip, for example, when the current power consumption WP of the first antenna chip is larger than the current power consumption MP of the second antenna chip, closing the first communication connection, if the first communication connection is closed before closing, closing the second communication connection, and reducing the power consumption and the temperature of the intelligent terminal by closing a certain network connection;
s412: when the current power consumption WP of the first antenna chip is smaller than a power consumption threshold WP _ threshold of the first antenna chip and the power consumption WP of the second antenna chip is larger than or equal to a power consumption threshold MP _ threshold of the second antenna chip, closing the second communication connection, if the fact that the second communication connection is closed before closing is determined, closing the first communication connection, and reducing the power consumption and the temperature of the intelligent terminal by closing a certain network connection;
s413: when the current power consumption WP of the first antenna chip is larger than or equal to the power consumption threshold WP _ threshold of the first antenna chip and the current power consumption MP of the second antenna chip is smaller than the power consumption threshold MP _ threshold of the second antenna chip, the first communication connection is closed, if the first communication connection is closed before closing is determined, the second communication connection can be closed, and the power consumption and the temperature of the intelligent terminal are reduced by closing a certain network connection.
When the comparison result is less than and greater than (including equal to), step S420 is performed: and when the wireless network delay W _ delay of the first communication connection is less than the first network delay threshold W _ delay _ threshold and the cellular network delay M _ delay of the second communication connection is greater than or equal to the second network delay threshold M _ delay _ threshold, closing the second communication connection, and reducing the power consumption and the temperature of the intelligent terminal by closing a certain network connection.
When the comparison result is greater than (including equal to) and less than, step S430 is performed: and when the wireless network delay W _ delay of the first communication connection is greater than or equal to a first network delay threshold W _ delay _ threshold and the cellular network delay M _ delay of the second communication connection is less than a second network delay threshold M _ delay _ threshold, closing the first communication connection, and reducing the power consumption and the temperature of the intelligent terminal by closing a certain network connection.
When the comparison result is greater than (including equal to) and greater than (including equal to), step S440 is performed: when the wireless network delay W _ delay of the first communication connection is greater than or equal to a first network delay threshold value W _ delay _ threshold and the cellular network delay M _ delay of the second communication connection is greater than or equal to a second network delay threshold value M _ delay _ threshold, sending a prompt message containing a suggestion of closing the first communication connection and the second communication connection, informing a user that the performance of the dual-channel network is not good in the current state, suggesting that the first communication connection and the second communication connection are closed at the same time, and restarting for re-detection after a certain time interval.
On the other hand, S500: when the current terminal temperature T is smaller than the terminal temperature threshold value T _ threshold, comparing the wireless network delay W _ delay of the first communication connection with the first network delay threshold value W _ delay _ threshold, comparing the cellular network delay M _ delay of the second communication connection with the second network delay threshold value M _ delay _ threshold, enabling the first communication connection or the second communication connection according to the current values of the first antenna chip power consumption WP and the current second antenna chip power consumption MP, and when the intelligent terminal further has a power consumption and temperature rise space, reducing the delay of the network connection is a priority.
It is to be understood that the comparison of the wireless network latency W _ delay of the first communication connection with the first network latency threshold W _ delay _ threshold, the cellular network latency M _ delay of the second communication connection with the second network latency threshold M _ delay _ threshold includes being less than and less than, greater than (including equal to), and less than, less than and greater than (including equal to), and greater than (including equal to), different operations will be performed under different comparison results,
when the comparison result is less than and less than, step S510 is performed: when the wireless network delay W _ delay of the first communication connection is smaller than the first network delay threshold W _ delay _ threshold and the cellular network delay M _ delay of the second communication connection is smaller than the second network delay threshold M _ delay _ threshold, comparing the current first antenna chip power consumption WP with the first antenna chip power consumption threshold WP _ threshold, and comparing the current second antenna chip power consumption MP with the second antenna chip power consumption threshold MP _ threshold, and disconnecting the first communication connection or the second communication connection according to the comparison result.
More specifically, according to the comparison result of step S510, different steps are performed, including:
s511: when the current power consumption WP of a first antenna chip is smaller than a power consumption threshold WP _ threshold of the first antenna chip and the current power consumption MP of a second antenna chip is smaller than a power consumption threshold MP _ threshold of the second antenna chip, comparing the current power consumption WP of the first antenna chip with the current power consumption MP of the second antenna chip to close the network connection corresponding to the larger one of the current power consumption WP of the first antenna chip and the current power consumption MP of the second antenna chip, for example, when the current power consumption WP of the first antenna chip is larger than the current power consumption MP of the second antenna chip, closing the first communication connection, if the first communication connection is closed before closing, closing the second communication connection, and reducing the power consumption and the temperature of the intelligent terminal by closing a certain network connection;
s512: when the current power consumption WP of the first antenna chip is smaller than a power consumption threshold WP _ threshold of the first antenna chip and the power consumption WP of the second antenna chip is larger than or equal to a power consumption threshold MP _ threshold of the second antenna chip, closing the second communication connection, if the fact that the second communication connection is closed before closing is determined, closing the first communication connection, and reducing the power consumption and the temperature of the intelligent terminal by closing a certain network connection;
s513: when the current power consumption WP of the first antenna chip is larger than or equal to the power consumption threshold WP _ threshold of the first antenna chip and the current power consumption MP of the second antenna chip is smaller than the power consumption threshold MP _ threshold of the second antenna chip, the first communication connection is closed, if the first communication connection is closed before closing is determined, the second communication connection can be closed, and the power consumption and the temperature of the intelligent terminal are reduced by closing a certain network connection.
When the comparison result is less than and greater than (including equal to), step S520 is performed: and when the wireless network delay W _ delay of the first communication connection is less than the first network delay threshold W _ delay _ threshold and the cellular network delay M _ delay of the second communication connection is greater than or equal to the second network delay threshold M _ delay _ threshold, closing the second communication connection, and reducing the power consumption and the temperature of the intelligent terminal by closing a certain network connection.
When the comparison result is greater than (including equal to) and less than, step S530 is performed: and when the wireless network delay W _ delay of the first communication connection is greater than or equal to a first network delay threshold W _ delay _ threshold and the cellular network delay M _ delay of the second communication connection is less than a second network delay threshold M _ delay _ threshold, closing the first communication connection, and reducing the power consumption and the temperature of the intelligent terminal by closing a certain network connection.
When the comparison result is greater than (including equal to) and greater than (including equal to), step S540 is performed: when the wireless network delay W _ delay of the first communication connection is greater than or equal to the first network delay threshold W _ delay _ threshold and the cellular network delay M _ delay of the second communication connection is greater than or equal to the second network delay threshold M _ delay _ threshold, enabling the network connection corresponding to the smaller of the wireless network delay W _ delay and the cellular network delay M _ delay, for example, when the wireless network delay W _ delay is greater than the cellular network delay M _ delay, starting the second communication connection, and if it is determined that the second communication connection is started before being enabled, enabling the first communication connection, and enabling a certain network to exert the delay reduction effect of the dual-channel network to the maximum extent.
In the various comparison processes, when the multiple parameters are preset in step S100, the intelligent terminal also presets a detection period C, after each execution operation, the first communication connection or the second communication connection is closed or activated, the closing and activating time is timed, and when the timed duration reaches the detection period C, steps S300-S500 are executed again to perform a new comparison so as to find an optimal execution scheme in multiple dimensions of power consumption, temperature, time delay, network acceleration, and the like.
Referring to fig. 2, the invention further discloses a network connection control system, which includes a first antenna chip for establishing a wireless network connection, a second antenna chip for establishing a cellular network connection, and a processing module, wherein a terminal temperature threshold T _ threshold, a first antenna chip power consumption threshold WP _ threshold, a second antenna chip power consumption threshold MP _ threshold, a first network delay threshold W _ delay _ threshold, and a second network delay threshold M _ delay _ threshold are preset in the processing module, wherein the first antenna chip power consumption threshold WP _ threshold and the first network delay threshold W _ delay _ threshold correspond to a wireless network, and the second antenna chip power consumption threshold MP _ threshold and the second network delay threshold M _ delay _ threshold correspond to a cellular network; the processing module compares the current terminal temperature T of the intelligent terminal with a terminal temperature threshold T _ threshold; when the current terminal temperature T is greater than or equal to the terminal temperature threshold value T _ threshold, the processing module compares the wireless network delay W _ delay of the first communication connection with the first network delay threshold value W _ delay _ threshold, compares the cellular network delay M _ delay of the second communication connection with the second network delay threshold value M _ delay _ threshold, and controls to disconnect the first communication connection or the second communication connection according to the current values of the first antenna chip power consumption WP and the current second antenna chip power consumption MP; when the current terminal temperature T is less than the terminal temperature threshold T _ threshold, the processing module compares the wireless network delay W _ delay of the first communication connection with the first network delay threshold W _ delay _ threshold, compares the cellular network delay M _ delay of the second communication connection with the second network delay threshold M _ delay _ threshold, and controls to start the first communication connection or the second communication connection according to the current values of the first antenna chip power consumption WP and the current second antenna chip power consumption MP.
The network connection control system may also be applied to an intelligent terminal, or may be compiled into a computer readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the network connection control method is implemented.
The smart terminal may be implemented in various forms. For example, the terminal described in the present invention may include an intelligent terminal such as a mobile phone, a smart phone, a notebook computer, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, etc., and a fixed terminal such as a digital TV, a desktop computer, etc. In the following, it is assumed that the terminal is a smart terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
It should be noted that the embodiments of the present invention have been described in terms of preferred embodiments, and not by way of limitation, and that those skilled in the art can make modifications and variations of the embodiments described above without departing from the spirit of the invention.
Claims (10)
1. A network connection control method comprising the steps of:
s100: a terminal temperature threshold, a first antenna chip power consumption threshold, a second antenna chip power consumption threshold, a first network delay threshold and a second network delay threshold are preset in the intelligent terminal, wherein the first antenna chip power consumption threshold and the first network delay threshold correspond to a wireless network, and the second antenna chip power consumption threshold and the second network delay threshold correspond to a cellular network; s200: the intelligent terminal establishes a first communication connection based on a wireless network and a second communication connection based on a cellular network at the same time:
s300: comparing the current terminal temperature of the intelligent terminal with a terminal temperature threshold value;
s400: when the current terminal temperature is larger than or equal to the terminal temperature threshold, comparing the wireless network time delay of a first communication connection with the first network time delay threshold, comparing the cellular network time delay of a second communication connection with the second network time delay threshold, and disconnecting the first communication connection or the second communication connection according to the current values of the power consumption of the first antenna chip and the power consumption of the second antenna chip;
s500: and when the current terminal temperature is smaller than the terminal temperature threshold, comparing the wireless network time delay of the first communication connection with the first network time delay threshold, comparing the cellular network time delay of the second communication connection with the second network time delay threshold, and starting the first communication connection or the second communication connection according to the current values of the power consumption of the first antenna chip and the current power consumption of the second antenna chip.
2. The network connection control method of claim 1,
step S400 includes:
s410: when the wireless network time delay of the first communication connection is smaller than the first network time delay threshold value and the cellular network time delay of the second communication connection is smaller than the second network time delay threshold value, comparing the current power consumption of the first antenna chip with the power consumption threshold value of the first antenna chip, comparing the current power consumption of the second antenna chip with the power consumption threshold value of the second antenna chip, and disconnecting the first communication connection or the second communication connection according to the comparison result.
3. The network connection control method of claim 2,
the step S410 includes:
s411: when the current power consumption of the first antenna chip is smaller than the power consumption threshold of the first antenna chip and the current power consumption of the second antenna chip is smaller than the power consumption threshold of the second antenna chip, comparing the current power consumption of the first antenna chip with the current power consumption of the second antenna chip so as to close the network connection corresponding to the current power consumption of the first antenna chip which is larger than the current power consumption of the second antenna chip;
s412: when the current power consumption of the first antenna chip is smaller than the power consumption threshold of the first antenna chip and the current power consumption of the second antenna chip is larger than or equal to the power consumption threshold of the second antenna chip, closing the second communication connection;
s413: and when the current power consumption of the first antenna chip is greater than or equal to the power consumption threshold of the first antenna chip and the current power consumption of the second antenna chip is less than the power consumption threshold of the second antenna chip, closing the first communication connection.
4. The network connection control method of claim 1,
step S400 includes:
s420: when the wireless network delay of the first communication connection is smaller than the first network delay threshold value and the cellular network delay of the second communication connection is larger than or equal to the second network delay threshold value, closing the second communication connection;
s430: when the wireless network delay of the first communication connection is greater than or equal to the first network delay threshold value and the cellular network delay of the second communication connection is smaller than the second network delay threshold value, closing the first communication connection;
s440: and when the wireless network delay of the first communication connection is greater than or equal to the first network delay threshold value and the cellular network delay of the second communication connection is greater than or equal to the second network delay threshold value, sending a prompt message containing a suggestion of closing the first communication connection and the second communication connection.
5. The network connection control method of claim 1,
step S500 includes:
s510: when the wireless network time delay of the first communication connection is smaller than the first network time delay threshold value and the cellular network time delay of the second communication connection is smaller than the second network time delay threshold value, comparing the current power consumption of the first antenna chip with the power consumption threshold value of the first antenna chip, comparing the current power consumption of the second antenna chip with the power consumption threshold value of the second antenna chip, and disconnecting the first communication connection or the second communication connection according to the comparison result.
6. The network connection control method of claim 5,
the step S510 includes:
s511: when the power consumption of the current first antenna chip is smaller than the power consumption threshold of the first antenna chip and the power consumption of the current second antenna chip is smaller than the power consumption threshold of the second antenna chip, comparing the power consumption of the current first antenna chip with the power consumption of the current second antenna chip so as to close the network connection corresponding to the current power consumption of the first antenna chip which is larger than the current power consumption of the second antenna chip;
s512: when the current power consumption of the first antenna chip is smaller than the power consumption threshold of the first antenna chip and the current power consumption of the second antenna chip is larger than or equal to the power consumption threshold of the second antenna chip, closing the second communication connection;
s513: and when the current power consumption of the first antenna chip is greater than or equal to the power consumption threshold of the first antenna chip and the current power consumption of the second antenna chip is less than the power consumption threshold of the second antenna chip, closing the first communication connection.
7. The network connection control method of claim 1,
step S500 includes:
s520: when the wireless network delay of the first communication connection is smaller than the first network delay threshold value and the cellular network delay of the second communication connection is larger than or equal to the second network delay threshold value, closing the second communication connection;
s530: when the wireless network delay of the first communication connection is greater than or equal to the first network delay threshold value and the cellular network delay of the second communication connection is smaller than the second network delay threshold value, closing the first communication connection;
s540: and when the wireless network delay of the first communication connection is greater than or equal to the first network delay threshold value and the cellular network delay of the second communication connection is greater than or equal to the second network delay threshold value, starting the network connection corresponding to the smaller one of the wireless network delay and the cellular network delay.
8. The network connection control method of claim 1,
in step S100, the intelligent terminal is also preset with a detection period;
in step S400 and/or S500, after the first communication connection or the second communication connection is closed or enabled, the steps S300 to S500 are executed again through the detection period.
9. A network connection control system comprising a first antenna chip for establishing a wireless network connection and a second antenna chip for establishing a cellular network connection at the same time, and a processing module,
a terminal temperature threshold, a first antenna chip power consumption threshold, a second antenna chip power consumption threshold, a first network delay threshold and a second network delay threshold are preset in the processing module, wherein the first antenna chip power consumption threshold and the first network delay threshold correspond to a wireless network, and the second antenna chip power consumption threshold and the second network delay threshold correspond to a cellular network;
the processing module compares the current terminal temperature of the intelligent terminal with a terminal temperature threshold value;
when the current terminal temperature is greater than or equal to the terminal temperature threshold, the processing module compares the wireless network delay of the first communication connection with the first network delay threshold, compares the cellular network delay of the second communication connection with the second network delay threshold, and controls to disconnect the first communication connection or the second communication connection according to the current values of the power consumption of the first antenna chip and the power consumption of the second antenna chip;
and when the current terminal temperature is lower than the terminal temperature threshold, the processing module compares the wireless network time delay of the first communication connection with the first network time delay threshold, compares the cellular network time delay of the second communication connection with the second network time delay threshold, and controls to start the first communication connection or the second communication connection according to the current values of the power consumption of the first antenna chip and the current power consumption of the second antenna chip.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the network connection control method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910573139.8A CN110177380B (en) | 2019-06-28 | 2019-06-28 | Network connection control method, system and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910573139.8A CN110177380B (en) | 2019-06-28 | 2019-06-28 | Network connection control method, system and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110177380A CN110177380A (en) | 2019-08-27 |
CN110177380B true CN110177380B (en) | 2022-03-04 |
Family
ID=67699273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910573139.8A Active CN110177380B (en) | 2019-06-28 | 2019-06-28 | Network connection control method, system and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110177380B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110536391B (en) * | 2019-09-26 | 2022-04-12 | 维沃移动通信有限公司 | Communication method and mobile terminal |
CN114490234B (en) * | 2021-07-30 | 2023-03-28 | 荣耀终端有限公司 | Heat source identification method for causing overheating of terminal equipment and terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103414632A (en) * | 2013-07-11 | 2013-11-27 | 广东工业大学 | Banded wireless sensor network data routing method |
CN106714270A (en) * | 2015-07-14 | 2017-05-24 | 广东欧珀移动通信有限公司 | Service transmission method and terminal and network equipment |
CN107708190A (en) * | 2017-09-29 | 2018-02-16 | 努比亚技术有限公司 | Wi Fi control methods, mobile terminal and computer-readable recording medium |
CN108235380A (en) * | 2016-12-22 | 2018-06-29 | 瑞士优北罗股份有限公司 | For the system and method for the battery management in network |
CN108770075A (en) * | 2018-05-29 | 2018-11-06 | 深圳市零度智控科技有限公司 | network connection control method, mobile terminal and computer readable storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2090068A1 (en) * | 2006-10-31 | 2009-08-19 | Telecom Italia S.p.A. | Management of seamless handover between different communication systems in an ip dual-mode terminal |
US9661544B2 (en) * | 2013-02-18 | 2017-05-23 | Samsung Electronics Co., Ltd | Method and system for offloading handover of wireless connections from a LTE network to a Wi-Fi network |
US20150017985A1 (en) * | 2013-07-10 | 2015-01-15 | Samsung Electronics Co., Ltd. | Systems and methods for handoff in heterogeneous networks |
-
2019
- 2019-06-28 CN CN201910573139.8A patent/CN110177380B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103414632A (en) * | 2013-07-11 | 2013-11-27 | 广东工业大学 | Banded wireless sensor network data routing method |
CN106714270A (en) * | 2015-07-14 | 2017-05-24 | 广东欧珀移动通信有限公司 | Service transmission method and terminal and network equipment |
CN108235380A (en) * | 2016-12-22 | 2018-06-29 | 瑞士优北罗股份有限公司 | For the system and method for the battery management in network |
CN107708190A (en) * | 2017-09-29 | 2018-02-16 | 努比亚技术有限公司 | Wi Fi control methods, mobile terminal and computer-readable recording medium |
CN108770075A (en) * | 2018-05-29 | 2018-11-06 | 深圳市零度智控科技有限公司 | network connection control method, mobile terminal and computer readable storage medium |
Non-Patent Citations (4)
Title |
---|
R1-150438 "Initial LAA co-existence evaluations";CMCC;《3GPP tsg_ran\WG1_RL1》;20150130;全文 * |
R2-152221 "Analysis of the user plane XW interface for LTE/WLAN aggregation";Intel Corporation;《3GPP tsg_ran\WG2_RL2》;20150516;全文 * |
R2-1802488 "UE Assistance Information for energy efficiency enhancement";Samsung;《3GPP tsg_ran\WG2_RL2》;20180214;全文 * |
基于区域划分的WSN数据汇聚路由算法;周俊青等;《合肥工业大学学报(自然科学版)》;20121228(第12期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110177380A (en) | 2019-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110267315B (en) | Network connection control method, system, intelligent terminal and computer readable storage medium | |
WO2019210754A1 (en) | Network search control method and device, and mobile terminal | |
US20070121536A1 (en) | Mobile communication terminal and computer readable recording medium | |
US20160323826A1 (en) | Multimode and power-saving method of multimedia transmission and system thereof | |
WO2007047911B1 (en) | Communications network extension via spontaneous generation of new cells | |
EP3462789B1 (en) | Method and device for reducing power consumption of mobile terminal | |
CN110177380B (en) | Network connection control method, system and computer readable storage medium | |
CN109362121B (en) | Sharing method and device of wireless local area network, storage medium and terminal | |
CN112262600A (en) | Extended discontinuous reception parameter determination method, communication device, and storage medium | |
CN101340660A (en) | Multi-mode mobile terminal and multi-mode switching method | |
CN104584490A (en) | Data transmitting method and device | |
WO2023024815A1 (en) | Wireless network communication method and related apparatus | |
CN108882319B (en) | Mobile network switching method, mobile terminal and computer readable storage medium | |
CN110603858A (en) | Data transmission method, device, communication equipment and storage medium | |
CN110300446B (en) | Network connection control method, system, intelligent terminal and computer readable storage medium | |
US20230085923A1 (en) | Charger, data cable and charging device | |
CN111556439A (en) | Terminal connection control method, terminal and computer storage medium | |
EP2733996B1 (en) | Method for reducing power consumption of wireless terminal and wireless terminal | |
CN110167049B (en) | Network connection control method, system, intelligent terminal and computer readable storage medium | |
US9942514B1 (en) | Video call power optimization | |
US8970792B2 (en) | Remote controller and remote controller set applied to display device | |
KR20180124841A (en) | D2D-based communication method and terminal | |
CN113259227B (en) | Information processing method, device and storage medium | |
CN109991866B (en) | Electronic equipment and control method | |
US8199795B2 (en) | Communication device and data transmission method between at least two communication devices |
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 |