CN106155733A - A kind of method and apparatus running application program - Google Patents

A kind of method and apparatus running application program Download PDF

Info

Publication number
CN106155733A
CN106155733A CN201510198492.4A CN201510198492A CN106155733A CN 106155733 A CN106155733 A CN 106155733A CN 201510198492 A CN201510198492 A CN 201510198492A CN 106155733 A CN106155733 A CN 106155733A
Authority
CN
China
Prior art keywords
application program
frequency gear
processor
gear
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510198492.4A
Other languages
Chinese (zh)
Other versions
CN106155733B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510198492.4A priority Critical patent/CN106155733B/en
Publication of CN106155733A publication Critical patent/CN106155733A/en
Application granted granted Critical
Publication of CN106155733B publication Critical patent/CN106155733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and apparatus running application program, belong to field of computer technology.Described method includes: obtain each frequency gear that local processor is supported, and detects the application program of local mounted target type, the application program of target type mounted to described this locality be actuated for monitoring;When the first application program launching in the application program of the mounted target type in described this locality, each frequency gear supported according to described processor, the frequency gear using described processor promotes;Based on the frequency gear after promoting, run described first application program.Use the present invention, the efficiency starting application program can be improved.

Description

A kind of method and apparatus running application program
Technical field
The present invention relates to computer realm, particularly to a kind of method and apparatus running application program.
Background technology
Along with developing rapidly of terminal technology, the terminal such as mobile phone, computer has stepped into the daily life of people Live, become instrument indispensable in life.Accordingly, the application program that user can run in the terminal Kind also gets more and more, and quantity is increasing, and wherein, game class application program has occupied bigger ratio Example.
Terminal processes resource is operationally typically taken higher by game class application program.In order to ensure game The smooth operation of class application program, user is before starting game class application program, it is often necessary to open a terminal The management of process page, selects the one or more program process needing to close, closes program process, It is then shut off the management of process page, restarts game class application program.
During realizing the present invention, inventor finds that prior art at least there is problems in that
Before starting game class application program, if user selects to use above-mentioned complex operations, will expend The substantial amounts of time, therefore reduce efficiency when starting application program.
Summary of the invention
In order to solve problem of the prior art, embodiments provide a kind of method running application program And device.Described technical scheme is as follows:
First aspect, it is provided that a kind of method running application program, described method includes:
Obtain each frequency gear that local processor is supported, and detect answering of local mounted target type By program, the application program of target type mounted to described this locality be actuated for monitoring;
When the first application program launching in the application program of the mounted target type in described this locality, according to Each frequency gear that described processor is supported, the frequency gear using described processor promotes;
Based on the frequency gear after promoting, run described first application program.
Second aspect, it is provided that a kind of device running application program, described device includes:
Acquisition module, for obtaining each frequency gear that the processor of this locality is supported;
Monitoring module, for detecting the application program of local mounted target type, pacifies to described this locality Dress target type application program be actuated for monitoring;
FM module, for when the first application journey in the application program of the mounted target type in described this locality When sequence starts, each frequency gear supported according to described processor, the frequency gear that described processor is used Promote;
Run module, for based on the frequency gear after promoting, running described first application program.
The technical scheme that the embodiment of the present invention provides has the benefit that
In the embodiment of the present invention, obtain each frequency gear that local processor is supported, and detect this locality and pacify The application program of target type of dress, is actuated for prison to the application program of local mounted target type Control, when the first application program launching in the application program of local mounted target type, according to process Each frequency gear that device is supported, the frequency gear using processor promotes, based on the frequency after promoting Gear, runs the first application program.So, improve the frequency gear of processor, can be the first application journey The operation of sequence provides and more processes resource, and carries out process closedown when starting application program without user Complex operations, it is thus possible to improve start application program efficiency.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram running application program that the embodiment of the present invention provides;
Fig. 2 is a kind of schematic diagram carrying out frequency gear adjustment that the embodiment of the present invention provides;
Fig. 3 is a kind of schematic diagram carrying out frequency gear adjustment that the embodiment of the present invention provides;
Fig. 4 is a kind of apparatus structure schematic diagram running application program that the embodiment of the present invention provides;
Fig. 5 is a kind of terminal structure schematic diagram that the embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention Embodiment is described in further detail.
Embodiment one
Embodiments provide a kind of method running application program, as it is shown in figure 1, the place of the method Reason flow process can comprise the following steps that
Step 101, obtains each frequency gear that local processor is supported, and detects local mounted target The application program of type, is actuated for monitoring to the application program of local mounted target type.
Step 102, when the first application program launching in the application program of local mounted target type, The each frequency gear supported according to processor, the frequency gear using processor promotes.
Step 103, based on the frequency gear after promoting, runs the first application program.
In the embodiment of the present invention, obtain each frequency gear that local processor is supported, and detect this locality and pacify The application program of target type of dress, is actuated for prison to the application program of local mounted target type Control, when the first application program launching in the application program of local mounted target type, according to process Each frequency gear that device is supported, the frequency gear using processor promotes, based on the frequency after promoting Gear, runs the first application program.So, improve the frequency gear of processor, can be the first application journey The operation of sequence provides and more processes resource, and carries out process closedown when starting application program without user Complex operations, it is thus possible to improve start application program efficiency..
Embodiment two
Embodiments providing a kind of method running application program, the executive agent of the method can be Terminal.Wherein, terminal can be the electronic equipment that computer, mobile phone etc. have terminal handler.The method Middle monitored application program can be the application program of the process resource taking bigger terminal handler, such as, Game class application program, planar design class application program, image processing class application program etc..It addition, terminal In platform application program can be installed, platform application program could be for class application journey a certain in terminal The application program that sequence (such as game class application program) is managed and services, such as game cartridge etc..In terminal Processor there is a number of frequency gear, it is possible to carry out the switching of different frequency gear.This enforcement With executive agent as mobile phone in example, and as a example by the application program of target type is game class application program, carry out The detailed description of scheme, other situations are similar to therewith, and the present embodiment is not repeated.
Below in conjunction with detailed description of the invention, the handling process shown in Fig. 1 is described in detail, content Can be such that
Step 101, obtains each frequency gear that local processor is supported, and detects local mounted target The application program of type, is actuated for monitoring to the application program of local mounted target type.
Wherein, processor can be multi-core CPU (Central Processing Unit central processing unit). Frequency gear is different frequency during processor work, and frequency gear can be a frequency range, as 1500~1700MHz, 1700~1900MHz, 1900~2100MHz etc., frequency gear can also is that one Mid frequency, processor work time frequency can fluctuate around mid frequency, as 1600MHz, 1800MHz, 2000MHz etc..Frequency gear can be the frequency gear of processor self, typically before processor dispatches from the factory just Set, it is also possible to be system program be processor arrange frequency gear, General System can be arranged There is multiple-working mode, such as high performance mode, low-power mode etc., use respectively each under different patterns Different frequency gears.Frequency range corresponding to frequency gear that system program is arranged is typically than processor self The frequency range that frequency gear is corresponding is big.
In force, terminal can be provided with platform application program, and platform application program can start at self Time from system and procedure directorate obtain processor self all frequency gears, or, it is also possible to obtain system program Arrange all frequency gears, or, can obtain simultaneously above-mentioned both.In platform application program permissible Storage has the application identities list of the application program of a certain type or polytype (the most above-mentioned target type). When performing step 101, platform application program can be to the local mounted all application of system program inquiry The application identities (the generally bag name of application program) of program, then stores the application identities inquired with it Application identities list carry out coupling contrast, be included in corresponding to the application identities in application identities list should The application program of target type it is by program, and then can answering the application program of local target type Record is carried out by mark.According to this record, platform application program can be to local mounted target type Application program be actuated for monitoring.
Step 102, when the first application program launching in the application program of local mounted target type, The each frequency gear supported according to processor, the frequency gear using processor promotes.
In force, at platform application program, the startup of the application program of local mounted target type is entered During row monitoring, if be detected that certain application program launching, and this application program be target type should When using program, platform application program can carry to the frequency gear that processor is used by system program request Rise.Concrete, the frequency gear of preset number, such as, processor can be promoted by current frequency gear Include 10 frequency gears altogether, be arranged as 1 grade to 10 grades by frequency from low to high, it is assumed that be currently 5 grades, When carrying out the lifting of frequency gear, 3 grades (preset number) can be promoted to 5 grades.Or, it is also possible to by working as Front frequency gear is promoted to certain preassigned higher frequency gear, such as, is continuing with above-mentioned example Son, it is assumed that be currently 5 grades, 9 grades (preassigned frequency gears) can be promoted to.
Optionally, during the first application program launching, the highest acceleration effect of processor frequencies is the best, accordingly, The processing procedure promoting the frequency gear that processor uses in step 102 can be specific as follows: is made by processor Frequency gear, be adjusted to the highest frequency gear in each frequency gear that processor is supported.
In force, the processor frequencies gear that platform application program can record from step 101 selects Highest frequency gear, processor frequencies gear is promoted to highest frequency gear, such as Fig. 2 by notice system program Shown in.If in a step 101, platform application program obtains all of processor self from system and procedure directorate Frequency gear, and obtain all frequency gears that system program is arranged, the most in a step 102, can will be The frequency gear that system program is arranged is adjusted to highest frequency gear, the frequency range that this highest frequency gear is corresponding Multiple frequency gears of processor self can be comprised, can at this, multiple frequency gears select the most further Altofrequency gear, and the frequency gear of processor is promoted so far highest frequency gear.Such as, system program The frequency range that the highest frequency gear of setting is corresponding is 1500~2100MHz, including processor self Three frequency gears, frequency range be respectively 1500~1700MHz, 1700~1900MHz, 1900~2100MHz.
Optionally, when performing above-mentioned steps 102, it is also possible to the frequency gear before promoting is carried out record, When subsequent treatment, frequency gear can be recalled to this frequency gear.
Step 103, based on the frequency gear after promoting, runs the first application program.
In force, can be after the first application program launching, the frequency gear of lifting processor, and Under frequency gear after processor lifting, run the first application program.Or, it is also possible to apply journey first In sequence start-up course, promote the frequency gear of processor.
Optionally, temperature conditions based on processor frequency gear can be reduced, accordingly, above-mentioned in execution After step 103, it is also possible to be handled as follows: according to predetermined period, the temperature of processor is examined Survey;If the temperature of processor is higher than the temperature threshold preset, then according to each frequency gear of processor support, The frequency gear used by processor reduces a gear, if the temperature of processor is less than the temperature threshold preset Value, then the frequency gear keeping processor to use is constant.
Wherein, the temperature threshold preset can be that processor can keep properly functioning maximum temperature for a long time
In force, platform application program can store predetermined period (such as 5 minutes), be used for processing The detection of device temperature, can also store a temperature threshold (such as 60 DEG C) simultaneously, works for decision processor The most normal.After the first application program launching, platform application program can be according to predetermined period timing from being Obtain the temperature of the processor that temperature sensor detects on mainboard at system program, enter with default temperature threshold Row compares.If the temperature of processor exceedes default temperature threshold, the frequency gear of processor is reduced by one Individual gear, if as it is shown on figure 3, temperature of processor is less than the temperature threshold preset, then keeping processor Frequency gear is constant.So can reduce the temperature of processor.The frequency gear of processor is reduced shelves After Wei, the temperature by predetermined period measurement processor can be continued, if temperature is still above default temperature Threshold value, can reduce a gear by the frequency gear of processor again, and the rest may be inferred, until the temperature of processor Degree is less than the temperature threshold preset.
Optionally, for polycaryon processor, during reducing temperature of processor, can be respectively to each The frequency gear processing core individually regulates, and corresponding process can be such that if the temperature of processor is high In default temperature threshold, the then each frequency gear supported according to processor, process core by the one of processor The frequency gear used reduces a gear.
In force, platform application program can obtain the process core number of processor, tool from system and procedure directorate Body can inquire about/sys/devices/system/cpu/ catalogue under with the file number of cpu beginning of letter, this file Number is in processor the number processing core.After the first application program launching, if be detected that processor Temperature exceedes default temperature threshold, can first choose one in processor process core and carry out reducing frequency shelves The process of position, if the temperature of processor that next predetermined period detects is higher than the temperature threshold preset, then selects The next core that processes taken in processor carries out reducing the process of frequency gear, until the processor temperature detected Degree is less than the temperature threshold preset.
Optionally, if temperature of processor is too much higher than said temperature threshold value, then processor can quickly be reduced Frequency gear, corresponding process can be such that according to predetermined period, detects the temperature of processor; If the temperature of processor is higher than the temperature threshold preset, and with the difference of this temperature threshold more than the difference preset Value threshold value, then each frequency gear supported according to processor, the frequency gear used by processor reduces to be preset Several gears;If the temperature of processor is higher than the temperature threshold preset, and with the difference of this temperature threshold Less than the difference threshold preset, the then each frequency gear supported according to processor, the frequency that processor is used Gear reduces a gear;If the temperature of processor is less than the temperature threshold preset, then processor is kept to make Frequency gear constant.
In force, concrete processing procedure is similar with processing procedure above, and may refer to above is relevant Content.
Optionally, when temperature of processor is relatively low, it is also possible to the frequency gear of processor is promoted, phase The processing procedure answered can be such that (temperature threshold above can be referred to as the first temperature threshold) is according to default week Phase, the temperature of processor is detected;If the temperature of processor is higher than the first temperature threshold preset, The each frequency gear then supported according to processor, the frequency gear used by processor reduces a gear;As Really the temperature of processor is less than the second temperature threshold preset, then according to each frequency gear of processor support, The frequency gear used by processor promotes a gear;If the temperature of processor is less than the first temperature threshold And higher than the second temperature threshold, then the frequency gear keeping processor to use is constant.
In force, concrete processing procedure is similar with process above process, and may refer to above is relevant Content.
Optionally, for above-mentioned, frequency gear (can be referred to as first frequency gear) before promoting is carried out record Situation, after the first closing application program, the frequency gear of processor can be reduced, accordingly, Can also be handled as follows after step 103: after the first closing application program, can be by processor The frequency gear used, is adjusted to the frequency gear before the lifting of record.
In force, when platform application program knows the first closing application program by system program, permissible Recall the first frequency gear recorded before, the frequency gear of processor is rolled back first frequency gear.
Optionally, the frequency gear used when can run the first application program carries out record, and by this frequency Rate gear is applied in follow-up application program running, and corresponding processing mode can be such that when first During closing application program, the frequency gear using processor when closing carries out record;For in the first application First application program belonging to target type started after stop, on startup, uses processor Frequency gear, the frequency gear that when being adjusted to recorded the first closing application program, processor uses.
In force, as a example by game class application program, when platform application program knows by system program During one closing application program, can be to frequency gear (the second frequency used last before the first closing application program Rate gear) carry out record.Hereafter, if platform application program detects that next game class application program opens Dynamic, then can carry out the lifting of the frequency gear of processor, the frequency gear of processor is directly promoted to institute The second frequency gear of record.
Optionally, the frequency gear used when can run the first application program carries out record, and by this frequency Rate gear is applied to during the first follow-up application program runs again, and corresponding processing mode can be as Under: when the first closing application program, the frequency gear using processor when closing carries out record;When When one application program is again started up, the frequency gear that processor is used, it is adjusted to the first application journey of record The frequency gear that when the sequence last time closes, processor uses.
In force, when platform application program knows the first closing application program by system program, permissible The frequency gear (second frequency gear) used last before first closing application program is carried out record.Hereafter, If platform application program detects the first application program launching again, then can be by the frequency gear of processor Directly it is promoted to recorded second frequency gear.
In the embodiment of the present invention, obtain each frequency gear that local processor is supported, and detect this locality and pacify The application program of target type of dress, is actuated for prison to the application program of local mounted target type Control, when the first application program launching in the application program of local mounted target type, according to process Each frequency gear that device is supported, the frequency gear using processor promotes, based on the frequency after promoting Gear, runs the first application program.So, improve the frequency gear of processor, can be the first application journey The operation of sequence provides and more processes resource, and carries out process closedown when starting application program without user Complex operations, it is thus possible to improve start application program efficiency.
Embodiment three
Based on identical technology design, the embodiment of the present invention additionally provides a kind of device running application program, As shown in Figure 4, described device includes:
Acquisition module 210, for obtaining each frequency gear that the processor of this locality is supported;
Monitoring module 220, for detecting the application program of local mounted target type, to described this locality Install target type application program be actuated for monitoring;
FM module 230, for when the first application in the application program of the mounted target type in described this locality When program starts, each frequency gear supported according to described processor, the frequency shelves that described processor is used Position promotes;
Run module 240, for based on the frequency gear after promoting, running described first application program.
Optionally, described FM module 230 is used for: the frequency gear used by described processor, is adjusted to Frequency gear the highest in each frequency gear that described processor is supported.
Optionally, described FM module 230 is additionally operable to: based on the frequency gear after promoting, run described After first application program, according to predetermined period, the temperature of described processor is detected;If it is described The temperature of processor, higher than the temperature threshold preset, the then each frequency gear supported according to described processor, is incited somebody to action The frequency gear that described processor uses reduces a gear;If the temperature of described processor is less than default Temperature threshold, then the frequency gear keeping described processor to use is constant.
Optionally, described FM module 230 is additionally operable to: if the temperature of described processor is higher than the temperature preset Degree threshold value, then each frequency gear supported according to described processor, a process core of described processor is made Frequency gear reduce a gear.
Optionally, described FM module 230 is additionally operable to: the frequency gear before promoting is carried out record;Institute After stating the first closing application program, the frequency gear that described processor is used, it is adjusted to described in record and carries Frequency gear before Shenging.
Optionally, described FM module 230 is additionally operable to: when described first closing application program, to closedown The frequency gear that Shi Suoshu processor uses carries out record;For starting after described first closing application program First application program belonging to described target type, on startup, the frequency that described processor is used Gear, is adjusted to the frequency gear that during described first closing application program of record, described processor uses.
Optionally, described FM module 230 is additionally operable to: when described first closing application program, to closedown The frequency gear that Shi Suoshu processor uses carries out record;When described first application program is again started up, will The frequency gear that described processor uses, is adjusted to described closedown first application program last time, institute time of record State the frequency gear that processor uses.
In the embodiment of the present invention, obtain each frequency gear that local processor is supported, and detect this locality and pacify The application program of target type of dress, is actuated for prison to the application program of local mounted target type Control, when the first application program launching in the application program of local mounted target type, according to process Each frequency gear that device is supported, the frequency gear using processor promotes, based on the frequency after promoting Gear, runs the first application program.So, improve the frequency gear of processor, can be the first application journey The operation of sequence provides and more processes resource, and carries out process closedown when starting application program without user Complex operations, it is thus possible to improve start application program efficiency.
It should be understood that a kind of device running application program that above-described embodiment provides is running application journey During sequence, only it is illustrated with the division of above-mentioned each functional module, in actual application, can be as required And above-mentioned functions distribution is completed by different functional modules, will the internal structure of device be divided into different Functional module, to complete all or part of function described above.It addition, the fortune that above-described embodiment provides The device of row application program and the embodiment of the method running application program belong to same design, and it implemented Journey refers to embodiment of the method, repeats no more here.
Embodiment four
Refer to Fig. 5, it illustrates the terminal structure signal running application program involved by the embodiment of the present invention Figure, this terminal may be used for the method running application program implementing to provide in above-described embodiment.Specifically:
Terminal 500 can include RF (Radio Frequency, radio frequency) circuit 110, include one or The memorizer 120 of more than one computer-readable recording medium, input block 130, display unit 140, biography Sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include one Individual or more than one process the parts such as the processor 180 of core and power supply 190.Those skilled in the art It is appreciated that the terminal structure shown in Fig. 5 is not intended that the restriction to terminal, can include than diagram more Many or less parts, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, After the downlink information of base station is received, transfer to one or more than one processor 180 processes;It addition, will Relate to up data and be sent to base station.Generally, RF circuit 110 include but not limited to antenna, at least one Amplifier, tuner, one or more agitator, subscriber identity module (SIM) card, transceiver, coupling Clutch, LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..Additionally, RF circuit 110 can also be communicated with network and other equipment by radio communication.Described radio communication can use arbitrary logical Beacon is accurate or agreement, include but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memorizer 120 can be used for storing software program and module, and processor 180 is stored in by operation The software program of reservoir 120 and module, thus perform the application of various function and data process.Memorizer 120 can mainly include store program area and storage data field, wherein, storage program area can store operating system, Application program (such as sound-playing function, image player function etc.) etc. needed at least one function;Deposit Storage data field can store the data (such as voice data, phone directory etc.) that the use according to terminal 500 is created Deng.Additionally, memorizer 120 can include high-speed random access memory, it is also possible to include non-volatile depositing Reservoir, for example, at least one disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memorizer 120 can also include Memory Controller, to provide processor 180 and input block The access of 130 pairs of memorizeies 120.
Input block 130 can be used for receive input numeral or character information, and produce with user setup with And function controls relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, Input block 130 can include Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as For touching display screen or Trackpad, can collect user thereon or neighbouring touch operation (such as user makes With any applicable object such as finger, stylus or adnexa on Touch sensitive surface 131 or attached at Touch sensitive surface 131 Near operation), and drive corresponding attachment means according to formula set in advance.Optionally, Touch sensitive surface 131 Touch detecting apparatus and two parts of touch controller can be included.Wherein, touch detecting apparatus detects user's Touch orientation, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch control Device receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 180, And order that processor 180 sends can be received and performed.Furthermore, it is possible to use resistance-type, condenser type, The polytype such as infrared ray and surface acoustic wave realizes Touch sensitive surface 131.Except Touch sensitive surface 131, input is single Unit 130 can also include other input equipments 132.Specifically, other input equipments 132 can include but not It is limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, behaviour Make one or more in bar etc..
Display unit 140 can be used for showing the information inputted by user or the information being supplied to user and terminal The various graphical user interface of 500, these graphical user interface can by figure, text, icon, video and Its combination in any is constituted.Display unit 140 can include display floater 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. form configure display floater 141.Further, Touch sensitive surface 131 can cover Display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, sends process to Device 180 is to determine the type of touch event, with preprocessor 180 according to the type of touch event at display surface Corresponding visual output is provided on plate 141.Although in Figure 5, Touch sensitive surface 131 and display floater 141 It is to realize input and input function as two independent parts, but in some embodiments it is possible to will Touch sensitive surface 131 is integrated with display floater 141 and realizes input and output function.
Terminal 500 may also include at least one sensor 150, such as optical sensor, motion sensor and its His sensor.Specifically, optical sensor can include ambient light sensor and proximity transducer, wherein, environment Optical sensor can regulate the brightness of display floater 141 according to the light and shade of ambient light, and proximity transducer can be When terminal 500 moves in one's ear, close display floater 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of (generally three axles) acceleration in all directions, can time static Detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, the phase of mobile phone attitude Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for Gyroscope that terminal 500 can also configure, barometer, drimeter, thermometer, infrared ray sensor etc. other Sensor, does not repeats them here.
Voicefrequency circuit 160, speaker 161, microphone 162 can provide the audio frequency between user and terminal 500 Interface.The signal of telecommunication after the voice data conversion that voicefrequency circuit 160 can will receive, is transferred to speaker 161, Acoustical signal output is converted to by speaker 161;On the other hand, the acoustical signal that microphone 162 will be collected Be converted to the signal of telecommunication, voicefrequency circuit 160 after receiving, be converted to voice data, then by voice data output After reason device 180 processes, through RF circuit 110 to be sent to such as another terminal, or voice data is exported To memorizer 120 to process further.Voicefrequency circuit 160 is also possible that earphone jack, outside providing If earphone and the communication of terminal 500.
WiFi belongs to short range wireless transmission technology, and terminal 500 can help user by WiFi module 170 Sending and receiving e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection Net accesses.Although Fig. 5 shows WiFi module 170, but it is understood that, it is also not belonging to terminal 500 must be configured into, can omit completely as required in not changing the scope of essence of invention.
Processor 180 is the control centre of terminal 500, utilizes various interface and the whole mobile phone of connection Various piece, by running or perform to be stored in the software program in memorizer 120 and/or module, and adjusts By the data being stored in memorizer 120, perform the various functions of terminal 500 and process data, thus right Mobile phone carries out integral monitoring.Optionally, processor 180 can include one or more process core;Preferably, Processor 180 can integrated application processor and modem processor, wherein, application processor mainly processes Operating system, user interface and application program etc., modem processor mainly processes radio communication.Permissible Being understood by, above-mentioned modem processor can not also be integrated in processor 180.
Terminal 500 also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can With logically contiguous with processor 180 by power-supply management system, thus realize management by power-supply management system The functions such as charging, electric discharge and power managed.Power supply 190 can also include one or more directly Stream or alternating current power supply, recharging system, power failure detection circuit, power supply changeover device or inverter, electricity The random component such as source positioning indicator.
Although not shown, terminal 500 can also include photographic head, bluetooth module etc., does not repeats them here. The most in the present embodiment, the display unit of terminal 500 is touch-screen display, and terminal 500 also includes Memorizer, and one or more than one program, one of them or more than one program is stored in deposits In reservoir, and it is configured to be performed to state one or more than one program by one or more than one processor Comprise the instruction for carrying out following operation:
Obtain each frequency gear that local processor is supported, and detect answering of local mounted target type By program, the application program of local mounted target type is actuated for monitoring;
When the first application program launching in the application program of local mounted target type, according to process Each frequency gear that device is supported, the frequency gear using processor promotes;
Based on the frequency gear after promoting, run the first application program.
Optionally, each frequency gear supported according to processor, the frequency gear using processor carries Rise, including:
The frequency gear used by processor, is adjusted to frequency the highest in each frequency gear that processor is supported Gear.
Optionally, based on the frequency gear after promoting, after running the first application program, also include:
According to predetermined period, the temperature of processor is detected;
If the temperature of processor is higher than the temperature threshold preset, then according to each frequency gear of processor support, The frequency gear used by processor reduces a gear;If the temperature of processor is less than the temperature threshold preset Value, then the frequency gear keeping processor to use is constant.
Optionally, method also includes:
Frequency gear before promoting is carried out record;
After the first closing application program, the frequency gear used by processor, before being adjusted to the lifting of record Frequency gear.
Optionally, based on the frequency gear after promoting, after running the first application program, also include:
When the first closing application program, the frequency gear using processor when closing carries out record;
For first application program belonging to target type started after the first closing application program, opening Time dynamic, the frequency gear used by processor, when being adjusted to the first closing application program of record, processor makes Frequency gear.
Optionally, based on the frequency gear after promoting, after running the first application program, also include:
When the first closing application program, the frequency gear using processor when closing carries out record;
When the first application program is again started up, the frequency gear that processor is used, it is adjusted to the of record The frequency gear that when one application program last time closed, processor uses.
In the embodiment of the present invention, obtain each frequency gear that local processor is supported, and detect this locality and pacify The application program of target type of dress, is actuated for prison to the application program of local mounted target type Control, when the first application program launching in the application program of local mounted target type, according to process Each frequency gear that device is supported, the frequency gear using processor promotes, based on the frequency after promoting Gear, runs the first application program.So, improve the frequency gear of processor, can be the first application journey The operation of sequence provides and more processes resource, and carries out process closedown when starting application program without user Complex operations, it is thus possible to improve start application program efficiency.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through Hardware completes, it is also possible to instructing relevant hardware by program and complete, described program can be stored in In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's Within spirit and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's Within protection domain.

Claims (12)

1. the method running application program, it is characterised in that described method includes:
Obtain each frequency gear that local processor is supported, and detect answering of local mounted target type By program, the application program of target type mounted to described this locality be actuated for monitoring;
When the first application program launching in the application program of the mounted target type in described this locality, according to Each frequency gear that described processor is supported, the frequency gear using described processor promotes;
Based on the frequency gear after promoting, run described first application program.
Method the most according to claim 1, it is characterised in that described support according to described processor Each frequency gear, the frequency gear using described processor promotes, including:
The frequency gear used by described processor, is adjusted in each frequency gear that described processor is supported High frequency gear.
Method the most according to claim 1, it is characterised in that described based on the frequency gear after promoting, After running described first application program, also include:
According to predetermined period, the temperature of described processor is detected;
If the temperature of described processor higher than preset temperature threshold, then according to described processor support each Frequency gear, the frequency gear used by described processor reduces a gear;If the temperature of described processor Degree is less than the temperature threshold preset, then the frequency gear keeping described processor to use is constant.
Method the most according to claim 1, it is characterised in that described method also includes:
Frequency gear before promoting is carried out record;
After described first closing application program, the frequency gear that described processor is used, it is adjusted to record Described lifting before frequency gear.
Method the most according to claim 1, it is characterised in that described based on the frequency gear after promoting, After running described first application program, also include:
When described first closing application program, the frequency gear using described processor when closing is remembered Record;
For first the application journey belonging to described target type started after described first closing application program Sequence, on startup, the frequency gear that described processor is used, it is adjusted to the described first application journey of record The frequency gear that when sequence is closed, described processor uses.
Method the most according to claim 1, it is characterised in that described based on the frequency gear after promoting, After running described first application program, also include:
When described first closing application program, the frequency gear using described processor when closing is remembered Record;
When described first application program is again started up, the frequency gear that described processor is used, it is adjusted to The frequency gear that when the described first application program last time of record closes, described processor uses.
7. the device running application program, it is characterised in that described device includes:
Acquisition module, for obtaining each frequency gear that the processor of this locality is supported;
Monitoring module, for detecting the application program of local mounted target type, pacifies to described this locality Dress target type application program be actuated for monitoring;
FM module, for when the first application journey in the application program of the mounted target type in described this locality When sequence starts, each frequency gear supported according to described processor, the frequency gear that described processor is used Promote;
Run module, for based on the frequency gear after promoting, running described first application program.
Device the most according to claim 7, it is characterised in that described FM module is used for:
The frequency gear used by described processor, is adjusted in each frequency gear that described processor is supported High frequency gear.
Device the most according to claim 7, it is characterised in that described FM module is additionally operable to:
Based on promote after frequency gear, after running described first application program, according to predetermined period, The temperature of described processor is detected;
If the temperature of described processor higher than preset temperature threshold, then according to described processor support each Frequency gear, the frequency gear used by described processor reduces a gear;If the temperature of described processor Degree is less than the temperature threshold preset, then the frequency gear keeping described processor to use is constant.
Device the most according to claim 7, it is characterised in that described FM module is additionally operable to:
Frequency gear before promoting is carried out record;
After described first closing application program, the frequency gear that described processor is used, it is adjusted to record Described lifting before frequency gear.
11. devices according to claim 7, it is characterised in that described FM module is additionally operable to:
When described first closing application program, the frequency gear using described processor when closing is remembered Record;
For first the application journey belonging to described target type started after described first closing application program Sequence, on startup, the frequency gear that described processor is used, it is adjusted to the described first application journey of record The frequency gear that when sequence is closed, described processor uses.
12. devices according to claim 7, it is characterised in that described FM module is additionally operable to:
When described first closing application program, the frequency gear using described processor when closing is remembered Record;
When described first application program is again started up, the frequency gear that described processor is used, it is adjusted to The frequency gear that when the described first application program last time of record closes, described processor uses.
CN201510198492.4A 2015-04-23 2015-04-23 Method and device for running application program Active CN106155733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510198492.4A CN106155733B (en) 2015-04-23 2015-04-23 Method and device for running application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510198492.4A CN106155733B (en) 2015-04-23 2015-04-23 Method and device for running application program

Publications (2)

Publication Number Publication Date
CN106155733A true CN106155733A (en) 2016-11-23
CN106155733B CN106155733B (en) 2020-07-17

Family

ID=57347043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510198492.4A Active CN106155733B (en) 2015-04-23 2015-04-23 Method and device for running application program

Country Status (1)

Country Link
CN (1) CN106155733B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608861A (en) * 2017-10-11 2018-01-19 广东欧珀移动通信有限公司 Cooling control method and device
CN109408149A (en) * 2018-10-30 2019-03-01 青岛海信传媒网络技术有限公司 Starting method, apparatus, equipment and the storage medium of application program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256484A (en) * 2007-02-28 2008-09-03 国际商业机器公司 Method and equipment for determining to call at least one application program frequency
CN101379451A (en) * 2006-02-07 2009-03-04 欧睦技术公司 Application software initiated speedup
CN103513748A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Method for processing information, information processor and electronic device
CN104346226A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Processor frequency control method and electronic equipment
CN104407690A (en) * 2014-12-19 2015-03-11 中科创达软件股份有限公司 Method, device and mobile terminal for regulating operating frequency of CPU (Central Processing Unit)
CN104424031A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Working frequency control method and device for processor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101379451A (en) * 2006-02-07 2009-03-04 欧睦技术公司 Application software initiated speedup
CN101256484A (en) * 2007-02-28 2008-09-03 国际商业机器公司 Method and equipment for determining to call at least one application program frequency
CN103513748A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Method for processing information, information processor and electronic device
CN104346226A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Processor frequency control method and electronic equipment
CN104424031A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Working frequency control method and device for processor
CN104407690A (en) * 2014-12-19 2015-03-11 中科创达软件股份有限公司 Method, device and mobile terminal for regulating operating frequency of CPU (Central Processing Unit)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608861A (en) * 2017-10-11 2018-01-19 广东欧珀移动通信有限公司 Cooling control method and device
CN109408149A (en) * 2018-10-30 2019-03-01 青岛海信传媒网络技术有限公司 Starting method, apparatus, equipment and the storage medium of application program
CN109408149B (en) * 2018-10-30 2022-02-25 青岛海信传媒网络技术有限公司 Application program starting method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106155733B (en) 2020-07-17

Similar Documents

Publication Publication Date Title
CN103500002B (en) The method of application program management, device and terminal unit
CN103389863B (en) A kind of display control method and device
CN104657105B (en) A kind of method and apparatus of the speech voice input function opening terminal
CN103473092B (en) A kind of download the processing method of application, device and terminal unit
CN105005909A (en) Method and device for predicting lost users
CN104780164A (en) Method and device for operating game client
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN104765591A (en) Method and system for updating software configuration parameter, and terminal server
CN104834529A (en) Method and device for optimizing performance of application
CN104123120B (en) A kind of browser page data filtering method, device and system
CN104135728B (en) Method for connecting network and device
US20170097725A1 (en) Device and method for starting mobile terminal application and mobile terminal
CN104717341A (en) Message prompting method and terminal
CN104407804A (en) Screen capturing method and screen capturing device as well as electronic device
CN106775828A (en) Application program installation method and device, computer equipment
CN106020844A (en) Method and device for determining kernel running configurations in processor
CN106254910A (en) A kind of method and apparatus recording image
CN106371964A (en) Message prompting method and apparatus
CN104133757A (en) Method for obtaining memory information and terminal
CN104077211A (en) Test method and test system for mobile terminal software
CN105992026A (en) Method and device for displaying barrage comment information
CN104253870A (en) Method and device for controlling data access period
CN106454976A (en) Switching method and device for wireless network and terminal
CN103546632A (en) Method and device for alarm ringing of mobile terminal and mobile terminal
CN104573437A (en) Information authentication method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant