CN112449409B - Power control method of mobile terminal and power control device of mobile terminal - Google Patents

Power control method of mobile terminal and power control device of mobile terminal Download PDF

Info

Publication number
CN112449409B
CN112449409B CN201910816890.6A CN201910816890A CN112449409B CN 112449409 B CN112449409 B CN 112449409B CN 201910816890 A CN201910816890 A CN 201910816890A CN 112449409 B CN112449409 B CN 112449409B
Authority
CN
China
Prior art keywords
network
service
established
mobile terminal
network connection
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
CN201910816890.6A
Other languages
Chinese (zh)
Other versions
CN112449409A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910816890.6A priority Critical patent/CN112449409B/en
Publication of CN112449409A publication Critical patent/CN112449409A/en
Application granted granted Critical
Publication of CN112449409B publication Critical patent/CN112449409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • 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 present disclosure relates to a power control method of a mobile terminal and a power control apparatus of a mobile terminal. The mobile terminal supports a plurality of network modes, and the power control method of the mobile terminal comprises the following steps: acquiring business capability and power consumption information corresponding to various network systems; acquiring service requirements of an application program to be connected with a network to be established; matching the service requirement of the network connection to be established with the service capacity and the power consumption information corresponding to various network systems; and selecting a network system corresponding to the service capacity meeting the service requirement of the network connection to be established so as to achieve the power control of the mobile terminal. According to the network system matching method and device, network systems corresponding to service capacity and power consumption information are matched according to the service requirements of the network connection to be established by the application program of the mobile terminal, so that the network systems can be dynamically and intelligently adjusted in real time, and user experience is improved; in addition, the power of the mobile terminal can be controlled, the power consumption of the terminal is reduced, and the continuous endurance of the terminal is ensured.

Description

Power control method of mobile terminal and power control device of mobile terminal
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a power control method of a mobile terminal and a power control device of the mobile terminal.
Background
In the related art, power consumption values are defined for different signal strengths of each network system supported by the mobile terminal. Along with the continuous movement of the mobile terminal during use, a proper network system is selected according to the change of the current network environment parameters and the corresponding power consumption value. The network type switching method is mainly used for switching according to network environment factors, and can possibly cause frequent switching of the network type and influence user experience. In addition, under the condition that the network system with lower network speed can meet the requirements of the mobile terminal, the mobile terminal can continuously work under the network system with higher network speed, and the power consumption of the mobile terminal can be increased.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a power control method of a mobile terminal and a power control apparatus of the mobile terminal.
According to a first aspect of the present disclosure, there is provided a power control method of a mobile terminal, the mobile terminal supporting a plurality of network systems, the method comprising: acquiring business capability and power consumption information corresponding to various network systems; acquiring service requirements of an application program to be connected with a network to be established; matching the service requirement of the network connection to be established with the service capacity and the power consumption information corresponding to various network systems; and selecting a network system corresponding to the service capacity meeting the service requirement of the network connection to be established so as to achieve the power control of the mobile terminal.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of a mobile terminal, includes: judging whether a plurality of network systems corresponding to the service capacity meeting the service requirement of the network connection to be established are provided; when the network system corresponding to the service capability meeting the service requirement of the network connection to be established is a plurality of network systems, the network system with the lowest power in the network systems is selected so as to achieve the power control of the mobile terminal.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: and acquiring communication protocol data information of the network connection to be established by the application program, wherein the communication protocol data information comprises header information of a hypertext transfer protocol.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the request data volume and the response data volume in the header information of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capacity and the power consumption information corresponding to a plurality of network modes comprises the following steps: and calculating the accumulated value of the request data volume and the response data volume, and matching the accumulated value with the communication data volume intervals corresponding to the multiple network systems, wherein the service capacity corresponding to the multiple network systems comprises the communication data volume intervals corresponding to the multiple network systems.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the data type of the transmission data in the header information of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capability and the power consumption information corresponding to a plurality of network modes comprises the following steps: and matching the data type with the first data type and the second data type corresponding to the multiple network modes, wherein the service capability corresponding to the multiple network modes comprises the first data type and the second data type corresponding to the multiple network modes.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: and selecting a network system corresponding to the first data type when at least one data type in the data types is matched with the first data type, wherein the first data type comprises a video data type.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the request data volume and the response data volume in the header information of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capacity and the power consumption information corresponding to a plurality of network modes comprises the following steps: and acquiring the time when the transmission of the accumulated values of the request data volume and the response data volume is completed, calculating the ratio of the accumulated values of the request data volume and the response data volume to the time, and matching the ratio with the network speed interval corresponding to the current network system of the mobile terminal, wherein the service capacity corresponding to the multiple network systems comprises the network speed interval corresponding to the multiple network systems.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: when the ratio is smaller than the lower limit value of the network speed interval corresponding to the current network system of the mobile terminal, selecting a network system with higher network speed than the current network system of the mobile terminal.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the connection quantity of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capability and the power consumption information corresponding to the multiple network systems comprises the following steps: and matching the connection quantity with the connection quantity intervals of the network connection corresponding to the multiple network modes, wherein the service capacity corresponding to the multiple network modes comprises the communication data volume intervals corresponding to the multiple network modes.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the obtaining a transport layer protocol used by an application program to establish network connection, and matching the service requirement of the network connection to the service capability and the power consumption information corresponding to a plurality of network systems comprises: matching the transport layer protocol with a first transport layer protocol and a second transport layer protocol corresponding to a plurality of network modes, wherein the service capability corresponding to the plurality of network modes comprises the first transport layer protocol and the second transport layer protocol corresponding to the plurality of network modes.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: when at least one of the transport layer protocols matches a first transport layer protocol, selecting a network format corresponding to the first transport layer protocol, wherein the first transport layer protocol comprises a user datagram protocol.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: when the current network system of the mobile terminal is the same as the network system corresponding to the service capability meeting the service requirement of the network connection to be established, the current network system of the mobile terminal is maintained.
According to a second aspect of the present disclosure, there is provided a power control apparatus of a mobile terminal supporting a plurality of network systems, the apparatus comprising: the service capability and power consumption information acquisition module is configured to acquire service capability and power consumption information corresponding to various network systems; the service demand acquisition module is configured to acquire the service demand of the network connection to be established by the application program; the matching module is configured to match the service requirements of the network connection to be established with the service capacity and the power consumption information corresponding to the multiple network systems; and the power control module is configured to select a network system corresponding to the service capability meeting the service requirement of the network connection to be established so as to achieve the power control of the mobile terminal.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of a mobile terminal, includes: judging whether a plurality of network systems corresponding to the service capacity meeting the service requirement of the network connection to be established are provided; when the network system corresponding to the service capability meeting the service requirement of the network connection to be established is a plurality of network systems, the network system with the lowest power in the network systems is selected so as to achieve the power control of the mobile terminal.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: and acquiring communication protocol data information of the network connection to be established by the application program, wherein the communication protocol data information comprises header information of a hypertext transfer protocol.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the request data volume and the response data volume in the header information of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capacity and the power consumption information corresponding to a plurality of network modes comprises the following steps: and calculating the accumulated value of the request data volume and the response data volume, and matching the accumulated value with the communication data volume intervals corresponding to the multiple network systems, wherein the service capacity corresponding to the multiple network systems comprises the communication data volume intervals corresponding to the multiple network systems.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the data type of the transmission data in the header information of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capability and the power consumption information corresponding to a plurality of network modes comprises the following steps: and matching the data type with the first data type and the second data type corresponding to the multiple network modes, wherein the service capability corresponding to the multiple network modes comprises the first data type and the second data type corresponding to the multiple network modes.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: and selecting a network system corresponding to the first data type when at least one data type in the data types is matched with the first data type, wherein the first data type comprises a video data type.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the request data volume and the response data volume in the header information of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capacity and the power consumption information corresponding to a plurality of network modes comprises the following steps: and acquiring the time when the transmission of the accumulated values of the request data volume and the response data volume is completed, calculating the ratio of the accumulated values of the request data volume and the response data volume to the time, and matching the ratio with the network speed interval corresponding to the current network system of the mobile terminal, wherein the service capacity corresponding to the multiple network systems comprises the network speed interval corresponding to the multiple network systems.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: when the ratio is smaller than the lower limit value of the network speed interval corresponding to the current network system of the mobile terminal, selecting a network system with higher network speed than the current network system of the mobile terminal.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the connection quantity of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capability and the power consumption information corresponding to the multiple network systems comprises the following steps: and matching the connection quantity with the connection quantity intervals of the network connection corresponding to the multiple network modes, wherein the service capacity corresponding to the multiple network modes comprises the communication data volume intervals corresponding to the multiple network modes.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the obtaining a transport layer protocol used by an application program to establish network connection, and matching the service requirement of the network connection to the service capability and the power consumption information corresponding to a plurality of network systems comprises: matching the transport layer protocol with a first transport layer protocol and a second transport layer protocol corresponding to a plurality of network modes, wherein the service capability corresponding to the plurality of network modes comprises the first transport layer protocol and the second transport layer protocol corresponding to the plurality of network modes.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: when at least one of the transport layer protocols matches a first transport layer protocol, selecting a network format corresponding to the first transport layer protocol, wherein the first transport layer protocol comprises a user datagram protocol.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: when the current network system of the mobile terminal is the same as the network system corresponding to the service capability meeting the service requirement of the network connection to be established, the current network system of the mobile terminal is maintained.
According to a third aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer-executable instructions which, when executed by a processor, perform any of the methods described above.
According to a fourth aspect of the present disclosure, there is provided an electronic device, comprising: a memory configured to store instructions; and a processor configured to invoke the instructions to perform any of the methods described above.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: according to the network system matching method and device, network systems corresponding to service capacity and power consumption information are matched according to the service requirements of the network connection to be established by the application program of the mobile terminal, so that the network systems can be dynamically and intelligently adjusted in real time, and user experience is improved; in addition, the power of the mobile terminal can be controlled, the power consumption of the terminal is reduced, and the continuous endurance of the terminal is ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a power control method of a mobile terminal according to a first exemplary embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a power control method of a mobile terminal according to a second exemplary embodiment of the present disclosure;
fig. 3 is a block diagram illustrating a power control apparatus of a mobile terminal according to a third exemplary embodiment of the present disclosure;
fig. 4 is a block diagram illustrating an apparatus 400 according to a fourth exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The technical solutions of the exemplary embodiments of the present disclosure may be applied to various data processing communication systems. The communication system includes a mobile terminal, also called user equipment UE, mobile station MS, etc., which is a device that provides voice and/or data connection to a user, or a chip provided in the device, for example, a handheld device, an in-vehicle device, etc. having a wireless connection function. Examples of mobile terminals may include, for example: a mobile phone, a tablet computer, a notebook computer, a palm computer, a mobile internet device MID, a wearable device, a virtual reality VR device, an augmented reality AR device, a wireless terminal in industrial control, a wireless terminal in unmanned operation, a wireless terminal in teleoperation, a wireless terminal in smart grid, a wireless terminal in transportation security, a wireless terminal in smart city, a wireless terminal in smart home, and the like, but the disclosure is not limited thereto.
The solution provided by the present disclosure will be described in detail below.
Fig. 1 is a flowchart illustrating a power control method of a mobile terminal according to a first exemplary embodiment of the present disclosure. Referring to fig. 1, the power control method of the mobile terminal includes steps S110 to S140. In the first exemplary embodiment, a smart phone is taken as an example of a mobile terminal.
In step S110, service capability and power consumption information corresponding to a plurality of network formats are obtained.
In some embodiments, for a smartphone terminal, multiple network formats are supported, including: 2G network, 3G network, 4G network, 5G network. However, the above is merely an example, and the present disclosure is not limited thereto. With the development of technology, the network system of the present disclosure may also include various other types of network systems with higher network levels (e.g., faster data transmission rates or more functions), such as 6G, 7G, etc.
In some embodiments, the user identification card of the smart phone terminal is parsed, so that all network systems supported by the user identification card can be obtained.
In some embodiments, the service capabilities corresponding to the multiple network formats include: various network types can provide a mobile terminal with a large mobile data transmission amount, a mobile terminal with a large mobile data transmission rate, a type of transmission protocol supported, and the like. However, the above is merely an example, and the present disclosure is not limited thereto.
For each network system, the mobile terminal has corresponding power consumption. At present, when the mobile terminal is in a 5G network mode, the power consumption is relatively large; when the mobile terminal is in a network system of 4G or below, power consumption is relatively small.
In step S120, the service requirement of the application to establish the network connection is obtained.
In some embodiments, in a mobile terminal such as a smart phone, various types of applications, also referred to as APP (application), are run. When the application program establishes network connection, a network library provided by an operating system of the terminal and used for APP connection network, for example, a network library provided by Android, such as HttpUrlConnection, okHttp, can be called. In an example, an application may set relevant parameters in accordance with the hypertext transfer protocol (HTTP, hyper Text Transfer Protocol) when establishing a network connection, thereby establishing network communication with a server.
In some embodiments, the business requirements of the network connection established by the application program include: the application expects how much data will be sent to the server; the server expects how much data volume will be returned to the terminal; how many application programs in the same terminal respectively establish how many communication channels to communicate with the server; the application program establishes a transmission layer protocol of which type is used for communication with the server; etc. However, the above is merely an example, and the present disclosure is not limited thereto. The traffic requirements of the network connection established by the application may also include any other suitable traffic requirements.
In step S130, the service requirements of the network connection to be established are matched with the service capabilities and power consumption information corresponding to the multiple network systems.
In some embodiments, corresponding business capabilities may be preset for each business requirement. In an example, when a plurality of application programs respectively establish a plurality of communication channels in the same terminal to communicate with a plurality of servers, the total number of network connections established by all the application programs in the terminal can be counted in real time. For example, when the traffic demand is the total number of network connections established by the application, the traffic capability may be: each section of the total number of network connections corresponds to each network system, respectively. In this way, the service requirements can be matched with preset service capabilities corresponding to respective network systems, so as to match what network system the total number of current network connections corresponds to. However, the above is merely an example, and the present disclosure is not limited thereto. The service capability may be variably preset according to various service requirements.
In step S140, a network system corresponding to the service capability satisfying the service requirement of the network connection to be established is selected to achieve the power control of the mobile terminal.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of a mobile terminal, includes: judging whether a plurality of network systems corresponding to the service capacity meeting the service requirement of the network connection to be established are provided; when the network system corresponding to the service capability meeting the service requirement of the network connection to be established is a plurality of network systems, the network system with the lowest power in the network systems is selected so as to achieve the power control of the mobile terminal.
In the first exemplary embodiment of the present disclosure, network formats corresponding to service capability and power consumption information are matched according to service requirements of a network connection to be established by an application program of a mobile terminal, so that real-time, dynamic and intelligent adjustment of the network formats can be realized, and user experience is improved.
In the first exemplary embodiment of the present disclosure, the power of the mobile terminal can be controlled, the power consumption of the terminal is reduced, and the continuous endurance of the terminal is ensured.
Fig. 2 is a flowchart illustrating a power control method of a mobile terminal according to a second exemplary embodiment of the present disclosure. Referring to fig. 2, the power control method of the mobile terminal includes steps S210 to S240.
In step S210, service capability and power consumption information corresponding to a plurality of network formats are obtained.
In step S220, communication protocol data information of the application program to establish the network connection is acquired, wherein the communication protocol data information includes header information of the hypertext transfer protocol.
In some embodiments, when the APP establishes a network connection using the HTTP protocol, a network interface needs to be invoked to set related parameters, where the HTTP header information may include a Range field and a Content-Range field. The Range field indicates the size of the amount of data that the APP transmits to the server, while the Content-Range field indicates the size of the amount of data that the server expects to transmit back to the APP. In addition, the HTTP header information may further include an Accept field, where the Accept field indicates a data type of the APP request transmission. In other words, the network system switching method of the terminal of the second exemplary embodiment may acquire values of the Range field and the Content-Range field in the HTTP header information when the APP establishes a network connection, thereby acquiring information of the request data amount and the response data amount represented by the two fields; or, the value of the Accept field in the HTTP header information when the APP establishes the network connection may be acquired, so as to acquire the information of the data type represented by the field.
In step S230, the service requirements of the network connection to be established are matched with the service capabilities and power consumption information corresponding to the multiple network systems.
In step S240, a network system corresponding to the service capability satisfying the service requirement of the network connection to be established is selected to achieve the power control of the mobile terminal.
In the second exemplary embodiment of the present disclosure, the network system is switched by acquiring the corresponding field in the HTTP header information, which is simple and feasible, easy to implement, occupies less system resources of the terminal, and has good applicability.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the request data volume and the response data volume in the header information of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capacity and the power consumption information corresponding to a plurality of network modes comprises the following steps: and calculating the accumulated value of the request data volume and the response data volume, and matching the accumulated value with the communication data volume intervals corresponding to the multiple network systems, wherein the service capacity corresponding to the multiple network systems comprises the communication data volume intervals corresponding to the multiple network systems.
In an example, the cumulative value of the request data amount and the response data amount of all APP's in the same terminal to establish a network connection may be calculated in real time to obtain the total data amount. In other words, each time one network connection request is added, the request data amount and the response data amount of the network connection are added to the total data amount; each time a network connection is completed, the request data volume and the response data volume for that network connection are subtracted from the total data volume. In this way, the total data volume of the network connection in real time is obtained.
In an example, after the total data volume is calculated, the total data volume is matched with a preset individual communication data volume interval, wherein the preset individual communication data volume interval corresponds to an individual network system. When the total data volume falls into a certain communication data volume interval, it means that the total data volume matches with the network system corresponding to the communication data volume interval.
In the above embodiment, the network system is switched by acquiring the transmission data amount of the network connection to be established by the APP, so that the matching degree between the network system and the network speed required by the terminal is high, and the terminal is in the optimal network speed in real time, so that the user experience is good.
In the above embodiment, the switching of network modes is performed according to the transmission data amount of the network connection to be established by the APP, so that the power of the mobile terminal can be controlled, the network mode which causes the terminal to be in the most power-consuming mode for a long time is avoided, the power consumption of the terminal is reduced, and the long-time cruising of the terminal is ensured.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the data type of the transmission data in the header information of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capability and the power consumption information corresponding to a plurality of network modes comprises the following steps: and matching the data type with the first data type and the second data type corresponding to the multiple network modes, wherein the service capability corresponding to the multiple network modes comprises the first data type and the second data type corresponding to the multiple network modes.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: and selecting a network system corresponding to the first data type when at least one data type in the data types is matched with the first data type, wherein the first data type comprises a video data type.
In an example, the header information includes a data type of transmission data, and matching the service requirement with a preset service capability corresponding to the network system includes: and matching the data type with a preset first data type and a preset second data type corresponding to the network system.
In an example, when at least one of the data types matches a first data type, switching a current network format of the terminal to a network format corresponding to the first data type, wherein the first data type includes a video data type.
In an example, the first data type includes a video data type, and the second data type includes a text data type, a web page data type, and a picture data type. However, this is merely an example, and the present disclosure is not limited thereto. The first data type may also include any other traffic consuming data type and the second data type may also include any other less traffic data type.
In an example, when the APP establishes a network connection using the HTTP protocol, a network interface setting related parameter needs to be invoked, where the HTTP header information includes an Accept field. The Accept field indicates the data type the APP requests to transmit.
In an example, when an APP establishes a network connection, the network system switching method of the terminal of the present disclosure may monitor an Accept field included in HTTP header information used by the network connection, and if only one Accept field is monitored to be matched with a first data type (the first data type may be a video data type), it indicates that the network connection to be established by the terminal is a traffic consumption service, so as to switch the network system of the terminal to a network system corresponding to the first data type, that is, a network system with a higher network speed (for example, a 5G network system).
In the above embodiment, the network system is switched by acquiring the transmission data type of the network connection to be established by the APP, so that whether the terminal needs to transmit the data consuming the traffic or not can be rapidly judged, and the network system is switched to the network system with higher network speed, so that the user experience is good.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the request data volume and the response data volume in the header information of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capacity and the power consumption information corresponding to a plurality of network modes comprises the following steps: and acquiring the time when the transmission of the accumulated values of the request data volume and the response data volume is completed, calculating the ratio of the accumulated values of the request data volume and the response data volume to the time, and matching the ratio with the network speed interval corresponding to the current network system of the mobile terminal, wherein the service capacity corresponding to the multiple network systems comprises the network speed interval corresponding to the multiple network systems.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: when the ratio is smaller than the lower limit value of the network speed interval corresponding to the current network system of the mobile terminal, selecting a network system with higher network speed than the current network system of the mobile terminal.
In an example, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of a mobile terminal, includes: when the ratio is greater than the upper limit value of the network speed interval of the current network system of the terminal, the current network system of the terminal is switched to the network system with lower network speed than the current network system.
In an example, for a current network system, an interval value about a network speed may be set, and if the monitored transmission data amount is not completed within an expected time under the current network system, it indicates that the network speed of the current network system cannot meet the requirement of data transmission, and the network system with a higher network speed may be switched. And vice versa.
In the above embodiment, by monitoring the network speed in real time, whether the current network system is suitable for the current data transmission requirement can be accurately reflected, and then the network system is switched to a suitable network system in real time, so that the power control of the mobile terminal is achieved.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the connection quantity of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capability and the power consumption information corresponding to the multiple network systems comprises the following steps: and matching the connection quantity with the connection quantity intervals of the network connection corresponding to the multiple network modes, wherein the service capacity corresponding to the multiple network modes comprises the communication data volume intervals corresponding to the multiple network modes.
In an example, each APP may establish one network connection or multiple network connections, each of which may communicate data separately with a different server. For example, when the APP calls the network library interface to establish a connection, the power control method of the mobile terminal of the present disclosure may monitor a newly-built network connection, and the number of connections is increased by one; when the APP finishes data transmission, the network library interface is called to disconnect, and the connection quantity is reduced by one.
In an example, after obtaining the number of connections of the application to be established for the network connection, the number of connections is matched with a preset number of connection intervals, where the preset number of connection intervals respectively correspond to a plurality of network systems. When the connection number falls into a certain connection number interval, it means that the connection number matches with the network system corresponding to the connection number interval.
In the above embodiment, the network system is switched by acquiring the number of network connections to be established by the application program in the same terminal in real time, so that the data transmission amount to be required by the terminal can be reasonably determined, and the network system suitable for the terminal is reasonably switched to achieve the power control of the mobile terminal.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: when at least one of the transport layer protocols matches a first transport layer protocol, selecting a network format corresponding to the first transport layer protocol, wherein the first transport layer protocol comprises a user datagram protocol.
In an example, the first transport layer protocol comprises a user datagram protocol and the second transport layer protocol comprises a transport control protocol.
In an example, when the APP establishes a network connection, the type of transport layer protocol used is determined. Transport layer protocols include a transport control protocol (Transmission Control Protocol, also known as the TCP protocol) and a user datagram protocol (User Datagram Protocol, also known as the UDP protocol). In general, for general traffic with smaller traffic, the TCP protocol may be used; for traffic consuming traffic, such as video telephony traffic, the UDP protocol may be used.
In an example, when an APP establishes a network connection, the power control method of the mobile terminal of the present disclosure may monitor a transport layer protocol used by the network connection, and if only one transport layer protocol is monitored to match a first transport layer protocol (the first transport layer protocol may be a user datagram protocol), it indicates that the network connection of the terminal is a traffic consumption service, so as to switch the network system of the terminal to a network system corresponding to the first transport layer protocol, that is, a network system with a higher network speed (for example, a 5G network system).
In the above embodiment, the network system is switched by acquiring the transport layer protocol used by the application program to establish the network connection in the same terminal in real time, so that the data transmission quantity required by the terminal can be accurately determined, and the network system suitable for the current requirement of the terminal can be accurately switched, so that the terminal can realize the network connection consuming flow at the optimal network speed, and the satisfaction degree of the user on the network speed is improved.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: when the current network system of the mobile terminal is the same as the network system corresponding to the service capability meeting the service requirement of the network connection to be established, the current network system of the mobile terminal is maintained.
In an example, when the current network system is monitored to be suitable, frequent switching of the network system is avoided, so that power consumption can be reduced.
Fig. 3 is a block diagram illustrating a power control apparatus of a mobile terminal according to a third exemplary embodiment of the present disclosure.
Referring to fig. 3, the mobile terminal supports a plurality of network systems, and a power control apparatus 1000 of the mobile terminal includes: a service capability and power consumption information obtaining module 110 configured to obtain service capability and power consumption information corresponding to a plurality of network systems; the method comprises the steps of carrying out a first treatment on the surface of the A service requirement obtaining module 120 configured to obtain a service requirement of the application to be connected to the network; the matching module 130 is configured to match the service requirement of the network connection to be established with the service capability and the power consumption information corresponding to the multiple network systems; the power control module 140 is configured to select a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal.
In the third exemplary embodiment of the present disclosure, real-time, dynamic and intelligent adjustment of network system can be achieved, and user experience is improved; the power of the mobile terminal can be controlled, the power consumption of the terminal is reduced, and the continuous endurance of the terminal is ensured.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of a mobile terminal, includes: judging whether a plurality of network systems corresponding to the service capacity meeting the service requirement of the network connection to be established are provided; when the network system corresponding to the service capability meeting the service requirement of the network connection to be established is a plurality of network systems, the network system with the lowest power in the network systems is selected so as to achieve the power control of the mobile terminal.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: and acquiring communication protocol data information of the network connection to be established by the application program, wherein the communication protocol data information comprises header information of a hypertext transfer protocol.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the request data volume and the response data volume in the header information of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capacity and the power consumption information corresponding to a plurality of network modes comprises the following steps: and calculating the accumulated value of the request data volume and the response data volume, and matching the accumulated value with the communication data volume intervals corresponding to the multiple network systems, wherein the service capacity corresponding to the multiple network systems comprises the communication data volume intervals corresponding to the multiple network systems.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the data type of the transmission data in the header information of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capability and the power consumption information corresponding to a plurality of network modes comprises the following steps: and matching the data type with the first data type and the second data type corresponding to the multiple network modes, wherein the service capability corresponding to the multiple network modes comprises the first data type and the second data type corresponding to the multiple network modes.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: and selecting a network system corresponding to the first data type when at least one data type in the data types is matched with the first data type, wherein the first data type comprises a video data type.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the request data volume and the response data volume in the header information of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capacity and the power consumption information corresponding to a plurality of network modes comprises the following steps: and acquiring the time when the transmission of the accumulated values of the request data volume and the response data volume is completed, calculating the ratio of the accumulated values of the request data volume and the response data volume to the time, and matching the ratio with the network speed interval corresponding to the current network system of the mobile terminal, wherein the service capacity corresponding to the multiple network systems comprises the network speed interval corresponding to the multiple network systems.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: when the ratio is smaller than the lower limit value of the network speed interval corresponding to the current network system of the mobile terminal, selecting a network system with higher network speed than the current network system of the mobile terminal.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the method for obtaining the connection quantity of the network connection to be established by the application program, and matching the service requirement of the network connection to the service capability and the power consumption information corresponding to the multiple network systems comprises the following steps: and matching the connection quantity with the connection quantity intervals of the network connection corresponding to the multiple network modes, wherein the service capacity corresponding to the multiple network modes comprises the communication data volume intervals corresponding to the multiple network modes.
In some embodiments, obtaining the service requirement of the application to establish the network connection includes: the obtaining a transport layer protocol used by an application program to establish network connection, and matching the service requirement of the network connection to the service capability and the power consumption information corresponding to a plurality of network systems comprises: matching the transport layer protocol with a first transport layer protocol and a second transport layer protocol corresponding to a plurality of network modes, wherein the service capability corresponding to the plurality of network modes comprises the first transport layer protocol and the second transport layer protocol corresponding to the plurality of network modes.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: when at least one of the transport layer protocols matches a first transport layer protocol, selecting a network format corresponding to the first transport layer protocol, wherein the first transport layer protocol comprises a user datagram protocol.
In some embodiments, selecting a network format corresponding to a service capability that meets a service requirement of a network connection to be established, so as to achieve power control of the mobile terminal includes: when the current network system of the mobile terminal is the same as the network system corresponding to the service capability meeting the service requirement of the network connection to be established, the current network system of the mobile terminal is maintained.
Furthermore, the present disclosure provides a non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, perform the methods described in the foregoing various exemplary embodiments and implementations.
In addition, the present disclosure also provides an electronic device, including: a memory configured to store instructions; and a processor configured to invoke the instructions to perform the methods described in the various exemplary embodiments and implementations described above.
Fig. 4 is a block diagram illustrating an apparatus 400 according to a fourth exemplary embodiment of the present disclosure. For example, the apparatus 400 may be provided as a terminal. For example, apparatus 400 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 4, apparatus 400 may include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, an audio component 410, an input/output (I/O) interface 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls the overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
Memory 404 is configured to store various types of data to support operations at apparatus 400. Examples of such data include instructions for any application or method operating on the apparatus 400, contact data, phonebook data, messages, pictures, videos, and the like. The memory 404 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 406 provides power to the various components of the apparatus 400. The power supply components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen between the device 400 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 further includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 414 includes one or more sensors for providing status assessment of various aspects of the apparatus 400. For example, the sensor assembly 414 may detect the on/off state of the device 400, the relative positioning of the components, such as the display and keypad of the device 400, the sensor assembly 414 may also detect the change in position of the device 400 or a component of the device 400, the presence or absence of user contact with the device 400, the orientation or acceleration/deceleration of the device 400, and the change in temperature of the device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate communication between the apparatus 400 and other devices in a wired or wireless manner. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 416 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 404, including instructions executable by processor 420 of apparatus 400 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In the power control method and the power control device of the mobile terminal, the network system of the terminal is switched according to the service requirement of the network connection established by the application program of the terminal, so that the network system can be dynamically and intelligently regulated in real time, and the user experience is improved.
In the power control method and the power control device of the mobile terminal, the power of the mobile terminal can be controlled, the power consumption of the terminal is reduced, and the continuous endurance of the terminal is ensured.
In the power control method and the power control device of the mobile terminal, the network system is switched by acquiring the corresponding field in the HTTP header information, so that the method and the device are simple and feasible, are easy to realize, occupy less system resources of the terminal, and have good applicability.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (24)

1. A power control method for a mobile terminal, wherein the mobile terminal supports a plurality of network systems, the method comprising:
acquiring service capacity and power consumption information corresponding to the multiple network systems;
acquiring service requirements of an application program to be connected with a network to be established;
matching the service requirements of the network connection to be established with the service capacity and the power consumption information corresponding to the multiple network systems;
selecting a network system corresponding to the service capability meeting the service requirement of the network connection to be established so as to achieve the power control of the mobile terminal;
wherein the selecting a network format corresponding to the service capability meeting the service requirement of the network connection to be established to achieve power control of the mobile terminal includes:
judging whether a plurality of network systems corresponding to the service capacity meeting the service requirement of the network connection to be established are provided;
When the network system corresponding to the service capability meeting the service requirement of the network connection to be established is a plurality of network systems, selecting the network system with the lowest power in the network systems so as to achieve the power control of the mobile terminal;
the obtaining the service requirement of the application program to establish the network connection includes:
acquiring communication protocol data information of the application program to be connected with a network; or (b)
Acquiring the number of the network connections to be established by the application program; or (b)
And acquiring a transport layer protocol used by the application program to establish network connection.
2. The method of claim 1, wherein the communication protocol data information comprises header information of a hypertext transfer protocol.
3. The method of claim 2, wherein obtaining the traffic demand of the application to establish the network connection comprises: acquiring the request data volume and the response data volume in the header information of the network connection to be established by the application program,
the matching of the service requirement of the network connection to be established with the service capability and the power consumption information corresponding to the plurality of network systems comprises the following steps:
calculating an accumulated value of the request data amount and the response data amount,
Matching the accumulated value with the communication data volume intervals corresponding to the network systems,
the service capacity corresponding to the multiple network modes comprises a communication data volume interval corresponding to the multiple network modes.
4. The method of claim 2, wherein the step of determining the position of the substrate comprises,
the obtaining the service requirement of the application program to establish the network connection comprises the following steps: acquiring the data type of transmission data in the header information of the network connection to be established by the application program,
the matching of the service requirement of the network connection to be established with the service capability and the power consumption information corresponding to the plurality of network systems comprises the following steps: matching the data type with a first data type and a second data type corresponding to the plurality of network modes,
the service capability corresponding to the multiple network modes comprises a first data type and a second data type corresponding to the multiple network modes.
5. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
selecting a network format corresponding to the service capability meeting the service requirement of the network connection to be established, so as to achieve power control of the mobile terminal, wherein the method comprises the following steps: when at least one of the data types matches the first data type, selecting a network format corresponding to the first data type,
Wherein the first data type comprises a video data type.
6. The method of claim 2, wherein the step of determining the position of the substrate comprises,
the obtaining the service requirement of the application program to establish the network connection comprises the following steps: acquiring the request data volume and the response data volume in the header information of the network connection to be established by the application program,
the matching of the service requirement of the network connection to be established with the service capability and the power consumption information corresponding to the plurality of network systems comprises the following steps:
acquiring a time when transmission of the cumulative value of the request data amount and the response data amount is completed,
calculating a ratio of the cumulative value of the request data amount and the response data amount to the time,
matching the ratio with a network speed interval corresponding to the current network system of the mobile terminal,
the service capacity corresponding to the multiple network modes comprises network speed intervals corresponding to the multiple network modes.
7. The method of claim 6, wherein the step of providing the first layer comprises,
selecting a network format corresponding to the service capability meeting the service requirement of the network connection to be established, so as to achieve power control of the mobile terminal, wherein the method comprises the following steps: and when the ratio is smaller than the lower limit value of the network speed interval corresponding to the current network system of the mobile terminal, selecting a network system with higher network speed than the current network system of the mobile terminal.
8. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the matching of the service requirement of the network connection to be established with the service capability and the power consumption information corresponding to the plurality of network systems comprises the following steps: matching the connection number with the connection number interval of the network connection corresponding to the plurality of network modes,
the service capacity corresponding to the multiple network modes comprises a communication data volume interval corresponding to the multiple network modes.
9. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the matching of the service requirement of the network connection to be established with the service capability and the power consumption information corresponding to the plurality of network systems comprises the following steps: matching the transport layer protocol with a first transport layer protocol and a second transport layer protocol corresponding to the plurality of network modes,
the service capability corresponding to the multiple network modes comprises a first transport layer protocol and a second transport layer protocol corresponding to the multiple network modes.
10. The method of claim 9, wherein the step of determining the position of the substrate comprises,
selecting a network format corresponding to the service capability meeting the service requirement of the network connection to be established, so as to achieve power control of the mobile terminal, wherein the method comprises the following steps: when at least one of the transport layer protocols matches the first transport layer protocol, selecting a network format corresponding to the first transport layer protocol,
Wherein the first transport layer protocol comprises a user datagram protocol.
11. The method of claim 1, wherein the step of determining the position of the substrate comprises,
selecting a network format corresponding to the service capability meeting the service requirement of the network connection to be established, so as to achieve power control of the mobile terminal, wherein the method comprises the following steps: and when the current network system of the mobile terminal is the same as the network system corresponding to the service capability meeting the service requirement of the network connection to be established, maintaining the current network system of the mobile terminal.
12. A power control apparatus for a mobile terminal, wherein the mobile terminal supports a plurality of network systems, the apparatus comprising:
the service capability and power consumption information acquisition module is configured to acquire service capability and power consumption information corresponding to the plurality of network systems;
the service demand acquisition module is configured to acquire the service demand of the network connection to be established by the application program;
the matching module is configured to match the service requirements of the network connection to be established with the service capacity and the power consumption information corresponding to the multiple network systems;
the power control module is configured to select a network system corresponding to the service capability meeting the service requirement of the network connection to be established so as to achieve power control of the mobile terminal;
Wherein the selecting a network format corresponding to the service capability meeting the service requirement of the network connection to be established to achieve power control of the mobile terminal includes:
judging whether a plurality of network systems corresponding to the service capacity meeting the service requirement of the network connection to be established are provided;
when the network system corresponding to the service capability meeting the service requirement of the network connection to be established is a plurality of network systems, selecting the network system with the lowest power in the network systems so as to achieve the power control of the mobile terminal;
the obtaining the service requirement of the application program to establish the network connection includes:
acquiring communication protocol data information of the application program to be connected with a network; or (b)
Acquiring the number of the network connections to be established by the application program; or (b)
And acquiring a transport layer protocol used by the application program to establish network connection.
13. The apparatus of claim 12, wherein the device comprises a plurality of sensors,
wherein the communication protocol data information includes header information of a hypertext transfer protocol.
14. The apparatus of claim 13, wherein obtaining the traffic demand for the application to establish the network connection comprises: acquiring the request data volume and the response data volume in the header information of the network connection to be established by the application program,
The matching of the service requirement of the network connection to be established with the service capability and the power consumption information corresponding to the plurality of network systems comprises the following steps:
calculating an accumulated value of the request data amount and the response data amount,
matching the accumulated value with the communication data volume intervals corresponding to the network systems,
the service capacity corresponding to the multiple network modes comprises a communication data volume interval corresponding to the multiple network modes.
15. The apparatus of claim 13, wherein the device comprises a plurality of sensors,
the obtaining the service requirement of the application program to establish the network connection comprises the following steps: acquiring the data type of transmission data in the header information of the network connection to be established by the application program,
the matching of the service requirement of the network connection to be established with the service capability and the power consumption information corresponding to the plurality of network systems comprises the following steps: matching the data type with a first data type and a second data type corresponding to the plurality of network modes,
the service capability corresponding to the multiple network modes comprises a first data type and a second data type corresponding to the multiple network modes.
16. The apparatus of claim 15, wherein the device comprises a plurality of sensors,
Selecting a network format corresponding to the service capability meeting the service requirement of the network connection to be established, so as to achieve power control of the mobile terminal, wherein the method comprises the following steps: when at least one of the data types matches the first data type, selecting a network format corresponding to the first data type,
wherein the first data type comprises a video data type.
17. The apparatus of claim 13, wherein the device comprises a plurality of sensors,
the obtaining the service requirement of the application program to establish the network connection comprises the following steps: acquiring the request data volume and the response data volume in the header information of the network connection to be established by the application program,
the matching of the service requirement of the network connection to be established with the service capability and the power consumption information corresponding to the plurality of network systems comprises the following steps:
acquiring a time when transmission of the cumulative value of the request data amount and the response data amount is completed,
calculating a ratio of the cumulative value of the request data amount and the response data amount to the time,
matching the ratio with a network speed interval corresponding to the current network system of the mobile terminal,
the service capacity corresponding to the multiple network modes comprises network speed intervals corresponding to the multiple network modes.
18. The apparatus of claim 17, wherein the device comprises a plurality of sensors,
selecting a network format corresponding to the service capability meeting the service requirement of the network connection to be established, so as to achieve power control of the mobile terminal, wherein the method comprises the following steps: and when the ratio is smaller than the lower limit value of the network speed interval corresponding to the current network system of the mobile terminal, selecting a network system with higher network speed than the current network system of the mobile terminal.
19. The apparatus of claim 12, wherein the device comprises a plurality of sensors,
the matching of the service requirement of the network connection to be established with the service capability and the power consumption information corresponding to the plurality of network systems comprises the following steps: matching the connection number with the connection number interval of the network connection corresponding to the plurality of network modes,
the service capacity corresponding to the multiple network modes comprises a communication data volume interval corresponding to the multiple network modes.
20. The apparatus of claim 12, wherein the device comprises a plurality of sensors,
the matching of the service requirement of the network connection to be established with the service capability and the power consumption information corresponding to the plurality of network systems comprises the following steps: matching the transport layer protocol with a first transport layer protocol and a second transport layer protocol corresponding to the plurality of network modes,
The service capability corresponding to the multiple network modes comprises a first transport layer protocol and a second transport layer protocol corresponding to the multiple network modes.
21. The apparatus of claim 20, wherein the device comprises a plurality of sensors,
selecting a network format corresponding to the service capability meeting the service requirement of the network connection to be established, so as to achieve power control of the mobile terminal, wherein the method comprises the following steps: when at least one of the transport layer protocols matches the first transport layer protocol, selecting a network format corresponding to the first transport layer protocol,
wherein the first transport layer protocol comprises a user datagram protocol.
22. The apparatus of claim 12, wherein the device comprises a plurality of sensors,
selecting a network format corresponding to the service capability meeting the service requirement of the network connection to be established, so as to achieve power control of the mobile terminal, wherein the method comprises the following steps: and when the current network system of the mobile terminal is the same as the network system corresponding to the service capability meeting the service requirement of the network connection to be established, maintaining the current network system of the mobile terminal.
23. A non-transitory computer-readable storage medium storing computer-executable instructions which, when executed by a processor, perform the method of any one of claims 1-11.
24. An electronic device, the electronic device comprising:
a memory configured to store instructions; and
a processor configured to invoke the instructions to perform the method of any of claims 1-11.
CN201910816890.6A 2019-08-30 2019-08-30 Power control method of mobile terminal and power control device of mobile terminal Active CN112449409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910816890.6A CN112449409B (en) 2019-08-30 2019-08-30 Power control method of mobile terminal and power control device of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910816890.6A CN112449409B (en) 2019-08-30 2019-08-30 Power control method of mobile terminal and power control device of mobile terminal

Publications (2)

Publication Number Publication Date
CN112449409A CN112449409A (en) 2021-03-05
CN112449409B true CN112449409B (en) 2023-08-04

Family

ID=74735216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910816890.6A Active CN112449409B (en) 2019-08-30 2019-08-30 Power control method of mobile terminal and power control device of mobile terminal

Country Status (1)

Country Link
CN (1) CN112449409B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072291A (en) * 2015-07-29 2015-11-18 上海智伦科技有限公司 Low power consumption mobile communication terminal system and low power consumption realization method
CN105338585A (en) * 2015-11-28 2016-02-17 广东欧珀移动通信有限公司 Network system switching method and device and terminal
CN107635261A (en) * 2017-09-18 2018-01-26 维沃移动通信有限公司 The method for handover control and mobile terminal of a kind of network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8818329B2 (en) * 2012-06-29 2014-08-26 Time Warner Cable Enterprises Llc System and method for capturing network usage data
CN105517082B (en) * 2015-11-28 2019-04-02 Oppo广东移动通信有限公司 Network formats processing method, device and terminal in a kind of communication terminal
CN105406889B (en) * 2015-11-28 2019-03-15 Oppo广东移动通信有限公司 A kind of determination method, device and mobile terminal of network formats
CN105391470B (en) * 2015-11-28 2018-05-29 广东欧珀移动通信有限公司 A kind of method for switching network, device and terminal
US10085213B1 (en) * 2017-05-15 2018-09-25 Apple Inc. Device, system, and method for a high power mode for a cellular connection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072291A (en) * 2015-07-29 2015-11-18 上海智伦科技有限公司 Low power consumption mobile communication terminal system and low power consumption realization method
CN105338585A (en) * 2015-11-28 2016-02-17 广东欧珀移动通信有限公司 Network system switching method and device and terminal
CN107635261A (en) * 2017-09-18 2018-01-26 维沃移动通信有限公司 The method for handover control and mobile terminal of a kind of network

Also Published As

Publication number Publication date
CN112449409A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
EP3226432A1 (en) Method and device for sharing media data between terminals
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
CN107480785B (en) Convolutional neural network training method and device
CN110730954A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN113783774B (en) Cross-cluster network configuration method and device, communication equipment and storage medium
EP3565374A1 (en) Region configuration method and device
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN110337825B (en) Service switching method and device
CN111385349A (en) Communication processing method, communication processing device, terminal, server and storage medium
CN110933773B (en) Link monitoring method and device
US20230180101A1 (en) Communication control method and communication control apparatus
CN110913276B (en) Data processing method, device, server, terminal and storage medium
CN110637502B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN108028810B (en) Method and device for establishing service connection
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN111343481A (en) Data sharing method and device, electronic equipment and storage medium
CN110908814A (en) Message processing method and device, electronic equipment and storage medium
CN108401518B (en) Channel coordination method and device
CN107277422B (en) Video call method, device and system
CN112449409B (en) Power control method of mobile terminal and power control device of mobile terminal
EP3751884A1 (en) System message receiving method and device, and system message transmitting method and device
CN112769677B (en) Data synchronization method, apparatus, electronic device, storage medium, and program product
CN114286425A (en) Long connection establishing system, method and device, electronic equipment and storage medium
CN114442792A (en) Method and device for adjusting operating frequency of processor and 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