CN114461323B - Clamping and processing method and device, electronic equipment and storage medium - Google Patents

Clamping and processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114461323B
CN114461323B CN202210091573.4A CN202210091573A CN114461323B CN 114461323 B CN114461323 B CN 114461323B CN 202210091573 A CN202210091573 A CN 202210091573A CN 114461323 B CN114461323 B CN 114461323B
Authority
CN
China
Prior art keywords
frame
application
time
refreshing
refresh
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.)
Active
Application number
CN202210091573.4A
Other languages
Chinese (zh)
Other versions
CN114461323A (en
Inventor
胡自健
闫森
王洪烛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Electronic Technology Shenzhen Co ltd
Original Assignee
Hisense Electronic Technology Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Electronic Technology Shenzhen Co ltd filed Critical Hisense Electronic Technology Shenzhen Co ltd
Priority to CN202210091573.4A priority Critical patent/CN114461323B/en
Publication of CN114461323A publication Critical patent/CN114461323A/en
Application granted granted Critical
Publication of CN114461323B publication Critical patent/CN114461323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5021Priority
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application provides a method and a device for processing a card, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the steps of determining a system frame set after determining that application refreshing is blocked and meets a set condition based on a first time-consuming time length of an application refreshing frame in terminal screen refreshing, determining an overall time-consuming time length of the system frame set based on a second time-consuming time length of each system refreshing frame in the system frame set, adjusting GPU frequency if the overall time-consuming time length exceeds the first set time length, and adjusting CPU frequency and/or application rendering thread based on system load and application rendering thread load if the overall time-consuming time length does not exceed the first set time length. Because the time consumption of the application refreshing frame and the system refreshing frame in the refreshing process can be obtained, the blocking can be accurately identified, and the problem that the blocking is caused by the application refreshing or the system refreshing can be effectively distinguished, so that corresponding system resources are scheduled for processing, and continuous blocking is prevented.

Description

Clamping and processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for processing a card, an electronic device, and a storage medium.
Background
The scene that can be born is more and more complex due to the continuous refreshing of the hardware resources of the mobile phone, but the mobile phone is limited by the heating problem, and the mobile phone cannot always operate with the highest performance. With the update of the Application (APP) version, in order to improve the application visual experience of the mobile phone of the user, the application manufacturer continuously adds new functions and resources, and the page complexity is also continuously improved. Meanwhile, the Android system is a multi-process real-time system, and when a plurality of APP's run simultaneously, APP clamping phenomenon can be generated due to resource contention.
The APP is visually presented by blocking, and the interface is updated in time. The update interface involves three parts, an application refresh rate, a system refresh rate, and a hardware refresh rate. Applying a refresh rate, namely preparing refresh data of an interface by an application in a certain period; the refresh rate of the system, namely the system synthesizes refresh data of a plurality of application interfaces in a certain period; hardware refresh rate, i.e., the refresh period of a hardware screen.
In the related art, the recognition of the APP jamming is generally realized by comparing the system interfaces by adopting an image recognition method to determine whether the APP is jammed, however, when the system interfaces are not updated or the difference is small, the method can have the situation of misjudgment, so the accuracy of the APP jamming recognition is not high.
Disclosure of Invention
In order to solve the existing technical problems, the embodiment of the application provides a method, a device, electronic equipment and a storage medium for processing the clamping and the stopping, which can effectively improve the accuracy of APP clamping and stopping identification.
In order to achieve the above purpose, the technical solution of the embodiments of the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for processing a card, including:
determining an application refreshing frame used by the latest refreshing every time the terminal screen is refreshed;
determining a system frame set after determining that application refresh is stuck and a set condition is met based on the first time-consuming duration of the application refresh frame, wherein the system frame set comprises an initial system refresh frame and a system refresh frame used by the latest refresh, and the system refresh frame between the initial system refresh frame and the system refresh frame used by the latest refresh; the initial system refreshing frame is a first system refreshing frame after the terminal screen is on the screen or a next system refreshing frame which accords with the system refreshing frame corresponding to the set condition last time; the first time-consuming duration is the time-consuming duration of the application for organizing the refreshing frame data of the terminal screen based on the corresponding application refreshing frame; the setting condition is that the application refreshing card is in accordance with a serious card condition, or the refreshing of the terminal screen reaches the setting times;
Determining the overall time-consuming duration of the system frame set based on the second time-consuming duration of each system refresh frame in the system frame set; the second time-consuming duration is the time-consuming duration of the system for synthesizing the refreshing frame data of the terminal screen based on the corresponding system refreshing frame;
if the overall time-consuming time length exceeds the first set time length, adjusting the GPU frequency; the first set time length is a normal time-consuming time length of the system refreshing frame; and if the overall time-consuming duration does not exceed the first set duration, adjusting the CPU frequency and/or the application rendering thread based on the system load and the application rendering thread load.
According to the method for processing the application refreshing frame, the latest refreshing application refreshing frame is determined according to each refreshing time of the terminal screen, the system frame set is determined after the occurrence of application refreshing jamming is determined based on the first time-consuming time of the application refreshing frame and the set condition is met, the whole time-consuming time of the system frame set is determined based on the second time-consuming time of each system refreshing frame in the system frame set, if the whole time-consuming time exceeds the first set time, the GPU frequency is adjusted, and if the whole time-consuming time does not exceed the first set time, the CPU frequency and/or the application rendering thread are adjusted based on the system load and the application rendering thread load. Because the blocking can be identified according to the time consumption of the application refreshing frame and the system refreshing frame in the refreshing process, the blocking can be accurately identified, the problem that the blocking is caused by the application refreshing or the system refreshing can be effectively distinguished, and corresponding resources are scheduled to be processed, so that continuous blocking is prevented.
In an alternative embodiment, the application refresh click is determined by:
if the application refreshing frame with the first time-consuming time duration exceeding the second set time duration exists, determining that application refreshing card is in existence; the second set time length is an average time-consuming time length of the application refreshing frame.
In this embodiment, when it is determined that there is an application refresh frame whose first time-consuming period exceeds the second set time period, it may be determined that application refresh jamming occurs, so that application refresh jamming may be accurately identified according to the time consumption of the application refresh frame.
In an alternative embodiment, the severe stuck condition is determined by:
if the application refreshing frame with the first time-consuming time duration exceeding the third set time duration exists, determining that the application refreshing frame accords with a serious clamping condition; the third set time period is longer than the second set time period.
In this embodiment, if it is determined that there is an application refresh frame whose first time duration exceeds the third set time duration, it is determined that the application refresh frame meets the severe jam condition, so that the application refresh frame meeting the severe jam condition can be accurately identified according to the time duration of the application refresh frame.
In an optional embodiment, after determining that the application refresh is on, and the setting condition is met, the method further includes:
determining an application frame set, wherein the application frame set comprises an initial application refresh frame and a recently refreshed application refresh frame, and an application refresh frame between the initial application refresh frame and the recently refreshed application refresh frame; the initial application refreshing frame is a first application refreshing frame after the terminal screen is on the screen or a next application refreshing frame which accords with the application refreshing frame corresponding to the set condition last time;
determining the whole time-consuming time length of the application frame set based on the first time-consuming time length of each application refreshing frame in the application frame set, and taking the whole time-consuming time length as a sampling time length;
acquiring accumulated record time of each CPU state of the system in the sampling time length, and determining system load according to the accumulated record time and the sampling time length;
and acquiring the running time of the application rendering thread in the sampling time and the overall processing time of each application refreshing frame on the application rendering thread, and determining the load of the application rendering thread according to the running time and the overall processing time.
In this embodiment, after determining that application refresh is blocked and the set condition is met, an application frame set may be further determined, based on a first time-consuming time length of each application refresh frame in the application frame set, an overall time-consuming time length of the application frame set is determined, the overall time-consuming time length is taken as a sampling time length, an accumulated record time of each CPU state of the system in the sampling time length is obtained, a system load is determined according to the accumulated record time and the sampling time length, an operation time of an application rendering thread in the sampling time length and an overall processing time of each application refresh frame on the application rendering thread are obtained, and an application rendering thread load is determined according to the operation time and the overall processing time. And the system load and the application rendering thread load in the sampling time length are calculated after the application frame set is determined according to the time consumption of the application refreshing frame and the sampling time length is determined based on the application frame set.
In an alternative embodiment, the adjusting the CPU frequency and/or the application rendering thread based on the system load and the application rendering thread load includes:
if the system load exceeds a first set threshold and the CPU frequency is lower than a set frequency threshold, adjusting the CPU frequency;
If the system load is lower than a first set threshold value or the CPU frequency exceeds a set frequency threshold value and the application rendering thread load exceeds a second set threshold value, adjusting the scheduling priority of the application rendering thread;
and if the system load is lower than a first set threshold value or the CPU frequency exceeds a set frequency threshold value and the application rendering thread load is lower than a second set threshold value, adjusting the operation core of the application rendering thread.
In this embodiment, if the system load exceeds a first set threshold and the CPU frequency is below a set frequency threshold, the CPU frequency is adjusted, if the system load is below the first set threshold or the CPU frequency exceeds the set frequency threshold and the application rendering thread load exceeds a second set threshold, the scheduling priority of the application rendering thread is adjusted, and if the system load is below the first set threshold or the CPU frequency exceeds the set frequency threshold and the application rendering thread load is below the second set threshold, the operating core of the application rendering thread is adjusted. Therefore, corresponding system resources can be timely scheduled to carry out the blocking treatment based on different blocking reasons, the blocking problem caused by the system resources can be rapidly solved and repaired, and the unresponsive problem caused by continuous blocking is avoided.
In a second aspect, an embodiment of the present application further provides a katon processing device, including:
the refreshing frame determining unit is used for determining an application refreshing frame used by the latest refreshing every time the terminal screen is refreshed;
the frame set determining unit is used for determining a system frame set after determining that the application refresh card is on and meets a set condition based on the first time-consuming time duration of the application refresh frame, wherein the system frame set comprises an initial system refresh frame and a system refresh frame used by the latest refresh, and a system refresh frame between the initial system refresh frame and the system refresh frame used by the latest refresh; the initial system refreshing frame is a first system refreshing frame after the terminal screen is on the screen or a next system refreshing frame which accords with the system refreshing frame corresponding to the set condition last time; the first time-consuming duration is the time-consuming duration of the application for organizing the refreshing frame data of the terminal screen based on the corresponding application refreshing frame; the setting condition is that the application refreshing card is in accordance with a serious card condition, or the refreshing of the terminal screen reaches the setting times;
an overall time-consuming determining unit, configured to determine an overall time-consuming duration of the system frame set based on a second time-consuming duration of each of the system refresh frames in the system frame set; the second time-consuming duration is the time-consuming duration of the system for synthesizing the refreshing frame data of the terminal screen based on the corresponding system refreshing frame;
The card-on processing unit is used for adjusting the GPU frequency if the integral time-consuming time length exceeds a first set time length; the first set time length is a normal time-consuming time length of the system refreshing frame; and if the overall time-consuming duration does not exceed the first set duration, adjusting the CPU frequency and/or the application rendering thread based on the system load and the application rendering thread load.
In an alternative embodiment, the frame set determining unit is further configured to:
if the application refreshing frame with the first time-consuming time duration exceeding the second set time duration exists, determining that application refreshing card is in existence; the second set time length is an average time-consuming time length of the application refreshing frame.
In an alternative embodiment, the frame set determining unit is further configured to:
if the application refreshing frame with the first time-consuming time duration exceeding the third set time duration exists, determining that the application refreshing frame accords with a serious clamping condition; the third set time period is longer than the second set time period.
In an alternative embodiment, the apparatus further comprises a load determination unit for:
determining an application frame set, wherein the application frame set comprises an initial application refresh frame and a recently refreshed application refresh frame, and an application refresh frame between the initial application refresh frame and the recently refreshed application refresh frame; the initial application refreshing frame is a first application refreshing frame after the terminal screen is on the screen or a next application refreshing frame which accords with the application refreshing frame corresponding to the set condition last time;
Determining the whole time-consuming time length of the application frame set based on the first time-consuming time length of each application refreshing frame in the application frame set, and taking the whole time-consuming time length as a sampling time length;
acquiring accumulated record time of each CPU state of the system in the sampling time length, and determining system load according to the accumulated record time and the sampling time length;
and acquiring the running time of the application rendering thread in the sampling time and the overall processing time of each application refreshing frame on the application rendering thread, and determining the load of the application rendering thread according to the running time and the overall processing time.
In an alternative embodiment, the katon processing unit is specifically configured to:
if the system load exceeds a first set threshold and the CPU frequency is lower than a set frequency threshold, adjusting the CPU frequency;
if the system load is lower than a first set threshold value or the CPU frequency exceeds a set frequency threshold value and the application rendering thread load exceeds a second set threshold value, adjusting the scheduling priority of the application rendering thread;
and if the system load is lower than a first set threshold value or the CPU frequency exceeds a set frequency threshold value and the application rendering thread load is lower than a second set threshold value, adjusting the operation core of the application rendering thread.
In a third aspect, an embodiment of the present application further provides an electronic device, including a memory and a processor, where the memory stores a computer program that can be executed on the processor, and when the computer program is executed by the processor, the processor is caused to implement the katon processing method of the first aspect.
In a fourth aspect, embodiments of the present application further provide a computer readable storage medium, where a computer program is stored, where the computer program is executed by a processor to implement the katon processing method of the first aspect.
The technical effects caused by any implementation manner of the second aspect, the third aspect or the fourth aspect may refer to the technical effects caused by the implementation manner of the first aspect, which are not described herein.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for processing a card according to an embodiment of the present application;
fig. 2 is a flowchart of another method for processing a card according to an embodiment of the present application;
fig. 3 is a flowchart of a method for identifying a card in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a katon processing device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another katon processing device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail below with reference to the accompanying drawings, wherein it is apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be noted that the terms "first," "second," and the like herein are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the present application described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The present application will now be described in further detail with reference to the accompanying drawings and specific examples.
The word "exemplary" is used hereinafter to mean "serving as an example, embodiment, or illustration. Any embodiment described as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. In the description of the embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
The embodiment of the application provides a method for processing a card, as shown in fig. 1, comprising the following steps:
step S101, determining an application refresh frame used by the latest refresh every time the terminal screen is refreshed.
The terminal screen can be corresponding to an application refreshing frame and a system refreshing frame of one frame every time, and the time passing through the flow nodes can be obtained by inserting the nodes in the related flow of the terminal system, so that the time consumed by one application refreshing frame and the time consumed by one system refreshing frame corresponding to the current refreshing can be obtained every time the terminal screen is refreshed.
Step S102, based on the first time-consuming duration of the application refresh frame, after determining that the application refresh card is on and meets the set condition, determining a system frame set.
The system frame set comprises an initial system refreshing frame and a system refreshing frame which is used by the latest refreshing, and a system refreshing frame between the initial system refreshing frame and the system refreshing frame which is used by the latest refreshing, wherein the initial system refreshing frame is a first system refreshing frame after a terminal screen is on a screen or a next system refreshing frame which accords with a system refreshing frame corresponding to a set condition last time.
The first time-consuming time length is the time-consuming time length of the application for organizing the refreshing frame data of the terminal screen based on the corresponding application refreshing frame, and the setting condition is that the application refreshing katon accords with the serious katon condition or the refreshing of the terminal screen reaches the setting times.
Application refresh blocking may be determined by: and if the application refreshing frame with the first time-consuming duration exceeding the second set duration exists, determining that the application refreshing card is in existence. The second set time length is an average time-consuming time length of the application refresh frame.
The severe stuck condition may be determined by: if the application refreshing frame with the first time-consuming duration exceeding the third set duration exists, the application refreshing frame is determined to accord with the serious clamping condition. The third set time length is longer than the second set time length.
In one embodiment, based on the first time-consuming duration of the application refresh frame, when determining that the application refresh card is present and the system frame set is determined after the set condition is met, the application frame set may also be determined simultaneously. The application frame set comprises an initial application refresh frame and a latest application refresh frame used by refreshing, and an application refresh frame between the initial application refresh frame and the latest application refresh frame used by refreshing; the initial application refreshing frame is a first application refreshing frame after the terminal screen is on the screen or a next application refreshing frame which accords with the application refreshing frame corresponding to the set condition last time.
For example, the number of refreshing times of the terminal screen per round is set to 20, that is, the terminal screen is set to process the recognized jams every 20 refreshing times. And sequentially acquiring the application refreshing frames corresponding to 20 times of refreshing of the round and the first time-consuming time duration of each application refreshing frame, wherein the application refreshing frame corresponding to the 1 st refreshing is assumed to be the 1 st frame, and the second set time duration is assumed to be 16ms.
If the obtained first time-consuming durations of the 1 st frame, the 2 nd frame and the 3 rd frame are 16ms, the first time-consuming durations of the 4 th frame and the 5 th frame are 34ms, and the first time-consuming duration of the 6 th frame is 50ms, the 1 st frame to the 6 th frame can be used as an application frame set, and a corresponding system frame set is determined according to the application frame set, namely the system frame set can comprise a system refresh frame corresponding to the 1 st refresh and a system refresh frame corresponding to the 6 th refresh, and a system refresh frame between the system refresh frame corresponding to the 1 st refresh and the system refresh frame corresponding to the 6 th refresh;
If the first time-consuming duration of the rest of application refresh frames is 16ms except the first time-consuming duration of the 3 rd frame and the 7 th frame is 34ms in 20 times of refreshing of the present round, the 1 st frame to the 20 th frame can be taken as an application frame set, and a corresponding system frame set is determined according to the application frame set, that is, the system frame set can include a system refresh frame corresponding to the 1 st refresh and a system refresh frame corresponding to the 20 th refresh, and a system refresh frame between the system refresh frame corresponding to the 1 st refresh and the system refresh frame corresponding to the 20 th refresh.
After the application frame set is determined, determining the whole time-consuming time length of the application frame set based on the first time-consuming time length of each application refreshing frame in the application frame set, and taking the whole time-consuming time length as a sampling time length. And acquiring the accumulated record time of each CPU state of the system in the sampling time period, and determining the system load according to the accumulated record time and the sampling time period. And simultaneously acquiring the running time of the application rendering thread in the sampling time and the overall processing time of each application refreshing frame on the application rendering thread, and determining the load of the application rendering thread according to the running time and the overall processing time.
Step S103, determining the whole time-consuming duration of the system frame set based on the second time-consuming duration of each system refresh frame in the system frame set.
The second time-consuming duration is the time-consuming duration of the refreshing frame data of the terminal screen synthesized by the system based on the corresponding system refreshing frame.
Step S104, if the overall time-consuming duration exceeds the first set duration, the GPU frequency is adjusted.
When the overall time-consuming duration of the system frame set exceeds the first set duration, the GPU frequency can be adjusted to accelerate data synthesis.
The first set time length is a normal time-consuming time length of the system refreshing frame.
Step S105, if the overall time-consuming duration does not exceed the first set duration, adjusting the CPU frequency and/or the application rendering thread based on the system load and the application rendering thread load.
And when the overall time-consuming time duration does not exceed the first set time duration, if the system load exceeds the first set threshold and the CPU frequency is lower than the set frequency threshold, adjusting the CPU frequency.
And if the system load is lower than a first set threshold value or the CPU frequency exceeds a set frequency threshold value and the application rendering thread load exceeds a second set threshold value, adjusting the scheduling priority of the application rendering thread.
And if the system load is lower than a first set threshold value or the CPU frequency exceeds a set frequency threshold value and the application rendering thread load is lower than a second set threshold value, adjusting the operation core of the application rendering thread.
In some embodiments, the method for processing the blocking in the embodiments of the present application may also be implemented according to the procedure shown in fig. 2.
As shown in fig. 2, the steps may be included as follows:
step S201, in the terminal screen refreshing process, a first time-consuming duration of an application refreshing frame and a second time-consuming duration of a system refreshing frame are obtained.
The time of passing through the corresponding flow nodes is obtained by inserting piles in the system of Surface, egl and system refreshing Surface eFlinger, so that the time consumption and the refreshing period of each stage of initial application refreshing and system refreshing can be obtained, and the first time consumption time of an application refreshing frame of one frame and the second time consumption time of a system refreshing frame of one frame can be obtained when the terminal screen is refreshed once.
Step S202, based on the first time-consuming duration of the application refresh frame, after determining that the application refresh card is on and meets the set condition, determining a system frame set and an application frame set.
Based on the first time-consuming duration of the application refresh frame, a stuck-at identification may be performed. Setting the number of recorded application refreshing frames not to exceed N, marking the first time-consuming time duration of a single application refreshing frame as Tn, marking the average time-consuming time duration of a single application refreshing frame as Tavg, when the application refreshing frame with Tn exceeding 2 times of Tavg appears, considering that application refreshing katon appears, when the application refreshing frame with Tn exceeding 3 times of Tavg appears, considering that serious katon appears, and stopping recording circulation.
Specifically, based on the first time-consuming duration of the application refresh frame, the process of performing the click-through identification may be as shown in fig. 3, and includes the following steps:
in step S301, data of a single application refresh frame is cyclically recorded.
In step S302, the number of recorded application refresh frames is set to not exceed N, and the average time-consuming period Tavg of the single application refresh frame is determined.
Step S303, based on the first time-consuming duration of the application refresh frame, if it is determined that the first time-consuming duration of the current application refresh frame exceeds 2 times Tavg, the current application refresh frame is recorded to be blocked.
Step S304, based on the first time-consuming duration of the application refresh frame, if the first time-consuming duration of the current application refresh frame is determined to be more than 3 times Tavg, the current application refresh frame is recorded to have serious clamping.
In step S305, if the current application refresh frame is severely stuck, or the number of the current recorded application refresh frames exceeds N, the loop is skipped.
For example, assuming that the number of set recording frames for recording application refresh frame data per cycle does not exceed 10, the average time-consuming duration Tavg of a single application refresh frame is 16ms, recording is started from the first application refresh frame after the terminal screen is on screen, and the first time-consuming duration of each application refresh frame may be as shown in table 1:
TABLE 1
Frame(s) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Time consuming (ms) 16 16 35 16 52 16 16 16 36 16 35 16 16 16 16
As can be seen from table 1, the 3 rd application refresh frame is stuck, the 5 th application refresh frame is severely stuck, the 9 th application refresh frame and the 11 th application refresh frame are stuck, the rest application refresh frames are normal frames, and from the first application refresh frame, the cycle is jumped out when the 5 th application refresh frame, namely, the application refresh frame data of the 5 frames are recorded in the first cycle. The next cycle starts from the 6 th application refresh frame to the 15 th application refresh frame just meets 10 frames, and then the second cycle is skipped when the 15 th application refresh frame, namely, the second cycle records the application refresh frame data of 10 frames.
Based on the first time-consuming duration of the application refresh frame, when the occurrence of the blocking of the application refresh frame is determined, and the occurrence of the serious blocking of the application refresh frame or the refresh of the terminal screen reaches the set times, a system frame set and an application frame set can be determined. The system refreshing method comprises the steps of starting a system refreshing frame, a latest refreshing used system refreshing frame and a system refreshing frame between the initial system refreshing frame and the latest refreshing used system refreshing frame in a system frame set, wherein the initial system refreshing frame is a first system refreshing frame after a terminal screen is on a screen or a next system refreshing frame which accords with the system refreshing frame corresponding to the condition that serious clamping occurs in an application refreshing frame or refreshing of the terminal screen reaches a set frequency. The application frame set comprises an initial application refresh frame, a latest application refresh frame used by refreshing and an application refresh frame between the initial application refresh frame and the latest application refresh frame used by refreshing; the initial application refreshing frame is a first application refreshing frame after the terminal screen is on the screen or a next application refreshing frame which accords with the application refreshing frame and has serious blocking or the application refreshing frame corresponding to the condition that the refreshing of the terminal screen reaches the set times.
In one embodiment, the number of application refresh frames recorded in each cycle does not exceed N, when the application refresh frames having the stuck and severe stuck do not appear when the stuck identification is performed based on the first time-consuming duration of the application refresh frames, when the number of recorded application refresh frames reaches N, the N application refresh frames are not processed, and the next cycle is continuously entered, that is, the data recording is performed on the N application refresh frames in the next cycle.
Step S203, determining the overall time-consuming duration of the system frame set based on the second time-consuming durations of the system refresh frames in the system frame set.
In step S204, if the overall time-consuming duration exceeds the first set duration, the GPU frequency is adjusted.
In step S205, if the total time-consuming duration does not exceed the first set time duration, determining the total time-consuming duration of the application frame set based on the first time-consuming duration of each application refresh frame in the application frame set, and taking the total time-consuming duration as a sampling time duration.
Step S206, the accumulated record time of each CPU state of the system in the sampling time is obtained, and the system load is determined according to the accumulated record time and the sampling time.
In step S207, if the system load exceeds the first set threshold and the CPU frequency is lower than the set frequency threshold, the CPU frequency is adjusted.
Step S208, if the system load is lower than a first set threshold value or the CPU frequency exceeds a set frequency threshold value, the running time of the application rendering thread in the sampling time and the overall processing time of each application refreshing frame on the application rendering thread are obtained, and the application rendering thread load is determined according to the running time and the overall processing time.
Step S209, if the load of the application rendering thread exceeds the second set threshold, the scheduling priority of the application rendering thread is adjusted.
Step S210, if the load of the application rendering thread is lower than the second set threshold, the operation core of the application rendering thread is adjusted.
Specifically, the current system overall load value is equal to the recorded time accumulation of the respective CPU states of the system divided by the sampling duration. When the overall load of the system is high, it may be because the task is too heavy, or the CPU frequency may be too low.
The load of the application rendering thread, i.e. the proportion of the current application rendering thread that can effectively run on the CPU, is equal to the rendering thread Running time, i.e. the time in Running state on the CPU, divided by the frame processing time at the rendering thread.
The main source of system-induced jamming is unstable system refresh period or abnormal APP scheduling.
The system refresh cycle is unstable, and is mainly represented by the fact that the system frame formation time exceeds the hardware refresh cycle. At this time, the GPU is preferentially adjusted, and the frame composition speed is increased.
When the APP is abnormal in scheduling and serious stuck, the APP can be obtained in the CPU running time, the system load occupancy rate is higher, the CPU running frequency is preferentially adjusted, and the CPU processing speed is improved. If the difference between the sampling time length and the frame time consumption is not large, namely the CPU load of the rendering thread is low, the APP can acquire system resources in time, and the CPU rendering thread is scheduled to a large core. If the sampling time length and the frame time consumption are obviously different, namely the APP cannot be continuously operated in the CPU due to resource competition and is in a Running state for a long time, at the moment, the corresponding rendering thread priority of the APP is scheduled, so that the APP can obtain sufficient CPU operation time.
According to the method for processing the stuck in the embodiment of the application, the time consumption of each stage in refreshing is counted at the embedded node of the system layer, the first time consumption time length of the application refreshing frame and the second time consumption time length of the system refreshing frame are obtained, and the stuck reason is more accurately identified based on the first time consumption time length of the application refreshing frame and the second time consumption time length of the system refreshing frame, so that the stuck problem caused by the system resource can be rapidly solved and repaired by timely scheduling the corresponding system resource for processing, and the unresponsive problem caused by continuous stuck is avoided.
Based on the same inventive concept as the katon processing method shown in fig. 1, a katon processing device is also provided in the embodiment of the present application. Because the device is a device corresponding to the katon processing method, and the principle of the device for solving the problem is similar to that of the method, the implementation of the device can refer to the implementation of the method, and the repetition is omitted.
Fig. 4 shows a schematic structural diagram of a katon processing device provided in an embodiment of the present application, and as shown in fig. 4, the katon processing device includes a refresh frame determining unit 401, a frame set determining unit 402, an overall time-consuming determining unit 403, and a katon processing unit 404.
Wherein, the refresh frame determining unit 401 is configured to determine an application refresh frame used by the latest refresh every time the terminal screen is refreshed;
a frame set determining unit 402, configured to determine, based on a first time-consuming duration of the application refresh frame, a system frame set after determining that the application refresh card is present and meets a set condition, where the system frame set includes an initial system refresh frame and a system refresh frame used by a latest refresh, and a system refresh frame between the initial system refresh frame and the system refresh frame used by the latest refresh; the initial system refreshing frame is a first system refreshing frame after the terminal screen is on the screen or a next system refreshing frame of the system refreshing frame corresponding to the last meeting the set condition; the first time-consuming time length is the time-consuming time length of the application for organizing the refreshing frame data of the terminal screen based on the corresponding application refreshing frame; the setting condition is that the application refresh card is in accordance with the serious card condition, or the refresh of the terminal screen reaches the setting times;
An overall time-consuming determining unit 403, configured to determine an overall time-consuming time length of the system frame set based on the second time-consuming time lengths of the system refresh frames in the system frame set; the second time-consuming time length is the time-consuming time length of the system for synthesizing the refreshing frame data of the terminal screen based on the corresponding system refreshing frame;
the katon processing unit 404 is configured to adjust the GPU frequency if the overall time-consuming duration exceeds a first set duration; the first set time length is the normal time-consuming time length of the system refreshing frame; if the overall time-consuming duration does not exceed the first set duration, adjusting the CPU frequency and/or the application rendering thread based on the system load and the application rendering thread load.
In an alternative embodiment, the frame set determining unit 402 is further configured to:
if the application refreshing frame with the first time-consuming duration exceeding the second set duration exists, determining that application refreshing card is in existence; the second set time period is an average time-consuming time period of the application refresh frame.
In an alternative embodiment, the frame set determining unit 402 is further configured to:
if the application refreshing frame with the first time-consuming time duration exceeding the third set time duration exists, determining that the application refreshing frame accords with the serious clamping condition; the third set time period is longer than the second set time period.
In an alternative embodiment, as shown in fig. 5, the apparatus may further include a load determining unit 501 configured to:
determining an application frame set, wherein the application frame set comprises an initial application refresh frame and a recently refreshed application refresh frame, and an application refresh frame between the initial application refresh frame and the recently refreshed application refresh frame; the initial application refreshing frame is a first application refreshing frame after the terminal screen is on the screen or a next application refreshing frame of the application refreshing frame corresponding to the last meeting the set condition;
determining the whole time-consuming time length of the application frame set based on the first time-consuming time length of each application refreshing frame in the application frame set, and taking the whole time-consuming time length as a sampling time length;
acquiring accumulated record time of each CPU state of the system in the sampling time length, and determining the system load according to the accumulated record time and the sampling time length;
and acquiring the running time of the application rendering thread in the sampling time and the overall processing time of each application refreshing frame on the application rendering thread, and determining the load of the application rendering thread according to the running time and the overall processing time.
In an alternative embodiment, the card processing unit 404 is specifically configured to:
If the system load exceeds a first set threshold and the CPU frequency is lower than the set frequency threshold, the CPU frequency is adjusted;
if the system load is lower than a first set threshold value or the CPU frequency exceeds a set frequency threshold value and the application rendering thread load exceeds a second set threshold value, adjusting the scheduling priority of the application rendering thread;
and if the system load is lower than a first set threshold value or the CPU frequency exceeds a set frequency threshold value and the application rendering thread load is lower than a second set threshold value, adjusting the operation core of the application rendering thread.
The embodiment of the application also provides electronic equipment based on the same inventive concept as the embodiment of the method. The electronic device may be used to perform a jam process. In one embodiment, the electronic device may be a server, a terminal device, or other electronic device. In this embodiment, the electronic device may be configured as shown in fig. 6, including a memory 601, a communication module 603, and one or more processors 602.
A memory 601 for storing a computer program for execution by the processor 602. The memory 601 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, programs required for running an instant messaging function, and the like; the storage data area can store various instant messaging information, operation instruction sets and the like.
The memory 601 may be a volatile memory (RAM) such as a random-access memory (RAM); the memory 601 may also be a non-volatile memory (non-volatile memory), such as a read-only memory, a flash memory (flash memory), a Hard Disk Drive (HDD) or a Solid State Drive (SSD), or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto. The memory 601 may be a combination of the above memories.
The processor 602 may include one or more central processing units (central processing unit, CPU) or digital processing units, etc. A processor 602 for implementing the above-mentioned katon processing method when calling the computer program stored in the memory 601.
The communication module 603 is used for communicating with terminal devices and other servers.
The specific connection medium between the memory 601, the communication module 603, and the processor 602 is not limited in the embodiment of the present application. The embodiment of the present disclosure is shown in fig. 6, where the memory 601 and the processor 602 are connected by a bus 604, where the bus 604 is shown in bold lines in fig. 6, and the connection between other components is merely illustrative, and not limiting. The bus 604 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 6, but not only one bus or one type of bus.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the katon processing method in the above-described embodiment.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application.

Claims (9)

1. A method of processing a card, comprising:
determining an application refreshing frame used by the latest refreshing every time the terminal screen is refreshed;
determining a system frame set after determining that application refresh is stuck and a set condition is met based on the first time-consuming duration of the application refresh frame, wherein the system frame set comprises an initial system refresh frame and a system refresh frame used by the latest refresh, and the system refresh frame between the initial system refresh frame and the system refresh frame used by the latest refresh; the initial system refreshing frame is a first system refreshing frame after the terminal screen is on the screen or a next system refreshing frame which accords with the system refreshing frame corresponding to the set condition last time; the first time-consuming duration is the time-consuming duration of the application for organizing the refreshing frame data of the terminal screen based on the corresponding application refreshing frame; the setting condition is that the application refreshing card is in accordance with a serious card condition, or the refreshing of the terminal screen reaches the setting times;
Determining the overall time-consuming duration of the system frame set based on the second time-consuming duration of each system refresh frame in the system frame set; the second time-consuming duration is the time-consuming duration of the system for synthesizing the refreshing frame data of the terminal screen based on the corresponding system refreshing frame;
if the overall time-consuming time length exceeds the first set time length, adjusting the GPU frequency; the first set time length is a normal time-consuming time length of the system refreshing frame; if the overall time-consuming duration does not exceed the first set duration, adjusting the CPU frequency and/or the application rendering thread based on the system load and the application rendering thread load;
wherein, after determining that the application refresh is blocked and meets the set condition, the method further comprises:
determining an application frame set, wherein the application frame set comprises an initial application refresh frame and a recently refreshed application refresh frame, and an application refresh frame between the initial application refresh frame and the recently refreshed application refresh frame; the initial application refreshing frame is a first application refreshing frame after the terminal screen is on the screen or a next application refreshing frame which accords with the application refreshing frame corresponding to the set condition last time;
Determining the whole time-consuming time length of the application frame set based on the first time-consuming time length of each application refreshing frame in the application frame set, and taking the whole time-consuming time length as a sampling time length;
acquiring accumulated record time of each CPU state of the system in the sampling time length, and determining system load according to the accumulated record time and the sampling time length;
and acquiring the running time of an application rendering thread in the sampling time and the overall processing time of each application refreshing frame on the application rendering thread, and determining the load of the application rendering thread according to the running time and the overall processing time.
2. The method of claim 1, wherein the application refresh katon is determined by:
if the application refreshing frame with the first time-consuming time duration exceeding the second set time duration exists, determining that application refreshing card is in existence; the second set time length is an average time-consuming time length of the application refreshing frame.
3. The method of claim 2, wherein the severe stuck condition is determined by:
if the application refreshing frame with the first time-consuming time duration exceeding the third set time duration exists, determining that the application refreshing frame accords with a serious clamping condition; the third set time period is longer than the second set time period.
4. The method of claim 1, wherein adjusting the CPU frequency and/or the application rendering thread based on the system load and the application rendering thread load comprises:
if the system load exceeds a first set threshold and the CPU frequency is lower than a set frequency threshold, adjusting the CPU frequency;
if the system load is lower than a first set threshold value or the CPU frequency exceeds a set frequency threshold value and the application rendering thread load exceeds a second set threshold value, adjusting the scheduling priority of the application rendering thread;
and if the system load is lower than a first set threshold value or the CPU frequency exceeds a set frequency threshold value and the application rendering thread load is lower than a second set threshold value, adjusting the operation core of the application rendering thread.
5. A jam processing device, comprising:
the refreshing frame determining unit is used for determining an application refreshing frame used by the latest refreshing every time the terminal screen is refreshed;
the frame set determining unit is used for determining a system frame set after determining that the application refresh card is on and meets a set condition based on the first time-consuming time duration of the application refresh frame, wherein the system frame set comprises an initial system refresh frame and a system refresh frame used by the latest refresh, and a system refresh frame between the initial system refresh frame and the system refresh frame used by the latest refresh; the initial system refreshing frame is a first system refreshing frame after the terminal screen is on the screen or a next system refreshing frame which accords with the system refreshing frame corresponding to the set condition last time; the first time-consuming duration is the time-consuming duration of the application for organizing the refreshing frame data of the terminal screen based on the corresponding application refreshing frame; the setting condition is that the application refreshing card is in accordance with a serious card condition, or the refreshing of the terminal screen reaches the setting times;
An overall time-consuming determining unit, configured to determine an overall time-consuming duration of the system frame set based on a second time-consuming duration of each of the system refresh frames in the system frame set; the second time-consuming duration is the time-consuming duration of the system for synthesizing the refreshing frame data of the terminal screen based on the corresponding system refreshing frame;
the card-on processing unit is used for adjusting the GPU frequency if the integral time-consuming time length exceeds a first set time length; the first set time length is a normal time-consuming time length of the system refreshing frame; if the overall time-consuming duration does not exceed the first set duration, adjusting the CPU frequency and/or the application rendering thread based on the system load and the application rendering thread load;
wherein the apparatus further comprises a load determining unit for:
determining an application frame set, wherein the application frame set comprises an initial application refresh frame and a recently refreshed application refresh frame, and an application refresh frame between the initial application refresh frame and the recently refreshed application refresh frame; the initial application refreshing frame is a first application refreshing frame after the terminal screen is on the screen or a next application refreshing frame which accords with the application refreshing frame corresponding to the set condition last time;
Determining the whole time-consuming time length of the application frame set based on the first time-consuming time length of each application refreshing frame in the application frame set, and taking the whole time-consuming time length as a sampling time length;
acquiring accumulated record time of each CPU state of the system in the sampling time length, and determining system load according to the accumulated record time and the sampling time length;
and acquiring the running time of an application rendering thread in the sampling time and the overall processing time of each application refreshing frame on the application rendering thread, and determining the load of the application rendering thread according to the running time and the overall processing time.
6. The apparatus of claim 5, wherein the frame set determination unit is further configured to:
if the application refreshing frame with the first time-consuming time duration exceeding the second set time duration exists, determining that application refreshing card is in existence; the second set time length is an average time-consuming time length of the application refreshing frame.
7. The apparatus of claim 6, wherein the frame set determination unit is further to:
if the application refreshing frame with the first time-consuming time duration exceeding the third set time duration exists, determining that the application refreshing frame accords with a serious clamping condition; the third set time period is longer than the second set time period.
8. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program executable on the processor, the computer program, when executed by the processor, implementing the method of any of claims 1-4.
9. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, characterized in that: the computer program, when executed by a processor, implements the method of any of claims 1-4.
CN202210091573.4A 2022-01-26 2022-01-26 Clamping and processing method and device, electronic equipment and storage medium Active CN114461323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210091573.4A CN114461323B (en) 2022-01-26 2022-01-26 Clamping and processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210091573.4A CN114461323B (en) 2022-01-26 2022-01-26 Clamping and processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114461323A CN114461323A (en) 2022-05-10
CN114461323B true CN114461323B (en) 2023-04-28

Family

ID=81412130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210091573.4A Active CN114461323B (en) 2022-01-26 2022-01-26 Clamping and processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114461323B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116048772B (en) * 2022-08-26 2023-10-31 荣耀终端有限公司 Method and device for adjusting frequency of central processing unit and terminal equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08107699A (en) * 1994-10-05 1996-04-23 Mitsubishi Electric Corp Speed control apparatus
CN108536367A (en) * 2018-03-28 2018-09-14 努比亚技术有限公司 A kind of processing method, terminal and the readable storage medium storing program for executing of interaction page interim card
CN109840177A (en) * 2017-11-24 2019-06-04 腾讯科技(深圳)有限公司 A kind of processing method and relevant device of Caton
CN111338934A (en) * 2020-02-13 2020-06-26 北京字节跳动网络技术有限公司 Page refreshing test method and device, computer equipment and storage medium
CN111480336A (en) * 2018-03-26 2020-07-31 华为技术有限公司 Frame rate adjusting method and terminal
CN112114975A (en) * 2020-10-28 2020-12-22 Oppo广东移动通信有限公司 Processor frequency adjusting method and device, storage medium and electronic equipment
CN113835950A (en) * 2021-08-20 2021-12-24 杭州逗酷软件科技有限公司 Interface display stuck identification method and device, storage medium and electronic equipment
CN113835871A (en) * 2020-06-24 2021-12-24 阿里巴巴集团控股有限公司 Thread management method, thread management device, computer storage medium and application software

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08107699A (en) * 1994-10-05 1996-04-23 Mitsubishi Electric Corp Speed control apparatus
CN109840177A (en) * 2017-11-24 2019-06-04 腾讯科技(深圳)有限公司 A kind of processing method and relevant device of Caton
CN111480336A (en) * 2018-03-26 2020-07-31 华为技术有限公司 Frame rate adjusting method and terminal
CN108536367A (en) * 2018-03-28 2018-09-14 努比亚技术有限公司 A kind of processing method, terminal and the readable storage medium storing program for executing of interaction page interim card
CN111338934A (en) * 2020-02-13 2020-06-26 北京字节跳动网络技术有限公司 Page refreshing test method and device, computer equipment and storage medium
CN113835871A (en) * 2020-06-24 2021-12-24 阿里巴巴集团控股有限公司 Thread management method, thread management device, computer storage medium and application software
CN112114975A (en) * 2020-10-28 2020-12-22 Oppo广东移动通信有限公司 Processor frequency adjusting method and device, storage medium and electronic equipment
CN113835950A (en) * 2021-08-20 2021-12-24 杭州逗酷软件科技有限公司 Interface display stuck identification method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN114461323A (en) 2022-05-10

Similar Documents

Publication Publication Date Title
EP3270287A1 (en) Scheduling method and system for video analysis tasks
CN108345524B (en) Application program monitoring method and application program monitoring device
CN107491346B (en) Application task processing method, device and system
CN103092700A (en) Internal memory cleaning method and cleaning device and terminal device
CN114461323B (en) Clamping and processing method and device, electronic equipment and storage medium
CN111447239B (en) Video stream playing control method, device and storage medium
EP4195149A1 (en) Target detection and tracking method and apparatus, electronic device, and storage medium
CN105760294A (en) Method and device for analysis of thread latency
CN107506293B (en) Software performance data acquisition method and device
CN106775620B (en) Timing method and device
CN111083569B (en) Video playing method and device
CN112052088B (en) Adaptive process CPU resource limitation method, device, terminal and storage medium
CN112749013A (en) Thread load detection method and device, electronic equipment and storage medium
CN109491785B (en) Memory access scheduling method, device and equipment
CN110795239A (en) Application memory leakage detection method and device
CN113655958A (en) Application data storage method
CN108920722B (en) Parameter configuration method and device and computer storage medium
KR20140042420A (en) Semiconductor device and operating method thereof
CN112667467A (en) Cluster self-adaptive current limiting method and device, computer equipment and storage medium
CN112905256B (en) Data processing method, device, electronic equipment and storage medium
US11604680B2 (en) Low system memory detection
CN113296597B (en) Power consumption control method and terminal equipment
CN107967181B (en) Method and device for controlling critical section
CN110929102B (en) Data processing method and device and electronic equipment
CN112148435B (en) Method and device for determining target module scheduling strategy for automatic driving system

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