Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Application program interface traversal method and device based on machine learning

An application program interface and machine learning technology, applied in the computer field, can solve the problems of incompatibility between pertinence and coverage, poor adaptability and scalability, and long detection time in the detection process, so as to improve the effectiveness and coverage of traversal and improve the The effect of clicking efficiency and improving detection efficiency

Pending Publication Date: 2022-04-15
WUHAN ANTIY MOBILE SECURITY
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These frameworks have their own implementation methods for automated clicks, but they all face the problems of long detection time for a single sample, a large number of repeated and invalid operations, incompatible detection process pertinence and coverage, and poor adaptability and scalability.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Application program interface traversal method and device based on machine learning
  • Application program interface traversal method and device based on machine learning
  • Application program interface traversal method and device based on machine learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0044] figure 1 It is a schematic flowchart of a method for traversing an application program interface based on machine learning according to an embodiment of the present invention. like figure 1 The machine learning-based API traversal method shown includes:

[0045] 100. Acquire classification information of a target application program, and select a target traver...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides an application program interface traversal method and device based on machine learning. The method comprises the steps that classification information of a target application program is acquired, and a target traversal tree model corresponding to the classification information is selected; the classification information is determined according to application attributes and / or service types; the traversal tree model is obtained by training based on a machine learning model and is used for generating an interface traversal click strategy; obtaining current page information of the target application program, and inputting the current page information into the target traversal tree model to obtain a traversal click strategy of the current page; and on the basis of the traversal click strategy, performing traversal click on the current page. According to the method, automatic and accurate traversal clicking of the application program can be achieved, the clicking efficiency is greatly improved, the method is suitable for various test and detection scenes, and the overall detection efficiency of the application can be improved by improving the traversal effectiveness and the traversal coverage degree.

Description

technical field [0001] The embodiments of the present invention relate to the field of computers, and in particular to a method and device for traversing an application program interface based on machine learning. Background technique [0002] With the popularity of smart terminals, more and more applications are developed for smart terminals, and each application needs to be tested before release. [0003] Currently commonly used testing methods include manual testing and automated traversal testing. Manual testing is to manually traverse each interface of the application under test, which consumes a lot of manpower, is inefficient, and is easy to miss and make mistakes. There are two main types of automated traversal tests. The first is the automatic traversal method. The monkey tool provided by android is commonly used. This traversal method is random traversal clicks without manual intervention, but this kind of controllability is poor, and the traversal effectiveness a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06F8/70G06K9/62G06N20/20
Inventor 潘宣辰陈柱董超
Owner WUHAN ANTIY MOBILE SECURITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products