CN109151154B - Power consumption control method and mobile terminal - Google Patents

Power consumption control method and mobile terminal Download PDF

Info

Publication number
CN109151154B
CN109151154B CN201710498937.XA CN201710498937A CN109151154B CN 109151154 B CN109151154 B CN 109151154B CN 201710498937 A CN201710498937 A CN 201710498937A CN 109151154 B CN109151154 B CN 109151154B
Authority
CN
China
Prior art keywords
type
mobile terminal
network
target
network request
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
Application number
CN201710498937.XA
Other languages
Chinese (zh)
Other versions
CN109151154A (en
Inventor
田永胜
尚飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201710498937.XA priority Critical patent/CN109151154B/en
Publication of CN109151154A publication Critical patent/CN109151154A/en
Application granted granted Critical
Publication of CN109151154B publication Critical patent/CN109151154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0238Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is an unwanted signal, e.g. interference or idle signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention relates to the technical field of communication, and discloses a power consumption control method and a mobile terminal, wherein the method comprises the following steps: after a mobile terminal is connected to a wireless local area network, determining a target network request type and a target data volume, wherein the target network request type is a network request type which allows a target application to be loaded by the mobile terminal, and the target data volume is a data volume corresponding to the target network request type; and entering a low power consumption mode under the condition that the type of the network request initiated by the target application is determined not to accord with the type of the target network request, or under the condition that the type of the network request initiated by the target application is determined to accord with the type of the target network request and not accord with the target data volume. By implementing the embodiment of the invention, the power consumption of the mobile terminal can be reduced, and the cruising ability of the mobile terminal can be improved.

Description

Power consumption control method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a power consumption control method and a mobile terminal.
Background
With the rapid development of the internet and communication technology, the use of mobile terminals is becoming more and more popular, and users are also relying on mobile terminals to perform related operations more and more.
In real life, along with the intellectualization of the mobile terminal, the mobile terminal plays an increasingly greater role in life, and the requirement of a user on the performance of the mobile terminal is increased. However, due to the mobile capability of the mobile terminal, it is impossible to use the mobile terminal connected to a power source at any time. In the case of a mobile terminal, the mobile terminal is often capable of supporting only one day or even less in a fully charged state at a time. With the development of wireless local area networks, for example, WiFi (wireless fidelity) is used as one of basic functions of a mobile terminal, the frequency of use by people is very high, and in a WiFi network, for example, in the process of using qq application by a user, after the qq application sends a network request to the mobile terminal, the mobile terminal receives the network request, so that the qq application uses the WiFi network to perform related operations, such as a video loading operation or a picture loading operation.
As can be seen from the above, the mobile terminal consumes more power in the wlan.
Disclosure of Invention
The embodiment of the invention provides a power consumption control method and a mobile terminal, which are used for reducing the power consumption of the mobile terminal under a wireless local area network and improving the cruising ability of the mobile terminal.
In a first aspect, an embodiment of the present invention provides a power consumption control method, including:
after a mobile terminal is connected to a wireless local area network, determining a target network request type and a target data volume, wherein the target network request type is a network request type which allows a target application to be loaded by the mobile terminal, and the target data volume is a data volume corresponding to the target network request type;
and entering a low power consumption mode under the condition that the type of the network request initiated by the target application is determined not to accord with the type of the target network request, or under the condition that the type of the network request initiated by the target application is determined to accord with the type of the target network request and not accord with the target data volume.
In an optional implementation manner, the determining the target network request type and the target data volume includes:
determining the target network request types from high to low according to the number corresponding to the first network request types loaded by the target application in a first preset time period;
determining the target data volume corresponding to the target network request type according to the corresponding relation between the network request type and the data volume;
alternatively, the first and second electrodes may be,
determining the target network request type from high to low according to the data volume corresponding to the second network request type loaded by the target application in a second preset time period;
and determining the target data volume corresponding to the target network request type according to the corresponding relation between the network request type and the data volume.
In an alternative implementation, the entering the low power consumption mode includes:
and under the condition that the mobile terminal is in a wireless local area network, setting the network type perceived by the mobile terminal as a cellular network.
In an optional implementation, the method further includes:
and after the network type perceived by the mobile terminal is set as the cellular network for a preset time, setting the network type perceived by the mobile terminal as the wireless local area network.
In an optional implementation manner, after entering the low power consumption mode, the method further includes:
detecting the current residual capacity of the mobile terminal;
under the condition that the residual electric quantity is smaller than a first preset threshold value, continuously setting the network type perceived by the mobile terminal as a cellular network, and setting the network type perceived by the mobile terminal as a wireless local area network after receiving a trigger instruction input by a user;
or, under the condition that the remaining power is less than a second preset threshold, continuously setting the network type perceived by the mobile terminal as a cellular network, and setting the network type perceived by the mobile terminal as a wireless local area network after detecting that the mobile terminal enters a charging state.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
a connection unit for connecting a wireless local area network;
a determining unit, configured to determine a target network request type and a target data volume, where the target network request type is a type of a network request that the mobile terminal allows a target application to be loaded, and the target data volume is a data volume corresponding to the target network request type;
and the power consumption control unit is used for entering a low power consumption mode under the condition that the type of the network request initiated by the target application is determined not to accord with the type of the target network request, or under the condition that the type of the network request initiated by the target application is determined to accord with the type of the target network request and not accord with the target data volume.
In an optional implementation manner, the determining unit is configured to determine the target network request types from high to low according to a number corresponding to a first network request type loaded by the target application within a first preset time period;
the determining unit is configured to determine the target data volume corresponding to the target network request type according to a correspondence between a network request type and a data volume;
alternatively, the first and second electrodes may be,
the determining unit is used for determining the target network request type from high to low according to the data volume corresponding to the second network request type loaded by the target application in a second preset time period;
the determining unit is configured to determine the target data volume corresponding to the target network request type according to a correspondence between a network request type and a data volume.
In an optional implementation manner, the power consumption control unit is specifically configured to set a network type perceived by the mobile terminal as a cellular network when the mobile terminal is in a wireless local area network.
In an optional implementation manner, the power consumption control unit is further configured to set the network type perceived by the mobile terminal as a wireless local area network after the network type perceived by the mobile terminal is set as a cellular network for a predetermined time.
In an optional implementation manner, the mobile terminal further includes:
the detection unit is used for detecting the current residual electric quantity of the mobile terminal;
the power consumption control unit is further configured to continuously set the network type perceived by the mobile terminal to a cellular network under the condition that the remaining power is less than a first preset threshold, and set the network type perceived by the mobile terminal to a wireless local area network after receiving a trigger instruction input by a user;
alternatively, the first and second electrodes may be,
the power consumption control unit is further configured to continuously set the network type perceived by the mobile terminal as a cellular network under the condition that the remaining power is less than a second preset threshold, and set the network type perceived by the mobile terminal as a wireless local area network after detecting that the mobile terminal enters a charging state.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including: a transceiver for receiving and transmitting data and/or signalling, a processor and a memory communicatively coupled, wherein the memory has stored therein executable instructions and the processor is configured to execute the executable instructions to implement the method of any one of the aspects provided by the first aspect of the embodiments of the present invention.
In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, the computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method of the first aspect.
The embodiment of the invention has the following beneficial effects:
by implementing the embodiment of the invention, after the mobile terminal is connected to a wireless network, the type of the network request initiated by the target application and the target data volume are determined, so that the mobile terminal enters the low power consumption mode under the condition that the type of the network request initiated by the target application is determined to be not accordant with the type of the target network request, or under the condition that the type of the network request initiated by the target application is determined to be accordant with the type of the target network request and not accordant with the target data volume. Therefore, under the wireless local area network, the power consumption of the mobile terminal is effectively reduced, and the cruising ability of the mobile terminal is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments or background of the present invention will be described below.
Fig. 1 is a schematic flow chart of a power consumption control method according to an embodiment of the present invention;
fig. 2A is a schematic diagram of a network request scenario provided in an embodiment of the present invention;
fig. 2B is a diagram illustrating a correspondence relationship between a network request type and a data size according to an embodiment of the present invention;
fig. 3A is a schematic flow chart of another power consumption control method according to an embodiment of the present invention;
FIG. 3B is a diagram illustrating a power consumption control scenario according to an embodiment of the invention;
fig. 4 is a schematic diagram of another power consumption control method provided by an embodiment of the invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention.
Detailed Description
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, or apparatus.
A Wireless Local Area Network (WLAN) is a very convenient data transmission system, which uses Radio Frequency (RF) technology to replace the old lan formed by twisted copper (coax) wires, which obstruct the hands and feet, and performs communication connection in the air, so that the WLAN can use a simple access structure to allow users to pass through the WLAN, thereby achieving an ideal situation of "information portability and convenience for walking down the sky". WiFi is a trademark of WLAN, and as one of basic functions of a mobile terminal, the frequency of people using WiFi is very high, and almost all applications (such as WeChat, microblog, QQ, etc.) do more background operations in the WiFi network than in the cellular network environment, for example, in the WiFi network, some news applications may preload more video data, etc., so that the power consumption of the mobile terminal in the WiFi network is larger. It is to be understood that embodiments of the present invention are not limited to use in WiFi networks.
Based on this, the embodiment of the invention provides a power consumption control method and a mobile terminal, which can reduce the power consumption of the mobile terminal and improve the cruising ability of the mobile terminal. The following are detailed below.
As shown in fig. 1, fig. 1 is a schematic flow chart of a power consumption control method according to an embodiment of the present invention, and as shown in fig. 1, the power consumption control method includes the following steps.
101. After the mobile terminal is connected to the wireless local area network, the target network request type and the target data volume are determined.
In this embodiment of the present invention, the target network request type is a type of a network request that the mobile terminal allows a target application to be loaded, and the target data volume is a data volume corresponding to the target network request type.
In this embodiment of the present invention, the target network request type may include at least one of a video type, a picture type, and a text type. The target data amount may include a data amount used for loading the target network request type, for example, if the target network request type determined by the mobile terminal is a video type and the target data amount is 500M, it indicates that the network request type allowed to be loaded by the target application by the mobile terminal is the video type, and the data amount corresponding to the video type allowed to be loaded by the target application is 500M.
In the embodiment of the present invention, the Mobile terminal may include a Mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), an intelligent wearable Device (such as a smart watch and a smart bracelet), and the like, which are not limited in the embodiment of the present invention.
As an optional implementation manner, an embodiment of the present invention further provides a method for determining a target network request type and a target data volume, where the determining the target network request type and the target data volume includes:
determining the target network request types from high to low according to the number corresponding to the first network request types loaded by the target application in a first preset time period;
determining the target data volume corresponding to the target network request type according to the corresponding relation between the network request type and the data volume;
alternatively, the first and second electrodes may be,
determining the target network request type from high to low according to the data volume corresponding to the second network request type loaded by the target application in a second preset time period;
and determining the target data volume corresponding to the target network request type according to the corresponding relation between the network request type and the data volume.
In this embodiment, for example, as shown in fig. 2A, the target application loads four network requests in a first preset time period, which are a first network request, a second network request, a third network request, and a fourth network request in sequence. The type of the first network request is a picture type, and the data volume is 10M; the type of the second network request is a video type, and the data volume is 500M; the type of the third network request is a character type, and the data volume is 2M; the type of the fourth network request is a video type 200M, and therefore, the number corresponding to the video type is two, and the number corresponding to the picture type and the text type is one, so that the video type, the picture type and the text type are in sequence from high to low, or the video type, the text type and the picture type are in sequence, the video type may be set as a target network request type, the video type and the picture type may also be set as a target network request type, and it can be understood that, in this embodiment, specific determination of several target network request types in sequence from high to low is not limited, one target network request type may be determined in sequence from high to low, two target network request types may also be determined, and the like.
In this embodiment, as shown in fig. 2B, fig. 2B is a fixed correspondence diagram between network request types and data volumes according to an embodiment of the present invention. An embodiment of the present invention further provides a corresponding relationship between a network request type and a data amount, taking fig. 2A as an example, if a target network request type is a video type, and a data amount corresponding to the video type is 700M, it may be determined that the target data amount is 700M, or 1.5 times, 2 times, and the like of 700. The embodiment of the present invention is not limited to how to determine the correspondence between the network request type and the data amount.
In this embodiment, still taking fig. 2A as an example, if the data volumes corresponding to the network request types loaded by the target application are, in order from high to low, a video type 700M, a picture type 10M, and a text type 2M, it may be determined that the target network request types are video types, or video types and picture types, or video types, picture types, and text types, and the like, and it is not limited to specifically determine several target network request types in order from high to low.
In this embodiment, the correspondence between the network request type and the data size is consistent with the method described above, and is not described herein again.
It can be understood that, in the embodiment of the present invention, the first preset time period and the second preset time period are set to enable the mobile terminal to more accurately determine the network usage situation of the target application, so as to determine the target network request type and the target data amount, where the first preset time period may be the same as the second preset time period, and the first preset time period may also be different from the second preset time period, and the like.
It is understood that, in this embodiment, the target network request type and the target data amount may be a target network request type and a target data amount within a predetermined time, such as a target network request type within 60 seconds determined by the mobile terminal and a target data amount within the 60 seconds. The embodiment is not limited as to how much the specific time is.
According to the embodiment, the mobile terminal determines the target network request type and the target data volume according to the condition that the target application uses the network within the first preset time period or the second preset time period, so that the mobile terminal can know the condition that the target application uses the network more accurately, and the accuracy of determining the target network request type and the target data volume is improved.
102. And entering a low power consumption mode under the condition that the type of the network request initiated by the target application is determined not to accord with the type of the target network request, or under the condition that the type of the network request initiated by the target application is determined to accord with the type of the target network request and not accord with the target data volume.
In the embodiment of the invention, the target application comprises an application in the mobile terminal, the type of the network request initiated by the target application does not conform to the type of the target network request, for example, the type of the target network request is a video type, and if the type of the network request initiated by the target application is a picture type, the type of the network request initiated by the target application is the type of the network request which does not conform to the target network request. It should be understood that the type of the target network request may be one type, may also be two types, and the like, and the embodiment of the present invention is not limited.
In the embodiment of the present invention, the type of the network request initiated by the target application conforms to the type of the target network request, and does not conform to the target data volume, for example, the type of the target network request is a video type, the data volume corresponding to the video type is 500M, and one network request initiated by the target application is a video type, but the data volume requested by the network request is 1G, in this case, the mobile terminal enters the low power consumption mode. For another example, the type of the target network request is a video type, the target data volume is 500M, the target application initiates two network requests in sequence, the types of the two network requests are both video types, and the data volumes are 400M and 300M in sequence, so that it can be seen that the type of the network request initiated first conforms to the type of the target network request, and the data volume of the network request initiated first also conforms to the target data volume, and although the type of the network request initiated later conforms to the type of the target network request, the network request initiated first occupies the data volume of 400M, so that the mobile terminal enters the low power consumption mode in this case. For another example, the type of the target network request is a video type, the target data volume is 500M, the target application initiates two network requests in sequence, the two network requests are both video types, and the data volumes are 400M and 50M in sequence, so that it can be seen that the type of the network request initiated first conforms to the type of the target network request, the data volume of the network request initiated first also conforms to the target data volume, the type of the network request initiated later conforms to the type of the target network request, and the data volume of the network request initiated later also conforms to the target data volume, so that the situation does not belong to the situation that the mobile terminal enters the low power consumption mode.
By implementing the embodiment, the power consumption of the mobile terminal can be effectively reduced and the cruising ability of the mobile terminal is improved by entering the low power consumption mode.
In this embodiment of the present invention, the low power consumption mode may be a power saving mode in the mobile terminal, or a low power mode in the mobile terminal, and optionally, a low power consumption mode is further provided in this embodiment of the present invention, where entering the low power consumption mode includes:
and under the condition that the mobile terminal is in the wireless local area network, setting the network type perceived by the mobile terminal as a cellular network.
By setting the network type perceived by the mobile terminal as a cellular network, the network requests initiated by the target application can be effectively reduced, thereby reducing the power consumption of the mobile terminal.
For example, in a WiFi network, when a user opens a microblog application, the microblog application may preload a lot of videos, pictures, or the like, and therefore, the mobile terminal may effectively reduce a network request initiated by the microblog application by determining a target network request type, such as a video type and a target data volume, and setting a network type perceived by the mobile terminal as a cellular network if the video data volume preloaded by the microblog application exceeds the target data volume.
As an optional implementation manner, the method further includes:
and after the network type perceived by the mobile terminal is set as a cellular network for a preset time, setting the network type perceived by the mobile terminal as a wireless local area network.
In this embodiment, the predetermined time may be 30 seconds, or 60 seconds, and the like, and it may be understood that the predetermined time is a time when the network type perceived by the mobile terminal is a cellular network, and the predetermined time may be determined by a user, or may be determined by a system, and the like, and the embodiment of the present invention is not limited.
By implementing the embodiment, the power consumption of the mobile terminal can be reduced, the normal network request under the wireless local area network can be realized, and the user experience is improved.
After entering the low power consumption mode, the method further includes:
detecting the current residual electric quantity of the mobile terminal;
under the condition that the residual electric quantity is smaller than a first preset threshold value, continuously setting the network type perceived by the mobile terminal as a cellular network, and setting the network type perceived by the mobile terminal as a wireless local area network after receiving a trigger instruction input by a user;
or, under the condition that the remaining power is less than a second preset threshold, continuously setting the network type perceived by the mobile terminal as a cellular network, and setting the network type perceived by the mobile terminal as a wireless local area network after detecting that the mobile terminal enters a charging state.
In this embodiment, the first preset threshold and the second preset threshold may be the same or different. The current remaining capacity of the mobile terminal, that is, the remaining capacity of the mobile terminal when the network type perceived by the mobile terminal is set to the cellular network, is detected.
In this embodiment, after the network type perceived by the mobile terminal is set as the cellular network, a prompt message may also be sent, where the prompt message indicates that the network type perceived by the mobile terminal is the cellular network, and more specifically, the prompt message may be a text prompt message or an icon prompt message, and the like, which is not limited in this embodiment.
In this embodiment, the mobile terminal receives a trigger instruction input by a user, where the trigger instruction may be an instruction of a network request initiated by the user through a target application, and the trigger instruction may also be an instruction for setting a wireless local area network perceived by the mobile terminal and the like input by the user.
In this embodiment, the network type perceived by the mobile terminal is continuously set as the cellular network when the remaining power is less than the second preset threshold, and the network type perceived by the mobile terminal is set as the wireless local area network until the mobile terminal is detected to enter the charging state. For example, the second preset threshold is 10%, and if the remaining power of the mobile terminal is 8% when the network type perceived by the mobile terminal is set as the cellular network, the network type perceived by the mobile terminal is continuously set as the cellular network until the mobile terminal is detected to enter the charging state, and the network type perceived by the mobile terminal is set as the wireless local area network.
By implementing the embodiment, under the condition that user experience is not influenced, the power consumption of the mobile terminal can be effectively reduced, and therefore the cruising ability of the mobile terminal is improved.
Referring to fig. 3A, fig. 3A is a schematic flow chart of another power consumption control method according to an embodiment of the present invention, and as shown in fig. 3A, the power consumption control method includes the following steps:
3011. after the mobile terminal is connected to a wireless local area network, determining the target network request types from high to low according to the number corresponding to the network request types loaded by the target application in a first preset time period;
the target network request type is a network request type which allows the target application to be loaded by the mobile terminal.
3012. Determining the target data volume corresponding to the target network request type according to the corresponding relation between the network request type and the data volume;
the target data volume is a data volume corresponding to the target network request type.
3013. Setting the network type perceived by the mobile terminal as a cellular network under the condition that the type of the network request initiated by the target application is determined not to conform to the type of the target network request, or under the condition that the type of the network request initiated by the target application is determined to conform to the type of the target network request and not conform to the target data volume;
3014. and after the network type perceived by the mobile terminal is set as a cellular network for a preset time, setting the network type perceived by the mobile terminal as a wireless local area network.
The specific implementation manner of the embodiment of the present invention is the same as that of the foregoing embodiment, and is not described herein again.
By implementing the embodiment, the power consumption of the mobile terminal can be effectively reduced, and the cruising ability of the mobile terminal is improved.
According to the power consumption control method described in fig. 3A, an embodiment of the present invention further provides a specific power consumption control scenario, as shown in fig. 3B, for example, if the target application is a microblog application, the power consumption control scenario may include the following steps:
3021. after the mobile terminal is connected to the WIFI network, determining that the target network request type is a video type and the target data volume is 500M;
3022. a user opens a microblog application, and a network request is initiated when the microblog application is preloaded, wherein the network request is a request for loading a video 600M;
3023. determining that the type of the network request initiated by the microblog application conforms to the video type, and the data volume exceeds 500M;
3024. setting the network type perceived by the mobile terminal as a cellular network, namely 4G or 3G, or 5G and the like;
3025. and after the network type perceived by the mobile terminal is set as the cellular network for 60 seconds, setting the network type perceived by the mobile terminal as the WIFI network.
By implementing the embodiment, under the condition that user experience is not influenced, the power consumption of the mobile terminal can be effectively reduced, so that the cruising ability of the mobile terminal is improved, and the satisfaction degree of a user is increased.
As shown in fig. 4, fig. 4 is a detailed scene schematic diagram of a power consumption control method provided in an embodiment of the present invention, and as shown in fig. 4, the power consumption control method includes:
401. intention input
The intent is the target network request type (e.g., video type) and the target data volume, such as: network request type (video, picture, text) in a certain time or request data volume in a certain time;
402. difference value
The difference is the result of comparing the preset intention with the situation monitored by the sensor (monitoring the network request situation of the current application). Such as: 3 network request types (videos, pictures and characters) exist within a certain time or the type of the network request within a certain time is a video type, and the data volume is larger than the target data volume, namely the network request is considered to be frequent and needs to enter a WiFi low-power-consumption mode;
403. control of
After the WIFI low-power-consumption mode is determined to be entered, the mobile terminal is controlled by using the WIFI low-power-consumption switch, so that when the application requests a network, the application is informed that a cellular network is currently used;
404. monitor monitoring process
After the WIFI low-power-consumption control switch controls the application, the network use condition of the application is monitored, the network use condition of the application is constantly changed, and therefore the network use conditions at different times are different, and the network resource use condition of the application needs to be continuously monitored.
405. Feedback of results
The monitoring result in 404 is input into a comparator, and is compared with the intention in 401 again, and the target network request type and the target data volume are updated.
By implementing the embodiment, the power consumption of the mobile terminal can be effectively reduced, and the cruising ability of the mobile terminal is improved.
Referring to fig. 5, fig. 5 is a mobile terminal according to an embodiment of the present invention, where the mobile terminal may be configured to execute the power consumption control method according to the embodiment of the present invention, and as shown in fig. 5, the mobile terminal includes:
a connection unit 501, configured to connect to a wireless local area network;
a determining unit 502, configured to determine a target network request type and a target data volume, where the target network request type is a type of a network request that the mobile terminal allows a target application to be loaded, and the target data volume is a data volume corresponding to the target network request type;
a power consumption control unit 503, configured to enter a low power consumption mode when determining that the type of the network request initiated by the target application does not conform to the type of the target network request, or when determining that the type of the network request initiated by the target application conforms to the type of the target network request and does not conform to the target data size.
By implementing the embodiment of the invention, the power consumption of the mobile terminal can be effectively reduced and the cruising ability of the mobile terminal is improved by entering the low power consumption mode.
As an optional implementation manner, the determining unit 502 is configured to determine the target network request types from high to low according to a quantity corresponding to a first network request type loaded by the target application in a first preset time period;
the determining unit 502 is configured to determine the target data volume corresponding to the target network request type according to a corresponding relationship between the network request type and the data volume;
alternatively, the first and second electrodes may be,
the determining unit 502 is configured to determine the target network request type from a high level to a low level according to a data amount corresponding to a second network request type loaded by the target application in a second preset time period;
the determining unit 502 is configured to determine the target data volume corresponding to the target network request type according to a corresponding relationship between the network request type and the data volume.
According to the embodiment, the mobile terminal determines the target network request type and the target data volume according to the condition that the target application uses the network within the first preset time period or the second preset time period, so that the mobile terminal can know the condition that the target application uses the network more accurately, and the accuracy of determining the target network request type and the target data volume is improved.
As an optional implementation manner, the power consumption control unit 503 is specifically configured to set a network type perceived by the mobile terminal as a cellular network when the mobile terminal is in a wireless local area network.
By implementing the embodiment, the network type perceived by the mobile terminal is set as the cellular network, so that the network request initiated by the target application can be effectively reduced, and the power consumption of the mobile terminal is reduced.
As an optional implementation manner, the power consumption control unit 503 is further configured to set the network type perceived by the mobile terminal as a wireless local area network after the network type perceived by the mobile terminal is set as a cellular network for a predetermined time.
By implementing the embodiment, the power consumption of the mobile terminal can be reduced, a normal network request under a wireless local area network can be realized, and the user experience is improved.
As an optional implementation manner, as shown in fig. 6, the mobile terminal further includes:
a detecting unit 601, configured to detect a current remaining power of the mobile terminal;
the power consumption control unit 503 is further configured to, when the remaining power is less than a first preset threshold, continuously set the network type perceived by the mobile terminal as a cellular network, and set the network type perceived by the mobile terminal as a wireless local area network until a trigger instruction input by a user is received;
alternatively, the first and second electrodes may be,
the power consumption control unit 503 is further configured to continuously set the network type perceived by the mobile terminal as a cellular network when the remaining power is less than a second preset threshold, and set the network type perceived by the mobile terminal as a wireless local area network after detecting that the mobile terminal enters a charging state.
By implementing the embodiment, under the condition that user experience is not influenced, the power consumption of the mobile terminal can be effectively reduced, and therefore the cruising ability of the mobile terminal is improved.
Referring to fig. 7, fig. 7 is a mobile terminal according to an embodiment of the present invention, where the mobile terminal includes a processor 701, a memory 702, and a transceiver 703, and the processor 701, the memory 702, and the transceiver 703 are connected to each other through a bus 704.
The transceiver 703 may comprise a receiver for implementing the function of receiving data and/or signaling in the method embodiments and a transmitter for implementing the function of transmitting data and/or signaling in the method embodiments.
The Memory 702 includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), or a portable Read-Only Memory (CD-ROM), and the Memory 702 is used for related instructions and data. The transceiver 703 is used for receiving and transmitting data and signaling.
The processor 701 may be one or more Central Processing Units (CPUs), and in the case that the processor 701 is one CPU, the CPU may be a single-core CPU or a multi-core CPU, and is configured to implement functions other than the sending/receiving step in the method embodiment.
The processor 701 is configured to read the relevant instructions and data stored in the memory 702, and the transceiver 703 and the memory 702 are used to implement the method executed by the mobile terminal.
For specific functions and detailed descriptions of the processor 701 and the transceiver 703, please refer to the method embodiment and the corresponding apparatus embodiment, which are not described in detail herein.
In another embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program that when executed by a processor implements: after connecting to a wireless local area network, determining a target network request type and a target data volume, wherein the target network request type is a network request type which allows a target application to be loaded by the mobile terminal, and the target data volume is a data volume corresponding to the target network request type; and entering a low power consumption mode under the condition that the type of the network request initiated by the target application is determined not to conform to the type of the target network request, or under the condition that the type of the network request initiated by the target application is determined to conform to the type of the target network request and not conform to the target data volume.
The computer readable storage medium may be an internal storage unit of the mobile terminal according to any of the foregoing embodiments, for example, a hard disk or a memory of the mobile terminal. The computer readable storage medium may also be an external storage device of the mobile terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the mobile terminal. Further, the computer-readable storage medium may include both an internal storage unit and an external storage device of the mobile terminal. The computer-readable storage medium stores the computer program and other programs and data required by the mobile terminal. The above-described computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
Fig. 8 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 8, the handset includes: radio Frequency (RF) circuitry 810, memory 820, input unit 830, display unit 840, sensor 850, audio circuitry 860, WiFi module 870, processor 880, and power supply 890. Those skilled in the art will appreciate that the handset configuration shown in fig. 8 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 8:
the RF circuit 810 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for processing downlink information of a base station after receiving the downlink information to the processor 880; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 810 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 810 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 820 may be used to store software programs and modules, and the processor 880 executes various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 820. The memory 820 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 820 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 830 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 830 may include a touch panel 831 and other input devices 832. The touch panel 831, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on or near the touch panel 830 using a finger, a stylus, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 830 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 880, and can receive and execute commands from the processor 880. In addition, the touch panel 830 may be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 830 may include other input devices 832 in addition to the touch panel 830. In particular, other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 840 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The Display unit 840 may include a Display panel 841, and the Display panel 841 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like, as an option. Further, touch panel 830 can overlay display panel 841, such that when touch panel 830 detects a touch operation thereon or nearby, processor 880 can determine the type of touch event and processor 880 can provide a corresponding visual output on display panel 841 based on the type of touch event. Although in fig. 8, the touch panel 830 and the display panel 841 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 830 and the display panel 841 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 850, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 841 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 841 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 860, speaker 861, microphone 862 may provide an audio interface between the user and the handset. The audio circuit 860 can transmit the electrical signal converted from the received audio data to the speaker 861, and the electrical signal is converted into a sound signal by the speaker 861 and output; on the other hand, the microphone 862 converts collected sound signals into electrical signals, which are received by the audio circuit 860 and converted into audio data, which are then processed by the audio data output processor 880 and transmitted to, for example, another cellular phone via the RF circuit 810, or output to the memory 820 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 870, and provides wireless broadband Internet access for the user.
The processor 880 is a control center of the mobile phone, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 820 and calling data stored in the memory 820, thereby integrally monitoring the mobile phone. Optionally, processor 880 may include one or more processing units; preferably, the processor 880 may integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 880.
The handset also includes a power supply 890 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 880 via a power management system to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
The modules or units in all embodiments of the present invention may be implemented by a general-purpose Integrated Circuit such as a CPU, or by an ASIC (Application Specific Integrated Circuit).
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units or sub-units in the mobile terminal of the embodiment of the invention can be merged, divided and deleted according to actual needs.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.

Claims (10)

1. A power consumption control method, comprising:
after a mobile terminal is connected to a wireless local area network, determining a target network request type and a target data volume, wherein the target network request type is a network request type which allows a target application to be loaded by the mobile terminal, and the target data volume is a data volume corresponding to the target network request type; the target data volume is a data volume corresponding to background operation executed by the mobile terminal in the environment of the wireless local area network;
and entering a low power consumption mode under the condition that the type of the network request initiated by the target application is determined not to accord with the type of the target network request, or under the condition that the type of the network request initiated by the target application is determined to accord with the type of the target network request and not accord with the target data volume.
2. The method of claim 1, wherein determining the target network request type and the target data volume comprises:
determining the target network request types from high to low according to the number corresponding to the network request types loaded by the target application in a first preset time period;
determining the target data volume corresponding to the target network request type according to the corresponding relation between the network request type and the data volume;
alternatively, the first and second electrodes may be,
determining the target network request type from high to low according to the data volume corresponding to the network request type loaded by the target application in a second preset time period;
and determining the target data volume corresponding to the target network request type according to the corresponding relation between the network request type and the data volume.
3. The method of claim 1, wherein entering the low power consumption mode comprises:
and under the condition that the mobile terminal is in a wireless local area network, setting the network type perceived by the mobile terminal as a cellular network.
4. The method of claim 3, further comprising:
and after the network type perceived by the mobile terminal is set as the cellular network for a preset time, setting the network type perceived by the mobile terminal as the wireless local area network.
5. The method of claim 3, wherein after entering the low power mode, the method further comprises:
detecting the current residual capacity of the mobile terminal;
under the condition that the residual electric quantity is smaller than a first preset threshold value, continuously setting the network type perceived by the mobile terminal as a cellular network, and setting the network type perceived by the mobile terminal as a wireless local area network after receiving a trigger instruction input by a user;
or, under the condition that the remaining power is less than a second preset threshold, continuously setting the network type perceived by the mobile terminal as a cellular network, and setting the network type perceived by the mobile terminal as a wireless local area network after detecting that the mobile terminal enters a charging state.
6. A mobile terminal, comprising:
a connection unit for connecting a wireless local area network;
a determining unit, configured to determine a target network request type and a target data volume, where the target network request type is a type of a network request that the mobile terminal allows a target application to be loaded, and the target data volume is a data volume corresponding to the target network request type; the target data volume is a data volume corresponding to background operation executed by the mobile terminal in the environment of the wireless local area network;
and the power consumption control unit is used for entering a low power consumption mode under the condition that the type of the network request initiated by the target application is determined not to accord with the type of the target network request, or under the condition that the type of the network request initiated by the target application is determined to accord with the type of the target network request and not accord with the target data volume.
7. The mobile terminal of claim 6,
the determining unit is used for determining the target network request types from high to low according to the number corresponding to the first network request types loaded by the target application in a first preset time period;
the determining unit is configured to determine the target data volume corresponding to the target network request type according to a correspondence between a network request type and a data volume;
alternatively, the first and second electrodes may be,
the determining unit is used for determining the target network request type from high to low according to the data volume corresponding to the second network request type loaded by the target application in a second preset time period;
the determining unit is configured to determine the target data volume corresponding to the target network request type according to a correspondence between a network request type and a data volume.
8. The mobile terminal of claim 6,
the power consumption control unit is specifically configured to set a network type perceived by the mobile terminal as a cellular network when the mobile terminal is in a wireless local area network.
9. The mobile terminal of claim 8,
the power consumption control unit is further configured to set the network type perceived by the mobile terminal to be a wireless local area network after the network type perceived by the mobile terminal is set to be a cellular network for a predetermined time.
10. The mobile terminal of claim 8, wherein the mobile terminal further comprises:
the detection unit is used for detecting the current residual electric quantity of the mobile terminal;
the power consumption control unit is further configured to continuously set the network type perceived by the mobile terminal to a cellular network under the condition that the remaining power is less than a first preset threshold, and set the network type perceived by the mobile terminal to a wireless local area network after receiving a trigger instruction input by a user;
alternatively, the first and second electrodes may be,
the power consumption control unit is further configured to continuously set the network type perceived by the mobile terminal as a cellular network under the condition that the remaining power is less than a second preset threshold, and set the network type perceived by the mobile terminal as a wireless local area network after detecting that the mobile terminal enters a charging state.
CN201710498937.XA 2017-06-27 2017-06-27 Power consumption control method and mobile terminal Active CN109151154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710498937.XA CN109151154B (en) 2017-06-27 2017-06-27 Power consumption control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710498937.XA CN109151154B (en) 2017-06-27 2017-06-27 Power consumption control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109151154A CN109151154A (en) 2019-01-04
CN109151154B true CN109151154B (en) 2021-03-09

Family

ID=64804932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710498937.XA Active CN109151154B (en) 2017-06-27 2017-06-27 Power consumption control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109151154B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116233989B (en) * 2023-05-10 2023-09-22 荣耀终端有限公司 Control method and equipment for network connection

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707789A (en) * 2012-04-28 2012-10-03 厦门市凌拓通信科技有限公司 Method for saving power for mobile data card based on traffic monitoring
CN104540176A (en) * 2015-01-12 2015-04-22 深圳市中兴移动通信有限公司 Access method of wireless network, device and terminal
CN106455027A (en) * 2016-10-27 2017-02-22 广东欧珀移动通信有限公司 Network standard adjustment method and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE49491E1 (en) * 2012-06-08 2023-04-11 Samsung Electronics Co., Ltd. Method and system for selective protection of data exchanged between user equipment and network
US8971194B2 (en) * 2012-10-29 2015-03-03 At&T Intellectual Property I, L.P. Controlling wireless transition timers based on application and content
CN105637919A (en) * 2013-06-11 2016-06-01 七网络有限责任公司 Optimizing keepalive and other background traffic in a wireless network
CN104811930B (en) * 2015-05-19 2018-09-11 广东小天才科技有限公司 A kind of method for controlling network flow and system of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707789A (en) * 2012-04-28 2012-10-03 厦门市凌拓通信科技有限公司 Method for saving power for mobile data card based on traffic monitoring
CN104540176A (en) * 2015-01-12 2015-04-22 深圳市中兴移动通信有限公司 Access method of wireless network, device and terminal
CN106455027A (en) * 2016-10-27 2017-02-22 广东欧珀移动通信有限公司 Network standard adjustment method and mobile terminal

Also Published As

Publication number Publication date
CN109151154A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN108900231B (en) Dynamic antenna adjustment method and related product
CN108834132B (en) Data transmission method and equipment and related medium product
CN106445596B (en) Method and device for managing setting items
CN107612643B (en) Channel detection method and channel detection equipment
US20170097725A1 (en) Device and method for starting mobile terminal application and mobile terminal
CN108337533B (en) Video compression method and device
CN108881778B (en) Video output method based on wearable device and wearable device
CN111371705B (en) Download task execution method and electronic device
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN110099434B (en) Power adjustment method, terminal equipment and computer readable storage medium
CN107317828B (en) File downloading method and device
CN107635277B (en) Power saving management method of terminal equipment of Internet of things and terminal equipment of Internet of things
CN106454953B (en) Flow control method, device and terminal
CN106815078B (en) Memory control method and equipment
CN110277097B (en) Data processing method and related equipment
CN109450508B (en) Antenna determination method and device and mobile terminal
WO2014201912A1 (en) Method, system and computer-readable storage medium for reducing data transmission delay
CN109151154B (en) Power consumption control method and mobile terminal
CN107894958B (en) Junk information cleaning method, terminal, server and computer readable storage medium
CN108228357B (en) Memory cleaning method and mobile terminal
CN111314900B (en) Wireless connection method, wireless connection device and mobile terminal
CN110767950B (en) Charging method, charging device, terminal equipment and computer readable storage medium
CN109831771B (en) Bluetooth searching method and device, mobile terminal and storage medium
CN107864294B (en) Do not disturb mode starting method and mobile terminal
CN108039151B (en) Backlight adjusting method, backlight adjusting equipment, mobile terminal and computer 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