CN113407344A - Method and device for processing stuck - Google Patents

Method and device for processing stuck Download PDF

Info

Publication number
CN113407344A
CN113407344A CN202110711955.8A CN202110711955A CN113407344A CN 113407344 A CN113407344 A CN 113407344A CN 202110711955 A CN202110711955 A CN 202110711955A CN 113407344 A CN113407344 A CN 113407344A
Authority
CN
China
Prior art keywords
information
influence
terminal equipment
terminal device
stuck
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110711955.8A
Other languages
Chinese (zh)
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202110711955.8A priority Critical patent/CN113407344A/en
Publication of CN113407344A publication Critical patent/CN113407344A/en
Pending legal-status Critical Current

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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Abstract

The embodiment of the application discloses a method and a device for processing stuck. In the method for mortgage processing provided by the embodiment of the application, mortgage information and influence information can be obtained first, and then correlation analysis is performed on the mortgage information and the influence information. According to the analysis result obtained by the correlation analysis, the actual influence factor with the maximum influence degree on the stuck state can be found from the plurality of influence factors corresponding to the influence information, so that the stuck state processing is carried out according to the influence information of the actual influence factor. Thus, through correlation analysis, it can be determined which factors cause the seizure to be caused, and the root cause of the seizure can be found. Therefore, when the blockage processing is carried out, the actual influence factors which have the largest influence on the blockage can be processed in a targeted mode, so that the blockage problem is solved quickly, and the blockage processing efficiency is improved.

Description

Method and device for processing stuck
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for handling a stuck event.
Background
With the development of Computer technology, smart devices having computing processing capabilities, such as Personal Computers (PCs) and smart phones, have become more and more popular. Smart devices may be divided into hardware portions, which may include a processor and memory, and software portions, which may include an Operating System (OS) and an Application (Application). When an application program of the operating system is installed and run, a processor and a memory of the intelligent device are called to realize the functions of the application program.
In the working process of the intelligent device, faults such as jamming and the like often occur. The intuitive expression of the jamming is that the display picture of the intelligent equipment is stopped, because the intelligent equipment cannot generate enough display data in time. For example, assuming that the screen refresh rate of the smart device is 60 Hertz (Hertz, Hz), the screen of the smart device will refresh the display once in 16.67 milliseconds (Millisecond, ms). If the time interval between two times of refreshing the display pictures by the intelligent device is 33.33ms, the intelligent device is indicated to be stuck.
Because the screen refresh rate of the intelligent device is influenced by the jamming, and the screen of the intelligent device is an important way for interaction with the user, the user is sensitive to the jamming, and the user experience is obviously reduced when the jamming occurs.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present application provide a method and an apparatus for handling a stuck event.
In a first aspect, an embodiment of the present application provides a method for handling katon, where the method includes:
the method comprises the steps that terminal equipment obtains card pause information and influence information, wherein the card pause information is information of card pause of the terminal equipment in a screen refreshing process, and the influence information is information of influence factors which possibly cause the card pause; the terminal equipment obtains actual influence factors according to the pause information and the influence information;
and the terminal equipment processes the blockage according to the influence information of the actual influence factors.
In a second aspect, an embodiment of the present application provides an apparatus for handling a stuck, where the apparatus is applied to a terminal device, and includes:
the acquisition unit is used for acquiring the morton information and the influence information;
the first processing unit is used for obtaining actual influence factors according to the pause information and the influence information;
and the second processing unit is used for processing the stuck according to the influence information of the actual influence factors.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of processing kation as in any of the embodiments of the present application.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for handling katton as described in any of the embodiments of the present application.
In the method for mortgage processing provided by the embodiment of the application, mortgage information and influence information can be obtained first, and then correlation analysis is performed on the mortgage information and the influence information. According to the analysis result obtained by the correlation analysis, the actual influence factor with the maximum influence degree on the stuck state can be found from the plurality of influence factors corresponding to the influence information, so that the stuck state processing is carried out according to the influence information of the actual influence factor. Thus, through correlation analysis, it can be determined which factors cause the seizure to be caused, and the root cause of the seizure can be found. Therefore, when the blockage processing is carried out, the actual influence factors which have the largest influence on the blockage can be processed in a targeted mode, so that the blockage problem is solved quickly, and the blockage processing efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1-A is a block diagram of an exemplary application scenario provided herein;
1-B is a block diagram of another exemplary application scenario provided herein;
FIG. 2 is a flowchart illustrating a method for handling a stuck event according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an embodiment of an apparatus for processing katton;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are for illustration purposes only and are not intended to limit the scope of the present application.
It should be understood that the various steps recited in the method embodiments provided herein may be performed in a different order and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present application is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present application are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this application are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The use experience of a user can be obviously influenced by the jamming and other faults of intelligent equipment such as a mobile phone, a computer and the like in the operation process. From the user's perspective, when a smart device jams, a delay occurs in the screen refresh of the smart device. For example, suppose that the process of the screen of the smart device displaying the object a moving from the position B to the position C requires the sequential 60 frames of images to be displayed within 1 second, with the display time of each frame of image being 16.67 ms. In sequentially displaying 60 frames of images, the position of the object a is gradually moved from the position B to the position C. Then, in the event of a stuck condition, the number of images displayed by the screen of the smart device is less than 60. For example, when a karton occurs, the smart device may display the 500ms image of the object a at the position B first, and then display the 500ms image of the object a at the position B, and does not display the process of moving the object a from the position B to the position C, so that the user cannot determine the motion trajectory of the object a.
Since the user can directly observe the occurrence of a stuck, the impact of stuck on the user experience may be significantly greater than other failures. The important point of how to avoid the equipment from being jammed and how to process the jamming in time when the equipment is jammed is to improve the user experience. Therefore, the application program running in the background of the smart device can be cleaned when the card pause occurs, so that the processing capacity of the smart device is released, and the smart device draws a screen picture by using the released processing capacity, so that the card pause problem is solved.
However, katton may be due to a variety of reasons. The traditional technology only empties background programs, and the problem of blockage cannot be solved in a targeted manner. For example, stuck may be the result of the screen automatically adjusting brightness, and then cleaning up the application in the background may not solve the stuck problem.
In order to solve the problems in the prior art, embodiments of the present application provide a method for handling katton, which is described in detail below with reference to the accompanying drawings.
In order to facilitate understanding of the technical solutions provided by the embodiments of the present application, the following description is made with reference to scene examples shown in fig. 1-a and fig. 1-B.
Referring to fig. 1-a, the drawing is a schematic diagram of a framework of an exemplary application scenario provided in an embodiment of the present application, and includes a terminal device 10. The terminal device 10 includes a processor 11, a memory 12, and an input-output device 13. Wherein the processor 11 is connected to the memory and the output and output device 13, respectively, and the input and output device 13 may include a screen 13-1. Alternatively, the processor 11 may execute an application stored in the memory 12 and present a picture to the user through the screen 13-1, completing the information interaction with the user.
In the embodiment shown in fig. 1-a, the method for handling morton provided by the embodiment of the present application may be executed by the terminal device 10, and specifically, may be executed by the processor 11 in the terminal device 10. When the screen 13-1 is stuck during operation, the processor 11 may execute the method for handling stuck provided in the embodiment of the present application, perform correlation analysis on the stuck information and the impact information of the terminal device 10, so as to determine an actual impact factor, and further handle the stuck occurring in the terminal device 10.
Referring to fig. 1-B, the figure is a schematic diagram of a framework of another exemplary application scenario provided in the embodiment of the present application, including a terminal device 20 and a server 30. The server 30 is connected to the terminal device 20. The internal structure of the terminal device 20 may be the same as or similar to the terminal device 10 shown in fig. 1-a.
In the embodiment shown in fig. 1-B, the method for handling katton provided by the embodiment of the present application may be executed by the terminal device 30, and the terminal device 30 may send the katton information and the influence information to the server 40. The server 30 performs correlation analysis and sends the actual influencing factor to the terminal device 30, so that the terminal device 30 processes the jam according to the actual influencing factor, or prevents the terminal device 30 from jamming. The specific implementation manner can be described in the following, and is not described herein again.
It should be noted that the terminal device according to the embodiment of the present application is an intelligent device with a screen, that is, a device with data processing capability and display capability. For example, the terminal device in the embodiment of the present application may be a mobile terminal device such as a mobile phone or a tablet computer, or a computer terminal device such as a computer, or other terminal devices having a display and a processor.
Fig. 2 is a schematic flowchart of a method for mortgage processing according to an embodiment of the present application, which is applicable to a scene of processing a mortgage of an intelligent device. Alternatively, the method may be performed by a device for performing stuck processing installed in the terminal device, where the device may be implemented in software, and integrated into the terminal device, for performing stuck processing on the terminal device. As shown in fig. 2, the method specifically includes the following steps:
s201: the terminal device obtains the pause information and the influence information.
To process the stuck, the terminal device may obtain stuck information and impact information. The stuck information is information of the terminal device stuck in the process of refreshing the screen, and may include, for example, the number of times of stuck and/or the time of stuck.
The influence information is information of influence factors that may cause seizure. Specifically, the stuck may be caused by an application program running in the terminal device or may be caused by the operating system of the terminal device as a whole. The impact information may then include application-specific information and information about the system as a whole. These two types of information are described separately below.
In the embodiment of the present application, the information of the specific application may include resource information related to the specific application and event information related to the specific application. Assuming that the specific application is a target application, the information of the target application may include resource information related to the target application and event information related to the target application.
And the resource information related to the target application program represents the use condition of the hardware resource of the terminal equipment by the target application program in a preset time period. Optionally, the resource information related to the target application may include any one or more of the following: the method comprises the steps of using the utilization rate of a Central Processing Unit (CPU) by a target application program in a preset time period, using the utilization rate of a memory used by the target application program in the preset time period, the running time of a message in a process corresponding to the target application program in the preset time period, the priority of the process corresponding to the target application program in the preset time period, the Input/Output (I/O) reading and writing times in the process of running the target application program in the preset time period and the time of displaying the target application program in the foreground in the preset time period.
The usage rate of the Central Processing Unit (CPU) used by the target application represents a ratio of a Processing capacity of the CPU consumed by running the target application to a total Processing capacity of the CPU, and may be, for example, a percentage of a time that the target application occupies the CPU to a total time that the CPU is occupied within a preset time period. The utilization rate of the memory used by the target application program represents the ratio of the size of the memory consumed by running the target application program to the total size of the memory of the terminal equipment. Alternatively, the running target application may include one or more processes, each of which is a running activity of a program having independent functions with respect to a certain data set. During operation, a process may read data from memory or write data to memory. The I/O read-write quantity in the process of running the target application program represents the sum of the times of reading data and the times of writing data in one or more processes corresponding to the target application program in a preset time period. The display time of the target application program in the foreground is the time of displaying the interface corresponding to the target application program on the screen of the terminal equipment within the preset time period.
The event information related to the target application program represents the interaction condition between the target application program and the user within the preset time period. Optionally, the event information related to the target application may include a frequency of the target application clicking a screen during foreground display by a user within a preset time period, and/or a time of the user triggering a voice function of the target application within the preset time period.
Application-specific information is described above and system-wide information is described below. Similar to the information of the specific application, the information of the system as a whole may include resource information related to the system as a whole and event information related to the system as a whole.
The resource information related to the whole system indicates the whole use condition of the hardware resources of the terminal equipment in a preset time period. The resource information related to the whole system indicates the use condition of the hardware resource of the terminal device by the target application program in a preset time period. Optionally, the resource information related to the target application may include any one or more of the following: the method comprises the following steps of CPU utilization rate in a preset time period, process quantity in the preset time period, memory utilization rate in the preset time period, memory idle rate in the preset time period, cache utilization rate in the preset time period, I/O read-write quantity in the preset time period, frequency of a Graphics Processing Unit (GPU) in the preset time period, partition number in the preset time period, mainboard temperature in the preset time period and electric quantity of terminal equipment in the preset time period.
Event information related to the whole system represents interaction between the terminal device and the user within a preset time period. Optionally, the event information related to the system as a whole may include any one or more of the following items of information: the method comprises the steps of using the screen by each application program within a preset time period, clicking the screen by a user within the preset time period and automatically adjusting the brightness of the screen within the preset time period.
Optionally, the screen brightness of a terminal device such as a mobile phone or a tablet computer may often change along with the change of the ambient brightness, so that a user can always see the screen clearly. However, in the process of adjusting the screen brightness, the brightness of the picture displayed on the screen of the terminal device may change greatly, which causes a jam. Therefore, the automatic brightness adjustment of the screen may also cause the terminal device to be stuck, and the number of times that the screen automatically performs brightness adjustment in the preset time period also belongs to the influence information.
In this embodiment, the morton information and the influence information may be information of the terminal device itself. Optionally, the terminal device may include a stuck detection module and an information recording module. The card pause detection module is used for judging whether the terminal equipment is jammed or not, and the information recording module is used for recording information of the terminal equipment. Optionally, when the jamming detection module detects that the device is jammed, the terminal device may start the information recording module to obtain the impact information, and record the time when the jamming occurs. Of course, the information recording module may also record all information during the operation of the terminal device, record the pause time when the pause detection module detects that the pause occurs, and determine the influence information from the recorded information according to the pause time. Optionally, in the embodiment of the present application, the stuck detection module and the information recording module may be software modules.
S202: and the terminal equipment obtains the actual influence factors according to the pause information and the influence information.
As can be seen from the foregoing description, in the embodiment of the present application, the terminal device may perform correlation analysis on the stuck information and the impact information to determine the actual impact factor, or the terminal device may send the stuck information and the impact information to the server, and then the server performs correlation analysis and determines the actual impact factor, and finally the server sends the actual impact factor to the terminal device. These two possible implementations are described separately below.
In a first possible implementation, the terminal device may perform correlation analysis on the collected morton information and the influence information, and further determine an actual influence factor. Specifically, the terminal device may perform correlation analysis on the morton information and the influence information, and determine an actual influence factor according to the influence condition.
After the morton information and the influence information are obtained, the terminal equipment can perform correlation analysis on the morton information and the influence information to obtain an analysis result. The analysis result shows the influence degree of the influence factors on the blockage. As can be appreciated from the foregoing description, the influence information can include information for a variety of influencing factors. Then, the terminal device may perform correlation analysis on the information of each influencing factor and the morton information in the influencing information, respectively, to obtain an analysis result of the plurality of influencing factors. Wherein the analysis result of each influence factor represents the influence degree of one influence factor on the katton.
In the embodiment of the present application, the correlation analysis may refer to statistically counting the influencing factors and the katon correlation. Specifically, the correlation analysis may refer to analyzing two or more variable elements with correlation, thereby measuring the degree of closeness of correlation between two variable factors. Certain connection or probability is required to exist between elements of the correlation so as to carry out correlation analysis. Optionally, when performing the correlation analysis, the correlation analysis may be performed by using a plurality of methods such as covariance (or covariance matrix), linear regression, multiple regression, and/or information entropy. The embodiment of the present application does not describe a specific method for correlation analysis.
The influencing factors include the CPU utilization of the whole system (hereinafter referred to as CPU utilization) as an example. When the correlation analysis is carried out, the terminal equipment can count the blocking times and the blocking time of each blocking under different CPU utilization rates, and the blocking times and the blocking time can reflect the blocking probability of the terminal equipment. Thus, if the number of times of the terminal device is stuck is high under a certain CPU utilization rate, it indicates that the CPU utilization rate may cause an increase in the probability of the terminal device being stuck. If the pause time of the terminal equipment is longer under a certain CPU utilization rate, the CPU utilization rate can cause the pause time to increase.
For example. Assuming that the stuck information comprises the stuck times, and under the condition that the CPU utilization rate is 80%, the stuck times is 100; under the condition that the CPU utilization rate is 50%, the number of times of clamping is 50; and in the case where the CPU usage rate is 20%, the number of times of calton is 5. The terminal device may determine that the higher the CPU utilization factor, the greater the probability of the terminal device jamming.
When the influence information also includes information of other influence factors, the terminal device may perform correlation analysis on the information of the influence factors and the stuck information by a method similar to the above method, and determine the degree of influence of the variation trend of each influence factor on the stuck time and the stuck times.
In an actual application scenario, the information of the influencing factor may be in a positive correlation with the morton information or in a negative correlation with the morton information. For example, if the larger the memory usage rate of the whole system is, the higher the probability of occurrence of stuck is, it may be considered that the memory usage rate of the whole system and the stuck information are in a positive correlation. Conversely, the larger the memory idle rate of the whole system is, the lower the probability of occurrence of seizure is, and it can be considered that the memory idle rate of the whole system and seizure information are in a negative correlation relationship.
Thus, in order to be able to implement some possible implementations, the analysis result of the influencing factor may be a real number between-1 and 1, i.e. the analysis result is a real number belonging to the range of [ -1,1 ]. If the analysis result is closer to-1, the negative correlation degree of the information of the influence factors and the calorie-on information is higher; if the analysis result is closer to 1, the positive correlation degree between the information of the influence factors and the morton information is higher; if the analysis result is closer to 0, the degree of correlation between the information indicating the influencing factor and the stuck information is weaker. Therefore, the analysis result is quantized into a specific real number, and the influence condition of the influence factors on the blockage can be accurately and intuitively reflected.
After determining the degree of influence of each piece of influence information on the morton information, the terminal device may determine the actual influence factor according to the analysis result. The actual influence factor is an influence factor causing the terminal device to be stuck. That is, an increase or decrease in the actual influencing factor may have a more significant influence on the seizure of the terminal device.
As can be seen from the foregoing description, the analysis result of the influencing factor may be a real number belonging to the interval [ -1,1 ]. Because the influence factors close to-1 and the influence factors of which the analysis result is close to 1 have a larger influence degree on the stuck, when determining the actual influence factors, the terminal device may determine the influence factors of which the analysis result is close to-1 and the influence factors of which the analysis result is close to 1 as the actual influence factors.
In a second possible implementation, the correlation analysis may be performed by the server. The terminal device may send the acquired stuck information and the impact information to the server, and the server performs correlation analysis to determine an analysis result, and then determines an actual impact factor according to the analysis result and returns the actual impact factor to the terminal device.
Alternatively, the terminal device may send the morton information and the impact information to the server over a network connection with the server. The recording module can also be deployed in the terminal equipment, the jamming information and the influence information generated in the using process of the terminal equipment are recorded through the recording module, and the jamming information and the influence information are reported to the server in a unified mode after the connection between the server and the terminal equipment is established, so that the server can perform correlation analysis on the jamming information and the influence information, and determine actual influence factors.
Alternatively, the terminal device may acquire the stuck information and the influence information of a plurality of terminal devices. For example, the stuck detection module and the information recording module may be deployed on a plurality of terminal devices in advance, and the terminal devices may be used by a tester. After the tester uses the terminal device for a period of time, a connection between the terminal device and the server can be established so that the server can acquire the pause information and the influence information of the terminal device. In this way, the server can acquire the jam and pause information and the influence information of the plurality of terminal devices, so that the jam and pause information and the influence information of the plurality of terminal devices are integrated in the subsequent step to determine the actual influence factors causing the jam and pause. Therefore, the terminal equipment can accurately cause the basic factors of the jamming through the jamming information and the influence information in a period of time, and the jamming is more efficiently optimized.
S204: and the terminal equipment carries out corresponding processing according to the influence information of the actual influence factors.
After the actual influence factor is determined, the terminal device may perform corresponding processing according to the influence information of the actual influence factor. When corresponding processing is performed according to the influence information of the actual influence factor, the terminal device can judge whether the information of the actual influence factor and the morton are in a positive correlation relationship or a negative correlation relationship, and perform corresponding processing according to the type of the correlation relationship between the information of the actual influence factor and the morton.
If the information of the actual influence factor and the jamming are in a positive correlation, and the larger the information of the actual influence factor is, the higher the possibility of jamming is, the terminal device may limit the maximum value of the actual influence factor, or decrease the actual influence factor when the actual influence factor becomes large. If the information of the actual influence factor and the jamming are in a negative correlation relationship, the smaller the size of the information of the actual influence factor is, the higher the possibility of jamming, and then the terminal device may limit the maximum value of the actual influence factor or reduce the actual influence factor when the actual influence factor becomes larger.
For example, the magnitude of the influencing factors such as the CPU utilization, the number of background applications, the number of running processes, the number of background processes, and the network bandwidth occupied by the background applications is often in a positive correlation with the stuck state. During processing, if the CPU utilization of the terminal device is high, the terminal device may reduce the number of CPUs used by the application running in the background according to the CPU utilization, for example, may clean the background application after the CPU utilization reaches a preset threshold. If the number of the application programs in the background of the terminal device is large, the terminal device can end the application programs running in the background. If the number of processes in the execution state in the terminal device is large, the terminal device may freeze the processes in operation. If the network bandwidth occupied by the application program running in the background of the terminal equipment is large, the network speed of the application program running in the background can be reduced by the terminal equipment. If the number of the processes running in the background of the terminal equipment is large, the terminal equipment can adjust the number of the processes running in the background.
As can be seen from the foregoing description, the stuck is a picture stagnation occurring during the process of refreshing the screen of the terminal device. Therefore, the rate at which the terminal device refreshes the screen and the rate at which the terminal device generates pictures also have an effect on the katon. Thus, in some possible implementations, the actual influencing factors may also include the frequency of the graphics processor and/or the screen refresh rate. Accordingly, if the actual influencing factor includes the frequency of the graphic processor, the terminal device can solve the stuck problem by adjusting the frequency of the graphic processor; if the actual influencing factor comprises the screen refresh rate, the terminal equipment can solve the problem of blockage by adjusting the screen refresh rate.
In the method for mortgage processing provided by the embodiment of the application, mortgage information and influence information can be obtained first, and then correlation analysis is performed on the mortgage information and the influence information. According to the analysis result obtained by the correlation analysis, the actual influence factor with the maximum influence degree on the stuck state can be found from the plurality of influence factors corresponding to the influence information, so that the stuck state processing is carried out according to the influence information of the actual influence factor. Thus, through correlation analysis, it can be determined which factors cause the seizure to be caused, and the root cause of the seizure can be found. Therefore, when the blockage processing is carried out, the actual influence factors which have the largest influence on the blockage can be processed in a targeted mode, so that the blockage problem is solved quickly, and the blockage processing efficiency is improved.
Fig. 3 is a schematic structural diagram of a device for processing a stuck signal according to an embodiment of the present application, where the embodiment is applicable to a situation of processing a stuck signal of a terminal device, and the device specifically includes: a receiving unit 310, a first processing unit 320 and a second processing unit 330.
An obtaining unit 310 is used for obtaining the morton information and the influence information.
The first processing unit 320 is configured to obtain an actual influence factor according to the stuck information and the influence information.
And the second processing unit 330 is configured to process the stuck signal according to the influence information of the actual influencing factor.
The device for processing the stuck state, provided by the embodiment of the disclosure, can execute the method for processing the stuck state, provided by any embodiment of the disclosure, and has corresponding functional units and beneficial effects of the method for processing the stuck state.
It should be noted that, in the embodiment of the apparatus for processing kation, the included units and units are only divided according to the functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the present disclosure.
Referring now to fig. 4, a schematic diagram of an electronic device (e.g., a terminal device running a software program) 400 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated in fig. 2. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
The electronic device provided by the embodiment of the present disclosure and the method for morton processing provided by the above embodiment belong to the same inventive concept, and technical details that are not described in detail in the embodiment of the present disclosure can be referred to the above embodiment, and the embodiment of the present disclosure and the above embodiment have the same beneficial effects.
The disclosed embodiments provide a computer storage medium having a computer program stored thereon, which when executed by a processor implements the method of katton processing provided by the above embodiments.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring the morton information and the influence information; obtaining actual influence factors according to the pause information and the influence information; and processing the stuck according to the influence information of the actual influence factors.
Computer readable storage media may be written with computer program code for performing the operations of the present disclosure in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first processing unit may also be described as an "influencing factor determination unit".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, [ example one ] there is provided a method of processing katton, the method comprising:
the terminal equipment acquires the pause information and the influence information;
the terminal equipment obtains actual influence factors according to the pause information and the influence information;
and the terminal equipment processes the blockage according to the influence information of the actual influence factors.
According to one or more embodiments of the present disclosure, [ example two ] there is provided a method of processing katton, the method further comprising: optionally, the obtaining, by the terminal device, an actual influence factor according to the morton information and the influence information includes:
the terminal equipment sends the jamming information and the influence information to a server;
and the terminal equipment receives the actual influence factors sent by the server, and the actual influence factors are obtained by carrying out correlation analysis and determination according to the pause information and the influence information.
According to one or more embodiments of the present disclosure, [ example three ] there is provided a method of processing katton, the method further comprising: optionally, the obtaining, by the terminal device, an actual influence factor according to the morton information and the influence information includes:
the terminal equipment performs correlation analysis on the pause information and the influence information to obtain an analysis result;
and determining the actual influence factors according to the analysis result.
According to one or more embodiments of the present disclosure, [ example four ] there is provided a method of processing katton, the method further comprising: optionally, the morton information includes one or more of:
the number of times of calton and the time of calton.
According to one or more embodiments of the present disclosure, [ example five ] there is provided a method of processing katton, the method further comprising: optionally, the influence information comprises one or more of the following:
resource information relating to a specific application, event information relating to a specific application, resource information relating to the entire system, and event information relating to the entire system.
According to one or more embodiments of the present disclosure, [ example six ] there is provided a method of processing katton, the method further comprising: optionally, the resource information of the terminal device related to the specific application includes one or more of the following information within a preset time period:
the utilization rate of a Central Processing Unit (CPU) used by the specific application program, the utilization rate of a memory used by the specific application program, the running time of a message in a process for running the specific application program, the priority of the process, the I/O read-write quantity in the process for running the specific application program and the display time of the specific application program in the foreground.
According to one or more embodiments of the present disclosure, [ example seven ] there is provided a method of processing katton, the method further comprising: optionally, the resource information related to the specific application includes one or more of the following information within a preset time period:
the frequency with which the particular application is clicked on the screen by the user during foreground display and the time at which the user triggers the voice function of the particular application.
According to one or more embodiments of the present disclosure, [ example eight ] there is provided a method of processing katton, the method further comprising: optionally, the resource information related to the whole system includes one or more of the following information within a preset time period:
CPU utilization rate, process quantity, memory utilization rate, memory idle rate, cache utilization rate, I/O read-write quantity, frequency of a graphic processor, partition quantity, mainboard temperature and electric quantity.
According to one or more embodiments of the present disclosure, [ example nine ] there is provided a method of processing katton, the method further comprising: optionally, the event information related to the whole system includes one or more of the following information within a preset time period:
the time the application uses the screen, the frequency with which the user clicks on the screen, and the number of times the screen automatically makes brightness adjustments.
According to one or more embodiments of the present disclosure, [ example ten ] there is provided a method of processing katton, the method further comprising: optionally, the terminal device is the terminal device, and the terminal device performs corresponding processing according to the influence information of the actual influence factor, including one or more of the following processing modes:
the terminal equipment reduces the number of CPUs used by application programs running in the background according to the utilization rate of the CPUs;
the terminal equipment finishes the application program running in the background;
the terminal equipment freezes a process in operation;
the terminal equipment adjusts the screen refresh rate;
the terminal equipment adjusts the frequency of the graphic processor;
the terminal equipment reduces the network speed of the application program running in the background; and the number of the first and second groups,
and the terminal equipment adjusts the number of processes running in the background.
According to one or more embodiments of the present disclosure, [ example eleven ] there is provided an apparatus for processing katton, the apparatus being applied to a terminal device, including:
the acquisition unit is used for acquiring the morton information and the influence information;
the first processing unit is used for obtaining actual influence factors according to the pause information and the influence information;
and the second processing unit is used for processing the stuck according to the influence information of the actual influence factors.
According to one or more embodiments of the present disclosure, [ example twelve ] there is provided an electronic device comprising: one or more processors; a memory for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement a method of processing kation as described in any embodiment of the application.
According to one or more embodiments of the present disclosure, [ example thirteen ] there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of processing katton as described in any of the embodiments of the present application.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (13)

1. A method of handling katton, the method comprising:
the terminal equipment acquires the pause information and the influence information;
the terminal equipment obtains actual influence factors according to the pause information and the influence information;
and the terminal equipment processes the blockage according to the influence information of the actual influence factors.
2. The method of claim 1, wherein the terminal device deriving the actual influencing factor from the stuck information and the influencing information comprises:
the terminal equipment sends the jamming information and the influence information to a server;
and the terminal equipment receives the actual influence factors sent by the server, and the actual influence factors are obtained by carrying out correlation analysis and determination according to the pause information and the influence information.
3. The method of claim 1, wherein the terminal device deriving the actual influencing factor from the stuck information and the influencing information comprises:
the terminal equipment performs correlation analysis on the pause information and the influence information to obtain an analysis result;
and determining the actual influence factors according to the analysis result.
4. The method of claim 1, wherein the stuck information comprises one or more of:
the number of times of calton and the time of calton.
5. The method of claim 1, wherein the impact information comprises one or more of:
resource information relating to a specific application, event information relating to a specific application, resource information relating to the entire system, and event information relating to the entire system.
6. The method according to claim 5, wherein the resource information of the terminal device related to the specific application program comprises one or more of the following information within a preset time period:
the utilization rate of a Central Processing Unit (CPU) used by the specific application program, the utilization rate of a memory used by the specific application program, the running time of a message in a process for running the specific application program, the priority of the process, the I/O read-write quantity in the process for running the specific application program and the display time of the specific application program in the foreground.
7. The method according to claim 5, wherein the resource information related to the specific application includes one or more of the following information within a preset time period:
the frequency with which the particular application is clicked on the screen by the user during foreground display and the time at which the user triggers the voice function of the particular application.
8. The method of claim 5, wherein the resource information related to the whole system comprises one or more of the following information within a preset time period:
CPU utilization rate, process quantity, memory utilization rate, memory idle rate, cache utilization rate, I/O read-write quantity, frequency of a graphic processor, partition quantity, mainboard temperature and electric quantity.
9. The method according to claim 5, wherein the event information related to the whole system comprises one or more of the following information within a preset time period:
the time the application uses the screen, the frequency with which the user clicks on the screen, and the number of times the screen automatically makes brightness adjustments.
10. The method according to claim 1, wherein the terminal device is the terminal device, and the terminal device performs corresponding processing according to the influence information of the actual influence factor, including one or more of the following processing modes:
the terminal equipment reduces the number of CPUs used by application programs running in the background according to the utilization rate of the CPUs;
the terminal equipment finishes the application program running in the background;
the terminal equipment freezes a process in operation;
the terminal equipment adjusts the screen refresh rate;
the terminal equipment adjusts the frequency of the graphic processor;
the terminal equipment reduces the network speed of the application program running in the background; and the number of the first and second groups,
and the terminal equipment adjusts the number of processes running in the background.
11. An apparatus for processing card pause, characterized in that, the apparatus is applied to a terminal device, comprising:
the acquisition unit is used for acquiring the morton information and the influence information;
the first processing unit is used for obtaining actual influence factors according to the pause information and the influence information;
and the second processing unit is used for processing the stuck according to the influence information of the actual influence factors.
12. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of processing a stuck as claimed in any one of claims 1-10.
13. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of handling katton of any one of claims 1-10.
CN202110711955.8A 2021-06-25 2021-06-25 Method and device for processing stuck Pending CN113407344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110711955.8A CN113407344A (en) 2021-06-25 2021-06-25 Method and device for processing stuck

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110711955.8A CN113407344A (en) 2021-06-25 2021-06-25 Method and device for processing stuck

Publications (1)

Publication Number Publication Date
CN113407344A true CN113407344A (en) 2021-09-17

Family

ID=77679651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110711955.8A Pending CN113407344A (en) 2021-06-25 2021-06-25 Method and device for processing stuck

Country Status (1)

Country Link
CN (1) CN113407344A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114064431A (en) * 2021-11-11 2022-02-18 北京字节跳动网络技术有限公司 Stuck detection method and device, readable medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304274A (en) * 2017-12-29 2018-07-20 深圳市金立通信设备有限公司 A kind of method of information exchange, server and computer-readable medium
WO2019042294A1 (en) * 2017-08-31 2019-03-07 Oppo广东移动通信有限公司 Resource allocation method and related product
CN111949512A (en) * 2020-07-09 2020-11-17 厦门美柚股份有限公司 Application program jamming detection method and device, terminal and medium
CN112445687A (en) * 2019-08-30 2021-03-05 深信服科技股份有限公司 Blocking detection method of computing equipment and related device
CN112995712A (en) * 2021-02-10 2021-06-18 北京字节跳动网络技术有限公司 Method, device and equipment for determining stuck factors and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019042294A1 (en) * 2017-08-31 2019-03-07 Oppo广东移动通信有限公司 Resource allocation method and related product
CN108304274A (en) * 2017-12-29 2018-07-20 深圳市金立通信设备有限公司 A kind of method of information exchange, server and computer-readable medium
CN112445687A (en) * 2019-08-30 2021-03-05 深信服科技股份有限公司 Blocking detection method of computing equipment and related device
CN111949512A (en) * 2020-07-09 2020-11-17 厦门美柚股份有限公司 Application program jamming detection method and device, terminal and medium
CN112995712A (en) * 2021-02-10 2021-06-18 北京字节跳动网络技术有限公司 Method, device and equipment for determining stuck factors and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114064431A (en) * 2021-11-11 2022-02-18 北京字节跳动网络技术有限公司 Stuck detection method and device, readable medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN111258736B (en) Information processing method and device and electronic equipment
CN112272226B (en) Picture loading method and device and readable storage medium
CN111221638B (en) Concurrent task scheduling processing method, device, equipment and medium
CN113395572A (en) Video processing method and device, storage medium and electronic equipment
CN110633434A (en) Page caching method and device, electronic equipment and storage medium
CN112530205A (en) Airport parking apron airplane state detection method and device
CN110633433B (en) Page caching method and device, electronic equipment and storage medium
CN111783632B (en) Face detection method and device for video stream, electronic equipment and storage medium
CN113407344A (en) Method and device for processing stuck
CN110809166B (en) Video data processing method and device and electronic equipment
CN112860513A (en) Application non-response monitoring method, device, equipment and storage medium
CN110960857A (en) Game data monitoring method and device, electronic equipment and storage medium
CN111273884A (en) Image display method and device and electronic equipment
CN112636971B (en) Service degradation method and device, electronic equipment and storage medium
CN113010279A (en) Application program process processing method and device for mobile terminal and electronic equipment
CN112860439A (en) Application starting method and device, terminal and storage medium
CN111625436A (en) Insurance business capacity management method and device, electronic equipment and storage medium
CN114915849B (en) Video preloading method, device, equipment and medium
CN113326015A (en) Information display method and device and electronic equipment
CN117389834A (en) Control method, device, terminal and storage medium of electronic equipment
CN116996666A (en) Video jamming detection method, device, equipment and medium
CN117939241A (en) Video special effect editing method, device, electronic equipment and storage medium
CN115269296A (en) Screen fluency detection method and device and electronic equipment
CN116304427A (en) Preloading method and device, storage medium and electronic equipment
CN115373932A (en) Component operation monitoring method and device

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