CN110618904A - Stuck detection method and device - Google Patents

Stuck detection method and device Download PDF

Info

Publication number
CN110618904A
CN110618904A CN201810636923.4A CN201810636923A CN110618904A CN 110618904 A CN110618904 A CN 110618904A CN 201810636923 A CN201810636923 A CN 201810636923A CN 110618904 A CN110618904 A CN 110618904A
Authority
CN
China
Prior art keywords
operation instruction
log
time
touch operation
executed
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
CN201810636923.4A
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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Youshi 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 Guangzhou Youshi Network Technology Co Ltd filed Critical Guangzhou Youshi Network Technology Co Ltd
Priority to CN201810636923.4A priority Critical patent/CN110618904A/en
Publication of CN110618904A publication Critical patent/CN110618904A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a stuck detection method and a stuck detection device. The method comprises the following steps: acquiring touch operation on a touch operation area, wherein the touch operation area is an operable area provided by an application program on a user interface; calling and executing an operation instruction corresponding to the touch operation aiming at the touch operation; and acquiring the time for executing the operation instruction, and if the time is greater than a preset threshold, judging that the operation instruction is blocked when being executed. Compared with the prior art, the method and the device have the advantages that extra image acquisition equipment is not required to be added, whether the blocking phenomenon occurs in the execution process of the operation instruction can be accurately detected, cost is saved, and meanwhile the reliability of blocking detection is improved.

Description

Stuck detection method and device
Technical Field
The invention relates to the technical field of computers, in particular to a stuck detection method and device.
Background
The stuck phenomenon is a phenomenon of 'sticking' which occurs when an electronic device such as a mobile phone, a notebook or a tablet computer is operated. For example: the phenomenon of picture frame-lag when playing games, listening to songs and watching videos is just a pause phenomenon. Obviously, the occurrence of the stuck phenomenon when the electronic device is operated will bring about a poor use experience for users. Therefore, how to improve the performance of the application program on the electronic device to reduce the occurrence of the stuck phenomenon becomes an important issue for developers.
In the prior art, pictures displayed on a mobile phone screen are collected at a certain fixed frequency, then the similarity of the pictures collected twice is compared, and if the similarity is greater than a preset threshold value, it is determined that the picture is stuck.
However, this method in the prior art needs to add additional acquisition equipment, and the accuracy of the judgment result is not high.
Disclosure of Invention
The invention provides a stuck detection method and a device, which are used for improving the stuck detection accuracy.
The invention provides a stuck detection method, which comprises the following steps:
acquiring touch operation on a touch operation area, wherein the touch operation area is an operable area provided by an application program on a user interface;
calling and executing an operation instruction corresponding to the touch operation aiming at the touch operation;
and acquiring the time for executing the operation instruction, and if the time is greater than a preset threshold, judging that the operation instruction is blocked when being executed.
Optionally, the obtaining time used for executing the operation instruction, and if the time is greater than a preset threshold, determining that a stuck occurs when the operation instruction is executed includes:
and acquiring a start-stop time period for executing the operation instruction, and if the start-stop time period is greater than the preset threshold, judging that the operation instruction is blocked when being executed.
Optionally, the obtaining the start-stop time period for executing the operation instruction includes:
acquiring a first log output before the operation instruction is executed, wherein the first log comprises first time information when the first log is output;
acquiring a second log output after the operation instruction is executed, wherein the second log comprises second time information when the second log is output;
and calculating the starting and stopping time period according to the first time information and the second time information.
Optionally, the obtaining the start-stop time period for executing the operation instruction includes:
and acquiring the time stamps of call backs generated when the two adjacent frames of images are drawn, and calculating the starting and stopping time periods according to the time stamps.
Optionally, the method further includes:
and positioning the line number in the program code corresponding to the card pause according to the call stack provided by the application program.
Optionally, the touch operation is any one of single click, double click, sliding and long press.
Optionally, the preset threshold is 16 ms.
The invention provides a stuck detection device, comprising:
the system comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring touch operation on a touch operation area, and the touch operation area is an operable area provided by an application program on a user interface;
the execution module is used for calling and executing an operation instruction corresponding to the touch operation;
the acquisition module is further used for acquiring the time for executing the operation instruction;
and the judging module is used for judging that the jamming occurs when the operation instruction is executed if the time is greater than a preset threshold value.
Optionally, the obtaining module is specifically configured to obtain a first log output before the operation instruction is executed, where the first log includes first time information when the first log is output; (ii) a
Acquiring a second log output after the operation instruction is executed, wherein the second log comprises second time information when the second log is output;
and calculating the starting and stopping time period according to the first time information and the second time information.
The present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described stuck detection method.
The present invention provides a terminal, including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to implement the above-described stuck detection method via execution of the executable instructions.
According to the stuck detection method, the touch operation of a touch operation area is obtained, and then an operation instruction corresponding to the touch operation is called and executed aiming at the touch operation; and finally, acquiring the time for executing the operation instruction, and if the time is greater than a preset threshold value, judging that the operation instruction is blocked when executed. Compared with the prior art, the method and the device have the advantages that extra image acquisition equipment is not required to be added, whether the blocking phenomenon occurs in the execution process of the operation instruction can be accurately detected, cost is saved, and meanwhile the reliability of blocking detection is improved.
Drawings
FIG. 1 is a flowchart illustrating a first embodiment of a stuck detection method according to the present invention;
FIG. 2 is a diagram of a user interface provided by the present invention;
FIG. 3 is a diagram of another user interface provided by the present invention;
FIG. 4 is a flowchart illustrating a second embodiment of a stuck detection method according to the present invention;
FIG. 5 is a flowchart of a third embodiment of a stuck detection method according to the present invention;
FIG. 6 is a schematic structural diagram of a stuck detection apparatus according to the present invention;
fig. 7 is a schematic diagram of a terminal structure provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
The pause phenomenon is closely related to the user experience of the electronic device or Application program (APP). In the prior art, pictures displayed on a mobile phone screen are collected at a certain fixed frequency, then the similarity of the pictures collected twice is compared, and if the similarity is greater than a preset threshold value, it is determined that the picture is stuck. However, this method of the prior art requires additional acquisition equipment, and the result of determining whether there is a stuck condition based on this method is not reliable.
The invention provides a stuck detection method, which can accurately detect whether an operation instruction is stuck in the execution process without adding extra image acquisition equipment, saves the cost and improves the reliability of stuck detection.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a stuck detection method according to a first embodiment of the present invention, and as shown in fig. 1, the stuck detection method according to the present embodiment includes:
s101, touch operation on a touch operation area is obtained, and the touch operation area is an operable area provided by an application program on a user interface.
Optionally, the morton detection method provided by this embodiment may be applied to an android system, and the application program is an application program developed on the android system.
Optionally, the application may be any application that can run on the android system and can interact with the user.
Optionally, the touch operation area of the application program may be displayed by using a corresponding icon, for example: the functional modules which can be realized by an application program comprise shopping, games and chatting; the three modules of the application program can be displayed on the user interface by using corresponding icons or characters, so that when the user has the requirements corresponding to the three functions, the user can directly perform corresponding touch operation on the icons. For the application program, the area occupied by the three icons on the user interface is the touch operation area described in S101.
It should be noted that the touch operation area is any area provided by the application program on the user interface and available for the user to operate, and whether to display the touch operation area with an icon is determined by combining specific functions of the application program.
Optionally, the touch operation is any one of single click, double click, sliding and long press. Under different application programs, different functions can be realized when different touch operations are performed on the touch operation area, and different effects are achieved.
S102, calling and executing an operation instruction corresponding to the touch operation aiming at the touch operation;
for the user interface provided by the same application program, when the user performs different touch operations at different positions on the touch operation area, the application program calls and executes different operation instructions.
For example, a shopping application has the following functions: searching for articles, browsing similar articles, displaying article details and the like. Fig. 2 and 3 are diagrams of user interfaces provided by the application. As shown in fig. 2, the item search function provides a related keyword input area in the user interface for the user to input a search keyword. The keyword input area belongs to a part of the touch operation area of the application program, and when the user performs touch operation in the keyword input area to input keywords, the terminal calls and executes an operation instruction as a keyword writing instruction. Taking the keyword written by the user as the "suit-dress" as an example, the operation instruction called and executed is writing the "suit-dress".
Then, after writing the keyword, the user may click the search icon in fig. 2, where the search icon also belongs to a part of the touch operation area of the application program, and when the terminal obtains the click operation of the user on the search icon, the operation instruction that is called and executed is a search instruction. After the terminal executes the search instruction, all the women's dresses are displayed in a certain sequence, as shown in fig. 3, a user can click a page turning icon to browse the displayed women's dresses, the page turning icon is also a part of a touch operation area provided by the application program, and after the terminal obtains the click operation of the user on the page turning icon, the operation instruction which is called and executed is the page turning instruction. When a user is interested in a certain suit-dress in the browsing process, the icon of the suit-dress can be directly clicked, all the icons of the suit-dress also belong to the touch operation area provided by the application program, and after the terminal obtains the clicking operation of the user on the icon of the suit-dress, the operation instruction called and executed is the detail display instruction.
Optionally, an icon of "my shopping cart" is further displayed in the touch operation area of the application program, and after the user clicks the icon, the user may invoke and execute an instruction corresponding to the shopping cart detailed list.
It can be seen that, for each application program, when the touch operation area performs different touch operations, the operation instructions invoked and executed by the application program are different, and the touch operation and the corresponding operation instruction in the above example are only an example, and the invention is not limited thereto.
S103, acquiring time for executing the operation instruction, and if the time is greater than a preset threshold, judging that the operation instruction is blocked when executed.
The time for acquiring the operation instruction may be: and acquiring a start-stop time period for executing the operation instruction, and if the start-stop time period is greater than the preset threshold, judging that the operation instruction is blocked when being executed.
Continuing with the example in S102, in the above example, the instructions called and executed by the application program include: writing a keyword instruction, a search instruction, a page turning instruction and a detail display instruction.
Optionally, the time taken by the terminal to execute the write-in keyword instruction, that is, the time taken to execute the write-in keyword instruction, may be obtained, and if the time is greater than a preset threshold, it is determined that the terminal is stuck in the process of executing the write-in keyword instruction.
Correspondingly, the time spent by the terminal in executing the search command can be acquired, and if the time is greater than a preset threshold, the application program is considered to be stuck in the process of executing the search execution command.
Correspondingly, the time spent by the application program in executing the page turning instruction and the time spent in executing the detail display instruction can be obtained, the two times are respectively compared with the first preset time, and if the two times are greater than a preset threshold value, the terminal is considered to be blocked in the process of executing the two instructions.
In the stuck detection method provided by this embodiment, a touch operation on a touch operation area is obtained, and then an operation instruction corresponding to the touch operation is called and executed for the touch operation; and finally, acquiring the time for executing the operation instruction, and if the time is greater than a preset threshold value, judging that the operation instruction is blocked when executed. Compared with the prior art, the method and the device have the advantages that extra image acquisition equipment is not required to be added, whether the blocking phenomenon occurs in the execution process of the operation instruction can be accurately detected, cost is saved, and meanwhile the reliability of blocking detection is improved.
Fig. 4 is a flowchart of a second embodiment of the stuck detection method provided in the present invention, and the stuck detection method provided in this embodiment can be applied to an android system of a version below 4.1. As shown in fig. 4, as an achievable way, on the basis of the above embodiment, S103 specifically includes:
s201, acquiring a first log output before the operation instruction is executed, wherein the first log comprises first time information when the first log is output;
s202, acquiring a second log output after the operation instruction is executed, wherein the second log comprises second time information when the second log is output;
because each operation instruction is output before and after being executed, and the log includes the time when the log is output, the output log can be used for acquiring the time difference before and after the operation instruction is executed.
S203, calculating the time according to the first time information and the second time information.
The following description takes the "writing keyword instruction", "search instruction", "page turning instruction", and "detail showing instruction" in the above embodiments as examples:
for the "write keyword instruction", when the terminal receives a touch operation corresponding to a write keyword, the terminal calls and executes the write keyword instruction, before the write keyword instruction is executed, a first log is output, the time of outputting the first log is recorded in the first log, after the write keyword instruction is executed, a second log is output, the time of outputting the second log is recorded in the second log, the time of outputting the first log and the time of outputting the second log are compared, a time interval of two times is obtained, and the time interval is the time mentioned in S203.
Similarly, for the "search instruction", when the terminal receives the touch operation corresponding to the search instruction, the terminal calls and executes the search instruction, before the search instruction is executed, a first log is output, the first log records the time when the first log is output, after the search instruction is executed, a second log is output, the second log records the time when the second log is output, the time when the first log is output and the time when the second log is output are compared, so as to obtain a time interval of two times, where the time interval is the time mentioned in S203.
For the page turning instruction and the detail display instruction, the process of the method for acquiring the time for executing the corresponding operation instruction through the output logs is similar, and the detailed description is omitted here.
The stuck detection method provided by this embodiment provides an implementable manner of S103, that is, first, a first log output before the operation instruction is executed is obtained, then, a second log output after the operation instruction is executed is obtained, and finally, the start-stop time period is determined according to output times of the first log and the second log; the developer can use the mode to carry out the blockage detection on the android system with the version of 4.1 or below, and compared with the prior art, the reliability of the detection result is improved.
Fig. 5 is a flowchart of a third embodiment of the stuck detection method provided by the present invention, and the stuck detection method provided by this embodiment can be applied to an android system of a version of 4.1 or more. As shown in fig. 5, as an achievable way, on the basis of the above embodiment, S103 specifically includes:
s301, obtaining the time stamps of call backs generated when the two adjacent frames of images are drawn, and calculating the starting and stopping time periods according to the time stamps.
For example: when playing games or watching videos, a user can see a movable picture, because the terminal draws the picture again at intervals, and when drawing the picture for a certain time fails, the front and rear pictures are blocked because of discontinuity.
For another example, in the process of playing a video by a video playing application program, a terminal correspondingly draws a frame of picture every time a drawing instruction is executed, and a callback is generated every time a frame of picture is drawn, optionally, a timestamp a of the callback generated by current drawing can be recorded, a timestamp B of the callback generated by next drawing can also be recorded, a difference value between the timestamp a and the timestamp B is calculated, so that a starting and stopping time period for executing a second drawing instruction can be obtained, the starting and stopping time period is compared with a preset threshold, and when the difference value is greater than the preset threshold, a pause is considered to occur in the process of drawing the picture for the second time.
Optionally, for the android system, the line number in the program code corresponding to the morton may be located according to the call stack provided by the application program.
Alternatively, the preset threshold may be 16 ms.
The morton detection method provided by this embodiment provides another realizable manner of S103, and a developer can use this manner to perform morton detection of the android system of the version above 4.1, and obtain the number of lines of the morton code through the call stack, thereby realizing accurate positioning of the morton problem.
Fig. 6 is a schematic structural diagram of the stuck detection apparatus provided in the present invention, and as shown in fig. 6, the stuck detection apparatus provided in this embodiment includes:
an obtaining module 601, configured to obtain a touch operation on a touch operation area, where the touch operation area is an operable area provided by an application on a user interface;
an executing module 602, configured to call and execute an operation instruction corresponding to the touch operation;
the obtaining module 601 is further configured to obtain time for executing the operation instruction;
the determining module 603 is configured to determine that a stuck occurs when the operation instruction is executed if the time is greater than a preset threshold.
The apparatus for controlling virtual object drift provided in this embodiment may be used to execute the method in the embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
Optionally, the obtaining module 601 may be specifically configured to:
and acquiring a start-stop time period for executing the operation instruction, and if the start-stop time period is greater than the preset threshold, judging that the operation instruction is blocked when being executed.
Optionally, the obtaining module 601 may be specifically configured to:
acquiring a first log output before the operation instruction is executed, wherein the first log comprises first time information when the first log is output;
acquiring a second log output after the operation instruction is executed, wherein the second log comprises second time information when the second log is output;
and calculating the starting and stopping time period according to the first time information and the second time information.
The morton detection apparatus provided in this embodiment may also be used to execute the method in the embodiment shown in fig. 4, and the implementation principle and technical effect are similar, which are not described herein again.
Optionally, the obtaining module 601 is further configured to:
and acquiring the time stamps of call backs generated when the two adjacent frames of images are drawn, and calculating the starting and stopping time periods according to the time stamps.
Optionally, the obtaining module 601 is further configured to:
and positioning the line number in the program code corresponding to the card pause according to the call stack provided by the application program.
Optionally, the touch operation is any one of single click, double click, sliding and long press.
Optionally, the preset threshold is 16 ms.
The morton detection apparatus provided in this embodiment may also be used to execute the method in the embodiment shown in fig. 5, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 7 is a schematic diagram of a terminal structure provided in the present invention. As shown in fig. 7, the terminal of the present embodiment may include:
a memory 701 for storing program instructions.
The processor 702 is configured to implement the method described in any of the above embodiments when the program instructions are executed, and specific implementation principles may refer to the above embodiments, which are not described herein again.
The present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the stuck detection method of any of the above embodiments.
The invention also provides a program product comprising a computer program stored in a readable storage medium, from which the computer program can be read by at least one processor, the execution of which by the at least one processor causes a terminal to implement the above-mentioned stuck detection method.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the foregoing embodiments of the network device or the terminal device, it should be understood that the Processor may be a Central Processing Unit (CPU), or may be another general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. A stuck detection method, comprising:
acquiring touch operation on a touch operation area, wherein the touch operation area is an operable area provided by an application program on a user interface;
calling and executing an operation instruction corresponding to the touch operation aiming at the touch operation;
and acquiring the time for executing the operation instruction, and if the time is greater than a preset threshold, judging that the operation instruction is blocked when being executed.
2. The method of claim 1, wherein obtaining a time taken for executing the operation instruction, and if the time is greater than a preset threshold, determining that a stuck occurs when the operation instruction is executed comprises:
and acquiring a start-stop time period for executing the operation instruction, and if the start-stop time period is greater than the preset threshold, judging that the operation instruction is blocked when being executed.
3. The method of claim 2, wherein obtaining a start-stop time period for executing the operation instruction comprises:
acquiring a first log output before the operation instruction is executed, wherein the first log comprises first time information when the first log is output;
acquiring a second log output after the operation instruction is executed, wherein the second log comprises second time information when the second log is output;
and calculating the starting and stopping time period according to the first time information and the second time information.
4. The method of claim 2, wherein obtaining a start-stop time period for executing the operation instruction comprises:
and acquiring the time stamps of call backs generated when the two adjacent frames of images are drawn, and calculating the starting and stopping time periods according to the time stamps.
5. The method according to any one of claims 1-4, further comprising:
and positioning the line number in the program code corresponding to the card pause according to the call stack provided by the application program.
6. The method according to claim 5, wherein the touch operation is any one of single click, double click, sliding or long pressing.
7. The method of claim 5, wherein the preset threshold is 16 ms.
8. A stuck detection device, comprising:
the system comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring touch operation on a touch operation area, and the touch operation area is an operable area provided by an application program on a user interface;
the execution module is used for calling and executing an operation instruction corresponding to the touch operation;
the acquisition module is further used for acquiring the time for executing the operation instruction;
and the judging module is used for judging that the jamming occurs when the operation instruction is executed if the time is greater than a preset threshold value.
9. The apparatus of claim 8,
the obtaining module is specifically configured to obtain a first log output before the operation instruction is executed, where the first log includes first time information when the first log is output; (ii) a
Acquiring a second log output after the operation instruction is executed, wherein the second log comprises second time information when the second log is output;
and calculating the starting and stopping time period according to the first time information and the second time information.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
11. A terminal, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to implement the method of any of claims 1-7 via execution of the executable instructions.
CN201810636923.4A 2018-06-20 2018-06-20 Stuck detection method and device Pending CN110618904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810636923.4A CN110618904A (en) 2018-06-20 2018-06-20 Stuck detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810636923.4A CN110618904A (en) 2018-06-20 2018-06-20 Stuck detection method and device

Publications (1)

Publication Number Publication Date
CN110618904A true CN110618904A (en) 2019-12-27

Family

ID=68920659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810636923.4A Pending CN110618904A (en) 2018-06-20 2018-06-20 Stuck detection method and device

Country Status (1)

Country Link
CN (1) CN110618904A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111652180A (en) * 2020-06-16 2020-09-11 北京梧桐车联科技有限责任公司 Defect positioning method, device, equipment and computer readable storage medium
CN114077529A (en) * 2022-01-19 2022-02-22 荣耀终端有限公司 Log uploading method and device, electronic equipment and computer readable storage medium
CN115016665A (en) * 2021-09-14 2022-09-06 北京荣耀终端有限公司 Freeze-screen fault detection method, electronic device and computer-readable storage medium
EP4044612A4 (en) * 2020-06-03 2023-03-29 Tencent Technology (Shenzhen) Company Limited Lagging detection method and apparatus, and device and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110041121A1 (en) * 2009-08-11 2011-02-17 Sap Ag Response time measurement system and method
CN104965773A (en) * 2015-07-09 2015-10-07 网易(杭州)网络有限公司 Terminal, jamming detection method, device as well as game jamming detection method and device
US20150289314A1 (en) * 2014-04-07 2015-10-08 Qualcomm Incorporated Tune-away for multi-sim multi-standby devices
CN105677573A (en) * 2016-02-26 2016-06-15 厦门美图移动科技有限公司 Halt detection method and device and computing device
CN106547640A (en) * 2016-11-23 2017-03-29 深圳市金立通信设备有限公司 A kind of method and terminal of backstage cleaning
CN106775403A (en) * 2016-12-14 2017-05-31 北京小米移动软件有限公司 Obtain the method and device of interim card information
CN106776253A (en) * 2016-12-08 2017-05-31 武汉斗鱼网络科技有限公司 A kind of interface interim card monitoring method and device
CN106991034A (en) * 2017-04-01 2017-07-28 奇酷互联网络科技(深圳)有限公司 A kind of method and apparatus and mobile terminal for monitoring interim card
CN108170609A (en) * 2018-01-11 2018-06-15 五八有限公司 Localization method, device, computer equipment and the readable storage medium storing program for executing of program bug

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110041121A1 (en) * 2009-08-11 2011-02-17 Sap Ag Response time measurement system and method
US20150289314A1 (en) * 2014-04-07 2015-10-08 Qualcomm Incorporated Tune-away for multi-sim multi-standby devices
CN104965773A (en) * 2015-07-09 2015-10-07 网易(杭州)网络有限公司 Terminal, jamming detection method, device as well as game jamming detection method and device
CN105677573A (en) * 2016-02-26 2016-06-15 厦门美图移动科技有限公司 Halt detection method and device and computing device
CN106547640A (en) * 2016-11-23 2017-03-29 深圳市金立通信设备有限公司 A kind of method and terminal of backstage cleaning
CN106776253A (en) * 2016-12-08 2017-05-31 武汉斗鱼网络科技有限公司 A kind of interface interim card monitoring method and device
CN106775403A (en) * 2016-12-14 2017-05-31 北京小米移动软件有限公司 Obtain the method and device of interim card information
CN106991034A (en) * 2017-04-01 2017-07-28 奇酷互联网络科技(深圳)有限公司 A kind of method and apparatus and mobile terminal for monitoring interim card
CN108170609A (en) * 2018-01-11 2018-06-15 五八有限公司 Localization method, device, computer equipment and the readable storage medium storing program for executing of program bug

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4044612A4 (en) * 2020-06-03 2023-03-29 Tencent Technology (Shenzhen) Company Limited Lagging detection method and apparatus, and device and readable storage medium
CN111652180A (en) * 2020-06-16 2020-09-11 北京梧桐车联科技有限责任公司 Defect positioning method, device, equipment and computer readable storage medium
CN111652180B (en) * 2020-06-16 2023-11-17 北京梧桐车联科技有限责任公司 Defect positioning method, device, equipment and computer readable storage medium
CN115016665A (en) * 2021-09-14 2022-09-06 北京荣耀终端有限公司 Freeze-screen fault detection method, electronic device and computer-readable storage medium
CN114077529A (en) * 2022-01-19 2022-02-22 荣耀终端有限公司 Log uploading method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10499109B2 (en) Method and apparatus for providing combined barrage information
CN110618904A (en) Stuck detection method and device
US9817484B2 (en) Method for capturing screen content of mobile terminal and device thereof
CN108170342B (en) Application program interface display method and device, terminal and readable storage medium
CN106991179B (en) Data deleting method and device and mobile terminal
CN109446025B (en) Operation behavior playback method and device, electronic equipment and readable medium
US11455075B2 (en) Display method when application is exited and terminal
US11556605B2 (en) Search method, device and storage medium
CN112650433A (en) Interface screenshot method and device and electronic equipment
CN115445212A (en) Game gift bag pushing method and device, computer equipment and storage medium
CN109358927B (en) Application program display method and device and terminal equipment
CN109213668B (en) Operation recording method and device and terminal
CN109492163B (en) List display recording method and device, terminal equipment and storage medium
CN113312119B (en) Information synchronization method and device, computer readable storage medium and electronic equipment
CN112202958B (en) Screenshot method and device and electronic equipment
CN115080037A (en) Method, device, equipment and storage medium for page interaction
CN110221756B (en) Method, device, terminal and storage medium for processing application data
CN114253752A (en) Application crash processing method, device, equipment and medium
CN110134478B (en) Scene conversion method and device of panoramic scene and terminal equipment
CN112650401A (en) Information carousel method and device, electronic equipment and storage medium
CN112040257A (en) Method and device for pushing information in live broadcast room
CN110837433A (en) Performance optimization method and device and electronic equipment
CN111061633A (en) Method, device, terminal and medium for detecting first screen time of webpage
US20230418427A1 (en) Method, apparatuses, device and storage medium for video recommendation
CN110837335A (en) Method and device for displaying page tag in application, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200421

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 15 layer self unit 02

Applicant before: GUANGZHOU UC NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20191227

RJ01 Rejection of invention patent application after publication