CN109445930A - Program optimization method, device, terminal and storage medium - Google Patents
Program optimization method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109445930A CN109445930A CN201810537405.7A CN201810537405A CN109445930A CN 109445930 A CN109445930 A CN 109445930A CN 201810537405 A CN201810537405 A CN 201810537405A CN 109445930 A CN109445930 A CN 109445930A
- Authority
- CN
- China
- Prior art keywords
- application
- destination application
- operating
- parameter
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5094—Allocation of resources, e.g. of the central processing unit [CPU] where the allocation takes into account power or heat criteria
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present application discloses a kind of program optimization method, device, terminal and storage medium, belongs to optimizing application field.The described method includes: operating system is connect by the binder between destination application, system operation information is sent to destination application, system operation information is for characterizing operating status locating for system;Destination application receives system operation information;Destination application determines that program optimization strategy, program optimization strategy are used to adjust the operation reserve of destination application according to system operation information;Destination application executes program optimization strategy.In the embodiment of the present application, the system operation information that destination application is transmitted based on operating system, specific aim is adjusted self-operating strategy, to promote the running quality of destination application in an operating system, and caused by avoiding because of hardware performance deficiency phenomena such as Caton, frame losing, achieve the effect that improve application program operation fluency.
Description
Technical field
The invention relates to optimizing application technical field, in particular to a kind of program optimization method, device, terminal and
Storage medium.
Background technique
With the continuous development of mobile terminal technology, the type of application program is also more and more in mobile terminal.For example, moving
Game class application program, social category application program, video playback class application program, instant messaging class are installed simultaneously in dynamic terminal
Application program and shopping class application program.
In order to improve the usage experience of application program, mobile terminal manufacturer all in the hardware configuration for constantly promoting itself, with
Improve the speed of service and quality of application program.For example, mobile terminal by configure high performance central processing unit (CPU,
Central Processing Unit) and graphics processor (Graphics Processing Unit, GPU), Lai Tigao game
The speed of service and image quality of class application program.
Summary of the invention
The embodiment of the present application provides a kind of program optimization method, device, terminal and storage medium, can solve using journey
The bad problem of sort run fluency.The technical solution is as follows:
In a first aspect, providing a kind of program optimization method, the method is applied to terminal, and the terminal operating has operation
System and at least one application program, which comprises
The operating system is connect by the bonding (binder) between destination application, is sent out to destination application
System operation information is sent, the system operation information is for characterizing operating status locating for system;
The destination application receives the system operation information;
The destination application determines program optimization strategy, described program optimisation strategy according to the system operation information
For adjusting the operation reserve of the destination application;
The destination application executes described program optimisation strategy.
Second aspect provides a kind of program optimization device, and described device is applied to terminal, and the terminal operating has operation
System and at least one application program, described device include:
Operating system module is sent out for being connect by the binder between destination application to destination application
System operation information is sent, the system operation information is for characterizing operating status locating for terminal;
Destination application module, for receiving the system operation information;
The destination application module is also used to determine program optimization strategy according to the system operation information, described
Program optimization strategy is used to adjust the operation reserve of the destination application;
The destination application module, is also used to execute described program optimisation strategy.
The third aspect, provides a kind of terminal, and the terminal includes processor and memory;The memory be stored with to
A few instruction, at least one instruction is for being executed by the processor to realize program optimization as described in relation to the first aspect
Method.
Fourth aspect provides a kind of computer readable storage medium, and the storage medium is stored at least one instruction,
At least one instruction is for being executed by processor the program optimization method to realize as described in relation to the first aspect.
In program optimization method provided by the embodiments of the present application, operating system operating status according to locating for system passes through
The binder established between destination application in advance is connect, and sends corresponding system operation information to destination application,
So that destination application formulates corresponding program optimization strategy according to system operation information, so it is dynamic according to program optimization strategy
State adjusts the operation reserve of itself;The system operation information that destination application is transmitted based on operating system, specific aim is to itself
Operation reserve is adjusted, to promote the running quality of destination application in an operating system, and is avoided because of hardware performance
Phenomena such as Caton caused by deficiency, frame losing, has achieved the effect that improve application program operation fluency.
Detailed description of the invention
Fig. 1 is the structural schematic diagram for the terminal that one exemplary embodiment of the application provides;
Fig. 2 is the implementation diagram of application program and operating system communication process in terminal;
Fig. 3 is the structural schematic diagram for the terminal that one exemplary embodiment of the application provides;
Fig. 4 and Fig. 5 is the implementation diagram of application program and operating system communication process in terminal shown in Fig. 3;
Fig. 6 is the structural schematic diagram for the terminal that another exemplary embodiment of the application provides;
Fig. 7 shows the flow chart of the program optimization method shown in one exemplary embodiment of the application;
Fig. 8 shows the flow chart of the program optimization method shown in another exemplary embodiment of the application;
Fig. 9 is that destination application executes program optimization implementation of strategies schematic diagram;
Figure 10 shows the flow chart of the program optimization method shown in another exemplary embodiment of the application;
Figure 11 is that destination application executes program optimization implementation of strategies schematic diagram;
Figure 12 shows the flow chart of the program optimization method shown in another exemplary embodiment of the application;
Figure 13 shows the structural block diagram of the program optimization device of the application one embodiment offer.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Referenced herein " multiple " refer to two or more."and/or", the association for describing affiliated partner are closed
System indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, individualism
These three situations of B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Referring to FIG. 1, the structural block diagram of the terminal 100 provided it illustrates one exemplary embodiment of the application.It should
Terminal 100, which can be smart phone, tablet computer, e-book etc., can run the electronic equipment of application program.In the application
Terminal 100 may include one or more such as lower component: processor 110, memory 120 and input/output unit 130.
Processor 110 may include one or more processing core.Processor 110 utilizes various interfaces and connection
Various pieces in entire terminal 100, by running or executing the instruction being stored in memory 120, program, code set or refer to
Collection is enabled, and calls the data being stored in memory 120, executes the various functions and processing data of terminal 100.Optionally,
Processor 110 can use Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate array
(Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic
Array, PLA) at least one of example, in hardware realize.Processor 110 can integrating central processor (Central
Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc.
One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for
Show the rendering and drafting of content;Modem is for handling wireless communication.It is understood that above-mentioned modem
It can not be integrated into processor 110, be realized separately through one piece of communication chip.
Memory 120 may include random access memory (Random Access Memory, RAM), also may include read-only
Memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non-
transitory computer-readable storage medium).Memory 120 can be used for store instruction, program, generation
Code, code set or instruction set.Memory 120 may include storing program area and storage data area, wherein storing program area can store
Instruction for realizing operating system, the instruction for realizing at least one function (such as touch function, sound-playing function,
Image player function etc.), for realizing instruction of following each embodiments of the method etc., which can be Android
(Android) system (including the system based on android system deep development), Apple Inc.'s exploitation IOS system (including base
In the system of IOS system depth exploitation) or other systems.Storage data area can also store terminal 100 and be created in use
Data (such as phone directory, audio, video data, chat record data) etc..
Memory 120 can be divided into operating system space and user's space, and operating system runs on operating system space, former
Raw and third party application runs on user's space.It can reach preferable to guarantee different third party applications
Operational effect, operating system distribute corresponding system resource for different third party applications for it.However, same third party
There is also differences for demand of the different application scene to system resource in application program, for example, under local resource loading scenario, the
Tripartite's application program is more demanding to disk reading speed;Under animation render scenes, third party application is then to GPU
Can it is more demanding.And it is mutually indepedent between operating system and third party application, operating system tends not to perceive in time
The current application scenarios of third party application cause operating system can not be according to the concrete application scene of third party application
Targetedly system resource is carried out to be adapted to.
Also, the running quality of third party application is also related to the real-time operating status of operating system, if third party
Application program cannot obtain the current operating status of operating system in time, and running quality will also be affected.For example, working as terminal
When the temperature is excessively high, third party application is still run with high performance mode, and terminal temperature, which persistently increases, will lead to system crash,
Third party application also will be unable to run.
As shown in Fig. 2, needing to get through third party application and behaviour to improve the running quality of third party application
Make the data communication between system, operating system is enabled to obtain the current scene information of third party application at any time, into
And targetedly system resource is carried out based on current scene and is adapted to;Meanwhile third party application can obtain operation system in real time
The operating status of system, and then program optimization is targetedly carried out based on the operating status.
By taking operating system is android system as an example, the program and data stored in memory 120 is as shown in figure 3, storage
Linux inner core 220, system Runtime Library layer 240, application framework layer 260 and application layer 280 can be stored in device 120, wherein
Linux inner core 220, system Runtime Library layer 240 and application framework layer 260 belong to operating system space, and application layer 280 belongs to use
Family space.Linux inner core 220 provides the driving of bottom for the various hardware of terminal 100, such as show driving, audio driven,
Webcam driver, bluetooth driving, Wi-Fi driving, power management etc..System Runtime Library layer 240 by some libraries C/C++ come for
Android system provides main characteristic and supports.If the library SQLite provides the support of database, the library OpenGL/ES is provided
The support that 3D draws, the library Webkit provides the support etc. of browser kernel.Peace is also provided in system Runtime Library layer 240
Tall and erect run-time library (Android Runtime), it mainly provides some core libraries, and developer can allow for use Java language
To write Android application.Application framework layer 260 provides the various API that may be used when building application program, developer
The application program of oneself, such as activity management, window management, view management, notice pipe can be constructed by using these API
Reason, assures reason, call management, resource management, orientation management at content provider.Operation has at least one application in application layer 280
Program, these application programs can be the included native applications program of operating system, for example, contact person's program, short message program, when
Clock program, camera applications etc.;It is also possible to the third party application that third party developer is developed, such as game class application journey
Sequence, instant messaging program, photograph pretty program, shopping program etc..
A kind of feasible communication mode is as shown in figure 4, third-party application journey between operating system and third party application
The binder communication module for being communicated with operating system is embedded in sequence.
It wherein, include several binder interface functions, different binder interface functions in the binder communication module
For realizing different functions.For example, in binder communication module comprising for update application message (including current frame rate, when
The information such as preceding delay) binder interface function, and for updating application scenarios information (such as game loading scenario, game
Group's battlefield scape etc.) binder interface function.The specific function that the embodiment of the present application is not realized binder interface function
It can be carried out restriction.
Optionally, the default binder interface that corresponding different function is set of operating system developer, and binder will be called
The binder interface function of interface is supplied to third party application developer, by third party application developer according to reality
Demand is embedded into third party application after corresponding binder interface function is packaged into binder communication module.It is embedded
When having the third party application of binder communication module to run, corresponding binder interface function and operating system can be called
Binder interface establish connection, and then communicated by the connection, realize data transmission.
Correspondingly, as shown in figure 4, system firing floor 240 can additionally include interface communication systems 242.Interface communication system
System 242 can be considered as a subsystem in operating system, or be considered as an embedded application program of operating system.Interface communication
System 242 is used to manage the channel binder between third party application and operating system offer binder interface.It is optional
, interface communication systems 242 are used to newly establish the third party application of binder connection and establish the channel binder, and/or,
The channel binder is cleared up to disconnect the third party application of binder connection, and/or, to the third-party application journey of not permission
The binder connection of sequence is filtered etc..
After establishing binder connection between third party application and operating system, data relevant to application scenarios can
To be transferred to operating system by binder connection.It is connected by binder, operating system can also be actively to third-party application
The relevant data of program transportation system running state, alternatively, can be carried out between operating system and third party application two-way
Data transmission.
In another feasible communication mode, as shown in figure 5, third party application can also use socket
(Socket) the Socket interface of mode and interface communication systems 242 establishes long connection, third party application and operating system
Between can by the length connect be communicated.
As shown in Figures 4 and 5, it may be provided with different policy modules in interface communication systems 242, receive third-party application
After the data that program is sent, interface communication systems 242 carry out data using the corresponding policy module of third party application
Analysis, obtains corresponding resource adaptation optimisation strategy.Based on the resource adaptation optimisation strategy that analysis obtains, interface communication systems
242 notify Linux inner core 220 to carry out system resource adaptation optimization by control interface.Wherein, which can use
The mode of Sysfs is communicated with Linux inner core 220.
Optionally, policy module different in interface communication systems 242 can correspond to different third party applications (i.e.
For different application program Provisioning Policy modules), alternatively, different policy modules corresponds to different types of third-party application journey
Sequence (is directed to different types of application program Provisioning Policy module), alternatively, different policy modules corresponds to different system money
Source (is directed to different system resource Provisioning Policy modules), alternatively, different policy modules corresponds to different application scenarios (i.e. needles
To different with application scenarios Provisioning Policy module), the embodiment of the present application does not carry out the specific set-up mode of policy module
It limits.
Optionally, as shown in fig. 4 or 5, it may be provided with different policy modules in third party application, receive operation
After the data relevant to operating status that system is sent, third party application can be made not by different policy modules
Same program optimization strategy, and then program is optimized according to program optimization strategy.
Wherein, interface communication systems 242 can also be communicated by way of Binder with application framework layer 260, be used
In the prospect application message for receiving the transmission of application framework layer 260, to be based on prospect application message, run only for current foreground
Third party application carry out system resource optimization.
By taking operating system is IOS system as an example, the program and data stored in memory 120 is as shown in fig. 6, IOS system
It include: kernel operating system layer 320 (Core OS layer), kernel service layer 340 (Core Services layer), media
Layer 360 (Media layer), tangible layer 380 (Cocoa Touch Layer).Kernel operating system layer 320 includes operation
System kernel, driver and underlying programs frame, these underlying programs frames provide the function closer to hardware, for position
It is used in the program frame of kernel service layer 340.Kernel service layer 340 is supplied to system service required for application program
And/or program frame, such as basic (Foundation) frame, account frame, advertising framework, data frame memory frame, network company
Connect frame, geographical location frame, moving frame etc..Media layer 360 provide for application program in relation to audiovisual in terms of interface, such as
The relevant interface of graph image, the relevant interface of Audiotechnica, the relevant interface of video technique, audio video transmission technology it is wireless
Play (AirPlay) interface etc..Tangible layer 380 provides the relevant frame in various common interfaces for application development,
Tangible layer 380 is responsible for the touch interactive operation of user on the terminal 100.Such as local notice service, long-range Push Service, extensively
Accuse frame, game tool frame, message user interface interface (User Interface, UI) frame, user interface UIKit frame
Frame, map frame etc..
In frame out shown in Fig. 6, frame related with major applications program includes but is not limited to: kernel service layer
The UIKit frame in basic framework and tangible layer 380 in 340.Basic framework provides many basic object class and data
It is unrelated to provide most basic system service and UI for all application programs for type.And the class that UIKit frame provides is basic
UI class libraries, for creating the user interface based on touch, iOS application program can provide UI based on UIKit frame, so it
The architecture of application program is provided, for constructing user interface, drawing, processing and user's alternative events, response gesture etc.
Deng.
Wherein, realize that the mode of third party application and operating system data communication and principle can in IOS system
With reference to android system, details are not described herein by the application.
Input/output unit 130 may include touch display screen, which uses finger, touching for receiving user
Touch the touch operation of any suitable object such as pen on it or nearby, and the user interface of each application program of display.Touching
Touch the front panel that display screen is generally arranged at terminal 100.Touch display screen is designed to shield comprehensively, Curved screen or abnormal shape
Screen.Touch display screen is also designed to shield comprehensively and the combination of Curved screen, the combination of abnormal shape screen and Curved screen, the application reality
It applies example and this is not limited.
In addition to this, it will be understood by those skilled in the art that the structure of terminal 100 shown by above-mentioned attached drawing is not constituted
Restriction to terminal 100, terminal may include perhaps combining certain components or difference than illustrating more or fewer components
Component layout.For example, further including radio circuit, input unit, sensor, voicefrequency circuit, Wireless Fidelity in terminal 100
The components such as (Wireless Fidelity, WiFi) module, power supply, bluetooth module, details are not described herein.
Referring to FIG. 7, it illustrates the flow charts of the program optimization method shown in one exemplary embodiment of the application.This
Embodiment is applied to operation in this way has the terminal 100 of operating system and at least one application program to illustrate.The party
Method includes:
Step 701, operating system is connect by the binder between destination application, is sent to destination application
System operation information, system operation information is for characterizing operating status locating for system.
Optionally, which is the application program of front stage operation.The destination application can be game class
Application program, video playback class application program, instant messaging application program etc., the embodiment of the present application is not to target application journey
Sequence is specifically limited.
It optionally, include the collected terminal operating parameter of operating system, terminal operating ginseng in the system operation information
Number may include at least one of GPU operating parameter, memory parameters, disk parameter, electrical parameter and temperature parameter;Alternatively,
It include the condition prompting information that operating system is determined according to terminal operating parameter in the system operation information, which mentions
Show that information may include CPU overload prompt information, GPU overload prompt information, low memory prompt information, disk overload prompt letter
At least one of breath, not enough power supply prompt information and terminal overheating prompt information.It is all to characterize system running state
Information can be considered system operation information, the present embodiment not to the specifying information type for including in system operation information into
Row limits.
For the mode that operating system is communicated with destination application, in a kind of possible embodiment, target
During application program launching, i.e., binder being established between the binder interface of operating system and being connect, subsequent operation system is
It is communicated by the binder connection.
Socket connection is established in alternatively possible embodiment, between operating system and destination application, from
And it is connected by the socket to destination application and sends system operation information.Wherein, operating system can be in target application
After program starting, socket is established with destination application and is connect.
Optionally, operating system can be established with multiple application programs (front stage operation and running background) a plurality of simultaneously
Socket connection, but only connected by socket to the application program of front stage operation and send system operation information.
In alternatively possible embodiment, operating system developer is embedded in destination application and operating system
The SDK of offer, operating system are to pass through the API for calling embedded SDK to provide, and send system operation information to destination application.
Wherein, embedded SDK, and the API by calling embedded SDK to provide are run after os starting, with destination application
Between establish Binder connection, thus by the Binder connect to destination application send system operation information.
For the opportunity for sending system operation information, in a kind of possible embodiment, operating system is every pre- timing
Between be spaced to destination application and send collected system operation information, for example, the predetermined time interval is 5s or 10s;?
In alternatively possible embodiment, when operating system detects that collected system operation information conforms to a predetermined condition, to mesh
It marks application program and sends system operation information.
Step 702, destination application receives system operation information.
Destination application is to receive the system operation information that operating system is sent by binder connection.
Step 703, destination application determines that program optimization strategy, program optimization strategy are used for according to system operation information
Adjust the operation reserve of destination application.
As shown in fig. 4 or 5, several policy modules are provided in destination application, destination application will receive
System operation information input policing module is based on system operation information by policy module and makes corresponding program optimization strategy.
In a kind of possible embodiment, different policy modules corresponds to different types of system in destination application
Operation information, destination application are the type according to system operation information, corresponding policy module are entered information into, so as to plan
Slightly module formulates program optimization strategy.
In alternatively possible embodiment, different policy modules corresponds to different applied fields in destination application
Scape, destination application are that system operation information is inputted corresponding policy module according to the application scenarios being presently in, so as to
Program optimization strategy is formulated in policy module.
In a kind of possible embodiment, when system operation information indicates operating system load excessive, target application
Program formulates the program optimization strategy for reducing program feature, so that operating system load be avoided to be further aggravated.
Step 704, destination application executes program optimization strategy.
Optionally, based on the program optimization strategy made, destination application carries out program optimization automatically.For example, working as
When the instruction of program optimization strategy reduces application performance, destination application automatically switches to low performance mode operation.
Optionally, when destination application carries out program optimization, corresponding optimization prompt information is shown, and receiving use
The laggard line program optimization of confirmation optimization signal of family triggering.For example, when the instruction of program optimization strategy is adjusted to low performance operation plan
When slightly, destination application shows low performance pattern switching prompt window, when user selects confirmation switching, destination application
Switch to low performance mode operation.
In conclusion in program optimization method provided by the embodiments of the present application, operating system operation according to locating for system
State is connect by the binder established between destination application in advance, sends corresponding system to destination application
Operation information, so that destination application formulates corresponding program optimization strategy according to system operation information, and then according to program
Optimisation strategy dynamic adjusts the operation reserve of itself;The system operation information that destination application is transmitted based on operating system, needle
Property is adjusted self-operating strategy, to promote the running quality of destination application in an operating system, and avoids
Because hardware performance it is insufficient caused by Caton, frame losing phenomena such as, achieved the effect that improve application program operation fluency.
In a kind of possible embodiment, operating system includes into the system operation information that destination application transmits
Collected terminal operating parameter, destination application formulate corresponding program optimization strategy according to the terminal operating parameter.
It is illustrated below using schematical embodiment.
Referring to FIG. 8, it illustrates the flow charts of the program optimization method shown in another exemplary embodiment of the application.
The present embodiment is applied to come in terminal 100 in this way for example, operation has operating system to answer at least one in terminal 100
Use program.This method comprises:
Step 801, destination application calls binder interface function and the binder interface of operating system to establish
Binder connection, binder interface function are provided by the developer of operating system.
In a kind of possible embodiment, the developer of operating system will call the binder of itself binder interface to connect
Mouth function is supplied to third party application developer, as needed will be part or all of by third party application developer
After binder interface function is packaged into binder communication module, it is embedded into third party application.In the embodiment of the present application, mesh
Marking application program can be the third party application for being embedded with the binder communication module.
Optionally, in destination application start-up course, or, calling binder interface in account landfall process
The binder interface of function request and operating system establishes binder connection.After operating system receives request, destination application
Binder is set up between operating system to connect.
Optionally, after operating system receives request, destination application can be verified, and in target application journey
Sequence have connection permission (i.e. destination application be support most optimum distribution of resources authorization application) when, with destination application it
Between establish binder connection, otherwise, operating system will not establish binder with destination application and connect.
Step 802, operating system acquisition terminal operating parameter.
In a kind of possible embodiment, operating system is communicated with inner nuclear layer, to obtain terminal operating parameter.
Schematically, as shown in figure 4, the interface communication systems 242 in operating system are i.e. by control interface and Linux
Stratum nucleare 220 is communicated, and terminal operating parameter is obtained.For example, the power management of operating system and Linux inner core 220 drives
It is communicated, obtains the information about power of terminal.
Wherein, terminal operating parameter includes CPU operating parameter, GPU operating parameter, memory parameters, disk parameter, electricity ginseng
At least one of several and temperature parameter.
Optionally, CPU operating parameter includes that CPU uses at least one of core number and cpu frequency;GPU operating parameter
At least one of core number and GPU frequency are used including GPU;Memory parameters include at least memory remaining space;Disk parameter
At least one of loaded including disk remaining space and input and output (Input/Output, I/O);Electrical parameter includes residue
At least one of electricity and residual power percentage;Temperature parameter includes at least present terminal temperature.
The embodiment of the present application is only schematically illustrated so that terminal operating parameter includes above-mentioned parameter as an example, possible at other
Embodiment in, terminal operating parameter can also including network operational parameter etc. other parameters, the embodiment of the present application it is not right
This, which is constituted, limits.
Step 803, terminal operating parameter is added to system operation information by operating system.
After operating system carries out taxonomic revision to collected terminal operating parameter, it is added to system operation information
In.
Optionally, timestamp when further including acquisition terminal operating parameter in the system operation information, according to the timestamp,
Destination application can determine whether system operation information sends in time, and determine the transmission timing of system operation information, from
And avoid the problem that system operation information sends time-out and transmission timing overturns.
Optionally, operating system sends system operation information in the form of data packet, and the format of data packet in advance with
Destination application is arranged.Wherein, the format of different application corresponding data packet can be the same or different.The number
Format according to packet can be java script object tag (JavaScript Object Notation, JSON), agreement buffer area
(ProtocolBuffer, Protobuf) or user-defined format etc..
Step 804, operating system by the binder between destination application by being connect, to destination application
Transmission system operation information.
The mode that operating system sends system operation information can be found in above-mentioned steps 701, and details are not described herein for the present embodiment.
Step 805, destination application receives system operation information.
The mode that destination application receives system operation information can be found in above-mentioned steps 702, and the present embodiment is herein no longer
It repeats.
In a kind of possible embodiment, after destination application receives the data packet of operating system transmission, use
The data packet format made an appointment parses the data packet, to obtain system operation information wherein included.
Step 806, whether destination application detection terminal operating parameter reaches target operating parameters index.
Optionally, which is destination application under different operation reserves when smooth operation,
The minimum operation parameter index reached needed for terminal.Wherein, target operating parameters index includes CPU operating parameter index, GPU fortune
At least one of row parameter index, memory parameters index, disk parameter index, electrical parameter index and temperature parameter index.
In a kind of possible embodiment, corresponding at least two operation reserves of destination application, and different operation plans
Under slightly, the performance of destination application is different.Developer sets in development goal application program for different operation reserves
Set different target operating parameters indexs.Schematically, by taking destination application is game class application program as an example, game class is answered
It include low performance operation reserve and high-performance operation reserve with program, the corresponding target operating parameters index of two kinds of operation reserves is such as
Shown in table one.
Table one
After destination application receives system operation information, it is first determined the currently corresponding object run ginseng of operation reserve
Whether number index, the terminal operating parameter for then including in detection system operation information reach the target operating parameters index.If
Reach, shows that destination application smooth can be run under current operational structure, without adjusting operation reserve;If not up to,
Show that destination application smooth can not be run under current operational structure, needs to adjust operation reserve.
Optionally, when CPU operating parameter be greater than CPU operating parameter index, and, GPU operating parameter be greater than GPU operating parameter
Index, and, memory parameters are greater than memory parameters index, and disk parameter is greater than disk parameter index, and electrical parameter is greater than electricity
Measure parameter index, and temperature parameter be less than temperature parameter index when, destination application determines that terminal operating parameter reaches target
Operating parameter index;Otherwise, destination application determines terminal operating parameter miss the mark operating parameter index.
In other possible embodiments, as application program running quality also with applied field locating for application program
Scape is related, therefore developer is directed to different application scenarios and different operations in development goal application program in advance
Strategy is provided with different target operating parameters indexs;Correspondingly, destination application is i.e. according to current application scene and current
Operation reserve determines target operating parameters index, and then determines the need for adjustment operation reserve, and the embodiment of the present application is not right
This is defined.
Step 807, if terminal operating parameter miss the mark operating parameter index, destination application will be reduced and be applied
Runnability is determined as program optimization strategy.
In order to avoid destination application smooth can not be run under current operation reserve, (it is even stuck that Caton occurs in program
Collapse), destination application formulates the program optimization strategy for lowering application performance.For example, by taking game class application program as an example, it should
The program optimization strategy for lowering application performance includes reducing image quality, reducing special efficacy quality and reduce in model quality at least
It is a kind of.
Step 808, destination application executes program optimization strategy.
By taking destination application is game class application program as an example, destination application is reduced according to program optimization strategy
The image quality (such as by image quality by intense adjustment be common) of application program, and/or, reduce the special efficacy quality in application
(such as by special efficacy quality by height adjustment be in), and/or, the model quality of the interior object model of application is reduced (such as by model matter
Amount is common by intense adjustment).
In a kind of possible embodiment, destination application shows corresponding interactive interface according to program optimization strategy
(or window) inquires whether the user needs to carry out program optimization, and executes program optimization plan after receiving program optimization signal
Slightly.
Schematically, as shown in figure 9, game class application program detects current terminal operating parameter miss the mark fortune
Row parameter index, to show interactive window 91, when the user clicks when determination control 92 in interactive window 91, game class application
Program is i.e. automatic to lower image quality.
In the present embodiment, after destination application receives the terminal operating parameter of operating system transmission, by comparing eventually
Operating parameter and target operating parameters index are held, determines that can destination application the smooth operation under current scene;Work as determination
When smooth cannot run, the operation reserve of itself is adjusted, so that it is guaranteed that destination application smoothness is run, avoids the occurrence of picture card
Phenomena such as frame losing, improve the running quality of application program.
In embodiment illustrated in fig. 8, collected terminal operating parameter is directly sent to destination application by operating system,
By destination application analysing terminal operating parameter and formulate corresponding program optimization strategy.In alternatively possible embodiment
In, when in order to avoid the operation of destination application high-performance, the problem of causing terminal load excessive, operating system collects terminal
After operating parameter, determine that terminal loads based on the terminal operating parameter, and in terminal load excessive, pass through system operation information
It indicates that destination application adjusts operation reserve, and then reduces terminal load indirectly.On the basis of Fig. 8, as shown in Figure 10, on
Stating step 802 further includes later following steps.
Step 809, whether operating system detection terminal operating parameter reaches default operational factor threshold value.
Optionally, which can be limit operating parameter when terminal steady is run.When terminal is transported
When row parameter meets or exceeds default operational factor threshold value, show that terminal may be unable to operate stably.
Optionally, which can be operating parameter when terminal is run under default load.Work as end
When end operating parameter meets or exceeds default operational factor threshold value, show the load excessive of terminal.
Default operational factor threshold value is preset by operating system developer.Wherein, default operational factor threshold value includes CPU fortune
Row parameter threshold, GPU operating parameter threshold value, memory parameters threshold value, disk parameter threshold value, electrical parameter threshold value and temperature parameter threshold
At least one of value.
Optionally, CPU operating parameter threshold value includes at least CPU highest frequency, and GPU operating parameter threshold value includes at least GPU
Highest frequency, memory parameters threshold value include at least the minimum surplus of memory, and disk parameter threshold value includes at least I/O load, electricity ginseng
Number threshold value includes at least minimum remaining capacity, and temperature parameter threshold value includes at least maximum temperature.
Whether operating system detection terminal operating parameter reaches default operational factor threshold value, if reaching, it is determined that target is answered
It needs to adjust operation reserve with program, and executes step 809;If not up to, it is determined that destination application is without adjusting operation
Strategy.
Optionally, if current cpu frequency >=CPU highest frequency, it is determined that CPU operating parameter reaches CPU operating parameter threshold
Value;If current GPU frequency >=GPU highest frequency, it is determined that GPU operating parameter reaches GPU operating parameter threshold value;If current memory
The minimum surplus of surplus≤memory, it is determined that memory parameters reach memory parameters threshold value;If the current I/O load >=magnetic of disk
Disk highest I/O load, it is determined that disk parameter reaches disk parameter threshold value;If current residual electricity≤minimum remaining capacity, really
Determine electrical parameter and reaches electrical parameter threshold value;If Current Temperatures >=maximum temperature, it is determined that temperature parameter reaches temperature parameter threshold
Value.
Step 810, if terminal operating parameter reaches default operational factor threshold value, operating system generates terminal operating ginseng
The corresponding condition prompting information of number.
Wherein, different types of terminal operating parameter corresponds to different condition prompting information, which is used for
The a certain operating parameter of instruction terminal is exceeded.When terminal operating parameter reaches default operational factor threshold value, operating system, that is, basis
The type of terminal operating parameter generates at least one condition prompting information.
Optionally, if CPU operating parameter reaches CPU operating parameter threshold value, first state prompt information, the first shape are generated
State prompt information is for prompting CPU overload.
For example, when the CPU highest frequency in the cpu frequency in CPU operating parameter >=CPU operating parameter threshold value, operation
System generates the first state prompt information of prompt CPU overload.
Optionally, if GPU operating parameter reaches GPU operating parameter threshold value, the second condition prompting information, the second shape are generated
State prompt information is for prompting GPU to overload.
For example, when the GPU highest frequency in the GPU frequency in GPU operating parameter >=GPU operating parameter threshold value, operation
System generates the second condition prompting information of prompt GPU overload.
Optionally, if memory parameters reach memory parameters threshold value, third state prompt information, third state prompt are generated
Information is for prompting low memory.
For example, when the minimum memory remaining space in memory remaining space≤memory parameters threshold value in memory parameters,
Operating system generates the third state prompt information of prompt low memory.
Optionally, if disk parameter reaches disk parameter threshold value, the 4th condition prompting information, the 4th condition prompting are generated
Information is for prompting disk to overload.
For example, operating system generates when the highest I/O load in the I/O load in disk parameter >=disk parameter threshold value
Prompt the 4th condition prompting information of disk overload.
Optionally, if electrical parameter reaches electrical parameter threshold value, the 5th condition prompting information, the 5th condition prompting are generated
Information is for prompting not enough power supply.
For example, when the minimum remaining capacity in the remaining capacity in electrical parameter≤electrical parameter threshold value, operating system
Generate the 5th condition prompting information of prompt not enough power supply.
Optionally, if temperature parameter reaches temperature parameter threshold value, the 6th condition prompting information, the 6th condition prompting are generated
Information is overheated for prompt terminal.
For example, operating system generates when the maximum temperature in the terminal temperature in temperature parameter >=temperature parameter threshold value
6th condition prompting information of prompt terminal overheat.
Step 811, condition prompting information is added to system operation information by operating system.
In order to make destination application know the current operating status of terminal, operating system is by the condition prompting information of generation
It is added to system operation information, and system operation information is further sent to destination application.
Correspondingly, condition prompting information wherein included is obtained after destination application receives system operation information, and
Program optimization strategy is further determined by following step 812.
Step 812, if in system operation information including condition prompting information, destination application will reduce application operation
Performance is determined as program optimization strategy.
In a kind of possible embodiment, when in the system operation information received including condition prompting information, mesh
Marking application program is to formulate the program optimization strategy for lowering application performance.
For example, game class application program is by reducing image quality, reducing special efficacy quality by taking game class application program as an example
With reduce the modes such as model quality, operation reserve is switched to low performance operation reserve by high-performance operation reserve.
Optionally, destination application is before executing the program optimization strategy determined, according to the status information received
It shows corresponding interactive interface (or window), inquires whether the user needs to carry out program optimization, and receiving program optimization letter
Program optimization strategy is executed after number.
Schematically, as shown in figure 11, operating system sends the condition prompting that instruction terminal overheats to destination application
Information, it includes the state that destination application, which determines program optimization strategy according to condition prompting information to reduce image quality, and showing,
The interactive window 111 of prompt information, when the user clicks when determination control 112 in interactive window 111, destination application i.e. from
It is dynamic to lower image quality.
In the present embodiment, operating system determines the current operation of terminal by analyzing collected terminal operating parameter
State, and send to destination application include condition prompting information system operation information, enable destination application
Operation reserve is adjusted in time according to condition prompting information, to avoid because of reasons such as terminal overload, low battery or terminal overheats
The problem for causing application program running quality bad.
For the mode for determining destination application, in a kind of possible embodiment, on the basis of Fig. 8, such as scheme
It further include following steps before step 801 shown in 12.
Step 813, operating system obtains the application identities of foreground application.
In one possible implementation, as shown in figure 4, being built between application framework layer 250 and interface communication systems 242
Vertical to have Binder connection, operating system obtains prospect application message from application framework layer 250, is in the prospect application message
It is identified comprising foreground application.
Step 814, if application identities belong to default application identities list, foreground application is determined as by operating system
Destination application.
In one possible implementation, application identities list is preset in operating system, the default application identities list
In comprising by authorization application program application identities.Optionally, which is arranged by operating system developer, and encryption is deposited
Storage is in terminal.
If the application identities of foreground application belong to default application identities list, show foreground application for by awarding
Foreground application is determined as destination application by the application program of power, operating system;If the application of foreground application
Mark is not belonging to default application identities list, and operating system determines that foreground application is the application program without authorization, and
Data communication will not be established with the foreground application to connect.
It optionally, further include step 815 after above-mentioned steps 803.
Step 815, when destination application switches to running background by front stage operation, operating system stops answering to target
System operation information is sent with program.
There is data communication connection since operating system may be established with multiple application programs (front stage operation and running background),
And the application program of running background is not necessarily to optimize running quality, therefore, when destination application is switched by front stage operation
When to running background, operating system is automatically stopped to destination application sending application operation information, and maintains to answer with the target
With the connection between program.
Optionally, when acquisition prospect application message changes from from application framework layer, operating system determines that target is answered
Running background is switched to by front stage operation with program, to stop transmission system operation information.
Optionally, when receiving the process end signal of the destination application, the operating system disconnects and institute
State the connection between destination application.
In the present embodiment, operating system is only sent out into default the application list, and positioned at the application program of front stage operation
Send system operation information, it is ensured that the running quality of foreground application program, and unauthorized applications is avoided to obtain system operation information,
Improve the safety of operating system.
Figure 13 is please referred to, it illustrates the structural block diagrams for the program optimization device that the application one embodiment provides.The journey
Sequence optimization device can by software, hardware or both be implemented in combination with as terminal all or part of.The device packet
It includes: operating system module 1310 and destination application module 1320.
Operating system module 1310 by the bonding binder between destination application for being connect, Xiang Suoshu target
Application program sends system operation information, and the system operation information is for characterizing operating status locating for system;
Destination application module 1320, for receiving the system operation information;
The destination application module 1320 is also used to determine program optimization strategy according to the system operation information,
Described program optimisation strategy is used to adjust the operation reserve of the destination application;
Optionally, the destination application module 1320 is used to call binder interface function and the operating system
Binder interface establishes the binder connection, and the binder interface function is provided by the developer of the operating system;
The operating system module 1310 is used for acquisition terminal operating parameter, and the terminal operating parameter includes centre
It manages in device CPU operating parameter, graphics processor GPU operating parameter, memory parameters, disk parameter, electrical parameter and temperature parameter
At least one;
The operating system module 1310 is also used to, and the terminal operating parameter is added to the system operation information.
Optionally, the destination application module 1320, for detecting whether the terminal operating parameter reaches target
Operating parameter index, the target operating parameters index include CPU operating parameter index, GPU operating parameter index, memory parameters
At least one of index, disk parameter index, electrical parameter index and temperature parameter index;
The destination application module 1320 is also used to, if the terminal operating parameter is not up to the object run ginseng
Number index will then reduce and be determined as described program optimisation strategy using runnability.
Optionally, the operating system module 1310 is used for acquisition terminal operating parameter, and the terminal operating parameter includes
At least one of CPU operating parameter, GPU operating parameter, memory parameters, disk parameter, electrical parameter and temperature parameter;
The operating system module 1310, if reach default operational factor threshold value for the terminal operating parameter, institute
It states operating system and then generates the corresponding condition prompting information of the terminal operating parameter, the default operational factor threshold value includes
CPU operating parameter threshold value, GPU operating parameter threshold value, memory parameters threshold value, disk parameter threshold value, electrical parameter threshold value and temperature
At least one of parameter threshold;
The operating system module 1310, for the condition prompting information to be added to the system operation information.
Optionally, the operating system module 1310 is also used to, if the CPU operating parameter reaches the CPU operation ginseng
Number threshold value then generates first state prompt information, and the first state prompt information is for prompting CPU overload;
And/or
If the GPU operating parameter reaches the GPU operating parameter threshold value, the second condition prompting information is generated, it is described
Second condition prompting information is for prompting GPU to overload;
And/or
If the memory parameters reach the memory parameters threshold value, third state prompt information, the third shape are generated
State prompt information is for prompting low memory;
And/or
If the disk parameter reaches the disk parameter threshold value, the 4th condition prompting information, the 4th shape are generated
State prompt information is for prompting disk to overload;
And/or
If the electrical parameter reaches the electrical parameter threshold value, the 5th condition prompting information, the 5th shape are generated
State prompt information is for prompting not enough power supply;
And/or
If the temperature parameter reaches the temperature parameter threshold value, the 6th condition prompting information, the 6th shape are generated
State prompt information is overheated for prompt terminal.
Optionally, the destination application module 1320, if being also used in the system operation information comprising the shape
State prompt information will then reduce and be determined as described program optimisation strategy using runnability.
Optionally, the operating system module 1310 is used to obtain the application identities of foreground application;
The operating system module 1310 is used for, will be described if the application identities belong to default application identities list
Foreground application is determined as the destination application.
Optionally, the operating system module 1310 is also used to be switched to when the destination application by front stage operation
When running background, stop sending the system operation information to the destination application.
In conclusion in program optimization device provided by the embodiments of the present application, operating system operation according to locating for system
State is connect by the binder established between destination application in advance, sends corresponding system to destination application
Operation information, so that destination application formulates corresponding program optimization strategy according to system operation information, and then according to program
Optimisation strategy dynamic adjusts the operation reserve of itself;The system operation information that destination application is transmitted based on operating system, needle
Property is adjusted self-operating strategy, to promote the running quality of destination application in an operating system, and avoids
Because hardware performance it is insufficient caused by Caton, frame losing phenomena such as, achieved the effect that improve application program operation fluency.
In the present embodiment, after destination application receives the terminal operating parameter of operating system transmission, by comparing eventually
Operating parameter and target operating parameters index are held, determines that can destination application the smooth operation under current scene;Work as determination
When smooth cannot run, the operation reserve of itself is adjusted, so that it is guaranteed that destination application smoothness is run, avoids the occurrence of picture card
Phenomena such as frame losing, improve the running quality of application program.
In the present embodiment, operating system determines the current operation of terminal by analyzing collected terminal operating parameter
State, and send to destination application include condition prompting information system operation information, enable destination application
Operation reserve is adjusted in time according to condition prompting information, to avoid because of reasons such as terminal overload, low battery or terminal overheats
The problem for causing application program running quality bad.
In the present embodiment, operating system is only sent out into default the application list, and positioned at the application program of front stage operation
Send system operation information, it is ensured that the running quality of foreground application program, and unauthorized applications is avoided to obtain system operation information,
Improve the safety of operating system.
The embodiment of the present application also provides a kind of computer-readable medium, which has at least one
Instruction, at least one instruction are loaded as the processor and are executed to realize program optimization described in as above each embodiment
Method.
The embodiment of the present application also provides a kind of computer program product, which is stored at least one
Instruction, at least one instruction are loaded as the processor and are executed to realize program optimization described in as above each embodiment
Method.
Those skilled in the art it will be appreciated that in said one or multiple examples, retouched by the embodiment of the present application
The function of stating can be realized with hardware, software, firmware or their any combination.It when implemented in software, can be by this
A little functions storages in computer-readable medium or as on computer-readable medium one or more instructions or code into
Row transmission.Computer-readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from one
Any medium of the place to another place transmission computer program.Storage medium can be general or specialized computer and can deposit
Any usable medium taken.
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Claims (11)
1. a kind of program optimization method, which is characterized in that the method be applied to terminal, the terminal operating have operating system and
At least one application program, which comprises
The operating system is connect by the bonding binder between destination application, and Xiang Suoshu destination application is sent
System operation information, the system operation information is for characterizing operating status locating for system;
The destination application receives the system operation information;
The destination application determines program optimization strategy according to the system operation information, and described program optimisation strategy is used for
Adjust the operation reserve of the destination application;
The destination application executes described program optimisation strategy.
2. the method according to claim 1, wherein the operating system passes through between destination application
Binder connection, before Xiang Suoshu destination application sends system operation information, the method also includes:
The destination application calls described in binder interface function and the foundation of the binder interface of the operating system
Binder connection, the binder interface function are provided by the developer of the operating system;
The operating system acquisition terminal operating parameter, the terminal operating parameter include central processor CPU operating parameter, figure
At least one of shape processor GPU operating parameter, memory parameters, disk parameter, electrical parameter and temperature parameter;
The terminal operating parameter is added to the system operation information by the operating system.
3. according to the method described in claim 2, it is characterized in that, the destination application is according to the system operation information
Determine program optimization strategy, comprising:
The destination application detects whether the terminal operating parameter reaches target operating parameters index, the object run
Parameter index includes CPU operating parameter index, GPU operating parameter index, memory parameters index, disk parameter index, electricity ginseng
Number at least one of index and temperature parameter index;
If the terminal operating parameter is not up to the target operating parameters index, the destination application will be reduced and be applied
Runnability is determined as described program optimisation strategy.
4. the method according to claim 1, wherein the operating system passes through between destination application
Binder connection, before Xiang Suoshu destination application sends system operation information, the method also includes:
The operating system acquisition terminal operating parameter, the terminal operating parameter include CPU operating parameter, GPU operating parameter,
At least one of memory parameters, disk parameter, electrical parameter and temperature parameter;
If the terminal operating parameter reaches default operational factor threshold value, the operating system generates the terminal operating ginseng
The corresponding condition prompting information of number, the default operational factor threshold value include CPU operating parameter threshold value, GPU operating parameter threshold value,
At least one of memory parameters threshold value, disk parameter threshold value, electrical parameter threshold value and temperature parameter threshold value;
The condition prompting information is added to the system operation information by the operating system.
5. according to the method described in claim 4, it is characterized in that, if the terminal operating parameter reaches default operational factor threshold
When value, the operating system then generates the corresponding condition prompting information of the terminal operating parameter, comprising:
If the CPU operating parameter reaches the CPU operating parameter threshold value, first state prompt information is generated, described first
Condition prompting information is for prompting CPU overload;
And/or
If the GPU operating parameter reaches the GPU operating parameter threshold value, the second condition prompting information is generated, described second
Condition prompting information is for prompting GPU to overload;
And/or
If the memory parameters reach the memory parameters threshold value, third state prompt information is generated, the third state mentions
Show information for prompting low memory;
And/or
If the disk parameter reaches the disk parameter threshold value, the 4th condition prompting information is generated, the 4th state mentions
Show information for prompting disk to overload;
And/or
If the electrical parameter reaches the electrical parameter threshold value, the 5th condition prompting information is generated, the 5th state mentions
Show information for prompting not enough power supply;
And/or
If the temperature parameter reaches the temperature parameter threshold value, the 6th condition prompting information is generated, the 6th state mentions
Show that information is overheated for prompt terminal.
6. according to the method described in claim 4, it is characterized in that, the destination application is according to the system operation information
Determine program optimization strategy, comprising:
If in the system operation information including the condition prompting information, the destination application will reduce application operation
Performance is determined as described program optimisation strategy.
7. method according to any one of claims 1 to 6, which is characterized in that the operating system by with target application journey
Binder connection between sequence, before Xiang Suoshu destination application sends system operation information, the method also includes:
The operating system obtains the application identities of foreground application;
If the application identities belong to default application identities list, the foreground application is determined as by the operating system
The destination application.
8. the method according to the description of claim 7 is characterized in that the method also includes:
When the destination application switches to running background by front stage operation, the operating system stops answering to the target
The system operation information is sent with program.
9. a kind of program optimization device, which is characterized in that described device be applied to terminal, the terminal operating have operating system and
At least one application program, described device include:
Operating system module, for being connect by the bonding binder between destination application, Xiang Suoshu target application journey
Sequence sends system operation information, and the system operation information is for characterizing operating status locating for system;
Destination application module, for receiving the system operation information;
The destination application module is also used to determine program optimization strategy, described program according to the system operation information
Optimisation strategy is used to adjust the operation reserve of the destination application;
The destination application module, is also used to execute described program optimisation strategy.
10. a kind of terminal, which is characterized in that the terminal includes processor and memory;The memory is stored at least one
Item instruction, at least one instruction is for being executed by the processor to realize program as described in any of the claims 1 to 8
Optimization method.
11. a kind of computer readable storage medium, which is characterized in that the storage medium is stored at least one instruction, described
At least one instruction is for being executed by processor to realize program optimization method as described in any of the claims 1 to 8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810537405.7A CN109445930A (en) | 2018-05-30 | 2018-05-30 | Program optimization method, device, terminal and storage medium |
PCT/CN2019/088787 WO2019228340A1 (en) | 2018-05-30 | 2019-05-28 | Program optimization method and apparatus, terminal, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810537405.7A CN109445930A (en) | 2018-05-30 | 2018-05-30 | Program optimization method, device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109445930A true CN109445930A (en) | 2019-03-08 |
Family
ID=65533032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810537405.7A Pending CN109445930A (en) | 2018-05-30 | 2018-05-30 | Program optimization method, device, terminal and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109445930A (en) |
WO (1) | WO2019228340A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933960A (en) * | 2019-03-15 | 2019-06-25 | Oppo广东移动通信有限公司 | Service call control method, service calling method, device and terminal |
CN110502269A (en) * | 2019-07-24 | 2019-11-26 | 深圳壹账通智能科技有限公司 | Application program optimization method, equipment, storage medium and device |
WO2019228340A1 (en) * | 2018-05-30 | 2019-12-05 | Oppo广东移动通信有限公司 | Program optimization method and apparatus, terminal, and storage medium |
CN110730300A (en) * | 2019-10-11 | 2020-01-24 | Oppo(重庆)智能科技有限公司 | Camera control method, device, storage medium and terminal |
CN110837420A (en) * | 2019-11-12 | 2020-02-25 | Oppo广东移动通信有限公司 | Resource scheduling method, device, terminal and storage medium |
CN113497722A (en) * | 2020-03-20 | 2021-10-12 | 阿里巴巴集团控股有限公司 | Data processing method, data downloading method, streaming media control device, and streaming media control medium |
CN113900735A (en) * | 2021-10-11 | 2022-01-07 | 深圳依时货拉拉科技有限公司 | Parameter configuration adjusting method and device, storage medium and electronic equipment |
CN114153621A (en) * | 2022-02-09 | 2022-03-08 | 荣耀终端有限公司 | System process regulation and control method and device, electronic equipment and readable storage medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131611A (en) * | 2019-12-18 | 2020-05-08 | 北京智明星通科技股份有限公司 | Prompting method and device for solving mobile game jamming problem and mobile terminal |
CN112230758B (en) * | 2020-11-09 | 2023-11-17 | 腾讯科技(深圳)有限公司 | Frame rate adjustment method, device, equipment and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608861A (en) * | 2017-10-11 | 2018-01-19 | 广东欧珀移动通信有限公司 | Cooling control method and device |
CN107832148A (en) * | 2017-10-30 | 2018-03-23 | 广东欧珀移动通信有限公司 | Performance optimization method and equipment |
CN107861814A (en) * | 2017-10-31 | 2018-03-30 | 广东欧珀移动通信有限公司 | Resource allocation method and equipment |
CN107861816A (en) * | 2017-10-31 | 2018-03-30 | 广东欧珀移动通信有限公司 | Resource allocation method and device |
CN107894920A (en) * | 2017-11-09 | 2018-04-10 | 广东欧珀移动通信有限公司 | Resource allocation method and Related product |
CN107995357A (en) * | 2017-11-15 | 2018-05-04 | 广东欧珀移动通信有限公司 | Resource allocation method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108491275B (en) * | 2018-03-13 | 2022-12-13 | Oppo广东移动通信有限公司 | Program optimization method, device, terminal and storage medium |
CN109445930A (en) * | 2018-05-30 | 2019-03-08 | Oppo广东移动通信有限公司 | Program optimization method, device, terminal and storage medium |
-
2018
- 2018-05-30 CN CN201810537405.7A patent/CN109445930A/en active Pending
-
2019
- 2019-05-28 WO PCT/CN2019/088787 patent/WO2019228340A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608861A (en) * | 2017-10-11 | 2018-01-19 | 广东欧珀移动通信有限公司 | Cooling control method and device |
CN107832148A (en) * | 2017-10-30 | 2018-03-23 | 广东欧珀移动通信有限公司 | Performance optimization method and equipment |
CN107861814A (en) * | 2017-10-31 | 2018-03-30 | 广东欧珀移动通信有限公司 | Resource allocation method and equipment |
CN107861816A (en) * | 2017-10-31 | 2018-03-30 | 广东欧珀移动通信有限公司 | Resource allocation method and device |
CN107894920A (en) * | 2017-11-09 | 2018-04-10 | 广东欧珀移动通信有限公司 | Resource allocation method and Related product |
CN107995357A (en) * | 2017-11-15 | 2018-05-04 | 广东欧珀移动通信有限公司 | Resource allocation method and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019228340A1 (en) * | 2018-05-30 | 2019-12-05 | Oppo广东移动通信有限公司 | Program optimization method and apparatus, terminal, and storage medium |
CN109933960A (en) * | 2019-03-15 | 2019-06-25 | Oppo广东移动通信有限公司 | Service call control method, service calling method, device and terminal |
CN110502269A (en) * | 2019-07-24 | 2019-11-26 | 深圳壹账通智能科技有限公司 | Application program optimization method, equipment, storage medium and device |
CN110730300A (en) * | 2019-10-11 | 2020-01-24 | Oppo(重庆)智能科技有限公司 | Camera control method, device, storage medium and terminal |
CN110837420A (en) * | 2019-11-12 | 2020-02-25 | Oppo广东移动通信有限公司 | Resource scheduling method, device, terminal and storage medium |
CN113497722A (en) * | 2020-03-20 | 2021-10-12 | 阿里巴巴集团控股有限公司 | Data processing method, data downloading method, streaming media control device, and streaming media control medium |
CN113900735A (en) * | 2021-10-11 | 2022-01-07 | 深圳依时货拉拉科技有限公司 | Parameter configuration adjusting method and device, storage medium and electronic equipment |
CN113900735B (en) * | 2021-10-11 | 2023-02-21 | 深圳依时货拉拉科技有限公司 | Parameter configuration adjusting method and device, storage medium and electronic equipment |
CN114153621A (en) * | 2022-02-09 | 2022-03-08 | 荣耀终端有限公司 | System process regulation and control method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019228340A1 (en) | 2019-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108491275A (en) | program optimization method, device, terminal and storage medium | |
CN109445930A (en) | Program optimization method, device, terminal and storage medium | |
US10341716B2 (en) | Live interaction system, information sending method, information receiving method and apparatus | |
CN109542614A (en) | Resource allocation method, device, terminal and storage medium | |
US20190268294A1 (en) | Screen display method, apparatus, terminal, and storage medium | |
CN106709705A (en) | Virtual goods packet sending method, receiving method, devices and system | |
CN110955499B (en) | Processor core configuration method, device, terminal and storage medium | |
EP3779690A1 (en) | Processor core scheduling method and apparatus, terminal, and storage medium | |
CN107748690A (en) | Using jump method, device and computer-readable storage medium | |
KR20130024801A (en) | Terminal and method for managing application thereof | |
US9965733B2 (en) | Method, apparatus, and communication system for updating user data based on a completion status of a combination of business task and conversation task | |
CN109379548A (en) | Multi-media recording method, apparatus, terminal and storage medium | |
CN111104281B (en) | Game performance monitoring method, device, system and storage medium | |
US20090207187A1 (en) | Mobile terminal for multi-displayable contents information which is composed with independent channel, method thereof, and computer readable record medium on which program for executing method is recorded | |
CN113721803B (en) | Data generation method, device, equipment and storage medium | |
CN118741249A (en) | Information interaction method, device, equipment and storage medium | |
CN118605983A (en) | Information display method and device, electronic equipment and storage medium | |
CN105989175A (en) | Image display method and device | |
CN117914803A (en) | Network resource allocation method and device, storage medium and computer equipment | |
CN114095913A (en) | Network distribution method of electronic household equipment and electronic household equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190308 |