CN110109759A - Caton optimization method, server, electronic device and computer readable storage medium - Google Patents
Caton optimization method, server, electronic device and computer readable storage medium Download PDFInfo
- Publication number
- CN110109759A CN110109759A CN201910376335.6A CN201910376335A CN110109759A CN 110109759 A CN110109759 A CN 110109759A CN 201910376335 A CN201910376335 A CN 201910376335A CN 110109759 A CN110109759 A CN 110109759A
- Authority
- CN
- China
- Prior art keywords
- caton
- optimisation strategy
- data
- electronic device
- duration
- 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
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/5011—Allocation 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/5016—Allocation 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
-
- 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/5011—Allocation 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/5022—Mechanisms to release resources
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of Caton optimization methods, applied to field of communication technology, this method comprises: obtaining the Caton data that thread Caton occurs, and the function call behavior that the first Caton duration therein meets preset condition is determined as goal behavior, the function call behavioral data and optimisation strategy of goal behavior are sent to target electronic device, when Caton occurs for thread performance objective behavior, obtain the second Caton duration when target electronic device executes optimisation strategy, if in the target electronic device for being greater than preset quantity, there are the corresponding second Caton durations of the same goal behavior to reach default value less than the first Caton duration, then generate that goal behavior is corresponding distributes data rationally according to optimisation strategy, and data will be distributed rationally and be sent to all electronic devices.The embodiment of the invention also discloses a kind of server, a kind of electronic device and a kind of computer readable storage mediums, can reduce Caton, improve the applicability for solving the problems, such as Caton.
Description
Technical field
The invention belongs to technical field of electronic device more particularly to a kind of Caton optimization method, server, electronic device and
Computer readable storage medium.
Background technique
The development of Internet technology and electronic technology pushes the mobile terminals such as the intelligence such as smart phone, tablet computer to exist
It is universal in people's life.In order to realize the various functions of mobile terminal, need that various application programs are installed in the terminal.
Due between software, the assignment problem of the compatibility issue of software and hardware and system resource, cause Caton phenomenon to take place frequently.In order to keep away
Exempt from Caton, prior art way is periodically to clear up memory headroom automatically, alternatively, periodically accelerating to hardware, to reduce Caton
The case where.But this processing method can only execute optimization operation at specific time point, can not be adapted to different mobile terminal operation
The different variations of environment, lack flexibility and universality.
Summary of the invention
The present invention provides a kind of Caton optimization method, server, electronic device and computer readable storage medium, it is intended to solve
The problem of lacking flexibility and universality when certainly reducing Caton.
First aspect of the embodiment of the present invention provides a kind of Caton optimization method, comprising:
The Caton data in multiple electronic devices that thread Caton occurs are obtained, the Caton data include that Caton occurs
The function call behavioral data of thread and the first Caton duration, and the first Caton duration is met to the function of preset condition
Calling behavior is determined as goal behavior;
Randomly select multiple target electronic devices in the multiple electronic device, and by the function tune of the goal behavior
The target electronic device is sent to behavioral data and optimisation strategy;
When the thread executes the goal behavior, and Caton occurs, obtains the target electronic device and execute the optimization
The second Caton duration when tactful;
If there are the same goal behaviors corresponding described second in the target electronic device for being greater than preset quantity
Caton duration is less than the first Caton duration and reaches default value, then generates the goal behavior pair according to the optimisation strategy
That answers distributes data rationally, and the data of distributing rationally are sent to all electronic devices.
Second aspect of the embodiment of the present invention provides a kind of Caton optimization method, comprising:
When detecting that Caton occurs for thread, obtains Caton data and the Caton data are sent to server, it is described
Caton data include the function call behavioral data and the first Caton duration that the thread of Caton occurs;
The function call behavioral data and optimisation strategy of the goal behavior that the server is sent are received, and according to described
The function call behavioral data of goal behavior executes the optimisation strategy, to accelerate to target hardware;
It obtains the second Caton duration when executing the optimisation strategy and is sent to the server.
The third aspect of the embodiment of the present invention provides a kind of server, comprising:
Module is obtained, for obtaining the Caton data in multiple electronic devices that thread Caton occurs, the Caton data
Function call behavioral data and the first Caton duration including the thread of Caton occurs;
Determining module, the function call behavior for the first Caton duration to be met preset condition are determined as target line
For;
Module is chosen, for randomly selecting multiple target electronic devices in the multiple electronic device;
Sending module, for the function call behavioral data and optimisation strategy of the goal behavior to be sent to the mesh
Mark electronic device;
The acquisition module is also used to obtain the target when the thread executes the goal behavior generation Caton
Electronic device executes the second Caton duration when the optimisation strategy;
Module is distributed rationally, if there are the same targets in the target electronic device for being greater than preset quantity
The corresponding second Caton duration of behavior is less than the first Caton duration and reaches default value, then according to the optimisation strategy
It generates that the goal behavior is corresponding to distribute data rationally, and the data of distributing rationally is sent to all electronic devices.
Fourth aspect of the embodiment of the present invention provides a kind of electronic device, comprising:
Module is obtained, for when detecting that Caton occurs for thread, obtaining Caton data, the Caton data include occurring
The function call behavioral data of the thread of Caton and the first Caton duration;
Sending module, for the Caton data to be sent to server;
Receiving module, for receiving the function call behavioral data and optimization plan of the goal behavior that the server is sent
Slightly;
Execution module, for executing the optimisation strategy according to the function call behavioral data of the goal behavior, with right
Target hardware is accelerated;
The acquisition module is also used to obtain the second Caton duration when executing the optimisation strategy;
The sending module is also used to the second Caton duration being sent to the server.
The 5th aspect of the embodiment of the present invention provides a kind of electronic device, comprising:
Memory and processor;
The memory is stored with executable program code;
The processor coupled with the memory calls the executable program generation stored in the memory
Code executes the Caton optimization method provided such as second aspect of the embodiment of the present invention.
The 6th aspect of the embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer journey
Sequence, the computer program execute the Caton optimization side provided such as first aspect of the embodiment of the present invention when being run by processor
The Caton optimization method that method or second aspect of the embodiment of the present invention provide.
From the embodiments of the present invention it is found that the function call behavior of the thread of Caton occurs in electronic device by obtaining
Data and the first Caton duration, the function call behavior for meeting preset condition are determined as goal behavior to be tested, by the target
The corresponding function call behavioral data of behavior and optimisation strategy are sent to the target electronic device in electronic device and optimize
Test obtains the second Caton duration after the thread executes the goal behavior and Caton occurs for corresponding execution optimisation strategy, if
All there is the corresponding second Caton duration of the same goal behavior in the target electronic device for being greater than preset quantity much smaller than the
Two Caton durations then confirm that optimisation strategy is effective, obtain distributing data rationally according to optimisation strategy and are sent to all electronic devices
Popularization optimization is carried out, the goal behavior of generation Caton can more intelligent, be rapidly identified according to the function call behavioral data, it can
To improve the accuracy rate of confirmation Caton, and improve the applicability of optimization Caton.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention.
Fig. 1 is the application scenarios schematic diagram of Caton optimization method provided in an embodiment of the present invention;
Fig. 2 is the implementation process schematic diagram of Caton optimization method provided in an embodiment of the present invention;
Fig. 3 is the implementation process schematic diagram of Caton optimization method provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 5 is the structural representation of electronic device provided in an embodiment of the present invention;
Fig. 6 shows a kind of Electronic Device Hardware structure chart.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality
Applying example is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, those skilled in the art
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is the application scenarios schematic diagram of Caton optimization method provided in an embodiment of the present invention.The clothes in cloud
Business device 100 is connect by network with multiple electronic devices 200, and electronic device 200 includes smart phone, tablet computer, notebook
The electronic data-processing equipment that computer etc. can use on the move.Operation has UI (User Interface) in electronic device 200
Caton occurs when referring to the operation of UI main thread for main thread, the thread Caton in the present embodiment, and Caton will cause frame, Caton when
The long duration for being equal to fall frame.Setting detection thread in electronic device 200, for detecting UI main thread generation Caton, falling frame
When, Caton data are sent to server 100, Caton data include the function call behavioral data that the thread of Caton occurs, first
Caton duration and occur Caton the corresponding application of UI main thread identification information, wherein function call behavioral data is
Stacked data, i.e., the function call behavior occurred when reporting Caton to server 100, function call behavior at this time is to cause UI
The reason of Caton, occurs for main thread.Server 100 analyzes the Caton data, when the first Caton of function call behavior if they are the same
It is long to be greater than preset times more than the first preset duration, and more than the number of first preset duration, then confirm the function call
Behavior is goal behavior, that is, such function call behavior will cause Caton, by the corresponding Caton data of the function call behavior
Test sample is added.It is excellent that multiple target electronic devices progress are randomly selected in the multiple electronic devices 200 for uploading Caton data
Change test, the function call behavioral data and optimisation strategy of goal behavior is sent to each target electronic device, wherein target
The function call behavioral data of behavior be identified for target electronic device occur Caton function call behavior (namely identification
Goal behavior out), then target electronic device executes the optimisation strategy when Caton occurs again, which includes at least
The Caton duration and CPU acceleration duration that processor (CPU, Central Processing Unit) accelerates are triggered, i.e., which is answered
With thread Caton can occur, how long afterwards Caton occurs triggering CPU and accelerates, and CPU accelerates to include improving CPU working frequency, accelerates CPU
Arithmetic speed, and, CPU persistently accelerate how long.The second Caton duration when target electronic device it will happen again Caton
Occur to server 100, the second Caton duration be when executing optimisation strategy after Caton duration, if the same goal behavior is corresponding
The second Caton duration be less than the first Caton duration reach default value, that is, the second Caton duration be less than first Caton when
Long and the difference between the two is more than or equal to the default value, and when the second Caton in the target electronic device for being greater than preset quantity
Length all meets above-mentioned condition, then it represents that due to executing optimisation strategy, Caton duration, which significantly shortens, to be of universal significance, so should
Optimisation strategy is highly effective, can well solve Caton problem, and therefore, the corresponding data of distributing rationally of the optimisation strategy are sent out
The electronic device for being all connected into current network is given, is promoted and applied, wherein distribute the mark that data include the application rationally
The Caton duration and CPU that the corresponding function call behavioral data of information, the goal behavior, triggering CPU accelerate accelerate duration.
Referring to fig. 2, Fig. 2 is the implementation process schematic diagram of Caton optimization method provided in an embodiment of the present invention, and this method can
Applied in the server in cloud.This method comprises:
201, the Caton data in multiple electronic devices that thread Caton occurs are obtained, which includes that Caton occurs
Thread function call behavioral data and the first Caton duration, and the first Caton duration is met to the function of preset condition
Calling behavior is determined as goal behavior;
It is provided with detection thread in an electronic, thread Caton occurs for detecting electronic device, and obtain generation line
The Caton data of journey card immediately, the Caton data include the function call behavioral data and the first Caton that the thread of Caton occurs
Duration.Specifically, which is that storehouse detects thread, which is stacked data, the stacked data
Have recorded function call behavior, i.e. function name and function call sequence etc..
It further, further include the identification information that the application of Caton occurs in the Caton data, for unique identification, this is answered
With.
The Caton data are sent to server by the electronic device that above-mentioned thread Caton occurs, and server obtains generation should
Caton data in multiple electronic devices of thread Caton, and wherein the first Caton duration is met to the function tune of preset condition
It is determined as goal behavior with behavior, preset condition is that the first Caton duration is more than the first preset duration, and is more than that this is first pre-
If the number of duration is greater than preset times, i.e., the time of Caton generation is enough long and number is more than enough.
202, multiple target electronic devices are randomly selected in multiple electronic device, and by the function tune of the goal behavior
The target electronic device is sent to behavioral data and optimisation strategy;
Since the effect of target electronic device is to execute optimisation strategy, test optimization effect, there is no need to line all occurs
The electronic device of journey Caton is tested.The quantity of target electronic device is less than the quantity that the electronic device of Caton occurs, specifically
It can be randomly selected according to preset ratio, the ratio such as 10% or 20%.
The function call behavioral data of the goal behavior is to work as hair for making target electronic device recognition function call behavior
When the raw function call behavior, the optimisation strategy is executed.
The optimisation strategy can be single optimisation strategy, be also possible to combinatorial optimization strategy.
Single optimisation strategy includes triggering the Caton duration and CPU acceleration duration that CPU accelerates.CPU acceleration refers to raising
CPU working frequency accelerates CPU arithmetic speed.
Combinatorial optimization strategy include: for central processing unit accelerate the first optimisation strategy, for graphics processor (GPU,
Graphics Processing Unit) accelerate the second optimisation strategy and for reading and writing data accelerate third optimize plan
Slightly.First optimisation strategy is identical as above-mentioned single optimisation strategy, which includes when triggering the Caton that GPU accelerates
Long and GPU accelerates duration, and GPU accelerates to include improving CPU working frequency, accelerates GPU arithmetic speed, the third optimisation strategy packet
The Caton duration and reading and writing data for including trigger data read-write acceleration accelerate duration, and reading and writing data acceleration refers to accelerating application
The speed of the data in memory is read, wherein memory can be the buffer storage in CPU and GPU, be also possible to external
Or built-in memory, such as hard disk.
203, it when the thread executes the goal behavior, and Caton occurs, obtains the target electronic device and executes the optimisation strategy
When the second Caton duration;
Electronic device has been performed simultaneously optimisation strategy when the thread executes the goal behavior, if Caton occurs again,
The second Caton duration that Caton occurs is sent to server, when server obtains second Caton of multiple target electronic devices
It is long.
When optimisation strategy is single optimisation strategy, electronic device executes the optimisation strategy, is carried out according to the optimisation strategy
CPU accelerates;
When optimisation strategy is combinatorial optimization strategy, electronic device executes the optimisation strategy, according to first optimisation strategy
CPU acceleration is carried out, graphics processor acceleration is carried out and according to the third optimisation strategy for counting according to second optimisation strategy
Accelerate according to read-write.Combinatorial optimization strategy can execute in each target electronic device, that is, when the thread executes goal behavior hair
When raw Caton, target electronic device is according to first optimisation strategy, second optimisation strategy and the third time optimisation strategy
Sequentially, one of optimisation strategy is executed, correspondence accelerates the central processing unit, or, the graphics processor is added
Speed;Or, the reading and writing data speed is accelerated, the contingency for choosing optimal optimisation strategy is utmostly avoided;It can also
Target electronic device is divided into three groups, one of optimization plan in combinatorial optimization strategy is respectively executed in every group of electronic device
Slightly, it is easier to contrast optimal optimisation strategy.
When thread executes the goal behavior, and Caton occurs, server obtain executed in multiple target electronic devices this first
The second Caton duration when optimisation strategy executes the second Caton duration and the execution third optimization plan when second optimisation strategy
The second Caton duration when slightly.
If 204, be greater than preset quantity the target electronic device in, there are the same goal behavior it is corresponding this second
Caton duration is less than the first Caton duration default value, then generates the corresponding optimization of the goal behavior according to the optimisation strategy and match
Data are set, and distributes this rationally data and is sent to all electronic devices.
If the corresponding second Caton duration of the same goal behavior is less than the first Caton duration, and when second Caton
Long and the first Caton duration difference is more than or equal to default value, indicates that the difference between the two is larger, optimisation strategy significantly improves card
?.
When the second Caton duration of the target electronic device for being greater than preset quantity is respectively less than the first Caton duration, to reach this pre-
If when numerical value, showing that the effect of optimization of the optimisation strategy has generality, good test effect has dissemination, then basis should
Data are distributed in optimisation strategy generation rationally, distribute the identification information that data include: application, the corresponding function of the goal behavior rationally
The Caton duration and CPU for calling behavioral data, triggering CPU to accelerate accelerate duration, pass through RUS (Rom update system)
It updates and distributes data rationally on electronic device, to come into force.Without being come into force by issuing new upgraded version, the update cycle
It is short, it comes into force fast.
It should be noted that if the second Caton duration is respectively from execution first optimisation strategy, second optimisation strategy
And the third optimisation strategy, using the corresponding optimisation strategy of most short second Caton duration as selected optimisation strategy, that is, choose
Most effective optimisation strategy is promoted, and generates that the goal behavior is corresponding to distribute data rationally according to the selected optimisation strategy
The whole network transmission is carried out afterwards.
Specifically, when all target electronic devices execute different optimisation strategies respectively, when the thread executes the target
When Caton occurs for behavior, the second Caton duration when the target electronic device executes first optimisation strategy respectively is obtained, is executed
The second Caton duration when second optimisation strategy executes the second Caton duration when the third optimisation strategy.If the target is electric
In sub-device, there is the second Caton duration corresponding more than the same goal behavior of destination number less than first Caton
Duration reaches the target electronic device of default value, then generates that the goal behavior is corresponding to distribute number rationally according to the optimisation strategy
According to then this is distributed data rationally and specifically includes: the identification information, the function call behavioral data of the thread, and, the respectively optimization
Make in the target electronic device for being more than the destination number in strategy, corresponding second Caton of the same goal behavior
Duration is less than the first Caton duration default value, and the shortest optimisation strategy of the second Caton duration.
When target electronic device grouping executes different optimisation strategies, Caton occurs when the thread executes the goal behavior
When, the second Caton duration when first group of electronic device executes first optimisation strategy is obtained respectively, second group of electronics dress
When the second Caton duration and third group electronic device when setting execution second optimisation strategy execute the third group optimisation strategy
The second Caton duration, at this point, if there is the same goal behavior pair more than destination number in each group target electronic device
The the second Caton duration answered is less than the target electronic device group that the first Caton duration reaches default value, then excellent according to this
Change that the strategy generating goal behavior is corresponding distributes data rationally, then this is distributed data rationally and specifically includes: the identification information, should
The function call behavioral data of thread, and, it is same if respectively making in the target electronic device group in the optimisation strategy
The corresponding second Caton duration of the goal behavior is less than the first Caton duration default value, and the second Caton duration is most short
Optimisation strategy.
In the embodiment of the present invention, the function call behavioral data and the of the thread of Caton occurs in electronic device by obtaining
One Caton duration, the function call behavior for meeting preset condition are determined as goal behavior to be tested, and the goal behavior is corresponding
Function call behavioral data and optimisation strategy be sent to the target electronic device in electronic device and optimize test, at this
After thread executes the goal behavior and corresponding execution optimisation strategy generation Caton, the second Caton duration is obtained, if pre- being greater than
If all there is the corresponding second Caton duration of the same goal behavior in the target electronic device of quantity much smaller than the second Caton
It is long, then confirm that optimisation strategy is effective, obtains distributing data rationally according to optimisation strategy and be sent to all electronic devices and promoted
Optimization can more intelligent, rapidly identify the goal behavior of generation Caton according to the function call behavioral data, can be improved really
Recognize the accuracy rate of Caton, and improves the applicability of optimization Caton.
Referring to Fig. 3, Fig. 3 is the implementation process schematic diagram of Caton optimization method provided in an embodiment of the present invention, and this method can
Applied in electronic device, electronic device includes the electricity that smart phone, tablet computer, laptop etc. can use on the move
Subdata processing equipment.This method mainly comprises the steps that
301, when detecting that Caton occurs for thread, Caton data is obtained and the Caton data are sent to server, it should
Caton data include the function call behavioral data and the first Caton duration that the thread of Caton occurs;
Setting storehouse detects process in an electronic, for detecting whether there is Caton, when by storehouse detect into
When journey detects that Caton occurs for thread, the stacked data of the thread is obtained as the function call behavioral data, when obtaining Caton
Frame duration of falling be sent to server as the first Caton duration, and by the Caton data.
Further, it still regard the identification information that the application of thread Caton occurs as the Caton data, gives together
The server.
302, the function call behavioral data and optimisation strategy of the goal behavior of server transmission are received, and according to this
The function call behavioral data of goal behavior executes the optimisation strategy, to accelerate to target hardware;
Specifically, the optimization plan for receiving the function call behavioral data of server transmission and accelerating for processor
Slightly, according to the function call behavioral data, when the thread executes the goal behavior, and Caton occurs, according to the optimisation strategy will in
Central processor is accelerated.Single optimisation strategy in i.e. aforementioned embodiment illustrated in fig. 2 is accelerated for CUP, accelerates its calculating
Speed.
Further, if optimisation strategy be combined strategy, comprising: for central processing unit accelerate the first optimisation strategy,
The second optimisation strategy accelerated for graphics processor and the third optimisation strategy accelerated for reading and writing data.Then electronic device
The function call behavioral data of server transmission is received, and, first optimisation strategy, the second optimisation strategy and third optimize
Strategy;
It is first excellent according to this when the thread executes the goal behavior, and Caton occurs according to the function call behavioral data
The sequence for changing strategy, second optimisation strategy and the third time optimisation strategy executes one of optimisation strategy, and correspondence should
Central processing unit is accelerated, or, the graphics processor is accelerated;Or, the reading and writing data speed is accelerated.Specifically
Ground, it is first excellent according to this when the thread executes the goal behavior, and Caton occurs for the first time according to the function call behavioral data
Change strategy, which is accelerated;When the thread executes the goal behavior second, and Caton occurs, according to this
Two optimisation strategies accelerate the graphics processor;And thread execute the goal behavior third time occur Caton when, press
According to the third optimisation strategy, which is accelerated.
303, it obtains the second Caton duration when executing optimisation strategy and is sent to server.
The present embodiment does not use up details, referring to the description of aforementioned embodiment illustrated in fig. 2.
In the embodiment of the present invention, to be tested by the way that the Caton data that the thread of Caton occurs are sent to server with determination
Goal behavior, receive server send the corresponding function call behavioral data of the goal behavior and optimisation strategy, at this
After thread executes the goal behavior and corresponding execution optimisation strategy generation Caton, it is anti-that the second Caton duration is sent to server
Test effect is presented, so that the optimisation strategy that server is confirmed the validity according to the Caton data and the second Caton duration, and use
What server was sent obtains distributing data rationally according to optimisation strategy, reduces a possibility that Caton occurs for the thread.
Fig. 4 is referred to, Fig. 4 is that the structural schematic diagram of server provided in an embodiment of the present invention only shows for ease of description
Part related to the embodiment of the present invention is gone out.The exemplary server of Fig. 4 can be the Caton that aforementioned embodiment illustrated in fig. 2 provides
The executing subject of optimization method.The server includes:
Module 401 is obtained, for obtaining the Caton data in multiple electronic devices that thread Caton occurs, the Caton data
Function call behavioral data and the first Caton duration including the thread of Caton occurs;
Determining module 402, the function call behavior for the first Caton duration to be met preset condition are determined as target
Behavior;
Module 403 is chosen, for randomly selecting multiple target electronic devices in multiple electronic device;
Sending module 404, for the function call behavioral data and optimisation strategy of the goal behavior to be sent to the mesh
Mark electronic device;
Module 401 is obtained, is also used to obtain the target electronic device when the thread executes goal behavior generation Caton
Execute the second Caton duration when the optimisation strategy;
Module 405 is distributed rationally, if there are the same targets in the target electronic device for being greater than preset quantity
The corresponding second Caton duration of behavior is less than the first Caton duration and reaches default value, then being generated according to the optimisation strategy should
Goal behavior is corresponding to distribute data rationally, and distributes this rationally data and be sent to all electronic devices.
Further, sending module 404 are also used to the function call behavioral data of the goal behavior, and, it is used for
The optimisation strategy that central processor accelerates is sent to the target electronic device.
Module 401 is obtained, is also used to obtain the target electronic device when the thread executes goal behavior generation Caton
The second Caton duration when being accelerated the central processing unit according to the optimisation strategy.
Further, optimisation strategy includes: the first optimisation strategy accelerated for central processing unit, is used for graphics processor
The second optimisation strategy accelerated and the third optimisation strategy accelerated for reading and writing data.
Sending module 404 is also used to the function call behavioral data of the goal behavior, and, first optimisation strategy,
Second optimisation strategy and the third optimisation strategy are sent to the target electronic device.
Module 402 is obtained, is also used to obtain the target electronic device when the thread executes goal behavior generation Caton
The second Caton duration when first optimisation strategy is executed respectively, is executed the second Caton duration when second optimisation strategy, is held
The second Caton duration when the row third optimisation strategy.
Further, Caton data further include the identification information of the corresponding application of thread.
It distributes module 405 rationally, if being also used in the target electronic device, there is the same mesh more than destination number
The corresponding second Caton duration of mark behavior is less than the target electronic device that the first Caton duration reaches default value, then basis
The optimisation strategy generates that the goal behavior is corresponding to distribute data rationally, then this is distributed data rationally and specifically includes: mark letter
Breath, the function call behavioral data of the thread, and, respectively make be more than the target electricity of the destination number in the optimisation strategy
In sub-device, the corresponding second Caton duration of the same goal behavior is less than the first Caton duration default value, and should
The second shortest optimisation strategy of Caton duration, and, it is also used to distributing this into data rationally and be sent out by way of rom update system
Give all electronic devices.
Further, sending module 404 are also used to the function call behavioral data of the goal behavior and this are first excellent
Change strategy, first group of electronic device being sent in the target electronic device;By the function call behavioral data of the goal behavior
And second optimisation strategy, second group of electronic device being sent in the target electronic device;By the function of the goal behavior
Call behavioral data and the third optimisation strategy, the third group electronic device being sent in the target electronic device.
Module 401 is obtained, is also used to obtain first group of electronics dress when the thread executes goal behavior generation Caton
Set the second Caton duration when executing first optimisation strategy;When the thread executes the goal behavior, and Caton occurs, obtaining should
Second group of electronic device executes the second Caton duration when second optimisation strategy;When the thread executes the goal behavior card
Immediately, the second Caton duration when the third group electronic device executes the third group optimisation strategy is obtained.
Distribute module 405 rationally, if being also used in each group target electronic device, existing should more than the same of destination number
The corresponding second Caton duration of goal behavior is less than the target electronic device group that the first Caton duration reaches default value,
Then generate that the goal behavior is corresponding to distribute data rationally according to the optimisation strategy, then this is distributed data rationally and specifically includes: should
Identification information, the function call behavioral data of the thread, and, if respectively making in the optimisation strategy in the target electronic device group
In not, the corresponding second Caton duration of the same goal behavior be less than the first Caton duration default value, and this second
The shortest optimisation strategy of Caton duration.
In the present embodiment, the function call behavioral data and the first card of the thread of Caton occurs in electronic device by obtaining
Immediately it grows, the function call behavior for meeting preset condition is determined as goal behavior to be tested, by the corresponding letter of the goal behavior
Number calls behavioral data and optimisation strategy to be sent to the target electronic device in electronic device and optimize test, in the thread
After executing the goal behavior and corresponding execution optimisation strategy generation Caton, the second Caton duration is obtained, if being greater than present count
All there is the corresponding second Caton duration of the same goal behavior in the target electronic device of amount much smaller than the second Caton duration, then
Confirm that optimisation strategy is effective, obtain distributing data rationally according to optimisation strategy and be sent to all electronic devices and carry out popularization optimization,
The goal behavior that generation Caton can more intelligent, be rapidly identified according to the function call behavioral data, can be improved confirmation card
The accuracy rate paused, and improve the applicability of optimization Caton.
Fig. 5 is referred to, Fig. 5 is the structural schematic diagram of electronic device provided in an embodiment of the present invention, for ease of description, only
Show part related to the embodiment of the present invention.The exemplary electronic device of Fig. 5 can be what aforementioned embodiment illustrated in fig. 3 provided
The executing subject of Caton optimization method.The electronic device includes:
Module 501 is obtained, for when detecting that Caton occurs for thread, obtaining Caton data, which includes hair
The function call behavioral data and the first Caton duration of the thread of raw Caton;
Sending module 502, for the Caton data to be sent to server;
Receiving module 503, for receiving function call behavioral data and the optimization of the goal behavior of server transmission
Strategy;
Execution module 504, for executing the optimisation strategy according to the function call behavioral data of the goal behavior, to mesh
Mark hardware is accelerated;
Module 501 is obtained, is also used to obtain the second Caton duration when executing the optimisation strategy;
Sending module 502 is also used to the second Caton duration being sent to the server.
Further, module 501 is obtained, is also used to obtain when Caton occurs by storehouse detection process detection to thread
It takes the stacked data of the thread as the function call behavioral data, falls frame duration as the Caton when obtaining Caton
Duration.
Further, receiving module 503, be also used to receive the function call behavioral data that the server is sent with
And the optimisation strategy accelerated for processor;
Execution module 504 is also used to according to the function call behavioral data, when the thread executes the goal behavior
When Caton occurs, the central processing unit is accelerated according to the optimisation strategy.
Further, optimisation strategy includes: the first optimisation strategy accelerated for central processing unit, is used for graphics processor
The second optimisation strategy accelerated and the third optimisation strategy accelerated for reading and writing data.
Receiving module 503 is also used to receive the function call behavioral data that the server is sent, and, it is described
First optimisation strategy, second optimisation strategy and the third optimisation strategy;
Execution module 504 is also used to according to the function call behavioral data, when the thread executes the goal behavior card
Immediately, according to the sequence of first optimisation strategy, second optimisation strategy and the third time optimisation strategy, one of them is executed
Optimisation strategy, correspondence accelerates the central processing unit, or, the graphics processor is accelerated;Or, by the reading and writing data
Speed is accelerated.
The details of the present embodiment not to the greatest extent, please refers to the description of earlier figures 1 to embodiment illustrated in fig. 4, details are not described herein again.
In the embodiment of the present invention, to be tested by the way that the Caton data that the thread of Caton occurs are sent to server with determination
Goal behavior, receive server send the corresponding function call behavioral data of the goal behavior and optimisation strategy, at this
After thread executes the goal behavior and corresponding execution optimisation strategy generation Caton, it is anti-that the second Caton duration is sent to server
Test effect is presented, so that the optimisation strategy that server is confirmed the validity according to the Caton data and the second Caton duration, and use
What server was sent obtains distributing data rationally according to optimisation strategy, reduces a possibility that Caton occurs for the thread.
The embodiment of the invention also provides a kind of electronic devices, comprising: memory, processor and is stored in the memory
Computer program that is upper and can running on the processor, when the processor executes the computer program, is realized as before
State Caton optimization method described in Fig. 3.
Referring to Fig. 6, Fig. 6 is the hardware structure diagram of the electronic device in the embodiment of the present invention.
Illustratively, electronic device can be various types of departments of computer science that are mobile or portable and executing wireless communication
Any one of equipment of uniting.Specifically, electronic device can be mobile phone or smart phone (for example, being based on iPhone
TM, the phone based on Android TM), portable gaming device (such as Nintendo DS TM, PlayStation
Portable TM, Gameboy Advance TM, iPhone TM), laptop computer, PDA, portable Internet appliance, sound
Happy player and data storage device, other handheld devices and wrist-watch, earphone, pendant, earphone etc., electronic device is also
Can for other wearable devices (for example, such as electronic glasses, electronics clothes, electronics bracelet, electronics necklace, electronics tatoo,
The headset equipment (HMD) of electronic equipment or smartwatch).
Electronic device can also be that any one of multiple electronic equipments, multiple electronic equipments include but is not limited to honeycomb
Phone, smart phone, other wireless telecom equipments, personal digital assistant, audio player, other media players, music note
It records device, video recorder, camera, other medium recorders, radio, Medical Devices, vehicle transport instrument, calculator, may be programmed
Remote controler, pager, laptop computer, desktop computer, printer, netbook computer, personal digital assistant (PDA), just
Formula multimedia player (PMP), Motion Picture Experts Group (MPEG-1 or MPEG-2) audio layer 3 (MP3) player are taken, it is portable
Medical Devices and digital camera and combinations thereof.
In some cases, electronic device can execute multiple functions and (for example, playing music, show video, store picture
And send and receive call).If desired, electronic device can be such as cellular phone, media player, other hands
The portable device of holding equipment, watch equipment, pendant equipment, receiver device or other compact portable equipment.
As shown in fig. 6, electronic equipment 10 may include control circuit, which may include storage and processing circuit
30.The storage and processing circuit 30 may include memory, such as hard drive memory, nonvolatile memory (such as dodge
Deposit or be used to form the memory etc. of other electronic programmable limit deletings of solid state drive), volatile memory (such as it is quiet
State or dynamic random access memory etc.) etc., the embodiment of the present application is with no restriction.Store and process the processing circuit in circuit 30
It can be used for the operating of controlling electronic devices 10.The processing circuit microprocessor, microcontroller can count based on one or more
Word signal processor, baseband processor, power management unit, audio codec chip, specific integrated circuit, display driver
Integrated circuit etc. is realized.
Storage and processing circuit 30 can be used for running the software in electronic equipment 10, such as the Internet browser application program,
Voice over internet protocol (Voice over Internet Protocol, VOIP) call application program, Email are answered
With program, media play-back application, operation system function etc..These softwares can be used for executing some control operations, for example,
Image Acquisition based on camera, the ambient light measurement based on ambient light sensor, the proximity sensor based on proximity sensor
Measurement, the information display function that the positioning indicators such as status indicator lamp based on light emitting diode are realized are passed based on touching
The touch event of sensor detects, function associated with information show on multiple (such as layering) displays, with execution nothing
The associated operation of line communication function, operation associated with collecting and generating audio signal, presses with collection and treatment button
Other functions etc. in the associated control operation of event data and electronic equipment 10, the embodiment of the present application is with no restriction.
Electronic equipment 10 can also include input-output circuit 42.Input-output circuit 42 can be used for making electronic equipment 10
Realize outputting and inputting for data, i.e. permission electronic equipment 10 allows electronic equipment 10 that will count from outer equipment receiving data and also
According to from the output of electronic equipment 10 to external equipment.Input-output circuit 42 may further include sensor 32.Sensor 32 can
To include ambient light sensor, the proximity sensor based on light and capacitor, touch sensor is (for example, be based on light touch sensor
And/or capacitive touch sensors, wherein touch sensor can be a part of touching display screen, can also be used as one
Touch sensor arrangement independently uses), acceleration transducer and other sensors etc..
Input-output circuit 42 can also include one or more displays, such as display 14.Display 14 can wrap
Include liquid crystal display, organic light emitting diode display, electronic ink display, plasma display uses other display skills
One or several kinds of combination in the display of art.Display 14 may include touch sensor array (that is, display 14 can be with
It is touching display screen).Touch sensor can be by transparent touch sensor electrode (such as tin indium oxide (ITO) electrode) battle array
The capacitive touch sensors formed are arranged, or can be the touch sensor formed using other touching techniques, such as sound wave
Touch-control, pressure sensible touch, resistive touch, optical touch etc., the embodiment of the present application is with no restriction.
Electronic equipment 10 can also include audio component 36.Audio component 36 can be used for providing audio for electronic equipment 10
Output and input function.Audio component 36 in electronic equipment 10 may include loudspeaker, microphone, buzzer, tone generation
Device and other components for being used to generate and detect sound.
Telecommunication circuit 38 can be used for providing the ability with external device communication for electronic equipment 10.Telecommunication circuit 38 can be with
Radio communication circuit including analog- and digital- input-output interface circuit, and based on radiofrequency signal and/or optical signal.Communication
Radio communication circuit in circuit 38 may include radio-frequency transceiver circuitry, power amplifier circuit, low-noise amplifier, open
Pass, filter and antenna.For example, the radio communication circuit in telecommunication circuit 38 may include for by transmitting and reception
Near-field coupling electromagnetic signal supports the circuit of near-field communication (Near Field Communication, NFC).For example, communication
Circuit 38 may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit 38 can also include cellular telephone transceiver
And antenna, wireless lan transceiver circuit and antenna etc..
Electronic equipment 10 can further include battery, power management circuitry and other input-output units 40.It is defeated
Enter-output unit 40 may include button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, camera shines
Diode and other positioning indicators etc..
User can input a command for the operation of controlling electronic devices 10 by input-output circuit 42, and can make
Status information and other outputs from electronic equipment 10 are received with the output data of input-output circuit 42 to realize.
Further, the embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable storages
Medium can be in the electronic device being set in the various embodiments described above, which can be earlier figures 6
The memory in storage and processing circuit 30 in illustrated embodiment.Computer journey is stored on the computer readable storage medium
Sequence, the program realize Caton optimization method described in aforementioned embodiment illustrated in fig. 3 when being executed by processor.Further, should
Computer can storage medium can also be USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), RAM, magnetic
The various media that can store program code such as dish or CD.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this hair
Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
The above are to Caton optimization method, server, electronic device and computer-readable storage medium provided by the present invention
The description of matter, for those of ordinary skill in the art, thought according to an embodiment of the present invention, in specific embodiment and application
There will be changes in range, and to sum up, the contents of this specification are not to be construed as limiting the invention.
Claims (15)
1. a kind of Caton optimization method is applied to server, which is characterized in that the described method includes:
The Caton data in multiple electronic devices that thread Caton occurs are obtained, the Caton data include the thread that Caton occurs
Function call behavioral data and the first Caton duration, and the first Caton duration is met to the function call of preset condition
Behavior is determined as goal behavior;
Randomly select multiple target electronic devices in the multiple electronic device, and by the function call row of the goal behavior
The target electronic device is sent to for data and optimisation strategy;
When the thread executes the goal behavior, and Caton occurs, obtains the target electronic device and execute the optimisation strategy
When the second Caton duration;
If there are corresponding second Catons of the same goal behavior in the target electronic device for being greater than preset quantity
Duration is less than the first Caton duration and reaches default value, then it is corresponding to generate the goal behavior according to the optimisation strategy
It distributes data rationally, and the data of distributing rationally is sent to all electronic devices.
2. the method according to claim 1, wherein the function call behavioral data by the goal behavior
And optimisation strategy is sent to the target electronic device and includes:
By the function call behavioral data of the goal behavior, and, the optimisation strategy hair accelerated for central processing unit
Give the target electronic device;
Then, described when the thread executes the goal behavior generation Caton, it obtains described in the target electronic device execution
The second Caton duration when optimisation strategy includes:
When the thread executes the goal behavior, and Caton occurs, the target electronic device is obtained according to the optimisation strategy
The second Caton duration when the central processing unit is accelerated.
3. the method according to claim 1, wherein the optimisation strategy includes: to accelerate for central processing unit
The first optimisation strategy, for graphics processor accelerate the second optimisation strategy and for reading and writing data accelerate third optimization
Strategy, then it is described that the function call behavioral data and optimisation strategy of the goal behavior are sent to the target electronic device
Include:
By the function call behavioral data of the goal behavior, and, first optimisation strategy, second optimisation strategy and
The third optimisation strategy is sent to the target electronic device;
Then, described when the thread executes the goal behavior generation Caton, it obtains described in the target electronic device execution
The second Caton duration when optimisation strategy includes:
When the thread executes the goal behavior, and Caton occurs, obtains the target electronic device and execute described first respectively
The second Caton duration when optimisation strategy executes the second Caton duration when second optimisation strategy, it is excellent to execute the third
Change the second Caton duration when strategy.
4. according to the method described in claim 3, it is characterized in that, the Caton data further include the corresponding application of the thread
Identification information, then the method also includes:
If in the target electronic device, the same goal behavior corresponding described second existed more than destination number blocks
Immediately the long target electronic device for being less than the first Caton duration and reaching default value, then generate institute according to the optimisation strategy
State that goal behavior is corresponding to distribute data rationally, then it is described to distribute data rationally and specifically include: the identification information, the thread
Function call behavioral data, and, make in each optimisation strategy be more than the destination number the target electronic
In device, the corresponding second Caton duration of the same goal behavior is less than the first Caton duration default value,
And the shortest optimisation strategy of the second Caton duration;
The data of distributing rationally are sent to all electronic devices by way of rom update system.
5. the method according to claim 1, wherein the optimisation strategy includes: to accelerate for central processing unit
The first optimisation strategy, for graphics processor accelerate the second optimisation strategy and for reading and writing data accelerate third optimization
Strategy, then it is described that the function call behavioral data and optimisation strategy of the goal behavior are sent to the target electronic device
Include:
By the function call behavioral data of the goal behavior and first optimisation strategy, it is sent to the target electronic dress
First group of electronic device in setting;
By the function call behavioral data of the goal behavior and second optimisation strategy, it is sent to the target electronic dress
Second group of electronic device in setting;
By the function call behavioral data of the goal behavior and the third optimisation strategy, it is sent to the target electronic dress
Third group electronic device in setting;
Then, described when the thread executes the goal behavior generation Caton, it obtains described in the target electronic device execution
The second Caton duration when optimisation strategy includes:
When the thread executes the goal behavior, and Caton occurs, it is excellent to obtain first group of electronic device execution described first
Change the second Caton duration when strategy;
When the thread executes the goal behavior, and Caton occurs, it is excellent to obtain second group of electronic device execution described second
Change the second Caton duration when strategy;
When the thread executes the goal behavior, and Caton occurs, obtains the third group electronic device and execute the third group
The second Caton duration when optimisation strategy.
6. according to the method described in claim 5, it is characterized in that, the Caton data further include the corresponding application of the thread
Identification information, then the method also includes:
If in each group target electronic device, the same goal behavior corresponding described second existed more than destination number blocks
Immediately the long target electronic device group for being less than the first Caton duration and reaching default value, then it is raw according to the optimisation strategy
Distribute data rationally at the goal behavior is corresponding, then described to distribute data rationally and specifically include: the identification information, it is described
The function call behavioral data of thread, and, if making in the target electronic device group in each optimisation strategy, together
The corresponding second Caton duration of one goal behavior is less than the first Caton duration default value, and described second
The shortest optimisation strategy of Caton duration;
The data of distributing rationally are sent to all electronic devices by way of rom update system.
7. the method according to claim 1, wherein described meet preset condition for the first Caton duration
Function call behavior is determined as goal behavior
By the first Caton duration be more than the first preset duration and be more than number be greater than preset times function call behavior,
It is determined as goal behavior.
8. a kind of Caton optimization method is applied to electronic device, which is characterized in that the described method includes:
When detecting that Caton occurs for thread, obtains Caton data and the Caton data are sent to server, the Caton
Data include the function call behavioral data and the first Caton duration that the thread of Caton occurs;
The function call behavioral data and optimisation strategy of the goal behavior that the server is sent are received, and according to the target
The function call behavioral data of behavior executes the optimisation strategy, to accelerate to target hardware;
It obtains the second Caton duration when executing the optimisation strategy and is sent to the server.
9. according to the method described in claim 8, it is characterized in that, described when detecting that Caton occurs for thread, acquisition Caton
The Caton data are simultaneously sent to server by data, and the Caton data include that the function call behavior of the thread of Caton occurs
Data and the first Caton duration include:
When Caton occurs by storehouse detection process detection to thread, the stacked data of the thread is obtained as the function
Behavioral data is called, falls frame duration as the Caton duration when obtaining Caton, and the Caton data are sent to described
Server.
10. according to the method described in claim 8, it is characterized in that, described receive goal behavior that the server is sent
Function call behavioral data and optimisation strategy, and the optimization is executed according to the function call behavioral data of the goal behavior
Strategy is specifically included with accelerating to target hardware:
Receive the function call behavioral data and the optimisation strategy accelerated for processor that the server is sent;
According to the function call behavioral data, when the thread executes the goal behavior, and Caton occurs, according to described excellent
Change strategy to accelerate the central processing unit.
11. according to the method described in claim 8, it is characterized in that, the optimisation strategy includes: to accelerate for central processing unit
The first optimisation strategy, for graphics processor accelerate the second optimisation strategy and for reading and writing data accelerate third optimization
Strategy, then it is described that the function call behavioral data and optimisation strategy of the goal behavior are sent to the target electronic dress
It sets, then the function call behavioral data and optimisation strategy for receiving the goal behavior that the server is sent, and according to institute
The function call behavioral data for stating goal behavior executes the optimisation strategy and is specifically included with accelerating to target hardware:
The function call behavioral data that the server is sent is received, and, first optimisation strategy, described second is excellent
Change strategy and the third optimisation strategy;
According to the function call behavioral data, when the thread executes the goal behavior, and Caton occurs, according to described the
The sequence of one optimisation strategy, second optimisation strategy and the third time optimisation strategy, executes one of optimisation strategy,
Correspondence accelerates the central processing unit, or, the graphics processor is accelerated;Or, by the reading and writing data speed
Degree is accelerated.
12. a kind of server, which is characterized in that the server includes:
Module is obtained, for obtaining the Caton data in multiple electronic devices that thread Caton occurs, the Caton data include
The function call behavioral data and the first Caton duration of the thread of Caton occurs;
Determining module, the function call behavior for the first Caton duration to be met preset condition are determined as goal behavior;
Module is chosen, for randomly selecting multiple target electronic devices in the multiple electronic device;
Sending module, for the function call behavioral data and optimisation strategy of the goal behavior to be sent to the target electricity
Sub-device;
The acquisition module is also used to obtain the target electronic when the thread executes the goal behavior generation Caton
Device executes the second Caton duration when the optimisation strategy;
Module is distributed rationally, if there are the same goal behaviors in the target electronic device for being greater than preset quantity
The corresponding second Caton duration is less than the first Caton duration and reaches default value, then is generated according to the optimisation strategy
The goal behavior is corresponding to distribute data rationally, and the data of distributing rationally are sent to all electronic devices.
13. a kind of electronic device, which is characterized in that the electronic device includes:
Module is obtained, for when detecting that Caton occurs for thread, obtaining Caton data, the Caton data include that Caton occurs
Thread function call behavioral data and the first Caton duration;
Sending module, for the Caton data to be sent to server;
Receiving module, for receiving the function call behavioral data and optimisation strategy of the goal behavior that the server is sent;
Execution module, for executing the optimisation strategy according to the function call behavioral data of the goal behavior, to target
Hardware is accelerated;
The acquisition module is also used to obtain the second Caton duration when executing the optimisation strategy;
The sending module is also used to the second Caton duration being sent to the server.
14. a kind of electronic device, which is characterized in that the electronic device includes:
Memory and processor;
The memory is stored with executable program code;
The processor coupled with the memory calls the executable program code stored in the memory, holds
Caton optimization method of the row as described in any one of claim 8 to 11.
15. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program
When being run by processor, the Caton as described in any one of any one of claims 1 to 7 or claim 8 to 11 is executed
Optimization method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910376335.6A CN110109759B (en) | 2019-05-07 | 2019-05-07 | Catton optimization method, server, electronic device and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910376335.6A CN110109759B (en) | 2019-05-07 | 2019-05-07 | Catton optimization method, server, electronic device and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110109759A true CN110109759A (en) | 2019-08-09 |
CN110109759B CN110109759B (en) | 2021-11-26 |
Family
ID=67488570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910376335.6A Active CN110109759B (en) | 2019-05-07 | 2019-05-07 | Catton optimization method, server, electronic device and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110109759B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110647366A (en) * | 2019-09-19 | 2020-01-03 | Oppo广东移动通信有限公司 | Method, device, terminal and storage medium for processing card pause |
CN110888781A (en) * | 2019-11-21 | 2020-03-17 | 腾讯科技(深圳)有限公司 | Application blockage detection method and detection device |
CN110941551A (en) * | 2019-11-21 | 2020-03-31 | 腾讯科技(深圳)有限公司 | Application stuck detection method, device and equipment and computer storage medium |
CN112667486A (en) * | 2019-10-16 | 2021-04-16 | 腾讯科技(深圳)有限公司 | Method and device for determining stuck threads, electronic equipment and storage medium |
CN113190427A (en) * | 2021-05-11 | 2021-07-30 | 北京字节跳动网络技术有限公司 | Caton monitoring method and device, electronic equipment and storage medium |
CN116028210A (en) * | 2022-05-16 | 2023-04-28 | 荣耀终端有限公司 | Resource scheduling method, electronic equipment and storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130046924A1 (en) * | 2009-12-15 | 2013-02-21 | Ali-Reza Adl-Tabatabai | Mechanisms To Accelerate Transactions Using Buffered Stores |
CN104391742A (en) * | 2014-11-11 | 2015-03-04 | 小米科技有限责任公司 | Application optimization method and device |
CN106095577A (en) * | 2016-06-08 | 2016-11-09 | 东北林业大学 | The optimized treatment method of shared drives based on many path processors and device |
CN106453338A (en) * | 2016-10-21 | 2017-02-22 | 高道华 | Resource optimization method of wireless mesh network in cloud environment |
CN107622003A (en) * | 2016-07-13 | 2018-01-23 | 阿里巴巴集团控股有限公司 | A kind of performance optimum results Forecasting Methodology and device |
CN107943568A (en) * | 2017-10-31 | 2018-04-20 | 北京航空航天大学 | Comprehensively modularized avionics system two-level scheduler model and Prototyping Platform |
CN107967177A (en) * | 2017-11-30 | 2018-04-27 | 努比亚技术有限公司 | Memory Optimize Method, mobile terminal and readable storage medium storing program for executing based on kernel process |
US20180150333A1 (en) * | 2016-11-29 | 2018-05-31 | International Business Machines Corporation | Bandwidth aware resource optimization |
CN108600086A (en) * | 2018-04-08 | 2018-09-28 | Oppo广东移动通信有限公司 | Information processing method, electronic device and computer readable storage medium |
CN108647051A (en) * | 2018-03-13 | 2018-10-12 | 广东欧珀移动通信有限公司 | Optimisation strategy acquisition methods, providing method, device and equipment |
CN108829469A (en) * | 2018-04-18 | 2018-11-16 | 北京奇艺世纪科技有限公司 | A kind of application program page methods of exhibiting and device |
US20180349204A1 (en) * | 2017-06-02 | 2018-12-06 | Alibaba Group Holding Limited | Method and apparatus for implementing virtual gpu and system |
CN109491702A (en) * | 2018-11-02 | 2019-03-19 | 广州虎牙科技有限公司 | A kind of prioritization scheme determines method, apparatus, terminal device and storage medium |
CN109597687A (en) * | 2018-10-31 | 2019-04-09 | 东软集团股份有限公司 | Data synchronous resource allocation methods, device, storage medium and electronic equipment |
-
2019
- 2019-05-07 CN CN201910376335.6A patent/CN110109759B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130046924A1 (en) * | 2009-12-15 | 2013-02-21 | Ali-Reza Adl-Tabatabai | Mechanisms To Accelerate Transactions Using Buffered Stores |
CN104391742A (en) * | 2014-11-11 | 2015-03-04 | 小米科技有限责任公司 | Application optimization method and device |
CN106095577A (en) * | 2016-06-08 | 2016-11-09 | 东北林业大学 | The optimized treatment method of shared drives based on many path processors and device |
CN107622003A (en) * | 2016-07-13 | 2018-01-23 | 阿里巴巴集团控股有限公司 | A kind of performance optimum results Forecasting Methodology and device |
CN106453338A (en) * | 2016-10-21 | 2017-02-22 | 高道华 | Resource optimization method of wireless mesh network in cloud environment |
US20180150333A1 (en) * | 2016-11-29 | 2018-05-31 | International Business Machines Corporation | Bandwidth aware resource optimization |
US20180349204A1 (en) * | 2017-06-02 | 2018-12-06 | Alibaba Group Holding Limited | Method and apparatus for implementing virtual gpu and system |
CN107943568A (en) * | 2017-10-31 | 2018-04-20 | 北京航空航天大学 | Comprehensively modularized avionics system two-level scheduler model and Prototyping Platform |
CN107967177A (en) * | 2017-11-30 | 2018-04-27 | 努比亚技术有限公司 | Memory Optimize Method, mobile terminal and readable storage medium storing program for executing based on kernel process |
CN108647051A (en) * | 2018-03-13 | 2018-10-12 | 广东欧珀移动通信有限公司 | Optimisation strategy acquisition methods, providing method, device and equipment |
CN108600086A (en) * | 2018-04-08 | 2018-09-28 | Oppo广东移动通信有限公司 | Information processing method, electronic device and computer readable storage medium |
CN108829469A (en) * | 2018-04-18 | 2018-11-16 | 北京奇艺世纪科技有限公司 | A kind of application program page methods of exhibiting and device |
CN109597687A (en) * | 2018-10-31 | 2019-04-09 | 东软集团股份有限公司 | Data synchronous resource allocation methods, device, storage medium and electronic equipment |
CN109491702A (en) * | 2018-11-02 | 2019-03-19 | 广州虎牙科技有限公司 | A kind of prioritization scheme determines method, apparatus, terminal device and storage medium |
Non-Patent Citations (3)
Title |
---|
SHIH-CHANG WANG: ""Differential evolution optimization with time-frame strategy adaptation"", 《SOFT COMPUTING》 * |
七适散人: ""Android优化-内存优化"", 《HTTPS://CLOUD.TENCENT.COM/DEVELOPER/ARTICLE/1334621》 * |
夏长清: ""物联网环境下能耗关键技术研究"", 《中国博士学位论文全文数据库 信息科技辑》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110647366A (en) * | 2019-09-19 | 2020-01-03 | Oppo广东移动通信有限公司 | Method, device, terminal and storage medium for processing card pause |
CN110647366B (en) * | 2019-09-19 | 2023-08-22 | Oppo广东移动通信有限公司 | Method, device, terminal and storage medium for processing blocking |
CN112667486A (en) * | 2019-10-16 | 2021-04-16 | 腾讯科技(深圳)有限公司 | Method and device for determining stuck threads, electronic equipment and storage medium |
CN110888781A (en) * | 2019-11-21 | 2020-03-17 | 腾讯科技(深圳)有限公司 | Application blockage detection method and detection device |
CN110941551A (en) * | 2019-11-21 | 2020-03-31 | 腾讯科技(深圳)有限公司 | Application stuck detection method, device and equipment and computer storage medium |
CN110941551B (en) * | 2019-11-21 | 2021-04-30 | 腾讯科技(深圳)有限公司 | Application stuck detection method, device and equipment and computer storage medium |
CN110888781B (en) * | 2019-11-21 | 2021-11-16 | 腾讯科技(深圳)有限公司 | Application blockage detection method and detection device |
CN113190427A (en) * | 2021-05-11 | 2021-07-30 | 北京字节跳动网络技术有限公司 | Caton monitoring method and device, electronic equipment and storage medium |
CN116028210A (en) * | 2022-05-16 | 2023-04-28 | 荣耀终端有限公司 | Resource scheduling method, electronic equipment and storage medium |
CN116028210B (en) * | 2022-05-16 | 2023-10-20 | 荣耀终端有限公司 | Resource scheduling method, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110109759B (en) | 2021-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110109759A (en) | Caton optimization method, server, electronic device and computer readable storage medium | |
WO2021003673A1 (en) | Content pushing method and related product | |
CN109495871A (en) | Bluetooth connection control method, electronic device and computer readable storage medium | |
CN109348467B (en) | Emergency call implementation method, electronic device and computer-readable storage medium | |
CN108924358A (en) | proximity sensor control method, electronic device and computer readable storage medium | |
CN108983211A (en) | Proximity sensor and its control method, electronic device and computer readable storage medium | |
CN109067984B (en) | Data transmission method, electronic device and computer readable storage medium | |
CN108874466A (en) | Control call method, electronic device and computer readable storage medium | |
CN109150326A (en) | Antenna impedance adjustment method, electronic device and computer readable storage medium | |
CN109104203A (en) | Communication means, electronic device and computer readable storage medium | |
CN103346921A (en) | User management method, relevant equipment and communication system | |
CN108512994A (en) | Electronic equipment for the close method and use this method for detecting object | |
CN107707642A (en) | Brush amount terminal determines method and device | |
CN103347093B (en) | User data update method and relevant device and communication system | |
US20200201923A1 (en) | Information Recommendation Method, Terminal Device, and Server | |
CN109120781A (en) | Information cuing method, electronic device and computer readable storage medium | |
CN109684011A (en) | Interface display control method, electronic device and computer readable storage medium | |
CN110058980B (en) | Terminal start time early warning method, electronic device and computer readable storage medium | |
CN110429696A (en) | Method for charging batteries, electronic device and computer readable storage medium | |
CN109257731A (en) | Emergency call realization method, electronic device and computer readable storage medium | |
CN106407359A (en) | Image playing method and mobile terminal | |
WO2018214745A1 (en) | Application control method and related product | |
CN109144721A (en) | Resource ordering method, resource display method, relevant apparatus and storage medium | |
CN109885201A (en) | Touch screen touches area detection method, electronic device and computer readable storage medium | |
CN109327800B (en) | Emergency call implementation method, electronic device and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |