CN108733551A - Control visiting method and device, analysis system - Google Patents

Control visiting method and device, analysis system Download PDF

Info

Publication number
CN108733551A
CN108733551A CN201710240791.9A CN201710240791A CN108733551A CN 108733551 A CN108733551 A CN 108733551A CN 201710240791 A CN201710240791 A CN 201710240791A CN 108733551 A CN108733551 A CN 108733551A
Authority
CN
China
Prior art keywords
control
current
interface
current interface
processing
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
CN201710240791.9A
Other languages
Chinese (zh)
Inventor
王静
路晔绵
王继刚
孙默
苏璞睿
应凌云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Technology
ZTE Corp
Original Assignee
Beijing University of Technology
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Technology, ZTE Corp filed Critical Beijing University of Technology
Priority to CN201710240791.9A priority Critical patent/CN108733551A/en
Publication of CN108733551A publication Critical patent/CN108733551A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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/3676Test management for coverage analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Abstract

The present invention provides a kind of control visiting method and device, analysis systems;Wherein, this method includes:Control in current interface carries out traversal processing when to application operation, wherein traversal processing includes:The control in current interface is traversed, and obtains the control type of current control in ergodic process;It is handled current control can be sent to by all alternative events corresponding with control type that current control receives;In the case that analyzing processing is completed in control in current interface, using other interfaces in addition to current interface as current interface to be traversed, and treats the control in the current interface of traversal and carry out traversal processing.Through the invention, it solves the problems, such as that application interface control analysis method code coverage is not high in the related technology, and then has achieved the effect that improve code coverage.

Description

Control visiting method and device, analysis system
Technical field
The present invention relates to information security fields, in particular to a kind of control visiting method and device, analysis system.
Background technology
Since feature-rich and carrying is convenient, smart mobile phone obtains development at full speed in recent years, it has also become Ren Mensheng Indispensable articles for use in work, wherein the most welcome with the smart mobile phone for being equipped with Android system.It is shown according to data, 2015 The fourth quarter in year, the occupation rate of market of Android system was 80.7%, considerably beyond other mobile device operation systems.In Android system The behind of prosperity and development, colourful Android application is to perform meritorious deeds never to be obliterated.However Android is applied in the same of abundant people's life When, various security risks also are brought to user, software of maliciously deducting fees, privacy steal the malice such as software, rogue software Software does not threaten privacy and the fund security of user all the time.In order to ensure safety that user uses, major security firm, Application shop provider, research institution etc. are all proposed corresponding Android application safety analysis platform, using static analysis and move Malicious act and safety problem in the technologies analysis detection Android application such as state analysis.Static Analysis Technology does not need actual motion Application program, and the source code or binary file directly against program carry out the analyses such as data flow, control stream, have higher Code coverage, however lack actual motion path and contextual information in the analysis process, it is difficult to what discriminatory analysis obtained Whether behavior can be triggered in actual operation, at the same Android application in widely used Java reflections, dynamic load code, It the technologies such as encrypts, obscure and also bringing challenge to Static Analysis Technology.Compared with Static Analysis Technology, dynamic analysis technology can be with Ensure that the behavior that detects can be triggered really in practice, Java can also be solved and the technologies such as reflect, encrypt, obscuring to static The difficulty brought is analyzed, therefore dynamic analysis technology receives more favors.
Currently, the main problem that dynamic analysis technology faces is how to trigger the behavior of application to be measured as much as possible.Peace Zhuo Yingyong starts different function moulds mostly using graphic user interface as core, by user from the interbehavior of interface control Block, different types of control can receive a variety of different types of alternative events, such as click, long-press, dragging, sliding, text Input, screen rotation etc..Flexible interactive form makes the behavior for triggering application to be measured in dynamic analysis process become more multiple It is miscellaneous.Therefore, the research and development of the automatic traversal method of interface control, for triggering the behavior of Android application as much as possible, improving dynamic Code coverage in analytic process has great importance.
Existing Android application automatic test scheme substantially uses two class skills in terms of automatic trigger is tested using behavior Art, one kind are to apply specific interface using perhaps sequence opening is tested in preset triggering, trigger specific function mould Block;One kind is the control on each interface of the tested application displaying of parsing, and operation is interacted to each control.It uses The testing scheme of first kind technology is more targeted, however the institute that can not trigger tested application is functional, and code coverage is relatively low. Using the testing scheme of the second class technology, partly Instrumentation frames is used to realize, needed for each application life At corresponding test APP packets, less efficient and occupancy resource is more;And other schemes using viewserver or The tools such as HierarchyViewer obtain current interface layout and control thereon, by Monkey or MonkeyRunner to Control sends alternative events, although additional test bag need not be generated, focuses mostly on for the operation of control and is clicking behaviour Make, very considers other kinds of interactive operation less, therefore code coverage is not still high.In addition, most testing scheme meetings It may be analyzed again in the presence of the interface and control analyzed, cause the problem that analysis efficiency is low.
For above-mentioned technical problem in the related technology, currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides a kind of control visiting method and device, analysis systems, at least to solve the relevant technologies The not high problem of middle application interface control analysis method code coverage.
According to one embodiment of present invention, a kind of control visiting method is provided, including:To working as prezone when application operation Control on face carries out traversal processing, wherein traversal processing includes:The control in current interface is traversed, and obtains ergodic process The control type of middle current control;Work as that can be sent to by all alternative events corresponding with control type that current control receives Preceding control is handled;It, will be in addition to current interface in the case that analyzing processing is completed in control in current interface It treats the control in the current interface of traversal as current interface to be traversed and carries out traversal processing in other interfaces.
Optionally, current control can will be sent to by all alternative events corresponding with control type that current control receives After part is handled, method further includes:Preserve the analysis state of current control;Wherein, the analysis state of current control includes: The alternative events of completion are analyzed.
Optionally, current control can will be sent to by all alternative events corresponding with control type that current control receives After part is handled, method further includes:Desktop is exited in application or is jumped to other applications or is jumped to other interfaces When, preserve the analysis state of current interface, wherein the analysis state of current interface includes:Unfinished analysis in current interface The control of processing.
Optionally, the analysis state for preserving current control includes:The analysis state of current control is stored in and is currently controlled In the corresponding control status list of part;Preserve current interface analysis state include:The analysis state of current interface is stored in In list of controls corresponding with current interface.
Optionally, after the analysis state for preserving current interface, method further includes:It is opened again in current interface In the case of, list of controls is obtained, the control of the unfinished analyzing processing in current interface is obtained;It obtains and does not complete analyzing processing The control status list of control;The specified alternative events of the control of unfinished analyzing processing are sent to unfinished analyzing processing Control is handled;Wherein, specified alternative events are not included in the control status list of the control of unfinished analyzing processing;? In the case that specified alternative events are complete, the control of unfinished analyzing processing is deleted from list of controls.
Optionally, after obtaining list of controls, method further includes:Judge whether list of controls is empty;In judging result In the case of for sky, current interface is returned;In the case where judging result is no, the unfinished analysis in current interface is obtained The control of processing.
Optionally, before control when to application operation in current interface carries out traversal processing, method further includes:It will work as Front interface is pressed into state stack;In the case that analyzing processing is completed in control in current interface, by current interface from state It is popped up in stack;Wherein, state stack is for preserving the interface opened in the application operation and do not exited.
Optionally, after current interface is pressed into state stack, method further includes:The start-up parameter of current interface is preserved, Wherein, start-up parameter be used for application software is improper jump out when starting state stack in the corresponding interface of stack top element;Wherein, Application software is improper to be jumped out not to be by all kinds of interactions of the control at each interface shown in application software operational process Application software caused by event is jumped out.
Optionally, in obtaining ergodic process after the control type of current control, method further includes:According to control type Generate all alternative events.
Control when optionally, to application operation in current interface carries out traversal processing:Pass through depth-first traversal Algorithm carries out traversal processing to the control in current interface.
Optionally, current control can will be sent to by all alternative events corresponding with control type that current control receives Carrying out processing includes:All alternative events current control is sent to by the UiAutomator interfaces provided to handle.
According to one embodiment of present invention, a kind of control visiting device is provided, including:First processing module is used for Control in current interface carries out traversal processing when to application operation, wherein traversal processing includes:Traverse the control in current interface Part, and obtain the control type of current control in ergodic process;The institute corresponding with control type that will can be received by current control There are alternative events to be sent to current control to be handled;Second processing module is completed for the control in current interface In the case of analyzing processing, using other interfaces in addition to current interface as current interface to be traversed, and traversal is treated Control in current interface carries out traversal processing.
Optionally, device further includes:Preserving module, the analysis state for preserving current control;Wherein, current control Analysis state includes:The alternative events of completion are analyzed.
Optionally, preserving module is additionally operable to exit desktop in application or jumps to other applications or jump to other When interface, the analysis state of current interface is preserved, wherein the analysis state of current interface includes:Not not completing in current interface The control of analyzing processing.
According to one embodiment of present invention, a kind of analysis system is provided, including:The automatic spider module of interface control, Control in current interface carries out traversal processing when for application operation, wherein traversal processing includes:It traverses in current interface Control, and obtain the control type of current control in ergodic process;It is corresponding with control type by that can be received by current control All alternative events be sent to current control and handled;And analyzing processing is completed in the control in current interface In the case of, using other interfaces in addition to current interface as current interface to be traversed, and treat in the current interface of traversal Control carry out traversal processing;Data collection module, for collecting the operation data applied in ergodic process;Data analysis mould Block, for analyzing operation data.
Optionally, the automatic spider module of interface control is additionally operable to preserve the analysis state of current control;Wherein, current control The analysis state of part includes:The alternative events of completion are analyzed.
Optionally, the automatic spider module of interface control is additionally operable to exit desktop in application or jumps to other applications Or when jumping to other interfaces, the analysis state of current interface is preserved, wherein the analysis state of current interface includes:Work as prezone The control of unfinished analyzing processing on face.
According to one embodiment of present invention, a kind of storage medium is provided, the storage medium includes the program of storage, Wherein, control visiting method described in any one of the above embodiments is executed when described program is run.
According to one embodiment of present invention, a kind of processor is provided, the processor is for running program, wherein Described program executes control visiting method described in any one of the above embodiments when running.
Through the invention, during carrying out traversal processing due to the control in the current interface when to application operation, energy It enough will can be sent to current control by all alternative events corresponding with control type that current control receives to handle, that is, examine Various alternative events are considered, and then have improved code coverage, therefore, application interface control analysis in the related technology can have been solved The not high problem of method code coverage rate.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram of the mobile terminal of control visiting method of the embodiment of the present invention;
Fig. 2 is the flow chart of control visiting method according to the ... of the embodiment of the present invention;
Fig. 3 is the structure diagram of control visiting device according to the ... of the embodiment of the present invention;
Fig. 4 is the structure diagram of analysis system according to the ... of the embodiment of the present invention;
Fig. 5 is the structure diagram of the analysis system provided according to the preferred embodiment of the present invention;
Fig. 6 is the operational process schematic diagram of the automatic spider module of interface control provided according to the preferred embodiment of the present invention.
Specific implementation mode
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.
Embodiment 1
The embodiment of the method that the embodiment of the present application 1 is provided can be in mobile terminal, terminal or similar fortune It calculates and is executed in device.For running on mobile terminals, Fig. 1 is a kind of movement of control visiting method of the embodiment of the present invention The hardware block diagram of terminal.As shown in Figure 1, mobile terminal 10 may include one or more (only showing one in figure) processing Device 102 (processor 102 can include but is not limited to the processing unit of Micro-processor MCV or programmable logic device FPGA etc.), Memory 104 for storing data and the transmitting device 106 for communication function.Those of ordinary skill in the art can be with Understand, structure shown in FIG. 1 is only to illustrate, and does not cause to limit to the structure of above-mentioned electronic device.For example, mobile terminal 10 It may also include than shown in Fig. 1 more either less components or with the configuration different from shown in Fig. 1.
Memory 104 can be used for storing the software program and module of application software, such as the control in the embodiment of the present invention Corresponding program instruction/the module of traversal method, processor 102 by operation be stored in software program in memory 104 and Module realizes above-mentioned method to perform various functions application and data processing.Memory 104 may include high speed with Machine memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or other it is non-easily The property lost solid-state memory.In some instances, memory 104 can further comprise remotely located relative to processor 102 deposit Reservoir, these remote memories can pass through network connection to mobile terminal 10.The example of above-mentioned network is including but not limited to mutual Networking, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to receive via a network or transmission data.Above-mentioned network specific example may include The wireless network that the communication providers of mobile terminal 10 provide.In an example, transmitting device 106 includes a Network adaptation Device (Network Interface Controller, NIC), can be connected with other network equipments by base station so as to it is mutual Networking is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, use In wirelessly being communicated with internet.
A kind of control visiting method running on above-mentioned mobile terminal is provided in the present embodiment, and Fig. 2 is according to this hair The flow chart of the control visiting method of bright embodiment, as shown in Fig. 2, the flow includes the following steps:
Step S202, control in current interface carries out traversal processing when to application operation, wherein traversal processing includes: The control in current interface is traversed, and obtains the control type of current control in ergodic process;By what can be received by current control All alternative events corresponding with control type are sent to current control and are handled;
Step S204 will be in addition to current interface in the case that analyzing processing is completed in the control in current interface Other interfaces as current interface to be traversed, and treat the control in the current interface of traversal and carry out traversal processing.
Through the above steps, during carrying out traversal processing due to the control in the current interface when to application operation, It can be handled current control can be sent to by all alternative events corresponding with control type that current control receives, i.e., Various alternative events are considered, and then improve code coverage, therefore, application interface control point in the related technology can be solved Analyse the not high problem of method code coverage rate.
It should be noted that above application can be the application of Android system, but it is not limited to this, such as ios systems Using.
It should be noted that in acquisition ergodic process in above-mentioned steps S202 after the control type of current control, The above method can also include:All alternative events are generated according to control type.
It should be noted that generating all alternative events according to control type can show as:According to control type, use The interface function that UiAutomator is provided generate it is all can be to alternative events that the control is operated.A such as Button The control of type can use click () function that UiAutomator is provided to generate to its clicking operation, use Its progress long press operation of longclick () function pair etc..Since control type and operable alternative events type are all limited , it is possible to the interface function of the UiAutomator used has directly been write out according to the control type judged.
It should be noted that above-mentioned steps S202 can also be shown as:By depth-first traversal algorithm to current interface On control carry out traversal processing;The control on interface is traversed by depth-first traversal algorithm, can further improve interface control The coverage rate of part element, to improve the code coverage in analytic process.
It should be noted that the control in current interface can be embodied in a manner of control tree, can also table mode To embody, however it is not limited to this.
In one embodiment of the invention, in above-mentioned steps S202 by can by current control receive and control type Corresponding all alternative events are sent to current control and handle and can show as:The interface provided by UiAutomator All alternative events are sent to current control to handle.
In one embodiment of the invention, in above-mentioned steps S202 by can by current control receive and control class The corresponding all alternative events of type are sent to after current control handled, and the above method can also include:Preserve current control The analysis state of part;Wherein, the analysis state of current control includes:The alternative events of completion are analyzed.By preserving control Analysis state makes the alternative events for having analyzed completion when analyzing above-mentioned current control when rebound current interface again It no longer analyzes, and then analysis efficiency can be improved.
In one embodiment of the invention, in above-mentioned steps S202 by can by current control receive and control class The corresponding all alternative events of type are sent to after current control handled, and the above method can also include:It is exited in application Desktop or when jumping to other applications or jumping to other interfaces, preserves the analysis state of current interface, wherein work as prezone The analysis state in face includes:The control of unfinished analyzing processing in current interface.By preserving the analysis state of current interface, So that when rebound again or when opening the current interface, without the control again to having completed analyzing processing in above-mentioned current interface It is analyzed, further increases analysis efficiency.
It should be noted that preserving the analysis state of current control can show as:The analysis state of current control is protected In the presence of in control status list corresponding with current control;Preserving the analysis state of current interface can show as:Prezone will be worked as The analysis state in face is stored in list of controls corresponding with current interface.
It should be noted that after the analysis state for preserving current interface, the above method can also include:Working as prezone In the case that face is opened again, list of controls is obtained, the control of the unfinished analyzing processing in current interface is obtained;It obtains not Complete the control status list of the control of analyzing processing;The specified alternative events of the control of unfinished analyzing processing are sent to not The control for completing analyzing processing is handled;Wherein, specified alternative events are not included in the control of the control of unfinished analyzing processing In part status list;In the case where specified alternative events are complete, by the control of unfinished analyzing processing from list of controls Middle deletion.
It should be noted that after obtaining list of controls, the above method can also include:Judge list of controls whether be It is empty;In the case where judging result is empty, current interface is returned;In the case where judging result is no, current interface is obtained On unfinished analyzing processing control.
In one embodiment of the invention, when to application operation control in current interface carry out traversal processing it Before, the above method can also include:Current interface is pressed into state stack;Analyzing processing is completed in control in current interface In the case of, current interface is popped up from state stack;Wherein, state stack, which is preserved, has opened in the application operation and has not moved back The interface gone out.
It should be noted that corresponding to the skip operation at the interface in above application to the push operation of state stack, to shape The Pop operations of state stack correspond to the return operation at the interface in above application, for example current interface indentation state stack is equivalent to It is the push operation to state stack, thus it jumps to current interface corresponding to interface, and current interface is popped up from state stack Be the equal of the Pop operations to state stack, thus it is corresponding to another interface is returned to from current interface, but it is not limited to this.
It should be noted that an above-mentioned state stack actually stack architecture, the station structure is for recording boundary in application operation Face redirects the operation returned with interface.It redirects and returns according to the appropriate matched interface of operating feature first-in last-out of stack architecture Operation.Push operation is carried out when jumping to new interface each time, and the behaviour that pops is carried out when the front interface returned by current interface Make, ensures the current interface of the stack top element corresponding application always of state stack.
It should be noted that after current interface is pressed into state stack, the above method can also include:Prezone is worked as in preservation The start-up parameter in face, wherein start-up parameter be used for application software is improper jump out when starting state stack in stack top element pair The interface answered;Wherein, application software is improper jumps out not to be by each interface shown in application software operational process Application software caused by all kinds of alternative events of control is jumped out.
Optionally, the executive agent of above-mentioned steps can be terminal, such as terminal, mobile terminal etc., but unlimited In this, such as special analysis system.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical scheme of the present invention is substantially in other words to existing The part that technology contributes can be expressed in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
A kind of control visiting device is additionally provided in the present embodiment, and the device is real for realizing above-described embodiment and preferably Mode is applied, repeating no more for explanation had been carried out.As used below, the soft of predetermined function may be implemented in term " module " The combination of part and/or hardware.Although device described in following embodiment is preferably realized with software, hardware, or The realization of the combination of software and hardware is also that may and be contemplated.
Fig. 3 is the structure diagram of control visiting device according to the ... of the embodiment of the present invention, as shown in figure 3, the device includes:
First processing module 32, control when for application operation in current interface carry out traversal processing, wherein traversal Processing includes:The control in current interface is traversed, and obtains the control type of current control in ergodic process;It can currently be controlled All alternative events corresponding with control type that part receives are sent to current control and are handled;
Second processing module 34 is connect with above-mentioned first processing module 32, complete for the control in current interface In the case of at analyzing processing, using other interfaces in addition to current interface as current interface to be traversed, and traversal is treated Current interface on control carry out traversal processing.
By above-mentioned apparatus, during carrying out traversal processing due to the control in the current interface when to application operation, It can be handled current control can be sent to by all alternative events corresponding with control type that current control receives, i.e., Various alternative events are considered, and then improve code coverage, therefore, application interface control point in the related technology can be solved Analyse the not high problem of method code coverage rate.
It should be noted that above application can be the application of Android system, but it is not limited to this, such as ios systems Using.
It should be noted that above-mentioned first processing module 32, can be also used for generating all interactive things according to control type Part.
It should be noted that above-mentioned first processing module 32 can be also used for, according to control type, using UiAutomator The interface function of offer generate it is all can be to alternative events that the control is operated.Such as the control of a Button type, Click () function that UiAutomator is provided can be used to generate to its clicking operation, using longclick () function pair its Carry out long press operation etc..Since control type and operable alternative events type are all limited, it is possible to according to judging The control type come has directly write out the interface function of the UiAutomator used.
It should be noted that above-mentioned first processing module 32, can be also used for through depth-first traversal algorithm to current Control on interface carries out traversal analyzing processing.The control on interface is traversed by depth-first traversal algorithm, can further be carried The coverage rate of high interface control element, to improve the code coverage in analytic process.
It should be noted that the control in current interface can be embodied in a manner of control tree, can also table mode To embody, however it is not limited to this.
In one embodiment of the invention, above-mentioned first processing module 32 will by the interface that UiAutomator is provided All alternative events are sent to current control and are handled.
In one embodiment of the invention, above-mentioned apparatus further includes:Preserving module is connect with above-mentioned processing module 32, Analysis state for preserving current control;Wherein, the analysis state of current control includes:The alternative events of completion are analyzed. Analysis state by preserving control to have analyzed when analyzing above-mentioned current control when rebound current interface again The alternative events of completion are no longer analyzed, and then can improve analysis efficiency.
It should be noted that above-mentioned preserving module, can be also used for exiting desktop in application or jumps to other application journey Sequence or when jumping to other interfaces, preserves the analysis state of current interface, wherein the analysis state of current interface includes:Currently The control of unfinished analyzing processing on interface.Pass through the analysis state for preserving current interface so that when rebound or opening again When the current interface, without analyzing again the control for having completed analyzing processing in above-mentioned current interface, further increase Analysis efficiency.
It should be noted that above-mentioned preserving module, can be also used for by the analysis state of current control be stored in currently In the corresponding control status list of control;And the analysis state of current interface is stored in control corresponding with current interface and is arranged In table.
It should be noted that above-mentioned first processing module 32 can be also used for the case where current interface is opened again Under, list of controls is obtained, the control of the unfinished analyzing processing in current interface is obtained;Obtain the control for not completing analyzing processing Control status list;The specified alternative events of the control of unfinished analyzing processing are sent to the control of unfinished analyzing processing It is handled;Wherein, specified alternative events are not included in the control status list of the control of unfinished analyzing processing;And In the case that specified alternative events are complete, the control of unfinished analyzing processing is deleted from list of controls.
It should be noted that above-mentioned first processing module 32, can be also used for current interface being pressed into state stack;Current In the case that analyzing processing is completed in control in interface, current interface is popped up from state stack;Wherein, state stack preserves There is the interface opened in the application operation and do not exited.
It should be noted that corresponding to the skip operation at the interface in above application to the push operation of state stack, to shape The Pop operations of state stack correspond to the return operation at the interface in above application, for example current interface indentation state stack is equivalent to It is the push operation to state stack, thus it jumps to current interface corresponding to interface, and current interface is popped up from state stack Be the equal of the Pop operations to state stack, thus it is corresponding to another interface is returned to from current interface, but it is not limited to this.
It should be noted that an above-mentioned state stack actually stack architecture, the station structure is for recording boundary in application operation Face redirects the operation returned with interface.It redirects and returns according to the appropriate matched interface of operating feature first-in last-out of stack architecture Operation.Push operation is carried out when jumping to new interface each time, and the behaviour that pops is carried out when the front interface returned by current interface Make, ensures the current interface of the stack top element corresponding application always of state stack.
It should be noted that the above-mentioned preserving module of above-mentioned apparatus can be also used for preserving the start-up parameter of current interface, Wherein, start-up parameter be used for application software is improper jump out when starting state stack in the corresponding interface of stack top element;Wherein, Application software is improper to be jumped out not to be by all kinds of interactions of the control at each interface shown in application software operational process Application software caused by event is jumped out.
Optionally, above-mentioned apparatus can be located at terminal, such as terminal, mobile terminal etc., but not limited to this, such as Special analysis system.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this:Above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with arbitrary The form of combination is located in different processors.
Embodiment 3
An embodiment of the present invention provides a kind of analysis system, Fig. 4 is the structure of analysis system according to the ... of the embodiment of the present invention Block diagram, as shown in figure 4, the device includes:
The automatic spider module 42 of interface control, control when for application operation in current interface carry out traversal processing, Wherein, traversal processing includes:The control in current interface is traversed, and obtains the control type of current control in ergodic process;It will Current control can be sent to by all alternative events corresponding with control type that current control receives to be handled;And working as In the case that analyzing processing is completed in control in front interface, using other interfaces in addition to current interface as to be traversed Current interface, and treat the control in the current interface of traversal and carry out traversal processing;
Data collection module 44 connect with the automatic spider module of above-mentioned interface control 42, is answered for collecting in ergodic process Operation data;
Data analysis module 46 is connect with above-mentioned data collection module 44, for analyzing operation data.
By above-mentioned analysis system, since control when to application operation in current interface carries out the process of traversal processing In, it can will can be sent at current control by all alternative events corresponding with control type that current control receives Reason, that is, consider various alternative events, and then improve code coverage, therefore, can solve application interface in the related technology The not high problem of control analysis method code coverage.
It should be noted that above application can be the application of Android system, but it is not limited to this, such as ios systems Using.
It should be noted that the above-mentioned automatic spider module 42 of interface control, is additionally operable to generate all friendships according to control type Mutual event.
It should be noted that the above-mentioned automatic spider module 42 of interface control, is additionally operable to, according to control type, use The interface function that UiAutomator is provided generate it is all can be to alternative events that the control is operated.A such as Button The control of type can use click () function that UiAutomator is provided to generate to its clicking operation, use Its progress long press operation of longclick () function pair etc..Since control type and operable alternative events type are all limited , it is possible to the interface function of the UiAutomator used has directly been write out according to the control type judged.
It should be noted that the above-mentioned automatic spider module 42 of interface control, is additionally operable to through depth-first traversal algorithm pair Control in current interface carries out traversal analyzing processing.The control on interface is traversed by depth-first traversal algorithm, it can be into one Step improves the coverage rate of interface control element, to improve the code coverage in analytic process.
It should be noted that the control in current interface can be embodied in a manner of control tree, can also table mode To embody, however it is not limited to this.
In one embodiment of the invention, the automatic spider module of above-mentioned interface control 42 is provided by UiAutomator Interface all alternative events be sent to current control handle.
In one embodiment of the invention, the automatic spider module 42 of above-mentioned interface control can be also used for preserving current The analysis state of control;Wherein, the analysis state of current control includes:The alternative events of completion are analyzed.By preserving control Analysis state make the interaction thing for having analyzed completion when analyzing above-mentioned current control when rebound current interface again Part is no longer analyzed, and then can improve analysis efficiency.
It should be noted that the above-mentioned automatic spider module 42 of interface control, can be also used for exiting desktop or jump in application When going to other applications or jumping to other interfaces, the analysis state of current interface is preserved, wherein the analysis of current interface State includes:The control of unfinished analyzing processing in current interface.By the analysis state for preserving current interface so that when again Secondary rebound or when opening the current interface, without dividing again the control for having completed analyzing processing in above-mentioned current interface Analysis, further increases analysis efficiency.
It should be noted that the above-mentioned automatic spider module 42 of interface control, can be also used for the analysis shape of current control State is stored in control status list corresponding with current control;And the analysis state of current interface is stored in and works as prezone In the corresponding list of controls in face.
It should be noted that the automatic spider module of above-mentioned interface control 42 can be also used for being opened again in current interface In the case of, list of controls is obtained, the control of the unfinished analyzing processing in current interface is obtained;It obtains and does not complete analyzing processing Control control status list;The specified alternative events of the control of unfinished analyzing processing are sent to unfinished analyzing processing Control handled;Wherein, specified alternative events are not included in the control status list of the control of unfinished analyzing processing; And in the case where specified alternative events are complete, the control of unfinished analyzing processing is deleted from list of controls.
It should be noted that the above-mentioned automatic spider module 42 of interface control, can be also used for current interface being pressed into state Stack;In the case that analyzing processing is completed in control in current interface, current interface is popped up from state stack;Wherein, State stack preserves the interface opened in the application operation and do not exited.
It should be noted that corresponding to the skip operation at the interface in above application to the push operation of state stack, to shape The Pop operations of state stack correspond to the return operation at the interface in above application, for example current interface indentation state stack is equivalent to It is the push operation to state stack, thus it jumps to current interface corresponding to interface, and current interface is popped up from state stack Be the equal of the Pop operations to state stack, thus it is corresponding to another interface is returned to from current interface, but it is not limited to this.
It should be noted that an above-mentioned state stack actually stack architecture, the station structure is for recording boundary in application operation Face redirects the operation returned with interface.It redirects and returns according to the appropriate matched interface of operating feature first-in last-out of stack architecture Operation.Push operation is carried out when jumping to new interface each time, and the behaviour that pops is carried out when the front interface returned by current interface Make, ensures the current interface of the stack top element corresponding application always of state stack.
It should be noted that the automatic spider module of above-mentioned interface control 42 can be also used for preserving the startup ginseng of current interface Number, wherein start-up parameter be used for application software is improper jump out when starting state stack in the corresponding interface of stack top element;Its In, application software is improper to be jumped out not to be by all kinds of friendships of the control at each interface shown in application software operational process Application software caused by mutual event is jumped out.
Embodiment 4
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can With the program code being arranged to the step of storage for executing the method in embodiment 1.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or The various media that can store program code such as CD.
Optionally, in the present embodiment, processor is executed according to stored program code in storage medium in embodiment 1 Method the step of.
Optionally, the specific example in the present embodiment can refer to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
For a better understanding of the present invention, preferred embodiment is solved below to be further explained the present invention.
The preferred embodiment of the present invention provides that a kind of interface element coverage rate is high and the higher Android of analysis efficiency applies boundary The automatic traversal method of face control:It is traversed in target mobile phones software running process on shown interface by depth-first traversal algorithm Control element, generate corresponding user's alternative events, trigger the operation of different function module in target mobile phones software, to improve Code coverage in dynamic analysis process, while the analysis state at interface and control is recorded in the analysis process, it avoids repeating Analysis improves analysis efficiency.
The preferred embodiment of the present invention additionally provides a kind of analysis system, by taking target mobile phones software as an example, target mobile phones are soft Part is installed in mobile phone simulator, starts target mobile phones software, the automatic spider module of startup interface control, and automatic traversal works as prezone Operable control in face generates corresponding user's alternative events according to control type and passes to target widget, and preserves in real time The analysis state of current interface and current control, the analysis state before restoring when running to the interface again, to protect Control on card interface can be triggered analysis, while same control being prevented to be repeated analysis.All controls at all interfaces After the completion of analysis, the operation of target end cell phone software.
A kind of automatic traversal method of Android application interface control that the preferred embodiment of the present invention provides, step are:
Analysis system in mobile phone simulator and starts target mobile phones software installation;
For each interface shown in target mobile phones software running process, the operation for entering and exiting according to it, Corresponding pop down and ejection operation are carried out in state stack;
The control tree that current interface is obtained by UiAutomator is traversed by depth-first traversal algorithm in control tree Operable control judges current control type, and sending it successively to the control using the UiAtutomator interfaces provided can connect All kinds of alternative events received preserve the analysis state of control in ergodic process, in order to judge that the analysis of current interface is later No end;
After the completion of the control of current interface has interacted, current interface is popped up from state stack, and target mobile phones are soft Part is returned from current interface;
After the completion of all controls at all interfaces of target mobile phones software are all interactive, terminate the operation of Current software.
Optionally, analysis system preserves interface by stack architecture and redirects status information, referred to as state stack, after stack architecture is advanced The operating feature gone out can the operation that redirects and returns of appropriate matched interface, the progress pop down behaviour when jumping to new interface each time Make, Pop operations is carried out when the front interface returned by current interface, to ensure that it is soft that stack top element corresponds to target mobile phones always Current operation interface of the part in mobile phone simulator, if target mobile phones software is withdrawn into desktop or jumps to other applications When, it needs to reopen target mobile phones software, if the current interface of target mobile phones software is not consistent with state stack top element at this time, Reopen the corresponding target interface of stack top element;
Optionally, analysis system needs to detect whether current interface belongs to target hand in real time according to target mobile phones software package name Machine software, when target mobile phones software is withdrawn into desktop or jumps to other applications, need to reopen target software it The interface of preceding analysis;
Optionally, the current interface is the interface that target mobile phones software current presentation is operated to user, A corresponding Activity example in Android applications;
Optionally, the operable control in the interface is that can receive the control of user alternative events in current interface, such as one The button control of a receivable user's screen taps event;
Optionally, analysis system preserves start-up parameter, non-analysis component list and its shape at interface by Hash table structure State, referred to as control Hash table, wherein data item key assignments (key) correspond to an Activity example, and data item occurrence (value) includes The operable list of controls and its state of analysis operation are not yet carried out in the start-up parameter at the interface and the interface, interface starts ginseng Number for intended application is improper jump out when starting state stack in stack top interface;Control state is for having preserved current control Analyze the user's alternative events completed, for example, for a button control user's alternative events may include clicking, long-press, dragging Deng after the completion of click event is handled, click event identifier being added in the status information of the control, when analyzing the control again The operation of click event will be no longer carried out when part.
The preferred embodiment of the present invention traverses the control element on Android application interfaces by depth-first traversal algorithm, Interface element coverage rate is can effectively improve, to improve the code coverage in dynamic analysis process;
Preferred embodiment of the present invention use state stack preserve interface redirect status information, can accurate recording interface redirect and return The operation returned;
The preferred embodiment of the present invention preserves the analysis state of interface and control in the analysis process, can effectively avoid same boundary The same control element in face is repeated analysis, improves analysis efficiency;
The preferred embodiment of the present invention jumped to accidentally in target mobile phones software running process equipment main interface or other When application interface, the interface being analyzed before target mobile phones software, the analysis before continuing can be again turned on;
The preferred embodiment of the present invention generates its receivable all alternative events and is touched according to current control type Hair, code coverage higher;
The preferred embodiment of the present invention obtains the control tree of current interface based on UiAutomator, and generates different type control The corresponding alternative events of part need not additionally develop test App packets.
The automatic traversal method of Android application interface control can be used in the dynamic analysis system of Android application, to improve dynamic The degree of automation and code coverage of analysis.Fig. 5 is the structural frames of the analysis system provided according to the preferred embodiment of the present invention Figure, as shown in figure 5, analysis system installation and operation target mobile phones software on mobile phone simulator, is traversed automatically using interface control Method triggers interface control corresponding operating, pushes the automatic running of target software, and operation is collected in target software operational process Data, target software carry out analysis to the data being collected into according to the rule being pre-designed after the completion of running and divide to user's displaying Analyse result.Analysis system is by top control module, the automatic spider module of interface control, data collection module, data analysis module sum number It is constituted according to five part of display module, wherein the automatic traversal method of Android application interface control of the present invention is applied to interface control In automatic spider module.
Top control module is responsible for receiving the intended application and preset rules file that analysis personnel transmit, and preset rules file is passed Data analysis module parsing is passed, intended application is installed and activated, extracts intended application packet name information, startup interface control is certainly Dynamic spider module, log-on data analysis module after analysis, and start result display module displaying analysis result;
The automatic spider module of interface control is responsible for parsing intended application interface and control element thereon, generates corresponding use Family alternative events simultaneously execute, while handling interface and redirect the analysis state brought and being preserved and recovered;
Data collection module is responsible for collecting the letters such as intended application sensitivity function in the process of running calls and resource uses Breath;
The data that data analysis module is responsible for collecting data collection module are analyzed, and are sentenced according to the rule preestablished Disconnected intended application whether there is sensitive behavior or safety problem;
As a result display module is responsible for being shown the analysis result of data analysis module, and analysis is showed with readable form Personnel, help analyze personnel and understand safety problem present in intended application.
The operational process of whole system is as follows:
Analysis system receives the target mobile phones software and preset rules file that analysis personnel transmit, and target mobile phones software is pacified Loaded in mobile phone simulator and starting;
It obtains target mobile phones software package name and passes to the automatic spider module of interface control, startup interface control traverses mould automatically Block, the automatic spider module of interface control parse the operable control in target mobile phones software current interface, are given birth to according to control type It is sent to target widget at relative users alternative events, triggers target widget respective handling flow, and when generation interface redirects The analysis state for redirecting front interface is preserved, is analyzed for subsequently continuing;
In target mobile phones software running process, the function call information of data collection module persistent collection target mobile phones software And resource such as uses at the information;
When the automatic spider module judgement of interface control is analyzed without new interface and control again, target end hand The operation of machine software, log-on data analysis module, the preset rules that analytical analysis personnel transmit collect data collection module Data are analyzed;
Analysis result is passed to result display module and is shown by data analysis module.
Fig. 6 is the operational process schematic diagram of the automatic spider module of interface control provided according to the preferred embodiment of the present invention, As shown in Figure 6 comprising:
1) in the Activity information indentation state stack for obtaining current presentation interface on mobile phone simulator;
2) if the corresponding information of current Activity is not present in control Hash table, it is operable to obtain current Activity List of controls is stored in control Hash table, while obtaining in the start-up parameter deposit Hash table of current Activity or updating Hash Corresponding data in table;
3) stack top element is taken out from state stack, is detected whether corresponding with the current interface on mobile phone simulator;If not right It answers, then obtains the corresponding start-up parameter of stack top element from Hash table, start the corresponding interfaces Activity of stack top element;
4) the completion list of controls of not analyzing that current interface is obtained from control Hash table (is equivalent to the control described in Fig. 6 Part list);
If 5) obtain in step 4), list is empty, and current interface is returned, and by the stack top element bullet in state stack Go out;
6) if the list obtained in step 4) is not sky, a control is therefrom extracted, judges control type, extracts control shape State generates the user's alternative events for not including in control state and is sent to the control and executes, and by the alternative events mark Know in symbol deposit control state;If the corresponding user's alternative events of current control have analyzed completion, never by current control Analysis is completed to delete in list of controls;
7) if the user's alternative events generated in step 6) cause interface to jump to new interface, after acquisition redirects In the information indentation state stack of Activity, the operation since step 2) is repeated;If the user generated in step 6) interacts thing Part causes current interface to return, then pops up the stack top element in state stack;
8) it repeats step 6) and arrives step 7), until list is empty for the non-analysis component of current interface, then return current interface It returns, and the stack top element in state stack is popped up;
9) it repeats step 3) and arrives step 8), until state stack is sky;
If 10) be empty element containing completion list of controls is not analyzed not in control Hash table, a member is therefrom extracted Element starts the corresponding interfaces Activity with the start-up parameter of preservation, repeats the operation since step 2), until control Hash Not analyzing for all elements completes list of controls as sky in table, and analysis terminates.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be with different from shown in sequence execution herein The step of going out or describing, either they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (20)

1. a kind of control visiting method, which is characterized in that including:
Control in current interface carries out traversal processing when to application operation, wherein the traversal processing includes:Work as described in traversal Control on front interface, and obtain the control type of current control in ergodic process;To can be received by the current control with The corresponding all alternative events of the control type are sent to the current control and are handled;
In the case that analyzing processing is completed in control in the current interface, by other in addition to the current interface Interface carries out the traversal processing as current interface to be traversed, and to the control in the current interface to be traversed.
2. according to the method described in claim 1, it is characterized in that, by being received by the current control with the control The corresponding all alternative events of type are sent to after the current control handled, and the method further includes:
Preserve the analysis state of the current control;Wherein, the analysis state of the current control includes:The friendship of completion is analyzed Mutual event.
3. according to the method described in claim 2, it is characterized in that, by being received by the current control with the control The corresponding all alternative events of type are sent to after the current control handled, and the method further includes:
When desktop is exited in the application or jumps to other applications or jumps to other described interfaces, preserve described current The analysis state at interface, wherein the analysis state of the current interface includes:Unfinished analyzing processing in the current interface Control.
4. according to the method described in claim 3, it is characterized in that,
The analysis state for preserving the current control includes:The analysis state of the current control is stored in and the current control In the corresponding control status list of part;
The analysis state for preserving the current interface includes:The analysis state of the current interface is stored in and works as prezone with described In the corresponding list of controls in face.
5. according to the method described in claim 4, it is characterized in that, after the analysis state for preserving the current interface, institute The method of stating further includes:
In the case where the current interface is opened again, the list of controls is obtained, is obtained in the current interface not Complete the control of analyzing processing;
Obtain the control status list of the control of the unfinished analyzing processing;
By the specified alternative events of the control of the unfinished analyzing processing be sent to the control of the unfinished analyzing processing into Row processing;Wherein, the specified alternative events are not included in the control status list of the control of the unfinished analyzing processing;
In the case where the specified alternative events are complete, the control of the unfinished analyzing processing is arranged from the control It is deleted in table.
6. according to the method described in claim 5, it is characterized in that, after obtaining the list of controls, the method is also wrapped It includes:
Judge whether the list of controls is empty;
In the case where judging result is empty, the current interface is returned;
In the case where judging result is no, the control of the unfinished analyzing processing in the current interface is obtained.
7. according to the method described in claim 1, it is characterized in that,
Before control when to application operation in current interface carries out traversal processing, the method further includes:It will be described current Interface is pressed into state stack;
In the case that analyzing processing is completed in control in the current interface, by the current interface from the state stack Middle pop-up;
Wherein, the state stack preserves the interface opened in the application operation and do not exited.
8. the method according to the description of claim 7 is characterized in that by the current interface be pressed into state stack after, it is described Method further includes:
Preserve the start-up parameter of the current interface, wherein the start-up parameter is used to jump out the application software is improper The corresponding interface of stack top element in state stack described in Shi Qidong;Wherein, the application software it is improper jump out for be not by The application software caused by all kinds of alternative events of the control at each interface shown in the application software operational process Jump out.
9. according to the method described in claim 1, it is characterized in that, in obtaining ergodic process current control control type it Afterwards, the method further includes:
All alternative events are generated according to the control type.
10. according to the method described in claim 1, it is characterized in that, control in current interface carries out time when to application operation Going through processing includes:The traversal processing is carried out to the control in the current interface by depth-first traversal algorithm.
11. according to the method described in claim 1, it is characterized in that, by being received by the current control with the control The corresponding all alternative events of type are sent to the current control and handle:
All alternative events the current control is sent to by the UiAutomator interfaces provided to handle.
12. a kind of control visiting device, which is characterized in that including:
First processing module, control when for application operation in current interface carry out traversal processing, wherein at the traversal Reason includes:The control in the current interface is traversed, and obtains the control type of current control in ergodic process;It can be described All alternative events corresponding with the control type that current control receives are sent to the current control and are handled;
Second processing module in the case of analyzing processing is completed for the control in the current interface, will be removed described Other interfaces except current interface as current interface to be traversed, and to the control in the current interface to be traversed into The row traversal processing.
13. device according to claim 12, which is characterized in that described device further includes:
Preserving module, the analysis state for preserving the current control;Wherein, the analysis state of the current control includes: The alternative events of completion are analyzed.
14. device according to claim 13, which is characterized in that the preserving module is additionally operable to exit in the application Desktop or when jumping to other applications or jumping to other described interfaces, preserves the analysis state of the current interface, In, the analysis state of the current interface includes:The control of unfinished analyzing processing in the current interface.
15. a kind of analysis system, which is characterized in that including:
The automatic spider module of interface control, control when for application operation in current interface carry out traversal processing, wherein institute Stating traversal processing includes:The control in the current interface is traversed, and obtains the control type of current control in ergodic process;It will All alternative events corresponding with the control type that can be received by the current control are sent to the current control and carry out Processing;And the control in the current interface is in the case of be completed analyzing processing, it will be in addition to the current interface Other interfaces carried out at the traversal as current interface to be traversed, and to the control in the current interface to be traversed Reason;
Data collection module, for collecting the operation data applied described in the ergodic process;
Data analysis module, for analyzing the operation data.
16. system according to claim 15, which is characterized in that the automatic spider module of interface control is additionally operable to protect Deposit the analysis state of the current control;Wherein, the analysis state of the current control includes:The interaction thing of completion is analyzed Part.
17. system according to claim 16, which is characterized in that the automatic spider module of interface control is additionally operable to When the application exits desktop or jumps to other applications or jump to other described interfaces, the current interface is preserved Analysis state, wherein the analysis state of the current interface includes:The control of unfinished analyzing processing in the current interface Part.
18. system according to claim 17, which is characterized in that the automatic spider module of interface control, be additionally operable to by The analysis state of the current control is stored in control status list corresponding with the current control;And it will be described current The analysis state at interface is stored in list of controls corresponding with the current interface.
19. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein when described program is run Perform claim requires the method described in any one of 1 to 11.
20. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Profit requires the method described in any one of 1 to 11.
CN201710240791.9A 2017-04-13 2017-04-13 Control visiting method and device, analysis system Pending CN108733551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710240791.9A CN108733551A (en) 2017-04-13 2017-04-13 Control visiting method and device, analysis system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710240791.9A CN108733551A (en) 2017-04-13 2017-04-13 Control visiting method and device, analysis system

Publications (1)

Publication Number Publication Date
CN108733551A true CN108733551A (en) 2018-11-02

Family

ID=63925016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710240791.9A Pending CN108733551A (en) 2017-04-13 2017-04-13 Control visiting method and device, analysis system

Country Status (1)

Country Link
CN (1) CN108733551A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486815A (en) * 2020-11-26 2021-03-12 北京指掌易科技有限公司 Application program analysis method and device, server and storage medium
CN113590088A (en) * 2021-07-21 2021-11-02 上海淇玥信息技术有限公司 Method and device for automatically analyzing service condition of component and electronic equipment
CN113934645A (en) * 2021-12-16 2022-01-14 深圳市明源云链互联网科技有限公司 Application testing method, system, device and computer readable storage medium
CN114297700A (en) * 2021-11-11 2022-04-08 北京邮电大学 Dynamic and static combined mobile application privacy protocol extraction method and related equipment
CN116467037A (en) * 2023-06-09 2023-07-21 成都融见软件科技有限公司 Graphic user interface work state recovery method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916225A (en) * 2010-09-02 2010-12-15 于秀山 Graphical user interface software function coverage testing method
US20120069178A1 (en) * 2010-09-17 2012-03-22 Certusview Technologies, Llc Methods and apparatus for tracking motion and/or orientation of a marking device
CN103336742A (en) * 2013-07-18 2013-10-02 北京航空航天大学 Automation software black box testing system and method based on Android
CN104461526A (en) * 2014-11-27 2015-03-25 广东欧珀移动通信有限公司 Widget traversing method and device of terminal application program
CN104598380A (en) * 2015-01-16 2015-05-06 广东欧珀移动通信有限公司 Method and system for automatic testing based on control
CN105868105A (en) * 2016-03-24 2016-08-17 厦门美图移动科技有限公司 Application traversal testing method and device, and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916225A (en) * 2010-09-02 2010-12-15 于秀山 Graphical user interface software function coverage testing method
US20120069178A1 (en) * 2010-09-17 2012-03-22 Certusview Technologies, Llc Methods and apparatus for tracking motion and/or orientation of a marking device
CN103336742A (en) * 2013-07-18 2013-10-02 北京航空航天大学 Automation software black box testing system and method based on Android
CN104461526A (en) * 2014-11-27 2015-03-25 广东欧珀移动通信有限公司 Widget traversing method and device of terminal application program
CN104598380A (en) * 2015-01-16 2015-05-06 广东欧珀移动通信有限公司 Method and system for automatic testing based on control
CN105868105A (en) * 2016-03-24 2016-08-17 厦门美图移动科技有限公司 Application traversal testing method and device, and mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486815A (en) * 2020-11-26 2021-03-12 北京指掌易科技有限公司 Application program analysis method and device, server and storage medium
CN112486815B (en) * 2020-11-26 2024-03-22 北京指掌易科技有限公司 Analysis method and device of application program, server and storage medium
CN113590088A (en) * 2021-07-21 2021-11-02 上海淇玥信息技术有限公司 Method and device for automatically analyzing service condition of component and electronic equipment
CN113590088B (en) * 2021-07-21 2023-07-21 上海淇玥信息技术有限公司 Method and device for automatically analyzing use condition of component and electronic equipment
CN114297700A (en) * 2021-11-11 2022-04-08 北京邮电大学 Dynamic and static combined mobile application privacy protocol extraction method and related equipment
CN114297700B (en) * 2021-11-11 2022-09-23 北京邮电大学 Dynamic and static combined mobile application privacy protocol extraction method and related equipment
CN113934645A (en) * 2021-12-16 2022-01-14 深圳市明源云链互联网科技有限公司 Application testing method, system, device and computer readable storage medium
CN116467037A (en) * 2023-06-09 2023-07-21 成都融见软件科技有限公司 Graphic user interface work state recovery method
CN116467037B (en) * 2023-06-09 2023-09-22 成都融见软件科技有限公司 Graphic user interface work state recovery method

Similar Documents

Publication Publication Date Title
CN108733551A (en) Control visiting method and device, analysis system
CN103891242B (en) System and method for profile based filtering of outgoing information in a mobile environment
CN106503584B (en) A kind of session content methods of exhibiting and system
CN104361085B (en) Information recommendation method, device, browser, server and system
CN103106365B (en) The detection method of the malicious application software on a kind of mobile terminal
CN106844404A (en) Message display method and terminal device
CN107169796A (en) A kind of analysis method of user behavior data, system and computer-readable recording medium
CN104794049B (en) Applied program testing method and device
CN105573733B (en) Method, web front-end and the system that browser is communicated with web front-end
CN107741902A (en) Program application detection method and program application detection means
CN109086317A (en) Risk control method and relevant apparatus
CN107370804A (en) Software application treating method and apparatus
CN104754136A (en) Method and system for managing account numbers relevant to mobile phone numbers on basis of intelligent terminals
CN106096034A (en) application log management method and device
CN107545424A (en) A kind of data monitoring processing method, device and system
CN109214178A (en) APP application malicious act detection method and device
CN103577180A (en) Data processing method and data processing device
CN106789837A (en) Network anomalous behaviors detection method and detection means
CN106326086B (en) Crucial running log extracting method and device
CN109714308A (en) The monitoring method of data, device, equipment and readable storage medium storing program for executing in the network architecture
CN106257507A (en) The methods of risk assessment of user behavior and device
CN106503080A (en) Information issuing method and device
CN105049452B (en) Switching method, device and the intelligent terminal of resource downloading mode
CN104796877B (en) The method and apparatus that a kind of anti-malice is deducted fees
CN107872428A (en) The login method and device of application program

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