CN106559579A - Mobile terminal and CPU/GPU scheduling parameter update methods - Google Patents

Mobile terminal and CPU/GPU scheduling parameter update methods Download PDF

Info

Publication number
CN106559579A
CN106559579A CN201611092682.9A CN201611092682A CN106559579A CN 106559579 A CN106559579 A CN 106559579A CN 201611092682 A CN201611092682 A CN 201611092682A CN 106559579 A CN106559579 A CN 106559579A
Authority
CN
China
Prior art keywords
mobile terminal
given scenario
cpu
gpu
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.)
Granted
Application number
CN201611092682.9A
Other languages
Chinese (zh)
Other versions
CN106559579B (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.)
Qikekena (Nanjing) Technology Co., Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611092682.9A priority Critical patent/CN106559579B/en
Publication of CN106559579A publication Critical patent/CN106559579A/en
Application granted granted Critical
Publication of CN106559579B publication Critical patent/CN106559579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • 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

Abstract

The invention discloses a kind of mobile terminal and CPU/GPU scheduling parameter update methods, the mobile terminal includes:Detection module, for when mobile terminal is detected into given scenario, according to acquiescence scheduling parameter storage allocation resource so that given scenario is transferred;Acquisition module, for detecting that the given scenario, whether in abnormal running status, if so, then obtains the preset schedule parameter of the CPU and GPU of corresponding default given scenario in mobile terminal;First update module, for the acquiescence scheduling parameter of mobile terminal is updated to the preset schedule parameter;Distribute module, for according to the preset schedule parametric distribution memory source after renewal so that given scenario is transferred.The present invention effectively utilizes the memory source in mobile terminal, ensures different using scene normal operation in the terminal, prevents mobile terminal display picture and fall frame, runs the not good problem of the operation conditions such as interim card or the wasting of resources.

Description

Mobile terminal and CPU/GPU scheduling parameter update methods
Technical field
The present invention relates to CPU/GPU scheduling parameter update methods field, more particularly to a kind of mobile terminal and CPU/GPU tune Degree parameter updating method.
Background technology
Nowadays people use the frequency more and more higher of mobile terminal, and the requirement to running of mobile terminal situation is also more next It is higher.And the operation conditions of mobile terminal mainly by the scheduling parameter arranged in the CPU and/or GPU of mobile terminal it is controlled and Process.Mobile terminal has the scheduling parameter of acquiescence, can ensure that mobile terminal keeps normal in prolonged running Stable running status.
User during using mobile terminal generally requires to enter into some and uses scene, and some use scene Other scheduling parameters are needed, due to giving tacit consent to not being adapted to for scheduling parameter, can cause to run using between scene and mobile terminal The uncoordinated situation of situation.For example when user opens runs a big game, as game is in occupation of ample resources, need CPU and/or GPU others scheduling parameters are adapted to, and the scheduling parameter of the CPU of mobile terminal and/or GPU cannot in real time more Newly, cause actual schedule parameter to be not enough to support the normal operation of game, fall frame so as to cause mobile terminal display picture occur, The not good problems of operation conditions such as operation interim card.
The content of the invention
Present invention is primarily targeted at providing a kind of mobile terminal and CPU/GPU scheduling parameter update methods, it is intended to solve Certainly the scheduling parameter of mobile terminal CPU and/or GPU acquiescences is not adapted to difference and uses scene, causes mobile terminal operation shape occur The not good technical problem of condition.
For achieving the above object, the embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal includes:
Detection module, for when mobile terminal is detected into given scenario, according to acquiescence scheduling parameter storage allocation Resource is transferred for given scenario;
Acquisition module, for detecting that the given scenario, whether in abnormal running status, if so, then obtains movement The preset schedule parameter of the CPU and GPU of corresponding default given scenario in terminal;
First update module, for the acquiescence scheduling parameter of mobile terminal is updated to the preset schedule parameter;
Distribute module, for according to the preset schedule parametric distribution memory source after renewal so that given scenario is transferred.
Alternatively, the acquisition module includes:
First detector unit, for detecting the given scenario whether in abnormal running status;
Judging unit, for if so, then detecting in mobile terminal whether there is idle memory source;
Allocation unit, for when detect have idle memory source in mobile terminal when, distribute in the mobile terminal Idle memory source is transferred for given scenario;
Acquiring unit, for when detect there is no idle memory source in mobile terminal when, obtain right in mobile terminal The preset schedule parameter of the CPU and GPU of the default given scenario answered.
Alternatively, the idle process for calling memory source is there are in mobile terminal, the acquiring unit includes:
Second detector unit, for when detect there is no idle memory source in mobile terminal when, then detect in described Whether have shared by idle process in depositing resource;
Releasing unit, if for having, discharging the memory source of the idle process, and distributes the internal memory money of the release Source is to given scenario for calling;
Applying unit, for if it is not, then obtaining the default of the CPU and GPU of corresponding default given scenario in mobile terminal Scheduling parameter.
Alternatively, the mobile terminal also includes:
Module is exited, for when detecting mobile terminal and exiting given scenario, preset schedule parameter being updated to acquiescence Scheduling parameter is simultaneously applied.
Alternatively, the mobile terminal also includes:
Second update module, it is corresponding default specified for when when updating the data of default given scenario is received, updating The preset schedule parameter of scene.
Additionally, for achieving the above object, the present invention also provides a kind of CPU/GPU scheduling parameters update method, is applied to move Dynamic terminal, the mobile terminal include CPU and GPU, and CPU and GPU have respective acquiescence scheduling parameter, the CPU/GPU Scheduling parameter update method includes:
When mobile terminal is detected into given scenario, according to acquiescence scheduling parameter storage allocation resource for specified field Scape is transferred;
The given scenario is detected whether in abnormal running status, it is if so, then corresponding in acquisition mobile terminal The preset schedule parameter of the CPU and GPU of default given scenario;
The acquiescence scheduling parameter of mobile terminal is updated to into the preset schedule parameter;
According to the preset schedule parametric distribution memory source after renewal so that given scenario is transferred.
Alternatively, the step of whether detection given scenario is in abnormal running status includes:
Detect the given scenario whether in abnormal running status;
If so, then detect in mobile terminal whether there is idle memory source;
When having idle memory source in mobile terminal is detected, distribute the memory source left unused in the mobile terminal So that given scenario is transferred;
When there is no idle memory source in mobile terminal is detected, corresponding default specified field in mobile terminal is obtained The preset schedule parameter of the CPU and GPU of scape.
Alternatively, the idle process for calling memory source is there are in mobile terminal, it is described to detect in mobile terminal When there is no idle memory source, the preset schedule parameter of the CPU and GPU of corresponding default given scenario in mobile terminal is obtained The step of also include:
When there is no idle memory source in mobile terminal is detected, then whether have not busy in detecting the memory source Put shared by process;
The memory source of the idle process if having, is discharged, and distributes the memory source of the release to given scenario For calling;
If it is not, then obtaining the preset schedule parameter of the CPU and GPU of corresponding default given scenario in mobile terminal.
Alternatively, the preset schedule parametric distribution memory source according to after renewal for given scenario transfer the step of Also include afterwards:
When detecting mobile terminal and exiting given scenario, preset schedule parameter is updated to give tacit consent to scheduling parameter and answer With.
Alternatively, it is described when mobile terminal is detected into given scenario, according to acquiescence scheduling parameter storage allocation money Source also includes before transferring for given scenario:
When updating the data of default given scenario is received, the preset schedule ginseng of corresponding default given scenario is updated Number.
In the inventive solutions, first when detection module detects mobile terminal into given scenario, according to Acquiescence scheduling parameter storage allocation resource is transferred for given scenario;Then acquisition module detects whether the given scenario is in Abnormal running status, if so, then obtains the preset schedule of the CPU and GPU of corresponding default given scenario in mobile terminal Parameter;Then the acquiescence scheduling parameter of mobile terminal is updated to the preset schedule parameter by the first update module;Finally distribute Module is according to the preset schedule parametric distribution memory source after renewal so that given scenario is transferred.By the way so that move Dynamic terminal can update the scheduling parameter of mobile terminal CPU and/or GPU in different use scenes, allow actual moving process In scheduling parameter can be adapted to difference and use scene so that the use scene specified can be effectively utilized in mobile terminal Memory source, searches out an equilibrium point between performance and power consumption in different use scenes, so as to ensure different uses Scene normal operation in the terminal, prevents mobile terminal display picture and falls frame, run interim card or the wasting of resources etc. The not good problem of operation conditions.
Description of the drawings
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention;
Fig. 2 is the radio communication device schematic diagram of mobile terminal in Fig. 1;
Fig. 3 is the effect diagram of the normal operation of given scenario in mobile terminal first embodiment of the present invention;
Fig. 4 is the effect diagram of given scenario irregular operating in mobile terminal first embodiment of the present invention
Fig. 5 is the effect diagram of renewal preset schedule parameter in 5th embodiment of mobile terminal of the present invention;
Fig. 6 is the module diagram of mobile terminal first embodiment of the present invention;
Fig. 7 is the refinement module schematic diagram of acquisition module in mobile terminal second embodiment of the present invention;
Fig. 8 is the refinement cell schematics of acquiring unit in mobile terminal 3rd embodiment of the present invention;
Fig. 9 is the module diagram of mobile terminal fourth embodiment of the present invention;
Figure 10 is the module diagram of 5th embodiment of mobile terminal of the present invention;
Figure 11 is the schematic flow sheet of CPU/GPU scheduling parameters update method first embodiment of the present invention;
Figure 12 is to detect that the given scenario is described in CPU/GPU scheduling parameters update method second embodiment of the present invention It is no in abnormal running status, if so, then obtain corresponding default given scenario in mobile terminal CPU and GPU it is pre- If the refinement schematic flow sheet of the step of scheduling parameter;
Figure 13 be CPU/GPU scheduling parameters update method 3rd embodiment of the present invention described in mobile terminal is detected When there is no idle memory source, the preset schedule parameter of the CPU and GPU of corresponding default given scenario in mobile terminal is obtained The step of refinement schematic flow sheet;
Figure 14 is the schematic flow sheet of CPU/GPU scheduling parameters update method fourth embodiment of the present invention;
Figure 15 is the schematic flow sheet of the 5th embodiment of CPU/GPU scheduling parameters update method of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, and refer to the attached drawing is described further.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use For representing the suffix of such as " module ", " part " or " unit " of element only for being conducive to the explanation of the present invention, itself Not specific meaning.Therefore, " module " mixedly can be used with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desk computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for movement Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram for realizing each one optional mobile terminal of embodiment of the invention.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, controller 180, power subsystem 190, Acquisition module 10, first application module 20 etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that It is not required for implementing all components for illustrating.More or less of component can alternatively be implemented.Will be discussed in more detail below shifting The element of dynamic terminal.
Wireless communication unit 110 generally includes one or more assemblies, and which allows mobile terminal 1 00 and radio communication device Or the radio communication between network.
A/V input blocks 120 are used to receive audio or video signal.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.
Sensing unit 140 detects the current state of mobile terminal 1 00, and (for example, mobile terminal 1 00 opens or closes shape State), the position of mobile terminal 1 00, user is for the presence or absence of contact (that is, touch input), the mobile terminal of mobile terminal 1 00 100 orientation, the acceleration of mobile terminal 1 00 or by speed mobile and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.
Output unit 150 can include display unit 151 etc..Display unit 151 is may be displayed in mobile terminal 1 00 The information of process.For example, when mobile terminal 1 00 is in telephone calling model, display unit 151 can show and converse or which Its communication (for example, text messaging, multimedia file download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern or image capture mode, display unit 151 can show capture Image and/or reception image, UI or GUI of video or image and correlation function etc. are shown.
Meanwhile, when the display unit 151 and touch pad touch screen with formation superposed on one another in the form of layer, display unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these display may be constructed such that transparence to allow user from outside viewing, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment wanted, mobile terminal 1 00 can include two or more display units (or other display devices), for example, move Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touch Input pressure value and touch input position and touch input area.
Memorizer 160 can store software program for the process and control operation performed by controller 180 etc., Huo Zheke With the data (for example, telephone directory, message, still image, video etc.) for temporarily storing own Jing outputs or will export.And And, memorizer 160 can be storing the vibration of various modes with regard to exporting when touching and being applied to touch screen and audio signal Data.
Memorizer 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memorizer (for example, SD or DX memorizeies etc.), random access storage device (RAM), static random-access storage Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memorizer with by network connection The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data The related control of communication, video calling etc. and process.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or it is so structured that and control Device 180 is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input for performing on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implementing.For hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one in electronic unit implementing, in some cases, can be implemented in controller 180 by such embodiment. For software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation Software module is implementing.Software code can be come by the software application (or program) write with any appropriate programming language Implement, perform during software code can be stored in memorizer 160 and by controller 180.
As shown in Figure 1 mobile terminal 1 00 may be constructed such that using via frame or packet transmission data it is all if any Line and radio communication device and satellite-based communicator are operating.
The communicator that mobile terminal wherein of the invention is operable to is described referring now to Fig. 2.
Such communicator can use different air interfaces and/or physical layer.For example, used by communicator Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications dress Put (UMTS) (especially, Long Term Evolution (LTE)), global mobile communication device (GSM) etc..As non-limiting example, under The description in face is related to cdma communication device, but such teaching is equally applicable to other types of device.
With reference to Fig. 2, cdma wireless communication device can include multiple mobile terminal 1s 00, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. If back haul link can be constructed according to any one in the interface that Ganji knows, the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that device can include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion that line is covered is radially away from BS270.Or, each subregion can by for diversity reception two or more Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution with specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed intersect can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver Device (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal operated in device 100.In fig. 2 it is shown that several global pick device (GPS) satellites 300.Satellite 300 helps position multiple mobile terminal 1s 00 At least one of.
In fig. 2, multiple satellites 300 are depicted, but it is understood that, it is possible to use any number of satellite is obtained Useful location information.Used as a typical operation of radio communication device, BS270 is received from various mobile terminal 1s 00 Reverse link signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received Each reverse link signal processed in specific BS270.The data of acquisition are forwarded to the BSC275 of correlation.BSC The mobile management function of call resource allocation and the coordination including the soft switching process between BS270 is provided.BSC275 will also connect The data for receiving are routed to MSC280, and which is provided for the extra route service with PSTN290 formation interfaces.Similarly, PSTN290 and MSC280 form interface, and MSC and BSC275 forms interface, and BSC275 correspondingly controls BS270 with by forward direction Link signal is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal hardware configuration, communication apparatus structure, the mobile terminal of the present invention is proposed.
With reference to Fig. 6, the present invention provides a kind of mobile terminal, in mobile terminal first embodiment, the mobile terminal bag CPU and GPU is included, and CPU and GPU have respective acquiescence scheduling parameter, the mobile terminal includes:
Detection module 10, for when mobile terminal is detected into given scenario, according in acquiescence scheduling parameter distribution Resource is deposited so that given scenario is transferred;
Above-mentioned mobile terminal can generally be equipped with CPU and GPU for the equipment such as smart mobile phone, IPAD, the mobile terminal. CPU is central processing unit, is, including one piece of ultra-large integrated circuit in the electronic equipment including mobile terminal, to set in electronics It is important arithmetic core and control core in standby, the main function command being responsible in analyzing and processing electronic equipment and process connect The data for receiving, with the normal operation of the systemic-function of control electronics.GPU is graphic process unit, is that one kind is specially being wrapped Including mobile terminal carries out the microprocessor of image operation work in interior electronic equipment, during Main Function is connection electronic equipment Control mainboard and display device, be able to carry out responsible mathematics and geometrical calculation, to provide display device in display picture Figure render function support.
CPU and GPU have respective scheduling parameter, and the scheduling parameter refers to CPU and GPU in design production process The parameter that its normal operation can be ensured of institute's default setting.In this embodiment, during the scheduling parameter of CPU and GPU is mobile terminal The important parameter of user function experience can most be affected.For example, the parameter such as the running frequency of CPU and online check figure can affect The size of CPU speed of analytic function instruction and processing data within the unit interval, and what the running frequency of GPU and figure were rendered The parameters such as mode can affect GPU that the degree of accuracy of the size and graphic processing data of graph data speed is processed within the unit interval. Overall performance of the scheduling parameter combined influence of the two to mobile terminal in running, finally feeds back to using for user and sees It is in sense:The size and mobile terminal of mobile terminal summary responses speed during the use of user is showing various figures Quality of display effect during graphic data etc..
As long as mobile terminal is in running status, then the respective acquiescence scheduling parameters of CPU and GPU can all come into force, to ensure Mobile terminal normally can run.Scheduling parameter distribution when mobile terminal is detected into given scenario, first to give tacit consent to Memory source is used to given scenario.
Acquisition module 20, for detecting that the given scenario, whether in abnormal running status, is if so, then obtained and moved The preset schedule parameter of the CPU and GPU of corresponding default given scenario in dynamic terminal;
With reference to Fig. 3, when mobile terminal is run with the memory source for giving tacit consent to scheduling parameter distribution, given scenario A is detected Whether can normally run, for example, run smoothness, response speed is normal, and interim card does not occur, and picture shows to fall frame etc., if can be just Often run, then do not perform any function, conversely, referring to Fig. 4, if operation interim card occurs in given scenario B, respond not in time, switching Response lag, picture fall the frame even phenomenon such as mobile terminal deadlock, then prove that acquiescence scheduling parameter is not adapted to currently assigned scene, The coordination of the two is inconsistent, now, obtains the preset schedule ginseng of the CPU and GPU of corresponding default given scenario in mobile terminal Number.The parameter item of preset schedule parameter is relatively more, the running frequency of such as CPU/GPU, online check figure or instruction processing priority Etc..
Given scenario refers to prespecified scene mode, can be divided into various situations, will illustrate below:
1st, residing scene, the loading or operation of such as big game APP, software test type APP after certain APP starts Data acquisition or data analysiss etc.;
2nd, residing for mobile terminal certain specific functional mode, such as energy saver mode or performance mode, that is, meeting use Balance between the performance of mobile terminal and power consumption etc. can be reached in the case of the functional requirement of family.
Certainly, the example of the above is only for example and reference explanation, in technical scheme include but is not limited to more than Illustration, the given scenarios that are different under the normal Run-time scenario state of mobile terminal of others come under the patent of the present invention Within protection domain.
Preset schedule parameter refers to the scheduling parameter being set in advance in mobile terminal memory element, the preset schedule parameter Preserve in the terminal as data, the data processing being not involved in mobile terminal normal course of operation under normal circumstances, only Have when the preset schedule parameter is activated, can be called during mobile terminal carries out data processing.
Supplemented by assistant solve the present embodiment, illustrated with a specific example below:
Assume that the default given scenario in mobile terminal is the large-scale 3D game of certain money, when user is on mobile terminals by behaviour Make or mobile terminal is by from main process task, starting during this large-scale 3D game, mobile terminal
There is the default given scenario of this large-scale 3D game of correspondence in detecting memory element, now, get described The preset schedule parameter of corresponding CPU and GPU in default given scenario.
First update module 30, for the acquiescence scheduling parameter of mobile terminal is updated to the preset schedule parameter;
After getting preset schedule parameter, acquiescence scheduling parameter is updated, i.e., acquiescence scheduling is replaced with preset schedule parameter Parameter, this process occur during given scenario is run.
Distribute module 40, for according to the preset schedule parametric distribution memory source after renewal so that given scenario is transferred.
After the acquiescence scheduling parameter renewal of mobile terminal CPU and GPU is completed, mobile terminal is just according to preset schedule New scheduling data of the parameter for reference data, perform distribution of the scheduling parameter to memory source in real time, and now, memory source is It is allocated with new scheduling parameter, so given scenario will change to the amount of transferring of memory source, it is intended that scene energy The memory source that enough bases are deployed into, ensures the maximized effective execution of its function.
In the inventive solutions, first when detection module 10 detects mobile terminal into given scenario, root According to acquiescence scheduling parameter storage allocation resource so that given scenario is transferred;Then whether acquisition module 20 detects the given scenario In abnormal running status, if so, then obtain corresponding default given scenario in mobile terminal CPU and GPU it is default Scheduling parameter;Then the acquiescence scheduling parameter of mobile terminal is updated to the preset schedule parameter by the first update module 30;Most Afterwards distribute module 40 according to the preset schedule parametric distribution memory source after renewal so that given scenario is transferred.By above-mentioned side Formula so that mobile terminal can update the scheduling parameter of mobile terminal CPU and/or GPU in different use scenes, allows reality Scheduling parameter in the running of border can be adapted to difference and use scene so that the use scene specified can effectively utilize shifting Memory source in dynamic terminal, searches out an equilibrium point between performance and power consumption, in different use scenes so as to protect Barrier is different to use scene normal operation in the terminal, prevents mobile terminal display picture and falls frame, operation interim card or The not good problem of the operation conditions such as the wasting of resources.
Further, on the basis of mobile terminal first embodiment of the present invention, mobile terminal second embodiment, ginseng are proposed Fig. 7 is examined, the difference between the second embodiment and first embodiment is that the acquisition module 20 includes:
First detector unit 21, for detecting the given scenario whether in abnormal running status;
Mobile terminal when into given scenario needs to detect whether the given scenario residing for itself is abnormal operation State, if mobile terminal normally can be run under given scenario, with the current acquiescence scheduling of mobile terminal CPU and GPU The memory source distributed by parameter, it is sufficient to deal with the normal operation of given scenario, now, does not do any function executing.
Judging unit 22, for if so, then detecting in mobile terminal whether there is idle memory source;
If detecting in mobile terminal can not be distributed with the acquiescence scheduling parameter of CPU and GPU under given scenario Deposit resource and maintain the normal operation of itself, now, whether there is in detection mobile terminal has idle memory source.The spare time The memory source put does not produce perform function or without in the current internal memory money for producing implementation effect in referring to mobile terminal Source.
Allocation unit 23, for when detect have idle memory source in mobile terminal when, distribute the mobile terminal In the memory source that leaves unused transfer for given scenario;
When idle memory source is there are in mobile terminal is detected, by the part of the idle memory source or complete The given scenario that part dispensing normally cannot run, calls for which, normally cannot be run with solving or alleviating currently assigned scene Technical problem.Freememory resource in mobile terminal is taken out by the present embodiment, is with current acquiescence scheduling parameter Perform on the premise of the freememory resource transferred.
Acquiring unit 24, for when detect there is no idle memory source in mobile terminal when, obtain in mobile terminal The preset schedule parameter of the CPU and GPU of corresponding default given scenario.
Oepration at full load is in without idle memory source, i.e. current mobile terminal in mobile terminal is detected When, get the preset schedule parameter of the CPU and GPU of corresponding default given scenario in mobile terminal.Due to the default tune Degree parameter is to be stored in the memory element of mobile terminal in advance, therefore without going through other modes such as network or calculating obtaining Take, only need to directly invoke in the memory unit.
Further, on the basis of mobile terminal second embodiment of the present invention, mobile terminal 3rd embodiment, ginseng are proposed Fig. 8 is examined, the difference between the 3rd embodiment and second embodiment is to there are in mobile terminal and call memory source Idle process, the acquiring unit 24 include:
Second detector unit 241, for when detect there is no idle memory source in mobile terminal when, then detect described Whether have shared by idle process in memory source;
Releasing unit 242, if for having, discharging the memory source of the idle process, and distributes the interior of the release Resource is deposited to given scenario for calling;
Applying unit 243, for if it is not, then obtain mobile terminal in corresponding default given scenario CPU and GPU it is pre- If scheduling parameter.
In mobile terminal is got during the preset schedule parameter of the CPU and GPU of corresponding default given scenario, Mobile terminal be based on detect there is no idle memory source in mobile terminal on the premise of obtain, it is among these, mobile Terminal can also carry out the reallocation of memory source, that is, when not having idle memory source in detecting mobile terminal, detection is moved Whether there is idle process to take in the overall memory source of dynamic terminal.The idle process is just referred in the terminal In operation, but no any fuction output is performed or current functional output is performed, but to the current overall operation of mobile terminal Function is had no effect, i.e., when mobile terminal closes certain function, remnants get off the process not stopped.
If detecting the memory source shared by the idle process, the memory source of the occupancy is discharged, and will release Memory source out distributes to given scenario, so which calls.
The memory source left unused shared by process as described in mobile terminal is not detected by, now, depositing from mobile terminal The preset schedule parameter of the CPU and GPU under the default given scenario corresponding to given scenario is got in storage unit.
Mobile terminal not necessarily possesses idle memory source, therefore can only be detected by way of detection.This reality The utilization rate that example can further optimize mobile terminal resource is applied, to ensure that mobile terminal under normal operating conditions can be maximum Change the service requirement that ground meets given scenario.
Further, on the basis of mobile terminal 3rd embodiment of the present invention, mobile terminal fourth embodiment, ginseng are proposed Fig. 9 is examined, the difference between the fourth embodiment and 3rd embodiment is that the mobile terminal also includes:
Module 50 is exited, for when detecting mobile terminal and exiting given scenario, preset schedule parameter being updated to write from memory Recognize scheduling parameter and apply.
Mobile terminal might not be stayed in given scenario after into given scenario always, but with mobile whole The change of end use state or the operation of user and there is conversion, therefore when detecting mobile terminal and exiting given scenario, this When mobile terminal be not necessarily required to the preset schedule parameter of CPU and GPU to carry out the acquisition of memory source, therefore, its default tune Degree parameter might not be adapted to for the running status of current mobile terminal, then can now be exited preset schedule parameter and be led The running status of the mobile terminal led.So be updated to give tacit consent to scheduling parameter by preset schedule parameter, and according to acquiescence scheduling ginseng During number redistributes mobile terminal, various functions perform required memory source.
Further, on the basis of mobile terminal fourth embodiment of the present invention, the 5th embodiment of mobile terminal, ginseng are proposed Figure 10 is examined, the difference between the 5th embodiment and fourth embodiment is that the mobile terminal also includes:
Second update module 60, for when when updating the data of default given scenario is received, updating corresponding default finger Determine the preset schedule parameter of scene.
With reference to Fig. 5, the setting that given scenario and preset schedule parameter B1 are preset in mobile terminal is usually to given scenario Scheduling parameter in normal course of operation is optimized, and works as given scenario and there occurs that change or given scenario are upgraded.Example If given scenario is a large-scale 3D game, when the APP of the game has carried out edition upgrading, then the function scene of the APP occurs New change, then now, original preset schedule parameter B1 may not be adapted to present 3D scene of game, because which is excellent Change scheme can not necessarily be adapted to current 3D scene of game and memory source is transferred.But, to the new of version 3 D scene of game Prioritization scheme preset schedule parameter B2 once occur, then, mobile terminal can by receive redaction 3D game Update the data, so as to preset schedule parameter B1 for updating corresponding redaction 3D scene of game is B2.
Or, when new default given scenario is received, for example, in mobile terminal, default given scenario is just for a few Individual APP, the preset schedule parameter without scene is used for others APP.Specify when developer develops new presetting During preset schedule parameter B3 of scene, mobile terminal can pass through to receive updating the data for default given scenario, in mobile terminal Memory element in update new preset schedule parameter B3 of storage, to expand adaptation of the mobile terminal to more given scenarios itself Or optimization.
The present invention also provides a kind of CPU/GPU scheduling parameters update method, and the CPU/GPU scheduling parameter update methods are main It is applied on mobile terminal, in CPU/GPU scheduling parameter update method first embodiments, with reference to Figure 11, the mobile terminal Including CPU and GPU, and CPU and GPU have respective acquiescence scheduling parameter, the CPU/GPU scheduling parameters update method bag Include:
Step S10, when detect mobile terminal into given scenario when, according to acquiescence scheduling parameter storage allocation resource with Transfer for given scenario;
Above-mentioned mobile terminal can generally be equipped with CPU and GPU for the equipment such as smart mobile phone, IPAD, the mobile terminal. CPU is central processing unit, is, including one piece of ultra-large integrated circuit in the electronic equipment including mobile terminal, to set in electronics It is important arithmetic core and control core in standby, the main function command being responsible in analyzing and processing electronic equipment and process connect The data for receiving, with the normal operation of the systemic-function of control electronics.GPU is graphic process unit, is that one kind is specially being wrapped Including mobile terminal carries out the microprocessor of image operation work in interior electronic equipment, during Main Function is connection electronic equipment Control mainboard and display device, be able to carry out responsible mathematics and geometrical calculation, to provide display device in display picture Figure render function support.
CPU and GPU have respective scheduling parameter, and the scheduling parameter refers to CPU and GPU in design production process The parameter that its normal operation can be ensured of institute's default setting.In this embodiment, during the scheduling parameter of CPU and GPU is mobile terminal The important parameter of user function experience can most be affected.For example, the parameter such as the running frequency of CPU and online check figure can affect The size of CPU speed of analytic function instruction and processing data within the unit interval, and what the running frequency of GPU and figure were rendered The parameters such as mode can affect GPU that the degree of accuracy of the size and graphic processing data of graph data speed is processed within the unit interval. Overall performance of the scheduling parameter combined influence of the two to mobile terminal in running, finally feeds back to using for user and sees It is in sense:The size and mobile terminal of mobile terminal summary responses speed during the use of user is showing various figures Quality of display effect during graphic data etc..
As long as mobile terminal is in running status, then the respective acquiescence scheduling parameters of CPU and GPU can all come into force, to ensure Mobile terminal normally can run.Scheduling parameter distribution when mobile terminal is detected into given scenario, first to give tacit consent to Memory source is used to given scenario.
Step S20, detects whether the given scenario is in abnormal running status, if so, then obtains mobile terminal In corresponding default given scenario CPU and GPU preset schedule parameter;
With reference to Fig. 3, when mobile terminal is run with the memory source for giving tacit consent to scheduling parameter distribution, given scenario A is detected Whether can normally run, for example, run smoothness, response speed is normal, and interim card does not occur, and picture shows to fall frame etc., if can be just Often run, then do not perform any function, conversely, referring to Fig. 4, if operation interim card occurs in given scenario B, respond not in time, switching Response lag, picture fall the frame even phenomenon such as mobile terminal deadlock, then prove that acquiescence scheduling parameter is not adapted to currently assigned scene, The coordination of the two is inconsistent, now, obtains the preset schedule ginseng of the CPU and GPU of corresponding default given scenario in mobile terminal Number.The parameter item of preset schedule parameter is relatively more, the running frequency of such as CPU/GPU, online check figure or instruction processing priority Etc..
Given scenario refers to prespecified scene mode, can be divided into various situations, will illustrate below:
1st, residing scene, the loading or operation of such as big game APP, software test type APP after certain APP starts Data acquisition or data analysiss etc.;
2nd, residing for mobile terminal certain specific functional mode, such as energy saver mode or performance mode, that is, meeting use Balance between the performance of mobile terminal and power consumption etc. can be reached in the case of the functional requirement of family.
Certainly, the example of the above is only for example and reference explanation, in technical scheme include but is not limited to more than Illustration, the given scenarios that are different under the normal Run-time scenario state of mobile terminal of others come under the patent of the present invention Within protection domain.
Preset schedule parameter refers to the scheduling parameter being set in advance in mobile terminal memory element, the preset schedule parameter Preserve in the terminal as data, the data processing being not involved in mobile terminal normal course of operation under normal circumstances, only Have when the preset schedule parameter is activated, can be called during mobile terminal carries out data processing.
Supplemented by assistant solve the present embodiment, illustrated with a specific example below:
Assume that the default given scenario in mobile terminal is the large-scale 3D game of certain money, when user is on mobile terminals by behaviour Make or mobile terminal is by from main process task, starting during this large-scale 3D game, mobile terminal
There is the default given scenario of this large-scale 3D game of correspondence in detecting memory element, now, get described The preset schedule parameter of corresponding CPU and GPU in default given scenario.
The acquiescence scheduling parameter of mobile terminal is updated to the preset schedule parameter by step S30;
After getting preset schedule parameter, acquiescence scheduling parameter is updated, i.e., acquiescence scheduling is replaced with preset schedule parameter Parameter, this process occur during given scenario is run.
Step S40, according to the preset schedule parametric distribution memory source after renewal so that given scenario is transferred.
After the acquiescence scheduling parameter renewal of mobile terminal CPU and GPU is completed, mobile terminal is just according to preset schedule New scheduling data of the parameter for reference data, perform distribution of the scheduling parameter to memory source in real time, and now, memory source is It is allocated with new scheduling parameter, so given scenario will change to the amount of transferring of memory source, it is intended that scene energy The memory source that enough bases are deployed into, ensures the maximized effective execution of its function.
In the inventive solutions, when mobile terminal is detected into given scenario, according to acquiescence scheduling parameter Storage allocation resource is transferred for given scenario;Detect whether the given scenario is in abnormal running status, if so, then Obtain the preset schedule parameter of the CPU and GPU of corresponding default given scenario in mobile terminal;The acquiescence of mobile terminal is dispatched Parameter is updated to the preset schedule parameter;According to the preset schedule parametric distribution memory source after renewal so that given scenario is adjusted Take.By the way so that mobile terminal can update mobile terminal CPU and/or GPU in different use scenes Scheduling parameter, the scheduling parameter allowed in actual moving process can be adapted to difference and use scene so that the use scene energy specified The memory source in mobile terminal is enough effectively utilized, one is searched out in different use scenes between performance and power consumption Equilibrium point, it is different using scene normal operation in the terminal so as to ensure, prevent mobile terminal display picture and fall Frame, runs the not good problem of the operation conditions such as interim card or the wasting of resources.
Further, on the basis of CPU/GPU scheduling parameters update method first embodiment of the present invention, propose CPU/ GPU scheduling parameter update method second embodiments, with reference to Figure 12, the difference between the second embodiment and first embodiment exists In described to detect that the given scenario includes the step of whether being in abnormal running status:
Whether step S21, detect the given scenario in abnormal running status;
Mobile terminal when into given scenario needs to detect whether the given scenario residing for itself is abnormal operation State, if mobile terminal normally can be run under given scenario, with the current acquiescence scheduling of mobile terminal CPU and GPU The memory source distributed by parameter, it is sufficient to deal with the normal operation of given scenario, now, does not do any function executing.
Step S22, if so, then detects in mobile terminal whether there is idle memory source;
If detecting in mobile terminal can not be distributed with the acquiescence scheduling parameter of CPU and GPU under given scenario Deposit resource and maintain the normal operation of itself, now, whether there is in detection mobile terminal has idle memory source.The spare time The memory source put does not produce perform function or without in the current internal memory money for producing implementation effect in referring to mobile terminal Source.
Step S23, when having idle memory source in mobile terminal is detected, distributes what is left unused in the mobile terminal Memory source is transferred for given scenario;
When idle memory source is there are in mobile terminal is detected, by the part of the idle memory source or complete The given scenario that part dispensing normally cannot run, calls for which, normally cannot be run with solving or alleviating currently assigned scene Technical problem.Freememory resource in mobile terminal is taken out by the present embodiment, is with current acquiescence scheduling parameter Perform on the premise of the freememory resource transferred.
Step S24, it is when there is no idle memory source in mobile terminal is detected, corresponding pre- in acquisition mobile terminal If the preset schedule parameter of the CPU of given scenario and GPU.
Oepration at full load is in without idle memory source, i.e. current mobile terminal in mobile terminal is detected When, get the preset schedule parameter of the CPU and GPU of corresponding default given scenario in mobile terminal.Due to the default tune Degree parameter is to be stored in the memory element of mobile terminal in advance, therefore without going through other modes such as network or calculating obtaining Take, only need to directly invoke in the memory unit.
Further, on the basis of CPU/GPU scheduling parameters update method second embodiment of the present invention, propose CPU/ GPU scheduling parameter update method 3rd embodiments, with reference to Figure 13, the difference between the 3rd embodiment and second embodiment exists In, the idle process for calling memory source is there are in mobile terminal, it is described interior without what is left unused in mobile terminal is detected When depositing resource, include the step of the preset schedule parameter of the CPU and GPU of corresponding default given scenario in acquisition mobile terminal:
Step S241, when not having idle memory source in mobile terminal is detected, then in detecting the memory source Whether have shared by idle process;
Step S242, if having, discharges the memory source of the idle process, and distributes the memory source of the release extremely Given scenario is for calling;
Step S243, if it is not, then obtaining the preset schedule of the CPU and GPU of corresponding default given scenario in mobile terminal Parameter.
In mobile terminal is got during the preset schedule parameter of the CPU and GPU of corresponding default given scenario, Mobile terminal be based on detect there is no idle memory source in mobile terminal on the premise of obtain, it is among these, mobile Terminal can also carry out the reallocation of memory source, that is, when not having idle memory source in detecting mobile terminal, detection is moved Whether there is idle process to take in the overall memory source of dynamic terminal.The idle process is just referred in the terminal In operation, but no any fuction output is performed or current functional output is performed, but to the current overall operation of mobile terminal Function is had no effect, i.e., when mobile terminal closes certain function, remnants get off the process not stopped.
If detecting the memory source shared by the idle process, the memory source of the occupancy is discharged, and will release Memory source out distributes to given scenario, so which calls.
The memory source left unused shared by process as described in mobile terminal is not detected by, now, depositing from mobile terminal The preset schedule parameter of the CPU and GPU under the default given scenario corresponding to given scenario is got in storage unit.
Mobile terminal not necessarily possesses idle memory source, therefore can only be detected by way of detection.This reality The utilization rate that example can further optimize mobile terminal resource is applied, to ensure that mobile terminal under normal operating conditions can be maximum Change the service requirement that ground meets given scenario.
Further, on the basis of CPU/GPU scheduling parameters update method 3rd embodiment of the present invention, propose CPU/ GPU scheduling parameter update method fourth embodiments, with reference to Figure 14, the difference between the fourth embodiment and 3rd embodiment exists Also include after, the preset schedule parametric distribution memory source according to after renewal is for the step of given scenario is transferred:
Preset schedule parameter, when detecting mobile terminal and exiting given scenario, is updated to acquiescence scheduling ginseng by step S50 Count and apply.
Mobile terminal might not be stayed in given scenario after into given scenario always, but with mobile whole The change of end use state or the operation of user and there is conversion, therefore when detecting mobile terminal and exiting given scenario, this When mobile terminal be not necessarily required to the preset schedule parameter of CPU and GPU to carry out the acquisition of memory source, therefore, its default tune Degree parameter might not be adapted to for the running status of current mobile terminal, then can now be exited preset schedule parameter and be led The running status of the mobile terminal led.So be updated to give tacit consent to scheduling parameter by preset schedule parameter, and according to acquiescence scheduling ginseng During number redistributes mobile terminal, various functions perform required memory source.
Further, on the basis of CPU/GPU scheduling parameters update method fourth embodiment of the present invention, propose CPU/ The 5th embodiment of GPU scheduling parameters update method, with reference to Figure 15, the difference between the 5th embodiment and fourth embodiment exists In, it is described when mobile terminal is detected into given scenario, according to acquiescence scheduling parameter storage allocation resource for specified field Scape also includes before transferring:
Step S60, when when updating the data of default given scenario is received, updates the default of corresponding default given scenario Scheduling parameter.
With reference to Fig. 5, the setting that given scenario and preset schedule parameter B1 are preset in mobile terminal is usually to given scenario Scheduling parameter in normal course of operation is optimized, and works as given scenario and there occurs that change or given scenario are upgraded.Example If given scenario is a large-scale 3D game, when the APP of the game has carried out edition upgrading, then the function scene of the APP occurs New change, then now, original preset schedule parameter B1 may not be adapted to present 3D scene of game, because which is excellent Change scheme can not necessarily be adapted to current 3D scene of game and memory source is transferred.But, to the new of version 3 D scene of game Prioritization scheme preset schedule parameter B2 once occur, then, mobile terminal can by receive redaction 3D game Update the data, so as to preset schedule parameter B1 for updating corresponding redaction 3D scene of game is B2.
Or, when new default given scenario is received, for example, in mobile terminal, default given scenario is just for a few Individual APP, the preset schedule parameter without scene is used for others APP.Specify when developer develops new presetting During preset schedule parameter B3 of scene, mobile terminal can pass through to receive updating the data for default given scenario, in mobile terminal Memory element in update new preset schedule parameter B3 of storage, to expand adaptation of the mobile terminal to more given scenarios itself Or optimization.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row His property is included, so that a series of process, method, article or device including key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), use so that a station terminal equipment including some instructions (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of mobile terminal, it is characterised in that the mobile terminal includes CPU and GPU, and CPU and GPU have it is respective silent Recognize scheduling parameter, the mobile terminal includes:
Detection module, for when mobile terminal is detected into given scenario, according to acquiescence scheduling parameter storage allocation resource So that given scenario is transferred;
Acquisition module, for detecting that the given scenario, whether in abnormal running status, if so, then obtains mobile terminal In corresponding default given scenario CPU and GPU preset schedule parameter;
First update module, for the acquiescence scheduling parameter of mobile terminal is updated to the preset schedule parameter;
Distribute module, for according to the preset schedule parametric distribution memory source after renewal so that given scenario is transferred.
2. mobile terminal as claimed in claim 1, it is characterised in that the acquisition module includes:
First detector unit, for detecting the given scenario whether in abnormal running status;
Judging unit, for if so, then detecting in mobile terminal whether there is idle memory source;
Allocation unit, for when detect have idle memory source in mobile terminal when, distribute in the mobile terminal and leave unused Memory source transfer for given scenario;
Acquiring unit, for when detect there is no idle memory source in mobile terminal when, obtain corresponding in mobile terminal The preset schedule parameter of the CPU and GPU of default given scenario.
3. mobile terminal as claimed in claim 2, it is characterised in that there are in mobile terminal and call the idle of memory source Process, the acquiring unit include:
Second detector unit, for when detect there is no idle memory source in mobile terminal when, then detect the internal memory money Whether have shared by idle process in source;
Releasing unit, if for having, discharging the memory source of the idle process, and distributes the memory source of the release extremely Given scenario is for calling;
Applying unit, for if it is not, then obtaining the preset schedule of the CPU and GPU of corresponding default given scenario in mobile terminal Parameter.
4. mobile terminal as claimed in claim 3, it is characterised in that the mobile terminal also includes:
Module is exited, for when detecting mobile terminal and exiting given scenario, preset schedule parameter being updated to acquiescence scheduling Parameter is simultaneously applied.
5. the mobile terminal as described in Claims 1-4 any one, it is characterised in that the mobile terminal also includes:
Second update module, for when when updating the data of default given scenario is received, updating corresponding default given scenario Preset schedule parameter.
6. a kind of CPU/GPU scheduling parameters update method, is applied to mobile terminal, it is characterised in that the mobile terminal includes CPU and GPU, and CPU and GPU have respective acquiescence scheduling parameter, the CPU/GPU scheduling parameters update method includes:
When mobile terminal is detected into given scenario, according to acquiescence scheduling parameter storage allocation resource so that given scenario is adjusted Take;
The given scenario is detected whether in abnormal running status, it is if so, then corresponding default in acquisition mobile terminal The preset schedule parameter of the CPU and GPU of given scenario;
The acquiescence scheduling parameter of mobile terminal is updated to into the preset schedule parameter;
According to the preset schedule parametric distribution memory source after renewal so that given scenario is transferred.
7. CPU/GPU scheduling parameters update method as claimed in claim 6, it is characterised in that the detection specified field The step of whether scape is in abnormal running status includes:
Detect the given scenario whether in abnormal running status;
If so, then detect in mobile terminal whether there is idle memory source;
When having idle memory source in mobile terminal is detected, distribute the memory source that leaves unused in the mobile terminal for Given scenario is transferred;
When there is no idle memory source in mobile terminal is detected, corresponding default given scenario in acquisition mobile terminal The preset schedule parameter of CPU and GPU.
8. CPU/GPU scheduling parameters update method as claimed in claim 7, it is characterised in that tune is there are in mobile terminal It is with the idle process of memory source, described when there is no idle memory source in mobile terminal is detected, obtain mobile terminal In corresponding default given scenario CPU and GPU preset schedule parameter the step of also include:
When there is no idle memory source in mobile terminal is detected, then whether have in detecting the memory source it is idle enter Shared by journey;
If having, discharge the memory source of the idle process, and distribute the memory source of the release to given scenario for Call;
If it is not, then obtaining the preset schedule parameter of the CPU and GPU of corresponding default given scenario in mobile terminal.
9. CPU/GPU scheduling parameters update method as claimed in claim 8, it is characterised in that it is described according to renewal after it is pre- If scheduling parameter storage allocation resource is for also including after the step of given scenario is transferred:
When detecting mobile terminal and exiting given scenario, preset schedule parameter is updated to give tacit consent to scheduling parameter and apply.
10. CPU/GPU scheduling parameter update methods as described in claim 6 to 9 any one, it is characterised in that described to work as When detecting mobile terminal into given scenario, before being transferred for given scenario according to acquiescence scheduling parameter storage allocation resource Also include:
When updating the data of default given scenario is received, the preset schedule parameter of corresponding default given scenario is updated.
CN201611092682.9A 2016-11-30 2016-11-30 Mobile terminal and CPU/GPU scheduling parameter updating method Active CN106559579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611092682.9A CN106559579B (en) 2016-11-30 2016-11-30 Mobile terminal and CPU/GPU scheduling parameter updating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611092682.9A CN106559579B (en) 2016-11-30 2016-11-30 Mobile terminal and CPU/GPU scheduling parameter updating method

Publications (2)

Publication Number Publication Date
CN106559579A true CN106559579A (en) 2017-04-05
CN106559579B CN106559579B (en) 2020-08-21

Family

ID=58445839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611092682.9A Active CN106559579B (en) 2016-11-30 2016-11-30 Mobile terminal and CPU/GPU scheduling parameter updating method

Country Status (1)

Country Link
CN (1) CN106559579B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107741880A (en) * 2017-10-26 2018-02-27 广东欧珀移动通信有限公司 Processor control method and related product
CN108345513A (en) * 2018-03-20 2018-07-31 北京小米移动软件有限公司 Terminal operating method and device
WO2019042294A1 (en) * 2017-08-31 2019-03-07 Oppo广东移动通信有限公司 Resource allocation method and related product
CN109885405A (en) * 2019-02-02 2019-06-14 珠海金山网络游戏科技有限公司 A kind of dynamic allocation method and system calculate equipment and storage medium
CN110442389A (en) * 2019-08-07 2019-11-12 北京技德系统技术有限公司 A kind of shared method using GPU of more desktop environments
CN111190471A (en) * 2020-01-02 2020-05-22 联想(北京)有限公司 Control method, control device and electronic equipment
CN114820272A (en) * 2022-03-18 2022-07-29 维塔科技(北京)有限公司 Data interaction method and device, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150449A (en) * 2001-11-19 2003-05-23 Matsushita Electric Ind Co Ltd Cellular phone device
US20160098305A1 (en) * 2014-10-03 2016-04-07 Tyco Safety Products Canada Ltd. Method and apparatus for resource balancing in an automation and alarm architecture
CN105512091A (en) * 2015-12-03 2016-04-20 青岛海信移动通信技术股份有限公司 Memory allocation method and device
CN105893142A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Resource distribution method and device
CN105975301A (en) * 2016-04-29 2016-09-28 北京小米移动软件有限公司 Memory cleaning method and device, and electronic equipment
CN106020987A (en) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 Method and device for determining kernel running configurations in processor
CN106020990A (en) * 2016-06-30 2016-10-12 宇龙计算机通信科技(深圳)有限公司 Control method for central processing unit and terminal equipment
CN106126320A (en) * 2016-06-21 2016-11-16 依偎科技(南昌)有限公司 Method, device and the terminal that a kind of terminal capabilities optimizes

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150449A (en) * 2001-11-19 2003-05-23 Matsushita Electric Ind Co Ltd Cellular phone device
US20160098305A1 (en) * 2014-10-03 2016-04-07 Tyco Safety Products Canada Ltd. Method and apparatus for resource balancing in an automation and alarm architecture
CN105512091A (en) * 2015-12-03 2016-04-20 青岛海信移动通信技术股份有限公司 Memory allocation method and device
CN105893142A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Resource distribution method and device
CN105975301A (en) * 2016-04-29 2016-09-28 北京小米移动软件有限公司 Memory cleaning method and device, and electronic equipment
CN106020987A (en) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 Method and device for determining kernel running configurations in processor
CN106126320A (en) * 2016-06-21 2016-11-16 依偎科技(南昌)有限公司 Method, device and the terminal that a kind of terminal capabilities optimizes
CN106020990A (en) * 2016-06-30 2016-10-12 宇龙计算机通信科技(深圳)有限公司 Control method for central processing unit and terminal equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019042294A1 (en) * 2017-08-31 2019-03-07 Oppo广东移动通信有限公司 Resource allocation method and related product
CN107741880A (en) * 2017-10-26 2018-02-27 广东欧珀移动通信有限公司 Processor control method and related product
CN107741880B (en) * 2017-10-26 2021-04-23 Oppo广东移动通信有限公司 Processor control method and related product
CN108345513A (en) * 2018-03-20 2018-07-31 北京小米移动软件有限公司 Terminal operating method and device
CN109885405A (en) * 2019-02-02 2019-06-14 珠海金山网络游戏科技有限公司 A kind of dynamic allocation method and system calculate equipment and storage medium
CN109885405B (en) * 2019-02-02 2021-11-12 珠海金山网络游戏科技有限公司 Dynamic allocation method and system, computing device and storage medium
CN110442389A (en) * 2019-08-07 2019-11-12 北京技德系统技术有限公司 A kind of shared method using GPU of more desktop environments
CN110442389B (en) * 2019-08-07 2024-01-09 北京技德系统技术有限公司 Method for sharing GPU (graphics processing Unit) in multi-desktop environment
CN111190471A (en) * 2020-01-02 2020-05-22 联想(北京)有限公司 Control method, control device and electronic equipment
CN111190471B (en) * 2020-01-02 2022-04-22 联想(北京)有限公司 Control method, control device and electronic equipment
CN114820272A (en) * 2022-03-18 2022-07-29 维塔科技(北京)有限公司 Data interaction method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN106559579B (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN106559579A (en) Mobile terminal and CPU/GPU scheduling parameter update methods
EP3514684A1 (en) Memory recovery method and apparatus
CN106155741B (en) It is a kind of to avoid processing unit and method of the application program without response
CN105827775B (en) A kind of test method and system reducing MIPI interference
CN106844032A (en) The storage processing method and device of a kind of terminal applies
CN105511928B (en) System upgrade device and method
CN106843450A (en) The storage processing method and device of a kind of terminal applies
EP2843525A1 (en) Electronic device and method for displaying application information
CN107133097A (en) Memory Optimize Method and device
CN106648811A (en) Method for starting application of terminal and terminal
CN105611594A (en) Network switching device and method
CN106844033A (en) One kind application quick start method and terminal
CN105094531A (en) Icon ordering system and method
CN106055324B (en) System theme replaces device and method
CN106557291B (en) Split screen processing method and processing device
CN105843478B (en) The icon display control method and device of rapid switch
CN106803860A (en) The storage processing method and device of a kind of terminal applies
CN105813148A (en) Network switching apparatus and method
CN107066320A (en) The device and method that a kind of Android processes are freezed and thawed
CN107168803A (en) A kind of cpu resource distribution method and terminal
CN106775828A (en) Application program installation method and device, computer equipment
CN106569712A (en) Borderless mobile terminal and screen splitting method based on borderless mobile terminal
CN106775345A (en) Mobile terminal bright screen control device and method
CN105898888A (en) Network speed stacking device and method
CN105867749B (en) A kind of menu interface display methods 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
TA01 Transfer of patent application right

Effective date of registration: 20200717

Address after: 210036, 301 Hanzhoung Avenue, Gulou District, Jiangsu, Nanjing

Applicant after: Qikekena (Nanjing) Technology Co., Ltd

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant