CN107193678B - Method and device for determining cause of stuck and storage medium - Google Patents

Method and device for determining cause of stuck and storage medium Download PDF

Info

Publication number
CN107193678B
CN107193678B CN201710295316.1A CN201710295316A CN107193678B CN 107193678 B CN107193678 B CN 107193678B CN 201710295316 A CN201710295316 A CN 201710295316A CN 107193678 B CN107193678 B CN 107193678B
Authority
CN
China
Prior art keywords
usage
system resource
record
resource
records
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
CN201710295316.1A
Other languages
Chinese (zh)
Other versions
CN107193678A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710295316.1A priority Critical patent/CN107193678B/en
Publication of CN107193678A publication Critical patent/CN107193678A/en
Application granted granted Critical
Publication of CN107193678B publication Critical patent/CN107193678B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure relates to a method, a device and a storage medium for determining a cause of jamming, and belongs to the technical field of terminals. The method comprises the following steps: detecting whether a display picture of the terminal is blocked or not; when the display picture is jammed, extracting the use records of m system resources from n buffers preset in the terminal, wherein each buffer is used for storing the use record of at least one system resource, n is more than or equal to 1, and m is more than or equal to 1; and determining the cause of the jamming of the display picture according to the use records of the m system resources. The method and the device solve the problem that the flexibility of determining the cause of the seizure is low in the related art. The method and the device are used for the terminal to determine the cause of the jamming.

Description

Method and device for determining cause of stuck and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for determining a cause of stuck, and a storage medium.
Background
With the development of electronic technology, a man-machine interaction mode has evolved from an initial key interaction mode to a current touch screen interaction mode, for example, a user can perform corresponding screen display on a terminal through a simple screen sliding operation. However, in the process of displaying the screen, due to the problems of insufficient system resources (including CPU resources, memory resources, I/O bandwidth resources, etc.), etc., the screen is often stuck, resulting in poor fluency of the screen, and therefore it is necessary to determine the cause of the screen being stuck on the terminal.
In the related art, a terminal is generally connected with a computer, a system resource usage record in the terminal is opened through a debugging tool on the computer, a part of the system resource usage record in the terminal is obtained within a preset time period (generally 5 to 20 seconds) and stored in the computer, then the part of the system resource usage record is analyzed into a form of a graph through the computer, and the graph is analyzed to determine the cause of picture blockage on the terminal.
However, in the related art, a computer is required to determine the cause of the screen jam on the terminal, and the flexibility of determining the cause of the screen jam is low.
Disclosure of Invention
In order to solve the problem of low flexibility in determining a cause of stuck in the related art, embodiments of the present disclosure provide a method, an apparatus, and a storage medium for determining a cause of stuck. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a stuck cause determination method, the method including:
detecting whether a display picture of the terminal is blocked or not;
when the display picture is jammed, extracting the use records of m system resources from n buffers preset in the terminal, wherein each buffer is used for storing the use record of at least one system resource, n is more than or equal to 1, and m is more than or equal to 1;
and determining the cause of the jamming of the display picture according to the use records of the m system resources.
Optionally, the method further includes:
dividing the n buffers in a system of the terminal, wherein the storage space occupied by each buffer is fixed;
and updating the contents in the n buffers according to the latest usage record of the m system resources.
Optionally, the updating the contents in the n buffers according to the latest usage record of the m system resources includes:
acquiring the latest usage record of a first system resource, wherein the first system resource is any one of the m system resources;
deleting the earliest usage record of the first system resource in a first buffer for storing the usage record of the first system resource;
storing a record of the most recent use of the first system resource in the first buffer.
Optionally, the first buffer stores the usage records of the first system resource by using a first resource linked list, and the usage records of the first system resource in the first resource linked list are sequentially arranged according to a time sequence;
deleting the oldest usage record of the first system resource in a first buffer for storing usage records of the first system resource, comprising:
judging whether all the entries in the first resource linked list are occupied, and deleting the first entry of the first resource linked list when all the entries in the first resource linked list are occupied;
said storing a record of the most recent usage of said first system resource at said first cache, comprising:
and adding an item at the last bit of the first resource linked list, and recording the latest usage record of the first system resource in the added item.
Optionally, the obtaining the latest usage record of the first system resource includes:
when the first system resource is monitored to be used, judging whether the first system resource is a system resource corresponding to a target application which is running in the foreground;
and when the first system resource is the system resource corresponding to the target application, acquiring the latest usage record of the first system resource.
Optionally, the target application is any application currently running in the foreground, or the target application is a specific application currently running in the foreground.
Optionally, the usage record includes a period of usage time,
the determining the cause of the stuck of the display picture according to the m system resource usage records includes:
acquiring pause information, wherein the pause information comprises a pause time period during which the display picture is paused;
determining at least one target usage record in the m system resource usage records, the usage period of the target usage record intersecting the katon period;
detecting whether an abnormal usage record exists in the at least one target usage record;
when the abnormal use record exists in the at least one target use record, determining that the cause of the pause of the display screen is that the system resource corresponding to the abnormal use record has abnormality.
Optionally, the method further includes:
before extracting the usage records of m system resources from n buffers preset in the terminal, locking the n buffers to stop updating the usage records of the system resources in the n buffers;
after extracting the usage records of the m system resources from n buffers preset in the terminal,
and unlocking the n buffers to enable the system resource usage records in the n buffers to be updated continuously.
Optionally, each buffer is used for storing a usage record of a system resource.
Optionally, the m system resources include at least one of a memory resource, a CPU resource of a central processing unit, and an input/output bandwidth resource.
According to a second aspect of embodiments of the present disclosure, there is provided a stuck cause determination apparatus, the apparatus including:
the terminal comprises a detection module, a display module and a display module, wherein the detection module is configured to detect whether the display screen of the terminal is blocked or not;
the extracting module is configured to extract the use records of m system resources from n buffers preset in the terminal when the display picture is jammed, wherein each buffer is used for storing the use record of at least one system resource, n is more than or equal to 1, and m is more than or equal to 1;
a determining module configured to determine a cause of the stuck on the display screen according to the usage record of the m system resources.
Optionally, the apparatus further comprises:
the dividing module is configured to divide the n buffers in the system of the terminal, and the storage space occupied by each buffer is fixed;
an update module configured to update the contents of the n buffers according to the latest usage record of the m system resources.
Optionally, the update module includes:
a first obtaining sub-module, configured to obtain a latest usage record of a first system resource, where the first system resource is any one of the m system resources;
a deletion submodule configured to delete an oldest usage record of the first system resource in a first buffer for storing the usage record of the first system resource;
a storage submodule configured to store a record of recent usage of the first system resource in the first cache.
Optionally, the first buffer stores the usage records of the first system resource by using a first resource linked list, and the usage records of the first system resource in the first resource linked list are sequentially arranged according to a time sequence;
the delete submodule configured to:
judging whether all the entries in the first resource linked list are occupied, and deleting the first entry of the first resource linked list when all the entries in the first resource linked list are occupied;
the storage submodule configured to:
and adding an item at the last bit of the first resource linked list, and recording the latest usage record of the first system resource in the added item.
Optionally, the first obtaining sub-module is configured to:
when the first system resource is monitored to be used, judging whether the first system resource is a system resource corresponding to a target application which is running in the foreground;
and when the first system resource is the system resource corresponding to the target application, acquiring the latest usage record of the first system resource.
Optionally, the target application is any application currently running in the foreground, or the target application is a specific application currently running in the foreground.
Optionally, the usage record includes a period of usage time,
the determining module includes:
a second obtaining sub-module configured to obtain stuck information, the stuck information including a stuck time period during which the display screen is stuck;
a first determining submodule configured to determine at least one target usage record among the m system resource usage records, a usage period of the target usage record intersecting the katon period;
a detection submodule configured to detect whether there is an abnormal usage record in the at least one target usage record;
and the second determining submodule is configured to determine that the cause of the stuck of the display screen is that the system resource corresponding to the abnormal usage record has abnormality when the at least one target usage record has the abnormal usage record.
Optionally, the apparatus further comprises:
a locking module configured to lock the n buffers to stop updating system resource usage records in the n buffers;
and the unlocking module is configured to unlock the n buffers so as to continuously update the system resource usage records in the n buffers.
Optionally, each buffer is used for storing a usage record of a system resource.
Optionally, the m system resources include at least one of a memory resource, a CPU resource of a central processing unit, and an input/output bandwidth resource.
According to a third aspect of the embodiments of the present disclosure, there is provided a stuck cause determination apparatus including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
detecting whether a display picture of the terminal is blocked or not;
when the display picture is jammed, extracting the use records of m system resources from n buffers preset in the terminal, wherein each buffer is used for storing the use record of at least one system resource, n is more than or equal to 1, and m is more than or equal to 1;
and determining the cause of the jamming of the display picture according to the use records of the m system resources.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium having instructions that, when executed by a processor of a terminal, enable the terminal to perform a stuck cause determination method, the method including:
detecting whether a display picture of the terminal is blocked or not;
when the display picture is jammed, extracting the use records of m system resources from n buffers preset in the terminal, wherein each buffer is used for storing the use record of at least one system resource, n is more than or equal to 1, and m is more than or equal to 1;
and determining the cause of the jamming of the display picture according to the use records of the m system resources.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method, the device and the storage medium for determining the jam reason, n buffers can be preset in the terminal, the use records of m system resources are stored in the n buffers, when the jam of the display screen of the terminal is detected, the jam reason of the display screen can be determined according to the use records of the m system resources in the buffer of the terminal, the jam reason of the display screen does not need to be determined by a computer, and the flexibility of determining the jam reason is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure, the drawings that are needed to be used in the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a stuck cause determination method according to an exemplary embodiment of the present disclosure.
Fig. 2-1 is a flow chart of another stuck cause determination method provided by an exemplary embodiment of the present disclosure.
Fig. 2-2 is a flowchart of a method for updating contents of a register according to an exemplary embodiment of the disclosure.
Fig. 2-3a are schematic diagrams of a data structure of a buffer according to an exemplary embodiment of the disclosure.
Fig. 2-3b are schematic diagrams of data structures of another buffer according to an exemplary embodiment of the disclosure.
Fig. 2-3c are schematic diagrams illustrating data structures of another buffer according to an exemplary embodiment of the disclosure.
Fig. 2-4 are flowcharts illustrating a method for determining a cause of a stuck in a display according to an exemplary embodiment of the disclosure.
Fig. 3-1 is a block diagram illustrating a stuck cause determination apparatus according to an example embodiment.
Fig. 3-2 is a block diagram illustrating another stuck cause determination apparatus according to an example embodiment.
Fig. 3-3 are block diagrams illustrating an update module according to an example embodiment.
Fig. 3-4 are block diagrams illustrating a determination module according to an example embodiment.
Fig. 3-5 are block diagrams illustrating yet another stuck cause determination apparatus according to an example embodiment.
Fig. 4 is a block diagram illustrating an apparatus for katton cause determination according to an example embodiment.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more clear, the present disclosure will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the scope of protection of the present disclosure.
Fig. 1 is a flowchart of a method for determining a cause of katon provided by an exemplary embodiment of the present disclosure, where the method may be applied to a terminal, as shown in fig. 1, and the method includes:
step 101, detecting whether the display picture of the terminal is blocked or not.
Step 102, when the display image is jammed, extracting the use records of m system resources from n buffers preset in the terminal, wherein each buffer is used for storing the use record of at least one system resource, n is more than or equal to 1, and m is more than or equal to 1.
And 103, determining the jam reason of the display picture according to the use records of the m system resources.
To sum up, according to the method for determining the cause of the stuck state provided by the embodiment of the present disclosure, n buffers may be preset in the terminal, and the usage records of m system resources are stored in the n buffers, when it is detected that the display screen of the terminal is stuck, the cause of the stuck state of the display screen may be determined according to the usage records of the m system resources in the buffer of the terminal, and it is not necessary to determine the cause of the stuck state of the display screen with the aid of a computer, so that flexibility in determining the cause of the stuck state is improved.
The morton reason determination method provided by the embodiment of the present disclosure can be applied to a terminal installed with an android system, and fig. 2-1 is a flowchart of the morton reason determination method provided by an exemplary embodiment of the present disclosure, as shown in fig. 2-1, the method includes:
step 201, dividing n buffers in the system of the terminal, where the n buffers are used to store the usage records of m system resources, n is greater than or equal to 1, and m is greater than or equal to 1.
In practical application, n buffers can be partitioned from a linux kernel of the android system, and the n buffers can store usage records of m system resources, wherein each buffer is used for storing the usage record of at least one system resource.
Optionally, each buffer may be configured to store a usage record of a system resource, and the usage record of a system resource is stored in a separate buffer, so that the usage records of system resources are classified conveniently, and convenience is provided for later extracting the usage record of a corresponding kind of system resource from the buffer.
Optionally, the m system resources may include at least one of memory resources, CPU resources, and I/O bandwidth resources.
It should be noted that the storage space occupied by each buffer is fixed, and optionally, the storage space occupied by each buffer may be 8 Kilobytes (KB).
Step 202, updating the contents in the n buffers according to the latest usage record of the m system resources.
Alternatively, the method for updating the contents in the n buffers according to the latest usage record of the m system resources, as shown in fig. 2-2, may include:
step 2021, obtain the latest usage record of the first system resource, where the first system resource is any one of the m system resources.
Optionally, the method for obtaining the latest usage record of the first system resource may include:
and S11, when it is monitored that the first system resource is being used, judging whether the first system resource is the system resource corresponding to the target application which is running in the foreground.
In the disclosed embodiment, the target application is a preset application that requires a memory to record usage records of system resources. Optionally, the target application may be any application running in the foreground, for example, if a user uses a rice chat on a display screen of the terminal at present, the rice chat is a target application, and it is required to determine whether the first system resource is a system resource corresponding to the rice chat, that is, determine whether the first system resource is a system resource occupied by the rice chat; or, the target application may be a specific application that is running in the foreground, for example, the specific application includes a rice chat, a millet desktop, and a millet video, and when the current station is running the rice chat, the rice chat is a target application, and it is necessary to determine whether the first system resource is a system resource occupied by the rice chat.
And S12, when the first system resource is the system resource corresponding to the target application, acquiring the latest usage record of the first system resource.
Step 2022, delete the oldest usage record of the first system resource in the first buffer for storing usage records of the first system resource.
Optionally, the first buffer may store the usage records of the first system resource by using a first resource linked list, and the usage records of the first system resource in the first resource linked list are sequentially arranged according to a time sequence.
Optionally, it is assumed that each buffer stores a usage record of a system resource, and the buffer storing the usage record of the memory resource is defined as buffer1, the buffer storing the usage record of the CPU resource is defined as buffer2, and the buffer storing the usage record of the I/O bandwidth resource is defined as buffer 3. As shown in fig. 2-3a, a data structure of the buffer1 may be that a first timestamp t1 of starting requesting memory allocation, a process identifier pid corresponding to the target application, and a duration d1 from the starting requesting memory allocation to the memory allocation process are recorded in the buffer 1; as shown in fig. 2 to 3b, a data structure of the buffer2 may be, in the buffer2, record a second timestamp t2 when the CPU starts to schedule, a process identifier pid corresponding to the target application, and a duration d2 of the CPU schedule; the data structure of the buffer3 can be as shown in fig. 2-3c, the buffer3 records a third timestamp t3 for starting I/O, a process identification pid corresponding to the target application, and a duration d3 of I/O.
For example, assuming that the first system resource is a CPU resource, as shown in fig. 2 to 3b, usage records of the first system resource in the first resource linked list buffer2 are sequentially arranged from top to bottom according to a time sequence, it is assumed that q usage records can be stored in the first resource linked list buffer2, the entry data1 stores the earliest usage record in the usage records of the first system resource, and the entry dataq stores the latest usage record in the usage records of the first system resource. Assuming that a total of 3 usage records can be stored in the first resource linked list buffer2, and the timestamps of the 3 usage records are 9:00, 9:05 and 9:10, respectively, the entry data1 stores the usage record corresponding to 9:00 and the entry dataq stores the usage record corresponding to 9: 10.
Optionally, the method for deleting the earliest usage record of the first system resource in the first buffer for storing the first system resource may include:
and judging whether all the entries in the first resource linked list are occupied, and deleting the first entry of the first resource linked list when all the entries in the first resource linked list are occupied.
For example, as shown in fig. 2-3b, when q entries in the first resource chain table buffer2 are all occupied, deleting the first entry of the first resource chain table, that is, deleting the entry data1, the original entry data2 becomes the new entry data1, and the original entry dataq becomes entry dataq-1.
It should be noted that, because only the usage record of the system resource corresponding to the target application is stored in the buffer, the usage record of the system resource corresponding to the target application in the past several seconds can be stored in the buffer, which is convenient for extracting the usage record of the system resource corresponding to the target application in the later period.
Step 2023, store the latest usage record of the first system resource in the first buffer.
Optionally, the method for storing the latest usage record of the first system resource in the first buffer may include:
and adding an item at the last bit of the first resource linked list, and recording the latest use record of the first system resource in the added item.
2-3b, an entry dataq is added after entry dataq-1 of first resource link list buffer2, and the last usage record of the first system resource is recorded in the entry dataq.
Step 203, detecting whether the display screen of the terminal is jammed.
Optionally, the number of frames of the image frames that the terminal needs to draw and corresponding to one screen sliding operation on the display interface of the terminal may be preset in the terminal, and if the screen sliding operation is performed on the display interface of the terminal once and the terminal needs to draw 30 image frames, it may be detected whether the number of times of the screen sliding operation performed on the display interface by the user and the number of frames of the image frames drawn by the terminal within the preset time satisfy a formula: the number of frames of the image frame is equal to the number of times of the screen sliding operation × 30, and when the formula is not satisfied, it is determined that the display screen of the terminal is stuck.
And step 204, when the display screen is jammed, locking the n buffers to stop updating the system resource usage records in the n buffers.
It should be noted that, when the display screen is jammed, the n buffers are locked, which can prevent the system resource usage records in the n buffers from being updated continuously, and thus the system resource usage records when the display screen is jammed are deleted.
And step 205, extracting the use records of the m system resources.
Optionally, usage records of m system resources corresponding to the target application may be extracted from the n locked buffers.
And step 206, unlocking the n buffers to enable the system resource usage records in the n buffers to be continuously updated.
It should be noted that, after the usage records of the m system resources are extracted, the n buffers are unlocked, so that the usage records of the system resources in the n buffers are updated.
And step 207, determining the jam reason of the display picture according to the use records of the m system resources.
Optionally, the usage record may include a usage period of the system resource, and in practical applications, as shown in fig. 2-3a to 2-3c, the usage record may include a start timestamp and a usage duration, and the usage period of the system resource may be obtained according to the start timestamp and the usage duration.
Optionally, the method for determining the cause of the stuck in the display screen according to the m system resource usage records, as shown in fig. 2 to 4, may include:
step 2071, obtain the pause information, where the pause information includes the pause time period for the display to generate the pause.
It should be noted that, in the process of detecting whether the display screen of the terminal is jammed, when it is determined that the display screen of the terminal is jammed, the jam information may be acquired.
Optionally, when a display screen of the terminal is stuck, that is, a "dropped frame" exists in an image frame drawn by the terminal, a time period of the dropped frame may be obtained, that is, a time period of the stuck frame generated by the display screen.
Step 2072, determine at least one target usage record in the m system resource usage records, where the usage period of the target usage record intersects with the katon period.
For example, assuming that the katon period is 10 seconds to 11 seconds, and the katon duration is 1 second, taking the CPU resource as an example for explanation, since the duration of one-time CPU scheduling is generally within 10 milliseconds, the buffer2 may record target usage records of multiple periods in the katon period.
Step 2073, detect whether there is an abnormal usage record in at least one target usage record.
For example, the description is given by taking the stuck time as 1 second, and taking the time of one fourth of the stuck time, that is, 0.25 second as the threshold. When the target usage record is the usage record of the memory resource, detecting whether the total sum total1 of the time length of the process from the beginning of requesting the memory allocation to the memory allocation of the target application in 1 second exceeds 0.25 second, and when the total sum total1 exceeds 0.25 second, determining that the abnormal usage record exists in the usage record of the memory resource; when the target usage record is the usage record of the CPU resource, detecting whether the sum total2 of the duration of the CPU scheduling duration in 1 second is less than 0.75 second, and when the total2 is less than 0.75 second, determining that the abnormal usage record exists in the usage record of the CPU resource; when the target usage record is the usage record of the I/O bandwidth resource, whether the sum total3 of the duration of the I/O within 1 second exceeds 0.25 second or not is judged, and when the total3 exceeds 0.25 second, the abnormal usage record of the I/O bandwidth resource is determined. Alternatively, when none of total1, total2, and total3 satisfies the above condition, it is determined that there is an abnormality in the corresponding system resource having the smallest value among (0.25-total1), (total2-0.75), and (0.25-total 3).
Step 2074, when at least one target usage record has an abnormal usage record, determining that the cause of the katton in the display screen is that the system resource corresponding to the abnormal usage record has an abnormality.
Optionally, when the usage record of the memory resource has an abnormal usage record, determining that the memory resource has an abnormality; when the usage record of the CPU resource has an abnormal usage record, determining that the CPU resource has an abnormality; and when the abnormal use record exists in the use record of the I/O bandwidth resource, determining that the I/O bandwidth resource has an abnormality.
In practical application, after the cause of the stuck in the display screen is determined, the stuck processing module may perform relevant processing according to the cause of the stuck in the display screen, for example, if the cause of the stuck in the display screen is that the CPU resource is abnormal, the stuck processing module may prompt the user to close the application that the background occupies the CPU resource.
It should be noted that, the order of the steps of the morton reason determining method provided in the embodiment of the present disclosure may be appropriately adjusted, and the steps may also be increased or decreased according to the circumstances, for example, the positions of step 202 and step 203 may be exchanged, and any method that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be included in the protective scope of the present disclosure, and therefore, the description thereof is omitted.
To sum up, according to the method for determining the cause of the stuck state provided by the embodiment of the present disclosure, n buffers may be preset in the terminal, and the usage records of m system resources are stored in the n buffers, when it is detected that the display screen of the terminal is stuck, the cause of the stuck state of the display screen may be determined according to the usage records of the m system resources in the buffer of the terminal, and it is not necessary to determine the cause of the stuck state of the display screen with the aid of a computer, so that flexibility in determining the cause of the stuck state is improved.
Fig. 3-1 is a block diagram illustrating a stuck cause determination apparatus 30 according to an exemplary embodiment, and as shown in fig. 3-1, the apparatus 30 may include:
the detection module 301 is configured to detect whether a display screen of the terminal is jammed.
The extracting module 302 is configured to extract the usage records of m system resources from n buffers preset in the terminal when a display screen is jammed, wherein each buffer is used for storing the usage record of at least one system resource, n is greater than or equal to 1, and m is greater than or equal to 1.
And the determining module 303 is configured to determine the cause of the mortgage of the display screen according to the usage records of the m system resources.
To sum up, the device for determining a cause of stuck in a display screen according to the embodiment of the present disclosure may preset n buffers in a terminal, and store usage records of m system resources in the n buffers, when a detection module detects that a display screen of the terminal is stuck, the detection module may obtain the usage records of the m system resources in the buffer of the terminal through an extraction module, and then determine the cause of stuck in the display screen through a determination module, without using a computer to determine the cause of stuck in the display screen, thereby improving flexibility of determining the cause of stuck.
Optionally, as shown in fig. 3-2, the apparatus 30 may further include:
the dividing module 304 is configured to divide n buffers in the system of the terminal, and a storage space occupied by each buffer is fixed.
An update module 305 configured to update the contents of the n buffers according to the latest usage record of the m system resources.
Optionally, as shown in fig. 3-3, the update module 305 may include:
the first obtaining sub-module 3051 is configured to obtain a latest usage record of a first system resource, where the first system resource is any one of the m system resources.
A delete sub-module 3052 configured to delete, in a first buffer for storing usage records of the first system resource, an oldest usage record of the first system resource.
A storage submodule 3053 configured to store a record of the latest usage of the first system resource in the first buffer.
In practical application, the first buffer may store the usage records of the first system resource by using a first resource linked list, and the usage records of the first system resource in the first resource linked list are sequentially arranged according to a time sequence.
Accordingly, the delete sub-module 3052 is configured to: judging whether all the entries in the first resource linked list are occupied, and deleting the first entry of the first resource linked list when all the entries in the first resource linked list are occupied; a storage submodule 3053 configured to: and adding an item at the last bit of the first resource linked list, and recording the latest use record of the first system resource in the added item.
Optionally, the first obtaining sub-module 3051 may be configured to:
when it is monitored that the first system resource is being used, judging whether the first system resource is a system resource corresponding to a target application which is running in a foreground; and when the first system resource is the system resource corresponding to the target application, acquiring the latest usage record of the first system resource.
Optionally, the target application may be any application currently running in the foreground, or the target application may be a specific application currently running in the foreground.
Optionally, the usage record may include a usage period, as shown in fig. 3-4, and the determining module 303 may include:
the second obtaining sub-module 3031 is configured to obtain the stuck information, which includes the stuck time period during which the display screen is stuck.
A first determining submodule 3032, configured to determine at least one target usage record in the m system resource usage records, where a usage period of the target usage record intersects with the katton period.
A detection submodule 3033 configured to detect whether there is an abnormal usage record in the at least one target usage record.
The second determining submodule 3034 is configured to determine, when at least one target usage record has an abnormal usage record, that the cause of the stuck of the display screen is that the system resource corresponding to the abnormal usage record has an abnormality.
Further, as shown in fig. 3-5, the apparatus 30 may further include:
a locking module 306 configured to lock the n buffers such that the system resource usage records in the n buffers stop updating.
And an unlocking module 307 configured to unlock the n buffers, so that the system resource usage records in the n buffers continue to be updated.
Optionally, each buffer may be used to store a record of the usage of a system resource.
Optionally, the m system resources include at least one of memory resources, CPU resources, and I/O bandwidth resources.
To sum up, the device for determining a cause of stuck in a display screen according to the embodiment of the present disclosure may preset n buffers in a terminal, and store usage records of m system resources in the n buffers, when a detection module detects that a display screen of the terminal is stuck, the detection module may obtain the usage records of the m system resources in the buffer of the terminal through an extraction module, and then determine the cause of stuck in the display screen through a determination module, without using a computer to determine the cause of stuck in the display screen, thereby improving flexibility of determining the cause of stuck.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The embodiment of the present disclosure provides a cause determining device for stuck, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
detecting whether a display picture of the terminal is blocked or not;
when the display picture is jammed, extracting the use records of m system resources from n buffers preset in the terminal, wherein each buffer is used for storing the use record of at least one system resource, n is more than or equal to 1, and m is more than or equal to 1;
and determining the cause of the jamming of the display picture according to the use records of the m system resources.
Fig. 4 is a block diagram illustrating an apparatus 400 for katton cause determination according to an example embodiment. For example, the apparatus 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 4, the apparatus 400 may include one or more of the following components: processing components 402, memory 404, power components 406, multimedia components 408, audio components 410, input/output (I/O) interfaces 412, sensor components 414, and communication components 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the apparatus 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 406 provide power to the various components of device 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor assembly 414 may detect an open/closed state of the apparatus 400, the relative positioning of the components, such as a display and keypad of the apparatus 400, the sensor assembly 414 may also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of an apparatus 400, enable the apparatus 400 to perform a stuck cause determination method, the method comprising:
detecting whether a display picture of the terminal is blocked or not;
when the display picture is jammed, extracting the use records of m system resources from n buffers preset in the terminal, wherein each buffer is used for storing the use record of at least one system resource, n is more than or equal to 1, and m is more than or equal to 1;
and determining the cause of the jamming of the display picture according to the use records of the m system resources.
The apparatus 400 may be a terminal.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A method for determining a cause of katon, the method comprising:
detecting whether a display picture of the terminal is blocked or not;
when the display picture is jammed, extracting the use records of m system resources from n buffers preset in the terminal, wherein each buffer is used for storing the use record of at least one system resource, n is more than or equal to 1, and m is more than or equal to 1;
determining a cause of stuck on the display screen according to the usage records of the m system resources, wherein the usage records include usage time periods, and determining the cause of stuck on the display screen according to the usage records of the m system resources includes: acquiring pause information, wherein the pause information comprises a pause time period during which the display picture is paused; determining at least one target usage record in the m system resource usage records, the usage period of the target usage record intersecting the katon period; detecting whether an abnormal usage record exists in the at least one target usage record; when the abnormal use record exists in the at least one target use record, determining that the cause of the pause of the display screen is that the system resource corresponding to the abnormal use record has abnormality.
2. The method of claim 1, further comprising:
dividing the n buffers in a system of the terminal, wherein the storage space occupied by each buffer is fixed;
and updating the contents in the n buffers according to the latest usage record of the m system resources.
3. The method of claim 2, wherein said updating the contents of said n buffers according to the latest usage record of said m system resources comprises:
acquiring the latest usage record of a first system resource, wherein the first system resource is any one of the m system resources;
deleting the earliest usage record of the first system resource in a first buffer for storing the usage record of the first system resource;
storing a record of the most recent use of the first system resource in the first buffer.
4. The method according to claim 3, wherein the first buffer stores the usage records of the first system resource by using a first resource linked list, and the usage records of the first system resource in the first resource linked list are sequentially arranged according to a time sequence;
deleting the oldest usage record of the first system resource in a first buffer for storing usage records of the first system resource, comprising:
judging whether all the entries in the first resource linked list are occupied, and deleting the first entry of the first resource linked list when all the entries in the first resource linked list are occupied;
said storing a record of the most recent usage of said first system resource at said first cache, comprising:
and adding an item at the last bit of the first resource linked list, and recording the latest usage record of the first system resource in the added item.
5. The method of claim 3,
the obtaining of the latest usage record of the first system resource includes:
when it is monitored that the first system resource is used, judging whether the first system resource is a system resource corresponding to a target application which is running in a foreground, wherein the target application is an application which is running in any foreground, or the target application is a specified application which is running in the foreground;
and when the first system resource is the system resource corresponding to the target application, acquiring the latest usage record of the first system resource.
6. The method of claim 1, further comprising:
before extracting the usage records of m system resources from n buffers preset in the terminal, locking the n buffers to stop updating the usage records of the system resources in the n buffers;
after extracting the usage records of the m system resources from n buffers preset in the terminal,
and unlocking the n buffers to enable the system resource usage records in the n buffers to be updated continuously.
7. A stuck cause determination apparatus, the apparatus comprising:
the terminal comprises a detection module, a display module and a display module, wherein the detection module is configured to detect whether the display screen of the terminal is blocked or not;
the extracting module is configured to extract the use records of m system resources from n buffers preset in the terminal when the display picture is jammed, wherein each buffer is used for storing the use record of at least one system resource, n is more than or equal to 1, and m is more than or equal to 1;
a determining module configured to determine a cause of stuck on the display screen according to a usage record of the m system resources, wherein the usage record includes a usage period, and the determining the cause of stuck on the display screen according to the usage record of the m system resources includes: acquiring pause information, wherein the pause information comprises a pause time period during which the display picture is paused; determining at least one target usage record in the m system resource usage records, the usage period of the target usage record intersecting the katon period; detecting whether an abnormal usage record exists in the at least one target usage record; when the abnormal use record exists in the at least one target use record, determining that the cause of the pause of the display screen is that the system resource corresponding to the abnormal use record has abnormality.
8. The apparatus of claim 7, further comprising:
the dividing module is configured to divide the n buffers in the system of the terminal, and the storage space occupied by each buffer is fixed;
an update module configured to update the contents of the n buffers according to the latest usage record of the m system resources.
9. The apparatus of claim 8, wherein the update module comprises:
a first obtaining sub-module, configured to obtain a latest usage record of a first system resource, where the first system resource is any one of the m system resources;
a deletion submodule configured to delete an oldest usage record of the first system resource in a first buffer for storing the usage record of the first system resource;
a storage submodule configured to store a record of recent usage of the first system resource in the first cache.
10. The apparatus according to claim 9, wherein the first buffer stores the usage records of the first system resource by using a first resource linked list, and the usage records of the first system resource in the first resource linked list are sequentially arranged according to a time sequence;
the delete submodule configured to:
judging whether all the entries in the first resource linked list are occupied, and deleting the first entry of the first resource linked list when all the entries in the first resource linked list are occupied;
the storage submodule configured to:
and adding an item at the last bit of the first resource linked list, and recording the latest usage record of the first system resource in the added item.
11. The apparatus of claim 9,
the first acquisition submodule configured to:
when it is monitored that the first system resource is used, judging whether the first system resource is a system resource corresponding to a target application which is running in a foreground, wherein the target application is an application which is running in any foreground, or the target application is a specified application which is running in the foreground;
and when the first system resource is the system resource corresponding to the target application, acquiring the latest usage record of the first system resource.
12. The apparatus of claim 7, further comprising:
a locking module configured to lock the n buffers to stop updating system resource usage records in the n buffers;
and the unlocking module is configured to unlock the n buffers so as to continuously update the system resource usage records in the n buffers.
13. A stuck cause determination device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
detecting whether a display picture of the terminal is blocked or not;
when the display picture is jammed, extracting the use records of m system resources from n buffers preset in the terminal, wherein each buffer is used for storing the use record of at least one system resource, n is more than or equal to 1, and m is more than or equal to 1;
determining a cause of stuck on the display screen according to the usage records of the m system resources, wherein the usage records include usage time periods, and determining the cause of stuck on the display screen according to the usage records of the m system resources includes: acquiring pause information, wherein the pause information comprises a pause time period during which the display picture is paused; determining at least one target usage record in the m system resource usage records, the usage period of the target usage record intersecting the katon period; detecting whether an abnormal usage record exists in the at least one target usage record; when the abnormal use record exists in the at least one target use record, determining that the cause of the pause of the display screen is that the system resource corresponding to the abnormal use record has abnormality.
14. A storage medium having instructions stored thereon that, when executed by a processor of a terminal, enable the terminal to perform a stuck cause determination method, the method comprising:
detecting whether a display picture of the terminal is blocked or not;
when the display picture is jammed, extracting the use records of m system resources from n buffers preset in the terminal, wherein each buffer is used for storing the use record of at least one system resource, n is more than or equal to 1, and m is more than or equal to 1;
determining a cause of stuck on the display screen according to the usage records of the m system resources, wherein the usage records include usage time periods, and determining the cause of stuck on the display screen according to the usage records of the m system resources includes: acquiring pause information, wherein the pause information comprises a pause time period during which the display picture is paused; determining at least one target usage record in the m system resource usage records, the usage period of the target usage record intersecting the katon period; detecting whether an abnormal usage record exists in the at least one target usage record; when the abnormal use record exists in the at least one target use record, determining that the cause of the pause of the display screen is that the system resource corresponding to the abnormal use record has abnormality.
CN201710295316.1A 2017-04-28 2017-04-28 Method and device for determining cause of stuck and storage medium Active CN107193678B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710295316.1A CN107193678B (en) 2017-04-28 2017-04-28 Method and device for determining cause of stuck and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710295316.1A CN107193678B (en) 2017-04-28 2017-04-28 Method and device for determining cause of stuck and storage medium

Publications (2)

Publication Number Publication Date
CN107193678A CN107193678A (en) 2017-09-22
CN107193678B true CN107193678B (en) 2020-06-19

Family

ID=59872235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710295316.1A Active CN107193678B (en) 2017-04-28 2017-04-28 Method and device for determining cause of stuck and storage medium

Country Status (1)

Country Link
CN (1) CN107193678B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729224B (en) * 2017-10-13 2021-10-08 北京小米移动软件有限公司 Terminal performance monitoring method and device
CN108427618B (en) * 2018-03-09 2021-09-07 北京小米移动软件有限公司 Method and device for determining stuck state and computer readable storage medium
CN108536367B (en) * 2018-03-28 2020-11-13 努比亚技术有限公司 Interactive page jamming processing method, terminal and readable storage medium
CN108776624A (en) * 2018-05-29 2018-11-09 北京小米移动软件有限公司 Determine the method, apparatus and storage medium of terminal interim card reason
CN108900520B (en) * 2018-07-11 2021-04-20 广州虎牙信息科技有限公司 Live broadcast card pause factor determination method and device, server and storage medium
CN109040038B (en) * 2018-07-20 2021-02-02 广州虎牙信息科技有限公司 Method, device and equipment for determining stuck factors and storage medium
CN110300327B (en) * 2019-04-18 2021-06-15 深圳市腾讯网域计算机网络有限公司 Game client performance analysis method, device, terminal and storage medium
CN110532095B (en) * 2019-08-27 2022-06-03 Oppo(重庆)智能科技有限公司 Memory optimization method and device, electronic equipment and storage medium
CN112494932A (en) * 2020-11-27 2021-03-16 努比亚技术有限公司 Game frame supplementing method and device, terminal and computer readable storage medium
CN113114843B (en) * 2021-03-25 2022-06-10 北京小米移动软件有限公司 Data processing method and device, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677302A (en) * 2004-03-29 2005-10-05 富士通株式会社 Method and system for acquiring resource usage log and computer product
CN104601770A (en) * 2014-12-25 2015-05-06 惠州Tcl移动通信有限公司 Terminal and smoothness evaluation method thereof
CN105302637A (en) * 2015-10-13 2016-02-03 广东欧珀移动通信有限公司 Restoration method and apparatus for jamming caused by system process runtime exception and mobile terminal
CN106528389A (en) * 2016-10-27 2017-03-22 北京小米移动软件有限公司 Performance evaluation method and device for system smoothness and terminal
CN106528385A (en) * 2016-10-27 2017-03-22 北京小米移动软件有限公司 System fluency monitoring method and apparatus, and terminal
CN106547504A (en) * 2015-09-21 2017-03-29 腾讯科技(深圳)有限公司 Fluency appraisal procedure and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7757129B2 (en) * 2007-03-30 2010-07-13 International Business Machines Corporation Generalized trace and log facility for first error data collection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677302A (en) * 2004-03-29 2005-10-05 富士通株式会社 Method and system for acquiring resource usage log and computer product
CN104601770A (en) * 2014-12-25 2015-05-06 惠州Tcl移动通信有限公司 Terminal and smoothness evaluation method thereof
CN106547504A (en) * 2015-09-21 2017-03-29 腾讯科技(深圳)有限公司 Fluency appraisal procedure and device
CN105302637A (en) * 2015-10-13 2016-02-03 广东欧珀移动通信有限公司 Restoration method and apparatus for jamming caused by system process runtime exception and mobile terminal
CN106528389A (en) * 2016-10-27 2017-03-22 北京小米移动软件有限公司 Performance evaluation method and device for system smoothness and terminal
CN106528385A (en) * 2016-10-27 2017-03-22 北京小米移动软件有限公司 System fluency monitoring method and apparatus, and terminal

Also Published As

Publication number Publication date
CN107193678A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN107193678B (en) Method and device for determining cause of stuck and storage medium
US9588805B2 (en) Method and terminal device for controlling background application
CN106970754B (en) Screen capture processing method and device
CN107193653B (en) Bandwidth resource allocation method, device and storage medium
EP3113131B1 (en) Method and device for providing object finding information
CN105338409B (en) Network video preloading method and device
EP3188066A1 (en) A method and an apparatus for managing an application
CN106357934B (en) Screen locking control method and device
EP2981116A1 (en) Method and apparatus for accessing wi-fi network and computer program product
CN107659717B (en) State detection method, device and storage medium
CN111031177A (en) Screen recording method, device and readable storage medium
EP2986020A1 (en) Method and apparatus for adjusting video quality based on network environment
US9628966B2 (en) Method and device for sending message
CN113190777A (en) Data updating method and device, electronic equipment, storage medium and product
CN107316207B (en) Method and device for acquiring display effect information
CN109634762B (en) Data recovery method and device, electronic equipment and storage medium
CN107734303B (en) Video identification method and device
CN105095296B (en) File management method and device
CN105786561B (en) Method and device for calling process
CN107580142B (en) Method and device for executing processing
CN107894909B (en) Method, device and storage medium for limiting Activity starting
CN106919302B (en) Operation control method and device of mobile terminal
US10671827B2 (en) Method and device for fingerprint verification
CN112083841B (en) Information input method, device and storage medium
CN106354595B (en) Mobile terminal, hardware component state detection 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
GR01 Patent grant
GR01 Patent grant