Compatibility problem detecting method, device and apparatus

A technology for testing equipment and compatibility, which is applied in the field of communication, can solve the problems of high cost and low efficiency of compatibility testing, and achieve the effect of reducing the cost of compatibility testing and improving the efficiency of compatibility testing

Active Publication Date: 2018-11-30
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF9 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a compatibility problem detection method, device and equipment, which are used to solve the problem that the existing Android compatibility test schemes are mostly tested on a large number of real machine platforms to find hidden compatibility problems, and the compatibility test efficiency is low , the problem of high cost

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
  • Compatibility problem detecting method, device and apparatus
  • Compatibility problem detecting method, device and apparatus
  • Compatibility problem detecting method, device and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] figure 1 It is a flow chart of the compatibility problem detection method provided by Embodiment 1 of the present invention. The embodiments of the present invention aim at the existing Android compatibility testing schemes, which are mostly tested on a large number of real machine platforms to find hidden compatibility problems, and the compatibility testing efficiency is low and the cost is high, and a compatibility problem detection method is provided. . The method in this embodiment is applied to a detection device, and the detection device may be a computer device where the application program to be detected is currently deployed. In other embodiments, the detection device may also be other devices. In this embodiment, a computer device is used as an example A schematic illustration is given. Such as figure 1 As shown, the specific steps of the method are as follows:

[0048] Step S101 , when the detection device receives a compatibility detection instruction f...

Embodiment 2

[0065] figure 2 It is a flow chart of the compatibility problem detection method provided by Embodiment 2 of the present invention. On the basis of the first embodiment above, in this embodiment, the detection device includes a detection management module and a code scanning module, the detection management module is a plug-in for accessing the application program, and the code scanning module is integrated into the application program in a package-dependent manner. The detection management module is used to: receive compatibility detection instructions; the code scanning module is used to: perform static code scanning on the application program to obtain the abstract syntax tree of the application program; Scan the node objects of the application program to obtain the potential compatibility defect information of the application program; the detection management module is also used to send the potential compatibility defect information of the application program to the analy...

Embodiment 3

[0104] image 3 It is a flow chart of the compatibility problem detection method provided by Embodiment 3 of the present invention. The method in this embodiment applies an analysis platform, which may be a computer device such as a server. Such as image 3 As shown, the specific steps of the method are as follows:

[0105] In step S301, the analysis platform establishes a compatibility issue database, which includes description information of a plurality of compatibility issues.

[0106] The compatibility issue database may include descriptive information of all known compatibility issues. The description information of the compatibility problem at least includes: a compatibility problem identifier, rule information, information about associated objects, and repair suggestion information.

[0107] The associated objects at least include ROM, API level, API type and model associated with the compatibility issue.

[0108] In addition, the description information of the com...

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 invention provides a compatibility problem detecting method, device and apparatus. According to the method, when a detecting device receives a compatibility detecting instruction for an application, the detecting device performs static code scanning on the application to obtain an abstract syntax tree of the application; a node object in an abstract syntax tree is scanned according to rule information of a compatibility problem to obtain potential compatibility defect information of the application, and the compatibility defect information includes at least a compatibility problem identification; the detecting device sends the potential compatibility defect information of the application to an analysis platform, so that the analysis platform determines the compatibility problem corresponding to the compatibility defect information in a compatibility problem library and displays description information of the compatibility problem corresponding to the compatibility defect information without testing on a real machine. The compatibility testing of the application can be achieved through the static code scanning, the compatibility testing efficiency is improved, and the compatibility testing cost is reduced.

Description

technical field [0001] The present invention relates to the field of communication technologies, in particular to a compatibility problem detection method, device and equipment. Background technique [0002] Android is an open operating system jointly developed by Google and the Open Handset Alliance (OHA), and is now widely used in mobile devices such as smartphones and tablets. However, due to the characteristics of an open operating system, Android has a problem of fragmentation, that is, the same application program may have different performances and behaviors on different devices, that is, Android has a compatibility problem. [0003] Currently, the Android compatibility problem is one of the most important problems encountered in Android development. Most of the existing Android compatibility testing schemes are tested on a large number of real machine platforms to find hidden compatibility problems. The efficiency of compatibility testing is low and the cost is high...

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/36
CPCG06F11/3608
Inventor 邱恺黄琦
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products