CN106775866A - Mobile terminal and mobile terminal performance adjusting method and device - Google Patents

Mobile terminal and mobile terminal performance adjusting method and device Download PDF

Info

Publication number
CN106775866A
CN106775866A CN201611154937.XA CN201611154937A CN106775866A CN 106775866 A CN106775866 A CN 106775866A CN 201611154937 A CN201611154937 A CN 201611154937A CN 106775866 A CN106775866 A CN 106775866A
Authority
CN
China
Prior art keywords
mobile terminal
hardware
application
performance
configuration parameter
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.)
Pending
Application number
CN201611154937.XA
Other languages
Chinese (zh)
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.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology 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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201611154937.XA priority Critical patent/CN106775866A/en
Publication of CN106775866A publication Critical patent/CN106775866A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5044Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering hardware capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention proposes a kind of mobile terminal and mobile terminal performance adjusting method and device, including:When starting the application on mobile terminal, the configuration parameter in application configuration file is obtained;The configuration parameter includes hardware configuration attribute during loading application;According to application configuration parameter, the hardware performance of the mobile terminal is adjusted.The mobile terminal and mobile terminal performance adjusting method and device provided in the present invention, when startup is applied, according to using the configuration attribute to hardware, the performance of the corresponding hardware of Intelligent adjustment mobile terminal lifts Consumer's Experience.

Description

Mobile terminal and mobile terminal performance adjusting method and device
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of mobile terminal and mobile terminal performance adjusting method and dress Put.
Background technology
At present, the frequency of use more and more higher of the mobile terminal such as smart mobile phone, flat board, its portable sexual clorminance causes that it is more received Users favor.User plays game, chat, communication, receiving and dispatching mail etc. usually using mobile terminals such as smart mobile phone, flat boards.
User when using mobile terminal difference in functionality, or in the case of different, accordingly, it is necessary to mobile terminal has There are different performances.For example, when user plays game using mobile terminal, then needing mobile terminal to provide high-performance;Mobile terminal Under not enough power supply, then the energy consumption of mobile terminal should be reduced.At present, it is impossible to which the difference correspondence according to application adjusts mobile terminal Performance, for a user, in-convenience in use.
The content of the invention
, to provide a kind of mobile terminal and mobile terminal performance adjusting method and device, starting should for the main object of the present invention Used time, according to using the configuration attribute to hardware, the performance of the corresponding hardware of Intelligent adjustment mobile terminal lifts Consumer's Experience.
The present invention proposes a kind of mobile terminal performance adjusting method, comprises the following steps:
When starting the application on mobile terminal, the configuration parameter in application configuration file is obtained, wrapped in the configuration parameter Include hardware configuration attribute during loading application;
According to application configuration parameter, the hardware performance of the mobile terminal is adjusted.
Further, the hardware configuration attribute during loading application includes:Cpu frequency, core cpu quantity and GPU Frequency.
Further, the hardware performance of the regulation mobile terminal includes:
Cpu frequency, core cpu quantity and GPU frequencies when controlling the running of mobile terminal.
Further, it is described according to application configuration parameter, include the step of the hardware performance for adjusting the mobile terminal:
If only getting the configuration parameter in an application configuration file, the mobile terminal hardware is controlled to configure ginseng Configuration operation in number.
Further, it is described according to application configuration parameter, include the step of the hardware performance for adjusting the mobile terminal:
If getting the configuration parameter in multiple application configuration files, and it is limited in the configuration parameter of the multiple application The minimum value of hardware performance processed, obtains the greatest measure in the minimum value of limitation hardware performance in configuration parameter;
Limit the hardware of the mobile terminal and run with being not less than the greatest measure.
Further, it is described according to application configuration parameter, include the step of the hardware performance for adjusting the mobile terminal:
If getting the configuration parameter in multiple application configuration files, and it is limited in the configuration parameter of the multiple application The maximum of hardware performance processed, obtains the minimum value in the maximum of limitation hardware performance in configuration parameter;
Limit the hardware of the mobile terminal and run with being not higher than the minimum value.
Further, it is described according to application configuration parameter, include the step of the hardware performance for adjusting the mobile terminal:
If being limited respectively in getting the configuration parameter in multiple application configuration files, and the configuration parameter of each application The maximum of hardware performance processed and the minimum value of limitation hardware performance, then obtain the minimum of limitation hardware performance in configuration parameter Greatest measure in value;
Limit the hardware of the mobile terminal and run with being not less than the greatest measure.
Further, it is described start mobile terminal on application when, obtain application configuration file in configuration parameter step Suddenly include:
When starting the application on mobile terminal, solved by the yl_profiles.xml configuration files to the application Analysis, obtains the hardware configuration attribute when loading set in advance of application configuration file is applied.
Further, it is described according to application configuration parameter, include the step of the hardware performance for adjusting the mobile terminal:
According to the application configuration parameter for getting, call/dev/min_online_cpus ,/dev/cpu_freq_min ,/ Dev/max_online_cpus ,/dev/cpu_freq_max nodes, parse asking for limiting mobile terminal hardware runnability Seek attribute;
According to request attribute, the runnability of the mobile terminal hardware is limited.
Further, it is described according to request instruction, include the step of the runnability for limiting the mobile terminal hardware:
The request of limiting mobile terminal hardware runnability is processed using Qos mechanism, control the mobile terminal hardware with Attribute operation in request attribute.
Present invention also offers a kind of mobile terminal performance adjusting means, including:
Acquiring unit, for starting during the application on mobile terminal, obtains the configuration parameter in application configuration file, described Configuration parameter includes hardware configuration attribute during loading application;
Adjustment unit, for according to application configuration parameter, adjusting the hardware performance of the mobile terminal.
Further, the hardware configuration attribute during loading application includes:Cpu frequency, core cpu quantity and GPU Frequency.
Further, the hardware performance of the adjustment unit regulation mobile terminal includes:
Cpu frequency, core cpu quantity and GPU frequencies when controlling the running of mobile terminal.
Further, the adjustment unit includes:
First regulator unit, if for only getting the configuration parameter in an application configuration file, control is described Mobile terminal hardware is with the configuration operation in configuration parameter.
Further, the adjustment unit includes:
First obtains subelement, if for getting the configuration parameter in multiple application configuration files, and it is the multiple should The minimum value of limitation hardware performance is in configuration parameter, in acquisition configuration parameter in the minimum value of limitation hardware performance Greatest measure;
First limitation subelement, is run for limiting the hardware of the mobile terminal with being not less than the greatest measure.
Further, the adjustment unit includes:
Second obtains subelement, if for getting the configuration parameter in multiple application configuration files, and it is the multiple should The maximum of limitation hardware performance is in configuration parameter, in acquisition configuration parameter in the maximum of limitation hardware performance Minimum value;
Second limitation subelement, is run for limiting the hardware of the mobile terminal with being not higher than the minimum value.
Further, the adjustment unit includes:
3rd obtains subelement, if for getting the configuration parameter in multiple application configuration files, and each application Configuration parameter in be respectively limitation hardware performance maximum and limitation hardware performance minimum value, then obtain configuration parameter Greatest measure in the minimum value of middle limitation hardware performance;
3rd limitation subelement, is run for limiting the hardware of the mobile terminal with being not less than the greatest measure.
Further, the acquiring unit specifically for:
When starting the application on mobile terminal, solved by the yl_profiles.xml configuration files to the application Analysis, obtains the hardware configuration attribute when loading set in advance of application configuration file is applied.
Further, the adjustment unit includes:
Subelement is called, for the application configuration parameter that basis gets, call/dev/min_online_cpus ,/ Dev/cpu_freq_min ,/dev/max_online_cpus ,/dev/cpu_freq_max nodes, parse limitation mobile eventually Hold the request attribute of hardware runnability;
Limitation subelement, for according to request attribute, limiting the runnability of the mobile terminal hardware.
Further, it is described limitation subelement specifically for:
The request of limiting mobile terminal hardware runnability is processed using Qos mechanism, control the mobile terminal hardware with Attribute operation in request attribute.
Present invention also offers a kind of mobile terminal, including processor and memory;
The memory is used to store supports that mobile terminal performance adjusting means performs the mobile end described in any of the above-described Hold the program of property regulation method;
The processor is configurable for performing the program stored in the memory.
The invention provides a kind of computer-readable storage medium, for saving as used by above-mentioned mobile terminal performance adjusting means Computer software instructions, it is the program designed by mobile terminal performance adjusting means that it is included for performing above-mentioned aspect.
The mobile terminal and mobile terminal performance adjusting method and device provided in the present invention, have the advantages that:
The mobile terminal and mobile terminal performance adjusting method and device provided in the present invention, start answering on mobile terminal Used time, obtain the configuration parameter in application configuration file;The configuration parameter includes hardware configuration attribute during loading application; According to application configuration parameter, the hardware performance of the mobile terminal is adjusted;When startup is applied, the configuration according to application to hardware belongs to Property, the performance of the corresponding hardware of Intelligent adjustment mobile terminal lifts Consumer's Experience.
Brief description of the drawings
Fig. 1 is mobile terminal performance adjusting method step schematic diagram in one embodiment of the invention;
Fig. 2 is mobile terminal performance adjusting method step schematic diagram in another embodiment of the present invention;
Fig. 3 is mobile terminal performance adjusting means structural representation in one embodiment of the invention;
Fig. 4 is mobile terminal performance adjusting means structural representation in another embodiment of the present invention;
Fig. 5 is adjustment unit structural representation in one embodiment of the invention;
Fig. 6 is adjustment unit structural representation in another embodiment of the present invention;
Fig. 7 is mobile terminal structure block diagram in one embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " " used herein, " one It is individual ", " described " " above-mentioned " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that making in specification of the invention Wording " including " refer to the presence of the feature, integer, step, operation, element, unit, module and/or component, but simultaneously Do not preclude the presence or addition of one or more other features, integer, step, operation, element, unit, module, component and/or it Group.It should be understood that when we claim element to be " connected " or during " coupled " to another element, it can be directly connected to or couple To other elements, or can also there is intermediary element.Additionally, " connection " used herein or " coupling " can include wirelessly connecting Connect or wirelessly couple.Wording "and/or" used herein includes one or more associated listing the whole or any of item Unit and all combination.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific terminology), with art of the present invention in those of ordinary skill general understanding identical meaning.Should also Understand, those terms defined in such as general dictionary, it should be understood that with the context with prior art The consistent meaning of meaning, and unless by specific definitions as here, will not otherwise use idealization or excessively formal implication To explain.
Those skilled in the art of the present technique be appreciated that " terminal " used herein above, " intelligent terminal ", " mobile terminal ", " terminal device " both equipment including wireless signal receiver, its wireless signal receiver for only possessing non-emissive ability sets It is standby, but including receive and launch hardware equipment, its have can on bidirectional communication link, perform two-way communication reception and The equipment for launching hardware.This equipment can include:Honeycomb or other communication equipments, it has single line display or multi-line Display or the honeycomb without multi-line display or other communication equipments;PCS(Personal Communications Service, PCS Personal Communications System), it can be with combine voice, data processing, fax and/or its communication ability;PDA (Personal Digital Assistant, personal digital assistant), its can include radio frequency receiver, pager, internet/ Intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System, global location System) receiver;Conventional laptop and/or palmtop computer or other equipment, it has and/or including radio frequency receiver Conventional laptop and/or palmtop computer or other equipment." terminal " used herein above, " terminal device " can be portable Formula, can transport, in the vehicles (aviation, sea-freight and/or land), or be suitable for and/or be configured to local Operation, and/or with distribution form, operate in any other position operation in the earth and/or space.It is used herein above " whole End ", " intelligent terminal ", " terminal device " can also be communication terminal, access terminals, music/video playback terminal, for example can be with It is PDA, MID (Mobile Internet Device, mobile internet device) and/or with music/video playing function The equipment such as mobile phone, or intelligent television, Set Top Box.
At present, it is impossible to the performance of the difference correspondence regulation mobile terminal according to application, for a user, not side is used Just.Therefore, a kind of mobile terminal and mobile terminal performance adjusting method and device are provided in the embodiment of the present invention, start application When, the configuration parameter in application configuration file is obtained, the configuration parameter includes hardware configuration attribute during loading application;Root According to using the configuration attribute to hardware, the performance of the corresponding hardware of Intelligent adjustment mobile terminal lifts Consumer's Experience.
Reference picture 1, is mobile terminal performance adjusting method step schematic diagram in one embodiment of the invention.
The present invention proposes a kind of mobile terminal performance adjusting method, comprises the following steps:
Step S1, when starting the application on mobile terminal, obtains the configuration parameter in application configuration file;The configuration ginseng Number includes hardware configuration attribute during loading application;
Step S2, according to application configuration parameter, adjusts the hardware performance of the mobile terminal.
In the present embodiment, above-mentioned mobile terminal is the terminal devices such as mobile phone, flat board and computer, for convenience of description, It is illustrated by taking mobile phone as an example in the embodiment of the present invention.In the present embodiment, according to application feature and its application scenarios, answering in advance Hardware configuration attribute when presetting this using load operating in yl_profiles.xml configuration files, the configuration attribute bag Include cpu frequency, core cpu quantity and GPU frequencies.For example, for the wechat application on mobile phone, being configured in its configuration file Cpu frequency, core cpu quantity during its operation;For the game application on mobile phone, then its fortune can be configured in its configuration file Cpu frequency, core cpu quantity opinion GPU frequencies during row;Further, to the maximum performance of limitation application, work(is reduced Consumption, then can limit its cpu frequency, core cpu quantity and GPU frequencies less than designated value;Transported with high-performance to make to apply OK, then its cpu frequency, core cpu quantity and GPU frequencies can be limited more than designated value.
When starting the application on the mobile phone in the present embodiment, the configuration parameter in application configuration file is parsed first, then According to the configuration parameter of application, the hardware performance of the mobile terminal is adjusted, that is, CPU when controlling the running of mobile terminal is frequently Rate, core cpu quantity and GPU frequencies.Such as, the wechat application configuration parameter on mobile phone is that cpu frequency is more than 1.5G, CPU When core amounts are 2, then when wechat application is started, mobile phone runnability is adjusted to more than cpu frequency 1.5G, core cpu Number two or more.The runnability of the different adjustment mobile phone according to application is so just realized, is easy to user using different application When, the different experience being adapted to.Rationally the configuration parameter of default application, is conducive to lifting Consumer's Experience.
Specifically, it is described start mobile terminal on application when, obtain application configuration file in configuration parameter the step of S1 includes:
When starting the application on mobile terminal, solved by the yl_profiles.xml configuration files to the application Analysis, obtains the hardware configuration attribute when loading set in advance of application configuration file is applied.
Hardware configuration attribute during default application load operating is normally stored in yl_profiles.xml configuration files. It is main including cpu frequency, core cpu quantity and parameter etc. GPU frequencies in hardware configuration attribute.
Reference picture 2, in another embodiment, it is described obtain application configuration file in configuration parameter the step of S1 before also Including:
Step S0, when starting the application on mobile terminal, judges whether the application configuration file is configured with loading application When hardware configuration attribute.
When starting the application on mobile terminal, the package name (bag name) of current application are obtained, judged by wrapping name Whether the application has hardware configuration attribute when configuring loading application, normal to start application if not configuring;If having matched somebody with somebody Put, then into step S1.Wherein, package name refer to a bag name for application, are for each should in android system The mark distributed with program, the mark of each application must be different.
Further, described according to application configuration parameter, S2 includes the step of adjust the hardware performance of the mobile terminal:
The application configuration parameter that a, basis get, calls/dev/min_online_cpus ,/dev/cpu_freq_ Min ,/dev/max_online_cpus ,/dev/cpu_freq_max nodes, parse limiting mobile terminal hardware runnability Request attribute;
B, according to request attribute, limit the runnability of the mobile terminal hardware.
Further, described according to request instruction, b includes the step of limit the runnability of the mobile terminal hardware:
The request of limiting mobile terminal hardware runnability is processed using Qos mechanism, control the mobile terminal hardware with Attribute operation in request attribute.
In the present embodiment, for the hardware performance to adjusting mobile phone, it is previously provided with corresponding/dev/min_ Online_cpus ,/dev/cpu_freq_min ,/dev/max_online_cpus ,/dev/cpu_freq_max nodes, its point The minimum CPU operation core amounts of mobile phone Dui Yingyu not be adjusted, minimum cpu frequency, maximum CPU runs core amounts, maximum CPU Frequency, it is to be understood that minimum GPU frequencies and maximum GPU frequency nodes etc. can also be set for adjusting GPU frequencies Minimum value and maximum.
Because the cpu frequency that in actual use, can there is continuous multiple scene or the limitation of core number are asked, because This calls demand to meet upper strata to a large amount of of node, so the limitation to cpu frequency and core number is called being put into Qos In (Quality of Service, service quality) mechanism, using Qos mechanism treatment limiting mobile terminal hardware runnability Request, controls the mobile terminal hardware to be run with the attribute in request attribute.Wherein, Qos mechanism is the place for multi-request Reason mechanism.
During using mobile phone, user often enables multiple applications, and often each is using the hardware to mobile phone Configuration attribute is different, therefore can there are multiple applications while asking to set same node, as different application request sets different CPU peak frequencies or different core cpu quantity, now which the peak frequency of CPU and core cpu quantity should be worth with Operation, so that priority treatment logic when solving concurrently to set same node.
Specifically, in the present embodiment, it is described according to application configuration parameter, adjust the hardware performance of the mobile terminal Step S2 includes:
If only getting the configuration parameter in an application configuration file, the mobile terminal hardware is controlled to configure ginseng Configuration operation in number.
Specifically, in the present embodiment, it is described according to application configuration parameter, adjust the hardware performance of the mobile terminal Step S2 also includes:
If getting the configuration parameter in multiple application configuration files, and it is limited in the configuration parameter of the multiple application The minimum value of hardware performance processed, obtains the greatest measure in the minimum value of limitation hardware performance in configuration parameter;
Limit the hardware of the mobile terminal and run with being not less than the greatest measure.
Specifically, when mobile phone electricity is abundant, on mobile phone run run component software, it is necessary to improve handset capability (CPU, GPU), the number of limitation minimum frequency and core.Such as:When electricity is normal, cpu frequency is set most in electricity control application configuration file It is small to need 1.5G, 3 cores;Setting cpu frequency minimum needs 1.6G, 4 cores in running component software;So, final choice hand Machine is not less than 1.6G with cpu frequency, and core amounts are no less than 4 core operations.
In the present embodiment, it is described according to application configuration parameter, S2 the step of adjust the hardware performance of the mobile terminal Also include:
If getting the configuration parameter in multiple application configuration files, and it is limited in the configuration parameter of the multiple application The maximum of hardware performance processed, obtains the minimum value in the maximum of limitation hardware performance in configuration parameter;
Limit the hardware of the mobile terminal and run with being not higher than the minimum value.
Specifically, in mobile phone not enough power supply, on mobile phone run social software, it is necessary to limit handset capability (CPU, GPU), the number of limitation peak frequency and core.Such as:During not enough power supply, cpu frequency is set most in electricity control application configuration file Greatly 1.2G, 2 cores;Cpu frequency maximum demand 1.3G, 1 core are set in social software;So, final choice mobile phone with Cpu frequency is not higher than 1.2G, and core amounts are not more than 1 core operation.
In the present embodiment, it is described according to application configuration parameter, S2 the step of adjust the hardware performance of the mobile terminal Also include:
If being limited respectively in getting the configuration parameter in multiple application configuration files, and the configuration parameter of each application The maximum of hardware performance processed and the minimum value of limitation hardware performance, then obtain the minimum of limitation hardware performance in configuration parameter Greatest measure in value;
Limit the hardware of the mobile terminal and run with being not less than the greatest measure.Lifting mobile phone in the present embodiment Can be prior to reducing mobile telephone power consumption, in other embodiments, it is also possible to reduce power consumption prior to improving performance, even get The maximum for limiting hardware performance is respectively in configuration parameter in multiple application configuration files, and the configuration parameter of each application The minimum value of value and limitation hardware performance, then obtain the minimum value in the maximum of limitation hardware performance in configuration parameter; Limit the hardware of the mobile terminal and run with being not higher than the minimum value.
For example, run on mobile phone using A and apply B, wherein cpu frequency minimum 1.5G is set in application A configuration files, CPU operation cores number 4;Core number 2 is run using cpu frequency maximum 1G, CPU is set in B configuration files;In the present embodiment The performance of one guarantee mobile phone is preferential, therefore final choice mobile phone is not less than 1.5G with cpu frequency, and core amounts are no less than 4 Core is run.Power consumption is reduced no longer to be repeated herein prior to the situation of improving performance.
In above-described embodiment, it is illustrated with two application, with reference to above-mentioned under the application scenarios of many money applications Embodiment, principle is identical, is no longer repeated herein.
In order to be further illustrated to the mobile terminal performance adjusting method in the embodiment of the present invention, the present invention is implemented A kind of mobile terminal performance adjusting means is additionally provided in example.
Reference picture 3, additionally provides a kind of mobile terminal performance adjusting means in one embodiment of the invention, including:
Acquiring unit 10, for starting during the application on mobile terminal, obtains the configuration parameter in application configuration file;Institute The hardware configuration attribute that configuration parameter is stated when including that loading is applied;
Adjustment unit 20, for according to application configuration parameter, adjusting the hardware performance of the mobile terminal.
In the present embodiment, above-mentioned mobile terminal is the terminal devices such as mobile phone, flat board and computer, for convenience of description, It is illustrated by taking mobile phone as an example in the embodiment of the present invention.In the present embodiment, according to application feature and its application scenarios, answering in advance Hardware configuration attribute when presetting this using load operating in yl_profiles.xml configuration files, the configuration attribute bag Include cpu frequency, core cpu quantity and GPU frequencies.For example, for the wechat application on mobile phone, being configured in its configuration file Cpu frequency, core cpu quantity during its operation;For the game application on mobile phone, then its fortune can be configured in its configuration file Cpu frequency, core cpu quantity opinion GPU frequencies during row;Further, to the maximum performance of limitation application, work(is reduced Consumption, then can limit its cpu frequency, core cpu quantity and GPU frequencies less than designated value;Transported with high-performance to make to apply OK, then its cpu frequency, core cpu quantity and GPU frequencies can be limited more than designated value.
When starting the application on the mobile phone in the present embodiment, the configuration parameter in application configuration file is parsed first, then According to the configuration parameter of application, the hardware performance of the mobile terminal is adjusted, that is, CPU when controlling the running of mobile terminal is frequently Rate, core cpu quantity and GPU frequencies.Such as, the wechat application configuration parameter on mobile phone is that cpu frequency is more than 1.5G, CPU When core amounts are 2, then when wechat application is started, mobile phone runnability is adjusted to more than cpu frequency 1.5G, core cpu Number two or more.The runnability of the different adjustment mobile phone according to application is so just realized, is easy to user using different application When, the different experience being adapted to.Rationally the configuration parameter of default application, is conducive to lifting Consumer's Experience.
Further, the acquiring unit 10 specifically for:
When starting the application on mobile terminal, solved by the yl_profiles.xml configuration files to the application Analysis, obtains the hardware configuration attribute when loading set in advance of application configuration file is applied.During default application load operating Hardware configuration attribute is normally stored in yl_profiles.xml configuration files.In hardware configuration attribute mainly include cpu frequency, The parameter such as core cpu quantity and GPU frequencies.
In another embodiment, reference picture 4, the mobile terminal performance adjusting means also includes:
Judging unit 10a, for starting during the application on mobile terminal, judges whether the application configuration file is configured with Hardware configuration attribute during loading application.
When starting the application on mobile terminal, the package name (bag name) of current application are obtained, judged by wrapping name Whether the application has hardware configuration attribute when configuring loading application, normal to start application if not configuring;If having matched somebody with somebody Put, then into step S1.Wherein, package name refer to a bag name for application, are for each should in android system The mark distributed with program, the mark of each application must be different.
Reference picture 5, in one embodiment, the adjustment unit 20 includes:
Subelement 201 is called, for the application configuration parameter that basis gets, call/dev/min_online_cpus ,/ Dev/cpu_freq_min ,/dev/max_online_cpus ,/dev/cpu_freq_max nodes, parse limitation mobile eventually Hold the request attribute of hardware runnability;
Limitation subelement 202, for according to request attribute, limiting the runnability of the mobile terminal hardware.
Further, it is described limitation subelement 202 specifically for:
The request of limiting mobile terminal hardware runnability is processed using Qos mechanism, control the mobile terminal hardware with Attribute operation in request attribute.
In the present embodiment, for the hardware performance to adjusting mobile phone, it is previously provided with corresponding/dev/min_ Online_cpus ,/dev/cpu_freq_min ,/dev/max_online_cpus ,/dev/cpu_freq_max nodes, its point The minimum CPU operation core amounts of mobile phone Dui Yingyu not be adjusted, minimum cpu frequency, maximum CPU runs core amounts, maximum CPU Frequency, it is to be understood that minimum GPU frequencies and maximum GPU frequency nodes etc. can also be set for adjusting GPU frequencies Minimum value and maximum.
Because the cpu frequency that in actual use, can there is continuous multiple scene or the limitation of core number are asked, because This calls demand to meet upper strata to a large amount of of node, so the limitation to cpu frequency and core number is called being put into Qos In (Quality of Service, service quality) mechanism, using Qos mechanism treatment limiting mobile terminal hardware runnability Request, controls the mobile terminal hardware to be run with the attribute in request attribute.Wherein, Qos mechanism is the place for multi-request Reason mechanism.
During using mobile phone, user often enables multiple applications, and often each is using the hardware to mobile phone Configuration attribute is different, therefore can there are multiple applications while asking to set same node, as different application request sets different CPU peak frequencies or different core cpu quantity, now which the peak frequency of CPU and core cpu quantity should be worth with Operation, so that priority treatment logic when solving concurrently to set same node.
Further, reference picture 6, the adjustment unit 20 includes:
First regulator unit 203, if for only getting the configuration parameter in an application configuration file, controlling institute Mobile terminal hardware is stated with the configuration operation in configuration parameter.
Further, the adjustment unit 20 includes:
First obtains subelement 204, if for getting the configuration parameter in multiple application configuration files and the multiple The minimum value of limitation hardware performance is in the configuration parameter of application, in acquisition configuration parameter in the minimum value of limitation hardware performance Greatest measure;
First limitation subelement 205, is run for limiting the hardware of the mobile terminal with being not less than the greatest measure.
Specifically, when mobile phone electricity is abundant, on mobile phone run run component software, it is necessary to improve handset capability (CPU, GPU), the number of limitation minimum frequency and core.Such as:When electricity is normal, cpu frequency is set most in electricity control application configuration file It is small to need 1.5G, 3 cores;Setting cpu frequency minimum needs 1.6G, 4 cores in running component software;So, final choice hand Machine is not less than 1.6G with cpu frequency, and core amounts are no less than 4 core operations.
Further, the adjustment unit 20 includes:
Second obtains subelement 206, if for getting the configuration parameter in multiple application configuration files and the multiple The maximum of limitation hardware performance is in the configuration parameter of application, in acquisition configuration parameter in the maximum of limitation hardware performance Minimum value;
Second limitation subelement 207, is run for limiting the hardware of the mobile terminal with being not higher than the minimum value.
Specifically, in mobile phone not enough power supply, on mobile phone run social software, it is necessary to limit handset capability (CPU, GPU), the number of limitation peak frequency and core.Such as:During not enough power supply, cpu frequency is set most in electricity control application configuration file Greatly 1.2G, 2 cores;Cpu frequency maximum demand 1.3G, 1 core are set in social software;So, final choice mobile phone with Cpu frequency is not higher than 1.2G, and core amounts are not more than 1 core operation.
Further, the adjustment unit 20 includes:
3rd obtains subelement 208, if for getting the configuration parameter in multiple application configuration files, and described respectively should The maximum of limitation hardware performance and the minimum value of limitation hardware performance are respectively in configuration parameter, then obtain configuration ginseng The greatest measure in the minimum value of hardware performance is limited in number;
3rd limitation subelement 209, is run for limiting the hardware of the mobile terminal with being not less than the greatest measure. To lift handset capability prior to reducing mobile telephone power consumption in the present embodiment, in other embodiments, it is also possible to excellent to reduce power consumption Prior to improving performance, in even getting the configuration parameter in multiple application configuration files, and the configuration parameter of each application Respectively the minimum value of the maximum of limitation hardware performance and limitation hardware performance, then obtain limitation hardware in configuration parameter Minimum value in the maximum of energy;Limit the hardware of the mobile terminal and run with being not higher than the minimum value.
For example, run on mobile phone using A and apply B, wherein cpu frequency minimum 1.5G is set in application A configuration files, CPU operation cores number 4;Core number 2 is run using cpu frequency maximum 1G, CPU is set in B configuration files;In the present embodiment The performance of one guarantee mobile phone is preferential, therefore final choice mobile phone is not less than 1.5G with cpu frequency, and core amounts are no less than 4 Core is run.Power consumption is reduced no longer to be repeated herein prior to the situation of improving performance.In above-described embodiment, should with two With being illustrated, with reference to above-described embodiment under the application scenarios of many money applications, principle is identical, is no longer gone to live in the household of one's in-laws on getting married herein State.
The embodiment of the present invention additionally provides a kind of mobile terminal, as shown in fig. 7, for convenience of description, illustrate only and this The related part of inventive embodiments, particular technique details is not disclosed, and refer to present invention method part.The terminal can Think including mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point Of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, so that terminal is as mobile phone as an example:
Fig. 7 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 7 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 110, memory 120, input block 130, display unit 140th, sensor 150, voicefrequency circuit 160, Wireless Fidelity (wireless-fidelity, Wi-Fi) module 170, processor 180, And the grade part of power supply 190.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 is not constituted to mobile phone Limit, part more more or less than diagram can be included, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 7:
RF circuits 110 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, processed to processor 180;In addition, up data is activation will be designed to base station.Generally, RF circuits 110 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 110 can also be communicated by radio communication with network and other equipment. Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 120 can be used to store software program and module, and processor 180 is by running storage in memory 120 Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 120 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and use what is created according to mobile phone Data (such as voice data, phone directory etc.) etc..Additionally, memory 120 can include high-speed random access memory, can be with Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states Part.
Input block 130 can be used to receive the numeral or character information of input, and produce with the user of mobile phone set with And the relevant key signals input of function control.Specifically, input block 130 may include that contact panel 131 and other inputs set Standby 132.Contact panel 131, also referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as user uses The operation of any suitable object such as finger, stylus or annex on contact panel 131 or near contact panel 131), and root Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 131 may include touch detecting apparatus and touch Two parts of controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinates, then give processor 180, and the order sent of receiving processor 180 and can be performed.Furthermore, it is possible to using electricity The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 131.Except contact panel 131, input Unit 130 can also include other input equipments 132.Specifically, other input equipments 132 can include but is not limited to secondary or physical bond One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 140 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 140 may include display panel 141, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 141.Further, contact panel 131 can cover display panel 141, when contact panel 131 detect it is thereon or attached After near touch operation, processor 180 is sent to determine the type of touch event, with preprocessor 180 according to touch event Type corresponding visual output is provided on display panel 141.Although in the figure 7, contact panel 131 and display panel 141 It is input and the input function that mobile phone is realized as two independent parts, but in some embodiments it is possible to by touch-control Panel 131 and display panel 141 be integrated and input that realize mobile phone and output function.
Mobile phone may also include at least one sensor 150, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 141, proximity transducer can close display panel 141 when mobile phone is moved in one's ear And/or backlight.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of accelerometer sensor Size, size and the direction of gravity are can detect that when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor of configuration, will not be repeated here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data conversion that road 160 will can receive, is transferred to loudspeaker 161, and sound is converted to by loudspeaker 161 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is turned after being received by voicefrequency circuit 160 It is changed to voice data, then after voice data output processor 180 is processed, through RF circuits 110 to be sent to such as another mobile phone, Or export to memory 120 so as to further treatment voice data.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 170 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 7 shows WiFi module 170, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 180 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform software program of the storage in memory 120 and/or module, and call storage in memory 120 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 180 can be wrapped Include one or more processing units;Preferably, processor 180 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Mobile phone also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can be by power supply pipe Reason system is logically contiguous with processor 180, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also will not be repeated here including camera, bluetooth module etc..
Reference picture 7, in embodiments of the present invention, the processor 180 included by the mobile terminal also has following functions:
When starting the application on mobile terminal, the configuration parameter in application configuration file is obtained;Wrapped in the configuration parameter Include hardware configuration attribute during loading application;
According to application configuration parameter, the hardware performance of the mobile terminal is adjusted.
The memory 120 is used to store supports that mobile terminal performance adjusting means performs the movement described in above-described embodiment The program of terminal capabilities adjusting method;
The processor 180 is configurable for performing the program stored in the memory 120.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the terminal of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In sum, it is the mobile terminal and mobile terminal performance adjusting method and device of offer in the embodiment of the present invention, When starting the application on mobile terminal, the configuration parameter in application configuration file is obtained;The configuration parameter includes that loading should The hardware configuration attribute of used time;According to application configuration parameter, the hardware performance of the mobile terminal is adjusted;When startup is applied, root According to using the configuration attribute to hardware, the performance of the corresponding hardware of Intelligent adjustment mobile terminal lifts Consumer's Experience.
It will be understood by those skilled in the art that the present invention includes being related to for performing in operation described herein Or multinomial equipment.These equipment can be for needed for purpose and specially design and manufacture, or general-purpose computations can also be included Known device in machine.These equipment have computer program of the storage in it, and these computer programs are optionally activated Or reconstruct.Such computer program can be stored in equipment (for example, computer) computer-readable recording medium or store and be suitable to Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium is included but is not limited to Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only storage Device), RAM (Random Access Memory, immediately memory), EPROM (Erasable Programmable Read- Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM), flash memory, magnetic card or light card.It is, readable Medium include being stored in the form of it can read by equipment (for example, computer) or transmission information any medium.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or The combination of the frame in each frame and these structure charts and/or block diagram and/or flow graph in block diagram and/or flow graph.This technology is led Field technique personnel be appreciated that can by these computer program instructions be supplied to all-purpose computer, special purpose computer or other The processor of programmable data processing method is realized, so that by the treatment of computer or other programmable data processing methods Device is come the scheme specified in the frame or multiple frame that perform structure chart disclosed by the invention and/or block diagram and/or flow graph.
Those skilled in the art of the present technique are appreciated that in various operations, method, the flow discussed in the present invention Step, measure, scheme can be replaced, changed, combined or deleted.Further, it is each with what is discussed in the present invention Other steps, measure in kind operation, method, flow, scheme can also be replaced, changed, reset, decomposed, combined or deleted. Further, it is of the prior art with various operations, method, the flow disclosed in the present invention in step, measure, scheme Can also be replaced, changed, reset, decomposed, combined or deleted.
The preferred embodiments of the present invention are the foregoing is only, the scope of the claims of the invention, every utilization is not thereby limited Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technical field, be included within the scope of the present invention.
Following technical scheme is provided in the embodiment of the present invention:
A1, a kind of mobile terminal performance adjusting method, comprise the following steps:
When starting the application on mobile terminal, the configuration parameter in application configuration file is obtained, wrapped in the configuration parameter Include hardware configuration attribute during loading application;
According to application configuration parameter, the hardware performance of the mobile terminal is adjusted.
A2, the mobile terminal performance adjusting method according to A1, the hardware configuration attribute when loading is applied include: Cpu frequency, core cpu quantity and GPU frequencies.
A3, the mobile terminal performance adjusting method according to A2, the hardware performance bag of the regulation mobile terminal Include:
Cpu frequency, core cpu quantity and GPU frequencies when controlling the running of mobile terminal.
A4, the mobile terminal performance adjusting method according to A1, it is described according to application configuration parameter, adjust the movement The step of hardware performance of terminal, includes:
If only getting the configuration parameter in an application configuration file, the mobile terminal hardware is controlled to configure ginseng Configuration operation in number.
A5, the mobile terminal performance adjusting method according to A1, it is described according to application configuration parameter, adjust the movement The step of hardware performance of terminal, includes:
If getting the configuration parameter in multiple application configuration files, and it is limited in the configuration parameter of the multiple application The minimum value of hardware performance processed, obtains the greatest measure in the minimum value of limitation hardware performance in configuration parameter;
Limit the hardware of the mobile terminal and run with being not less than the greatest measure.
A6, the mobile terminal performance adjusting method according to A1, it is described according to application configuration parameter, adjust the movement The step of hardware performance of terminal, includes:
If getting the configuration parameter in multiple application configuration files, and it is limited in the configuration parameter of the multiple application The maximum of hardware performance processed, obtains the minimum value in the maximum of limitation hardware performance in configuration parameter;
Limit the hardware of the mobile terminal and run with being not higher than the minimum value.
A7, the mobile terminal performance adjusting method according to A1, it is described according to application configuration parameter, adjust the movement The step of hardware performance of terminal, includes:
If being limited respectively in getting the configuration parameter in multiple application configuration files, and the configuration parameter of each application The maximum of hardware performance processed and the minimum value of limitation hardware performance, then obtain the minimum of limitation hardware performance in configuration parameter Greatest measure in value;
Limit the hardware of the mobile terminal and run with being not less than the greatest measure.
A8, the mobile terminal performance adjusting method according to any one of A1-A7, the application on the startup mobile terminal When, obtain application configuration file in configuration parameter the step of include:
When starting the application on mobile terminal, solved by the yl_profiles.xml configuration files to the application Analysis, obtains the hardware configuration attribute when loading set in advance of application configuration file is applied.
A9, the mobile terminal performance adjusting method according to any one of A1-A7, it is described according to application configuration parameter, adjust The step of hardware performance for saving the mobile terminal, includes:
According to the application configuration parameter for getting, call/dev/min_online_cpus ,/dev/cpu_freq_min ,/ Dev/max_online_cpus ,/dev/cpu_freq_max nodes, parse asking for limiting mobile terminal hardware runnability Seek attribute;
According to request attribute, the runnability of the mobile terminal hardware is limited.
A10, the mobile terminal performance adjusting method according to A9, it is described according to request instruction, limit described mobile whole The step of runnability for holding hardware, includes:
The request of limiting mobile terminal hardware runnability is processed using Qos mechanism, control the mobile terminal hardware with Attribute operation in request attribute.
B1, a kind of mobile terminal performance adjusting means, including:
Acquiring unit, for starting during the application on mobile terminal, obtains the configuration parameter in application configuration file, described Configuration parameter includes hardware configuration attribute during loading application;
Adjustment unit, for according to application configuration parameter, adjusting the hardware performance of the mobile terminal.
B2, the mobile terminal performance adjusting means according to B1, the hardware configuration attribute when loading is applied include: Cpu frequency, core cpu quantity and GPU frequencies.
B3, the mobile terminal performance adjusting means according to B2, the adjustment unit adjust the hard of the mobile terminal Part performance includes:
Cpu frequency, core cpu quantity and GPU frequencies when controlling the running of mobile terminal.
B4, the mobile terminal performance adjusting means according to B1, the adjustment unit include:
First regulator unit, if for only getting the configuration parameter in an application configuration file, control is described Mobile terminal hardware is with the configuration operation in configuration parameter.
B5, the mobile terminal performance adjusting means according to B1, the adjustment unit include:
First obtains subelement, if for getting the configuration parameter in multiple application configuration files, and it is the multiple should The minimum value of limitation hardware performance is in configuration parameter, in acquisition configuration parameter in the minimum value of limitation hardware performance Greatest measure;
First limitation subelement, is run for limiting the hardware of the mobile terminal with being not less than the greatest measure.
B6, the mobile terminal performance adjusting means according to B1, the adjustment unit include:
Second obtains subelement, if for getting the configuration parameter in multiple application configuration files, and it is the multiple should The maximum of limitation hardware performance is in configuration parameter, in acquisition configuration parameter in the maximum of limitation hardware performance Minimum value;
Second limitation subelement, is run for limiting the hardware of the mobile terminal with being not higher than the minimum value.
B7, the mobile terminal performance adjusting means according to B1, the adjustment unit include:
3rd obtains subelement, if for getting the configuration parameter in multiple application configuration files, and each application Configuration parameter in be respectively limitation hardware performance maximum and limitation hardware performance minimum value, then obtain configuration parameter Greatest measure in the minimum value of middle limitation hardware performance;
3rd limitation subelement, is run for limiting the hardware of the mobile terminal with being not less than the greatest measure.
B8, the mobile terminal performance adjusting means according to any one of B1-B7, the acquiring unit specifically for:
When starting the application on mobile terminal, solved by the yl_profiles.xml configuration files to the application Analysis, obtains the hardware configuration attribute when loading set in advance of application configuration file is applied.
B9, the mobile terminal performance adjusting means according to any one of B1-B7, the adjustment unit include:
Subelement is called, for the application configuration parameter that basis gets, call/dev/min_online_cpus ,/ Dev/cpu_freq_min ,/dev/max_online_cpus ,/dev/cpu_freq_max nodes, parse limitation mobile eventually Hold the request attribute of hardware runnability;
Limitation subelement, for according to request attribute, limiting the runnability of the mobile terminal hardware.
B10, the mobile terminal performance adjusting means according to B9, the limitation subelement specifically for:
The request of limiting mobile terminal hardware runnability is processed using Qos mechanism, control the mobile terminal hardware with Attribute operation in request attribute.
C1, a kind of mobile terminal, including processor and memory;
The memory is used to store supports that above-mentioned mobile terminal performance adjusting means is performed as appointed in A1 to A7 and A10 The program of the mobile terminal performance adjusting method described in;
The processor is configurable for performing the program stored in the memory.

Claims (10)

1. a kind of mobile terminal performance adjusting method, it is characterised in that comprise the following steps:
When starting the application on mobile terminal, the configuration parameter in application configuration file is obtained, the configuration parameter includes adding Carry hardware configuration attribute during application;
According to application configuration parameter, the hardware performance of the mobile terminal is adjusted.
2. mobile terminal performance adjusting method according to claim 1, it is characterised in that the hardware when loading is applied Configuration attribute includes:Cpu frequency, core cpu quantity and GPU frequencies.
3. mobile terminal performance adjusting method according to claim 2, it is characterised in that the regulation mobile terminal Hardware performance include:
Cpu frequency, core cpu quantity and GPU frequencies when controlling the running of mobile terminal.
4. mobile terminal performance adjusting method according to claim 1, it is characterised in that described to be joined according to application configuration The step of number, hardware performance for adjusting the mobile terminal, includes:
If only getting the configuration parameter in an application configuration file, the mobile terminal hardware is controlled with configuration parameter Configuration operation.
5. mobile terminal performance adjusting method according to claim 1, it is characterised in that described to be joined according to application configuration The step of number, hardware performance for adjusting the mobile terminal, includes:
If the configuration parameter in multiple application configuration files is got, and it is hard that limitation is in the configuration parameter of the multiple application The minimum value of part performance, obtains the greatest measure in the minimum value of limitation hardware performance in configuration parameter;
Limit the hardware of the mobile terminal and run with being not less than the greatest measure.
6. mobile terminal performance adjusting method according to claim 1, it is characterised in that described to be joined according to application configuration The step of number, hardware performance for adjusting the mobile terminal, includes:
If the configuration parameter in multiple application configuration files is got, and it is hard that limitation is in the configuration parameter of the multiple application The maximum of part performance, obtains the minimum value in the maximum of limitation hardware performance in configuration parameter;
Limit the hardware of the mobile terminal and run with being not higher than the minimum value.
7. mobile terminal performance adjusting method according to claim 1, it is characterised in that described to be joined according to application configuration The step of number, hardware performance for adjusting the mobile terminal, includes:
If be respectively in getting the configuration parameter in multiple application configuration files, and the configuration parameter of each application limiting hard The maximum of part performance and the minimum value of limitation hardware performance, then in acquisition configuration parameter in the minimum value of limitation hardware performance Greatest measure;
Limit the hardware of the mobile terminal and run with being not less than the greatest measure.
8. a kind of mobile terminal performance adjusting means, it is characterised in that including:
Acquiring unit, for starting during the application on mobile terminal, obtains the configuration parameter in application configuration file, the configuration Parameter includes hardware configuration attribute during loading application;
Adjustment unit, for according to application configuration parameter, adjusting the hardware performance of the mobile terminal.
9. mobile terminal performance adjusting means according to claim 8, it is characterised in that the hardware when loading is applied Configuration attribute includes:Cpu frequency, core cpu quantity and GPU frequencies.
10. a kind of mobile terminal, it is characterised in that including processor and memory;
The memory is used to store supports that mobile terminal performance adjusting means is performed as any one of claim 1 to 7 Mobile terminal performance adjusting method program;
The processor is configurable for performing the program stored in the memory.
CN201611154937.XA 2016-12-14 2016-12-14 Mobile terminal and mobile terminal performance adjusting method and device Pending CN106775866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611154937.XA CN106775866A (en) 2016-12-14 2016-12-14 Mobile terminal and mobile terminal performance adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611154937.XA CN106775866A (en) 2016-12-14 2016-12-14 Mobile terminal and mobile terminal performance adjusting method and device

Publications (1)

Publication Number Publication Date
CN106775866A true CN106775866A (en) 2017-05-31

Family

ID=58888018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611154937.XA Pending CN106775866A (en) 2016-12-14 2016-12-14 Mobile terminal and mobile terminal performance adjusting method and device

Country Status (1)

Country Link
CN (1) CN106775866A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271208A (en) * 2018-09-26 2019-01-25 Oppo广东移动通信有限公司 Parameter setting method, device, terminal and storage medium
CN110362357A (en) * 2019-05-21 2019-10-22 深圳壹账通智能科技有限公司 A kind of configuration file management method and device of application program
CN110795383A (en) * 2018-08-01 2020-02-14 Oppo广东移动通信有限公司 SoC frequency control method, device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500003A (en) * 2013-09-30 2014-01-08 北京奇虎科技有限公司 Method and device for regulating CPU frequency of portable terminal
CN104750167A (en) * 2015-03-30 2015-07-01 福州瑞芯微电子有限公司 Configuration method and device of dynamic clock topological structure
CN104794005A (en) * 2015-03-23 2015-07-22 北京畅游天下网络技术有限公司 Method and device for optimizing CPU running frequencies
CN105468466A (en) * 2014-09-12 2016-04-06 腾讯科技(深圳)有限公司 Processor operating frequency processing method, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500003A (en) * 2013-09-30 2014-01-08 北京奇虎科技有限公司 Method and device for regulating CPU frequency of portable terminal
CN105468466A (en) * 2014-09-12 2016-04-06 腾讯科技(深圳)有限公司 Processor operating frequency processing method, apparatus and system
CN104794005A (en) * 2015-03-23 2015-07-22 北京畅游天下网络技术有限公司 Method and device for optimizing CPU running frequencies
CN104750167A (en) * 2015-03-30 2015-07-01 福州瑞芯微电子有限公司 Configuration method and device of dynamic clock topological structure

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795383A (en) * 2018-08-01 2020-02-14 Oppo广东移动通信有限公司 SoC frequency control method, device, terminal and storage medium
CN109271208A (en) * 2018-09-26 2019-01-25 Oppo广东移动通信有限公司 Parameter setting method, device, terminal and storage medium
CN110362357A (en) * 2019-05-21 2019-10-22 深圳壹账通智能科技有限公司 A kind of configuration file management method and device of application program
WO2020233373A1 (en) * 2019-05-21 2020-11-26 深圳壹账通智能科技有限公司 Application configuration file management method and device

Similar Documents

Publication Publication Date Title
CN104135501B (en) Page sharing method, Apparatus and system
EP2882234B1 (en) Method, apparatus, equipment and system for controlling turn-on and turn-off of wireless network
CN107231159B (en) Radio frequency interference processing method, device, storage medium and terminal
CN106055408B (en) A kind of application control method and mobile terminal
WO2018014745A1 (en) Network search method and device after roaming ends
CN104778055B (en) Method and device for displaying progress bar
CN103279574A (en) Method, device and terminal device for loading explorer pictures
CN103489303A (en) Remote control method and device
CN103491240B (en) A kind of alarm clock ringing method, device and mobile terminal
CN103491525A (en) Method for achieving card-free mobile phone, mobile phone and server
CN104954159A (en) Network information statistics method and device
CN106797336A (en) The method and apparatus of history chat record displaying
CN104281621A (en) Method and device for browsing web page
CN106817482A (en) Mobile terminal and its method and apparatus called
CN109107164A (en) The method and apparatus that mobile terminal and its game performance are adjusted
CN106775866A (en) Mobile terminal and mobile terminal performance adjusting method and device
CN106598656A (en) Mobile terminal and starting method and apparatus for banned application therefor
CN104901992A (en) Resource transfer method and device
CN103631592A (en) Configuration method, calling method, device and equipment for displaying resources
CN106502827A (en) A kind of data back up method and equipment
CN103677944A (en) Method and device for manufacturing screen locking interface and terminal device
CN104615622A (en) Document opening method and device and mobile terminal
CN106374988A (en) Downlink inter-band carrier aggregation configuration method and apparatus, and terminal
CN104378339B (en) A kind of communication means and device using agency agreement
CN108737619A (en) A kind of call control method of terminal, device and terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication