CN105677573A - Halt detection method and device and computing device - Google Patents

Halt detection method and device and computing device Download PDF

Info

Publication number
CN105677573A
CN105677573A CN201610107695.2A CN201610107695A CN105677573A CN 105677573 A CN105677573 A CN 105677573A CN 201610107695 A CN201610107695 A CN 201610107695A CN 105677573 A CN105677573 A CN 105677573A
Authority
CN
China
Prior art keywords
event
action
time point
perform
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610107695.2A
Other languages
Chinese (zh)
Other versions
CN105677573B (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.)
Xi'an BoFeng Information Technology Co.,Ltd.
Original Assignee
Xiamen Meitu Mobile 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 Xiamen Meitu Mobile Technology Co Ltd filed Critical Xiamen Meitu Mobile Technology Co Ltd
Priority to CN201610107695.2A priority Critical patent/CN105677573B/en
Publication of CN105677573A publication Critical patent/CN105677573A/en
Application granted granted Critical
Publication of CN105677573B publication Critical patent/CN105677573B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a halt detection method and device and a computing device. The halt detection method is suitable for being executed in the computing device. The method includes the following steps that a test script is operated, and the test script is suitable for executing multiple event actions in the operating process; an executable time point of the first event action and an executable time point of the second event action are acquired; the execution time difference of the event actions is acquired, and the execution time difference of the event actions is the value obtained by subtracting the executable time point of the first event action from the executable time point of the second event action; whether the execution time difference of the event actions is larger than a first threshold value or not is judged; if the execution time difference of the event actions is larger than the first threshold value, it is judged that a halt occurs, and the halt is processed.

Description

A kind of card detection method, device and computing equipment
Technical field
The present invention relates to field of mobile terminals, pause detection method, device and computing equipment particularly to one card.
Background technology
Flourish along with mobile communication technology, obtains large-scale promotion with smart mobile phone for typical mobile terminal, and increasing software becomes the important component part of cell-phone function. And the exploitation of cell phone software is the same with other software developments, test job occupies very important status in the life cycle of its whole exploitation. Along with popularizing of smart mobile phone, user is also more and more higher for the requirement of mobile phone quality, and the fluency that mobile phone runs has become the important indicator weighing Consumer's Experience.
At present, mobile terminal performance card pause detection technical scheme be divided into two classes more. One class is to utilize software to carry out monitor in real time CPU, internal memory and frame per second, and complete post processing data result in test, but this type of method often just can only can embody the fluency result of system during data compilation after a test, it is not easy to retain and reproduction Caton phenomenon, is also unfavorable for the reparation of the monitoring to program quality and late problems. Another kind of is use hardware device or the instrument such as high-speed camera, and during collecting device operating, two pictures all the time judge. But test man in the method, equipment under test and test hardware need one_to_one corresponding, testing efficiency is low, expends substantial amounts of human and material resources.
Summary of the invention
For this, the present invention provides the scheme of a kind of card detection, to try hard to solve or at least alleviate Problems existing above.
According to an aspect of the present invention, it is provided that an a kind of method for card detection, being suitable to perform in computing equipment, computing equipment is suitable to be connected with as the mobile terminal being devices under and carry out the card of mobile terminal performance and pauses detection, and the method comprises the steps. First, testing results script, this test script is suitable to perform multiple event-action in running; Obtain the first event-action and can perform time point and second event action can perform time point; Obtaining event-action and perform time difference, it is that second event action can perform time point and deducts the first event-action and can perform time point that event-action performs time difference; Judge that whether event-action performs time difference more than first threshold; If event-action performs time difference more than first threshold, then judge that card occurs, perform card and process.
Alternatively, pausing in detection method according to the card of the present invention, multiple event-action include at least one in the incoming event action being devices under, click event action, acquisition event control action and slip event action.
Alternatively, pausing in detection method according to the card of the present invention, execution card processes and includes preserving at least one in system journal, standby system information, preservation test run daily record and screenshotss.
Alternatively, pausing in detection method according to the card of the present invention, before testing results script, also including the operation cycle-index that test script is set.
Alternatively, pausing in detection method according to the card of the present invention, first event-action is the first click event action, second event action is the second click event-action, it is the time point that the first click event action can click the first object that first event-action can perform time point, and it is the time point that the second click event-action can click the second object that second event action can perform time point.
Alternatively, pausing in detection method according to the card of the present invention, the step of testing results script includes: obtain currently running number of times, and testing results foot is originally; After test script has run, currently running number of times is added and preserves in the lump.
According to a further aspect of the invention, it is provided that an a kind of card detecting device, being suitable to reside in computing equipment, computing equipment is suitable to be connected with as the mobile terminal being devices under and carry out the card of mobile terminal performance and pauses detection. This device includes test script module, the first acquisition module, the second acquisition module, judge module and Ka Dun processing module. Wherein, test script module is suitable to storage test script, and test script is suitable to perform multiple event-action in running; First acquisition module is suitable to obtain the first event-action can perform time point and second event action can perform time point; Second acquisition module is suitable to obtain event-action and performs time difference, and it is that second event action can perform time point and deducts the first event-action and can perform time point that event-action performs time difference; Judge module is suitable to judge that whether event-action performs time difference more than first threshold; Card processing module is suitable to, when event-action performs time difference more than first threshold, perform card and process.
Alternatively, pausing in detecting device according to the card of the present invention, multiple event-action include at least one in the incoming event action being devices under, click event action, acquisition event control action and slip event action.
Alternatively, pausing in detecting device according to the card of the present invention, execution card processes and includes preserving at least one in system journal, standby system information, preservation test run daily record and screenshotss.
Alternatively, pausing in detecting device according to the card of the present invention, also including arranging module, be suitable to arrange the operation cycle-index of described test script.
Alternatively, pausing in detecting device according to the card of the present invention, first event-action is the first click event action, second event action is the second click event-action, it is the time point that the first click event action can click the first object that first event-action can perform time point, and it is the time point that the second click event-action can click the second object that second event action can perform time point.
Alternatively, pausing in detecting device according to the card of the present invention, test script module is further adapted for: obtain currently running number of times, and testing results foot is originally; After test script has run, currently running number of times is added and preserves in the lump.
According to a further aspect of the invention, also provide for a kind of computing equipment, pause detecting device including according to the card of the present invention.
The technical scheme of card the detection according to the present invention, first testing results script, and the first event in running that obtains can perform time point and second event can perform time point, obtain second event action to perform time point and deduct the first event-action can to perform the difference that time point obtains be that event-action performs time difference, if this time difference is more than first threshold, then judge card occurs and performs card processing. In technique scheme, test process calculates event-action automatically and performs time difference, real-time automatic decision card pauses, once Caton phenomenon occurs, preserve system journal, standby system information by performing card process, preserve test run daily record and screenshotss etc., it is easy to maintenance and the reparation of auxiliary down-stream, saves the resource input of monitoring instrument, it is to avoid the waste of human resources.
Accompanying drawing explanation
In order to realize above-mentioned and relevant purpose; herein in conjunction with as explained below and accompanying drawing, some illustrative aspect is described; these aspects indicate the various modes that can put into practice principles disclosed herein, and all aspects and equivalence aspect thereof are intended to fall under in the scope of theme required for protection. Reading detailed description below in conjunction with the drawings, above-mentioned and other purpose, feature and the advantage of the disclosure will be apparent from. Throughout the disclosure, identical accompanying drawing labelling generally refers to identical parts or element.
Fig. 1 illustrates the schematic diagram of computing equipment 100 according to an embodiment of the invention;
Fig. 2 illustrates the flow chart of card detection method 200 according to an embodiment of the invention; And
Fig. 3 illustrates that card according to an embodiment of the invention pauses the schematic diagram of detecting device 300.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings. Although accompanying drawing showing the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should do not limited by embodiments set forth here. On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 is the block diagram of Example Computing Device 100. In basic configuration 102, computing equipment 100 typically comprises system storage 106 and one or more processor 104. Memory bus 108 may be used for the communication between processor 104 and system storage 106.
Depend on desired configuration, processor 104 can be any kind of process, includes but not limited to: microprocessor ((μ P), microcontroller (μ C), digital information processor (DSP) or their any combination. Processor 104 can include the such as high-speed cache of one or more rank of on-chip cache 110 and second level cache 112 etc, processor core 114 and depositor 116. The processor core 114 of example can include arithmetic and logical unit (ALU), floating-point unit (FPU), digital signal processing core (DSP core) or their any combination. The Memory Controller 118 of example can use together with processor 104, or in some implementations, Memory Controller 118 can be an interior section of processor 104.
Depending on desired configuration, system storage 106 can be any type of memorizer, includes but not limited to: volatile memory (such as RAM), nonvolatile memory (such as ROM, flash memory etc.) or their any combination. System storage 106 can include operating system 120, one or more application 122 and routine data 124. In some embodiments, application 122 may be arranged to utilize routine data 124 to be operated on an operating system.
Computing equipment 100 can also include contributing to the interface bus 140 communicated from various interface equipments (such as, outut device 142, Peripheral Interface 144 and communication equipment 146) to basic configuration 102 via bus/interface controller 130. The outut device 142 of example includes Graphics Processing Unit 148 and audio treatment unit 150. They can be configured to contribute to communicating via the various external equipments of one or more A/V port 152 with such as display or speaker etc. Example Peripheral Interface 144 can include serial interface controller 154 and parallel interface controller 156, they can be configured to contribute to via one or more I/O port 158 and such as input equipment (such as, keyboard, mouse, pen, voice-input device, touch input device) or the external equipment of other peripheral hardwares (such as printer, scanner etc.) etc communicate. The communication equipment 146 of example can include network controller 160, and it can be arranged to is easy to via one or more COM1 164 and one or more other computing equipment 162 communications by network communication link.
Network communication link can be an example of communication media. Communication media generally can be presented as the computer-readable instruction in the modulated data signal of such as carrier wave or other transmission mechanisms etc, data structure, program module, and can include any information delivery media. " modulated data signal " can such signal, the change of one or more or it in its data set can encode the mode of information in the signal and carry out. As nonrestrictive example, communication media can include the wire medium of such as cable network or private line network etc, and such as sound, radio frequency (RF), microwave, infrared (IR) or other wireless medium are at interior various wireless mediums. Term computer-readable medium used herein can include both storage medium and communication media.
Computing equipment 100 can be implemented as a part for small size portable (or mobile) electronic equipment, and these electronic equipments can be such as cell phone, personal digital assistant (PDA), personal media player equipment, wireless network browsing apparatus, individual's helmet, application specific equipment or the mixing apparatus that can include any of the above function. Computing equipment 100 is also implemented as including the personal computer of desktop computer and notebook computer configuration. In certain embodiments, computing equipment 100 is configured to perform pause detection method according to the card of the present invention. Application 122 cards included according to the present invention pause detecting device 300.
Fig. 2 illustrates the flow chart of card detection method 200 according to an embodiment of the invention. Card detection method 200 is suitable to perform in computing equipment (such as the computing equipment 100 shown in Fig. 1).
Mobile terminal is smart mobile phone, panel computer etc. such as, the fluency of its operation can be tested before dispatching from the factory, such as send several SMS or MMS verifying its transmitting-receiving success rate and stability, continuously perform repeatedly calling, repeatedly file system be added or conflict test in deletion action, multitask multi-process situation and limit test, it is connected with tested mobile terminal by computing equipment, carries out performance card and pause detection.
At present, being most widely used of android system, all kinds of softwares based on android system exploitation are also too numerous to enumerate. For android system, technical scheme is described below. First, based on android system, design corresponding test case, based on Uiautomator test frame, write the test script for card detection by Auto instrument. By testing results script in computing equipment, test is the operation fluency of the mobile terminal that such as PC end is connected with computing equipment.
As in figure 2 it is shown, method 200 starts from step S210. Before step S210 starts, the operation cycle-index of test script is set. In step S210, first currently running number of times is obtained, and testing results script, this test script performs multiple event-action in running, and plurality of event-action includes at least one in the incoming event action being devices under, click event action, acquisition event control action and slip event action. Such as, test the operation adding contact person at telephone directory, automatically enter the title of the contact person to add, and click interpolation contact person's button, preserve contact person, the content checking in contact person's text box of sliding. After test script has run, currently running number of times is added and preserves in the lump.
Subsequently, in step S220, obtain the first event-action and can perform time point and second event action can perform time point. Wherein, first event-action is the first click event action, second event action is the second click event-action, it is the time point that the first click event action can click the first object that first event-action can perform time point, and it is the time point that the second click event-action can click the second object that second event action can perform time point. In the present embodiment, first object is " setting " icon, second object is " about mobile phone " option, first event-action is click the action of " setting " icon, second event action is the action clicking " about mobile phone " option, then the first event-action can perform time point for clicking the time point of " setting " icon, and second event action can perform time point for clicking the time point of " about mobile phone " option. Here, can clicking and represent once be devices under on interface occurring the object specified, namely showing to click, current time is this event-action can perform time point.
First event-action can perform time point and second event action can perform time point and utilize Auto class to obtain and record. Auto class is a UiautomatorAPI tool-class through secondary encapsulation, and wherein the method for each operation UI control obtains and record the current system moment. Auto class record can be clicked the current system moment of " setting " icon and can perform time point as the first event-action, and record can be clicked the current system moment of " about mobile phone " option and can perform time point as second event action. Key code is as follows:
In step S230, obtaining event-action and perform time difference, wherein event-action performs time difference is that second event action can perform time point and deducts the first event-action and can perform time point. In the present embodiment, event-action performs time difference is can click the time point of " about mobile phone " option to deduct the difference of the time point that can click " setting " icon. In step S220, the first previously recorded event-action can performing time point and second event action can perform time point and pass to LogTimeGetter class, LogTimeGetter class preserves above-mentioned time point and carries out the calculating of time difference. At LogTimeGetter apoplexy due to endogenous wind, first event-action can perform time point and the action of the second time can perform time point form and be represented by " yyyy-MM-ddHH:mm:ss.sss ", wherein yyyy represents the time, MM represents month, dd represents the date, HH representative hour, mm representative minute, ss represents the second, and sss represents millisecond. Event-action performs time difference form and is represented by " xx divides xx second xxx millisecond ". Then the first event-action can perform time point for " 2016-01-1610:12:33.127 ", second event action can perform time point for " 2016-01-1610:12:35.289 ", then event-action performs time difference is " 0 point and 2 seconds 162 milliseconds ", namely 2162 milliseconds.
Key code is as follows:
In step S240, it is judged that whether event-action performs time difference more than first threshold. In the present embodiment, it be can click the time point of " about mobile phone " option to deduct the difference of the time point that can click " settings " icon that event-action performs time difference, then setting needs setting in Case script of first threshold, and key code is as follows:
Wherein " 2*1000 " is the first threshold preset, namely 2000 milliseconds. And event-action execution time difference is 2162 milliseconds, more than first threshold 2000 milliseconds, therefore judge that event-action performs the time more than first threshold.
In step s 250, if event-action performs time difference more than first threshold, then judge that card occurs, perform card and process. Wherein, card processes and includes preserving at least one in system journal, standby system information, preservation test run daily record and screenshotss. In the present embodiment, when event-action performs the time more than first threshold, time namely more than 2000 milliseconds, then illustrate to occur in that Caton phenomenon, LogManager class extract the on-the-spot useful information of card, perform card and process.
Fig. 3 illustrates the schematic diagram of card detecting device 300 according to an embodiment of the invention. This device includes: test script module the 310, first acquisition module the 320, second acquisition module 330, judge module 340 and Ka Dun processing module 350. This device also includes arranging module (not shown), before being positioned at test script module 310. Module is set and is suitable to arrange the operation cycle-index of test script.
Test script module 310 is suitable to storage test script, obtain currently running number of times, and testing results script, wherein test script performs multiple event-action in running, and plurality of event-action includes at least one in the incoming event action being devices under, click event action, acquisition event control action and slip event action. Test script module 310 is suitable to after test script has run, and is added by currently running number of times and preserves in the lump.
First acquisition module 320 is suitable to obtain the first event-action can perform time point and second event action can perform time point. Wherein, first event-action is the first click event action, second event action is the second click event-action, it is the time point that the first click event action can click the first object that first event-action can perform time point, and it is the time point that the second click event-action can click the second object that second event action can perform time point. In the present embodiment, first object is " setting " icon, second object is " about mobile phone " option, first event-action is click the action of " setting " icon, second event action is the action clicking " about mobile phone " option, then the first event-action can perform time point for clicking the time point of " setting " icon, and second event action can perform time point for clicking the time point of " about mobile phone " option. Here, can clicking and represent once be devices under on interface occurring the object specified, namely showing to click, current time is this event-action can perform time point.
Second acquisition module 330 is suitable to obtain event-action and performs time difference, and wherein event-action performs time difference is that second event action can perform time point and deducts the first event-action and can perform time point. In the present embodiment, it is can click the time point of " about mobile phone " option to deduct the difference of the time point that can click " setting " icon that event-action performs time difference, and its value is 2162 milliseconds.
Judge module 340 is suitable to judge that whether event-action performs time difference more than first threshold. In the present embodiment, first threshold is 2000 milliseconds, then event-action performs time difference more than first threshold.
Card processing module 350 is suitable to work as event-action and performs time difference more than first threshold, then judge card occur, perform card and process. Wherein, card processes and includes preserving at least one in system journal, standby system information, preservation test run daily record and screenshotss. In the present embodiment, event-action performs the time more than first threshold, illustrates to occur in that Caton phenomenon, carries out card and processes.
About concrete steps and the embodiment of card detection, detailed disclosure in based on the description of Fig. 2, repeat no more herein.
Pause in detection method at existing card, often can only after a test disposal data time could embody result, inconvenience retains and reproduction Caton phenomenon, it is also possible to occurs that testing efficiency is low, causes too much problem of resource waste. Card according to embodiments of the present invention pauses detection technique scheme, first testing results script, and the first event in running that obtains can perform time point and second event can perform time point, obtain second event action to perform time point and deduct the first event-action can to perform the difference that time point obtains be that event-action performs time difference, if this time difference is more than first threshold, then judge card occurs and performs card processing. In technique scheme, test process calculates event-action automatically and performs time difference, real-time automatic decision card pauses, once Caton phenomenon occurs, preserve system journal, standby system information by performing card process, preserve test run daily record and screenshotss etc., it is easy to maintenance and the reparation of auxiliary down-stream, saves the resource input of monitoring instrument, it is to avoid the waste of human resources.
B10. the device as described in B7, also includes arranging module, is suitable to arrange the operation cycle-index of described test script.
B11. the device as described in B8, wherein said first event-action is the first click event action, second event action is the second click event-action, it is the time point that the first click event action can click the first object that first event-action can perform time point, and it is the time point that the second click event-action can click the second object that second event action can perform time point.
B12. the device as described in B10, described test script module is further adapted for:
Obtain currently running number of times, and run described test script;
After described test script has run, currently running number of times is added and preserves in the lump.
In description mentioned herein, describe a large amount of detail. It is to be appreciated, however, that embodiments of the invention can be put into practice when not having these details. In some instances, known method, structure and technology it are not shown specifically, in order to do not obscure the understanding of this description.
Similarly, it is to be understood that, one or more in order to what simplify that the disclosure helping understands in each inventive aspect, herein above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or descriptions thereof sometimes. But, the method for the disclosure should be construed to and reflect an intention that namely the present invention for required protection requires than the feature more features being expressly recited in each claim. More precisely, as the following claims reflect, inventive aspect is in that all features less than single embodiment disclosed above. Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, wherein each claim itself as the independent embodiment of the present invention.
The module of the equipment that those skilled in the art are to be understood that in example disclosed herein or unit or assembly can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned in one or more equipment different from the equipment in this example. Module in aforementioned exemplary can be combined as a module or be segmented into multiple submodule in addition.
Those skilled in the art are appreciated that, it is possible to carry out the module in the equipment in embodiment adaptively changing and they being arranged in one or more equipment different from this embodiment. Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition. Except at least some in such feature and/or process or unit excludes each other, it is possible to adopt any combination that all processes or the unit of all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment are combined. Unless expressly stated otherwise, each feature disclosed in this specification (including adjoint claim, summary and accompanying drawing) can be replaced by the alternative features providing purpose identical, equivalent or similar.
In addition, those skilled in the art it will be appreciated that, although embodiments more described herein include some feature included in other embodiments rather than further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and form different embodiments. Such as, in the following claims, the one of any of embodiment required for protection can mode use in any combination.
Additionally, some in described embodiment be described as at this can by the processor of computer system or the method implemented by other device performing described function or the combination of method element. Therefore, the processor with the necessary instruction for implementing described method or method element is formed for implementing the method or the device of method element. Additionally, the element described herein of device embodiment is the example of following device: this device is for implementing the function performed by the element of the purpose in order to implement this invention.
As used in this, unless specifically stated so, use ordinal number " first ", " second ", " the 3rd " etc. to describe plain objects and be merely representative of the different instances relating to similar object, and be not intended to imply the object being so described must have the time upper, spatially, sequence aspect or in any other manner to definite sequence.
Although the embodiment according to limited quantity describes the present invention, but benefits from above description, those skilled in the art understand, in the scope of the present invention thus described, it can be envisaged that other embodiments. Additionally, it should be noted that the language used in this specification is primarily to purpose that is readable and that instruct and selects, rather than select to explain or limit the theme of the present invention. Therefore, when not necessarily departing from the scope of the appended claims and spirit, many modifications and changes will be apparent from for those skilled in the art. For the scope of the present invention, disclosing that the present invention is done is illustrative and not restrictive, and it is intended that the scope of the present invention be defined by the claims appended hereto.

Claims (10)

1. a card detection method, is suitable to perform in computing equipment, and the method includes:
Testing results script, described test script is suitable to perform multiple event-action in running;
Obtain the first event-action and can perform time point and second event action can perform time point;
Obtaining event-action and perform time difference, it is that second event action can perform time point and deducts the first event-action and can perform time point that described event-action performs time difference;
Judge that whether described event-action performs time difference more than first threshold;
If event-action performs time difference more than first threshold, then judge that card occurs, perform card and process.
2. the method for claim 1, wherein said multiple event-action include at least one in the incoming event action being devices under, click event action, acquisition event control action and slip event action.
3. the method for claim 1, wherein said execution card pauses to process and includes preserving at least one in system journal, standby system information, preservation test run daily record and screenshotss.
4. the method for claim 1, also included the operation cycle-index arranging described test script before described testing results script.
5. method as claimed in claim 2, wherein said first event-action is the first click event action, second event action is the second click event-action, it is the time point that the first click event action can click the first object that first event-action can perform time point, and it is the time point that the second click event-action can click the second object that second event action can perform time point.
6. method as described in claim 4, the step of described testing results script includes:
Obtain currently running number of times, and run described test script;
After described test script has run, currently running number of times is added and preserves in the lump.
7. a card detecting device, is suitable to reside in computing equipment, and described device includes:
Test script module, is suitable to storage test script, and described test script is suitable to perform multiple event-action in running;
First acquisition module, is suitable to obtain the first event-action and can perform time point and second event action can perform time point;
Second acquisition module, is suitable to obtain event-action and performs time difference, and it is that second event action can perform time point and deducts the first event-action and can perform time point that described event-action performs time difference;
Judge module, is suitable to judge that whether described event-action performs time difference more than first threshold;
Card processing module, is suitable to, when event-action performs time difference more than first threshold, perform card and process.
8. device as claimed in claim 7, wherein said multiple event-action include at least one in the incoming event action being devices under, click event action, acquisition event control action and slip event action.
9. device as claimed in claim 7, described execution card pauses to process and includes preserving at least one in system journal, standby system information, preservation test run daily record and screenshotss.
10. a computing equipment, has card detecting device as claimed in any one of claims 7-9.
CN201610107695.2A 2016-02-26 2016-02-26 A kind of Caton detection method, device and calculate equipment Active CN105677573B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610107695.2A CN105677573B (en) 2016-02-26 2016-02-26 A kind of Caton detection method, device and calculate equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610107695.2A CN105677573B (en) 2016-02-26 2016-02-26 A kind of Caton detection method, device and calculate equipment

Publications (2)

Publication Number Publication Date
CN105677573A true CN105677573A (en) 2016-06-15
CN105677573B CN105677573B (en) 2019-01-22

Family

ID=56305163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610107695.2A Active CN105677573B (en) 2016-02-26 2016-02-26 A kind of Caton detection method, device and calculate equipment

Country Status (1)

Country Link
CN (1) CN105677573B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038107A (en) * 2017-03-09 2017-08-11 武汉斗鱼网络科技有限公司 A kind of method and device for obtaining application interim card information
CN107656866A (en) * 2017-09-06 2018-02-02 厦门美图移动科技有限公司 A kind of method, mobile terminal and computing device tested using fluency
CN107741897A (en) * 2017-09-11 2018-02-27 广州市百果园信息技术有限公司 Application program smoothness degree detection method, device and intelligent terminal
WO2018103245A1 (en) * 2016-12-08 2018-06-14 武汉斗鱼网络科技有限公司 Method, device, and readable storage medium for monitoring interface lag
CN108270635A (en) * 2016-12-30 2018-07-10 亿度慧达教育科技(北京)有限公司 Network interim card judgment method, device and online course live broadcast system
CN108345524A (en) * 2017-01-22 2018-07-31 腾讯科技(深圳)有限公司 Method for monitoring application program and Application Monitoring device
CN108509348A (en) * 2018-06-20 2018-09-07 厦门美图移动科技有限公司 A kind of test method and mobile terminal of system aging
CN108519923A (en) * 2018-03-01 2018-09-11 北京三快在线科技有限公司 A kind of interim card detection method and device and electronic equipment
CN108762522A (en) * 2018-05-29 2018-11-06 努比亚技术有限公司 A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN110618904A (en) * 2018-06-20 2019-12-27 广州优视网络科技有限公司 Stuck detection method and device
CN110990243A (en) * 2019-11-29 2020-04-10 天津网之易创新科技有限公司 Caton analysis method and device, storage medium and computing equipment
CN111124868A (en) * 2018-10-30 2020-05-08 广州汽车集团股份有限公司 Fluency determination method and device, electronic equipment and storage medium
CN115016665A (en) * 2021-09-14 2022-09-06 北京荣耀终端有限公司 Freeze-screen fault detection method, electronic device and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11272502A (en) * 1998-03-24 1999-10-08 Canon Inc Software reliability evaluation device, its method and storage medium
CN101876938A (en) * 2009-11-11 2010-11-03 北京神州泰岳软件股份有限公司 Message queue-based application software response time measuring method
CN104869203A (en) * 2015-06-18 2015-08-26 广东欧珀移动通信有限公司 Unsmooth running testing method and device, and testing equipment
CN104991855A (en) * 2015-06-16 2015-10-21 广州华多网络科技有限公司 Processing method and device for interface lag

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11272502A (en) * 1998-03-24 1999-10-08 Canon Inc Software reliability evaluation device, its method and storage medium
CN101876938A (en) * 2009-11-11 2010-11-03 北京神州泰岳软件股份有限公司 Message queue-based application software response time measuring method
CN104991855A (en) * 2015-06-16 2015-10-21 广州华多网络科技有限公司 Processing method and device for interface lag
CN104869203A (en) * 2015-06-18 2015-08-26 广东欧珀移动通信有限公司 Unsmooth running testing method and device, and testing equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MARKZHAI: "BlockCanary-轻松找出Android App界面卡顿元凶", 《WWW.JIANSHU.COM/P/CD7FC77405AC》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018103245A1 (en) * 2016-12-08 2018-06-14 武汉斗鱼网络科技有限公司 Method, device, and readable storage medium for monitoring interface lag
CN108270635A (en) * 2016-12-30 2018-07-10 亿度慧达教育科技(北京)有限公司 Network interim card judgment method, device and online course live broadcast system
CN108345524A (en) * 2017-01-22 2018-07-31 腾讯科技(深圳)有限公司 Method for monitoring application program and Application Monitoring device
CN108345524B (en) * 2017-01-22 2021-12-14 腾讯科技(深圳)有限公司 Application program monitoring method and application program monitoring device
CN107038107B (en) * 2017-03-09 2020-03-17 武汉斗鱼网络科技有限公司 Method and device for acquiring application blocking information
CN107038107A (en) * 2017-03-09 2017-08-11 武汉斗鱼网络科技有限公司 A kind of method and device for obtaining application interim card information
CN107656866A (en) * 2017-09-06 2018-02-02 厦门美图移动科技有限公司 A kind of method, mobile terminal and computing device tested using fluency
CN107741897A (en) * 2017-09-11 2018-02-27 广州市百果园信息技术有限公司 Application program smoothness degree detection method, device and intelligent terminal
CN108519923A (en) * 2018-03-01 2018-09-11 北京三快在线科技有限公司 A kind of interim card detection method and device and electronic equipment
CN108762522A (en) * 2018-05-29 2018-11-06 努比亚技术有限公司 A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN110618904A (en) * 2018-06-20 2019-12-27 广州优视网络科技有限公司 Stuck detection method and device
CN108509348B (en) * 2018-06-20 2021-12-07 厦门美图移动科技有限公司 System aging test method and mobile terminal
CN108509348A (en) * 2018-06-20 2018-09-07 厦门美图移动科技有限公司 A kind of test method and mobile terminal of system aging
CN111124868A (en) * 2018-10-30 2020-05-08 广州汽车集团股份有限公司 Fluency determination method and device, electronic equipment and storage medium
CN110990243A (en) * 2019-11-29 2020-04-10 天津网之易创新科技有限公司 Caton analysis method and device, storage medium and computing equipment
CN110990243B (en) * 2019-11-29 2023-08-11 天津网之易创新科技有限公司 Method, device, storage medium and computing equipment for katon analysis
CN115016665A (en) * 2021-09-14 2022-09-06 北京荣耀终端有限公司 Freeze-screen fault detection method, electronic device and computer-readable storage medium
CN115016665B (en) * 2021-09-14 2023-04-21 北京荣耀终端有限公司 Frozen screen fault detection method, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN105677573B (en) 2019-01-22

Similar Documents

Publication Publication Date Title
CN105677573A (en) Halt detection method and device and computing device
CN106445292B (en) Method and system for managing application programs in different body modes
CN102708050B (en) Method and system for testing mobile application
US20130117855A1 (en) Apparatus for automatically inspecting security of applications and method thereof
CN107145782B (en) Abnormal application program identification method, mobile terminal and server
CN107943997B (en) Remote website evidence obtaining method based on Google browser, terminal device and storage medium
CN109901881B (en) Plug-in loading method and device of application program, computer equipment and storage medium
CN107370804B (en) Software application processing method and device
CN105302455A (en) Interface operation method and terminal
CN105376719A (en) Information pushing method and device
CN104063071A (en) Content input method and device
CN111723002A (en) Code debugging method and device, electronic equipment and storage medium
CN109582377A (en) BIOS option amending method, device, equipment and storage medium
CN106095660B (en) The quality control method and device of application
CN110489679B (en) Browser kernel processing method and device and storage medium
CN104915228A (en) Application program language setting method and device
CN107102937B (en) User interface testing method and device
CN111045934A (en) Page analysis method, device, client, storage medium and electronic equipment
CN108549557A (en) Using storing method, terminal and storage medium
CN104424198A (en) Method and device for acquiring page display speed
CN107145375B (en) Kernel loading method, device, system, user terminal and storage medium
CN108009084B (en) Testing method, device and system for hybrid mobile application
CN116112457A (en) Method, device, computer equipment and storage medium for notifying message
CN111435328A (en) Application testing method and device, electronic equipment and readable storage medium
CN113535020B (en) Method, apparatus, device, medium and product for generating application icons

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231218

Address after: 710000, No.1, Middle Section of Laowei Road, Xihejia Village, Beilin District, Xi'an City, Shaanxi Province

Patentee after: Xi'an Zeyun Network Co.,Ltd.

Address before: 361009 112a, Pioneer Building, Pioneer Park, torch hi tech Zone, Xiamen City, Fujian Province

Patentee before: Xiamen Meitu Mobile Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240723

Address after: G1-004, 7th Floor, Xixian Talent Building, Century Avenue, Fengdong New City, Xi'an City, Shaanxi Province 710000

Patentee after: Xi'an BoFeng Information Technology Co.,Ltd.

Country or region after: China

Address before: 710000, No.1, Middle Section of Laowei Road, Xihejia Village, Beilin District, Xi'an City, Shaanxi Province

Patentee before: Xi'an Zeyun Network Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right