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

Resource calling analysis method and resource calling analysis device

An analysis method and analysis device technology, applied in the computer field, can solve the problems of false alarm leakage, low review efficiency, slow loading speed, etc., and achieve the effect of efficient and accurate analysis

Active Publication Date: 2017-04-26
ALIBABA (CHINA) CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The review efficiency of manual code review is low, and the third-party tool review has poor compatibility with some systems (such as Android system), and there are problems such as slow loading speed and low efficiency
[0003] For example, when performing memory leak detection for the Android system, among the commonly used third-party tools, after the tool valgrind (a memory leak detection tool under the linux platform) is applied to the Android system, the loading speed of the App (application program) is particularly slow, and because the Android operating system The control of the process is different from that of Linux. The detection report of valgrind is not easy to control, and there are many leaks of false positives; the tool LeakTrace needs to manually call the memory analysis API (application programming interface) provided by it in the code, which needs to be recompiled, It can only be used after packaging and deployment. It is very troublesome to use, and there is an ABI (Application Binary Interface) compatibility problem.

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
  • Resource calling analysis method and resource calling analysis device
  • Resource calling analysis method and resource calling analysis device
  • Resource calling analysis method and resource calling analysis device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] figure 1 It is a flow chart of a method for resource call analysis according to an exemplary embodiment. The method can be applied to a terminal device (such as a smart phone) or a server. Such as figure 1 As shown, the resource call analysis method according to the embodiment of the present disclosure includes:

[0052] Step S11, obtaining the call operation for the resource;

[0053] Step S12, if the call operation is acquired, judge whether the call operation satisfies the analysis condition;

[0054] Step S13, analyzing and recording the call information corresponding to the call operation when the call operation satisfies the analysis condition;

[0055] Step S14, if the information output condition is met, output the recorded calling information.

[0056] According to the embodiments of the present disclosure, it is possible to obtain invocation operations for resources, analyze and record invocation information corresponding to invocation operations satisfyi...

Embodiment 2

[0094] Figure 7 It is a block diagram of a device for resource call analysis according to an exemplary embodiment. Such as Figure 7 As shown, the resource call analysis device includes: a behavior acquisition module 71 , a judging module 72 , an analysis and recording module 73 and an output module 74 .

[0095] An acquisition module 71, configured to acquire a calling operation for a resource;

[0096] A judging module 72, configured to judge whether the calling operation satisfies the analysis condition when the calling operation is obtained;

[0097] An analysis and recording module 73, configured to analyze and record the call information corresponding to the call operation when the call operation satisfies the analysis condition;

[0098] The output module 74 is configured to output the recorded call information when the information output condition is met.

[0099] Figure 8 It is a block diagram of a device for resource call analysis according to an exemplary emb...

Embodiment 3

[0115] Figure 9 It is a block diagram of an apparatus 800 for resource call analysis according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

[0116] refer to Figure 9 , the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0117] The processing component 802 generally controls the overall operations of the device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions t...

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 relates to a resource calling analysis method and a resource calling analysis device. The method comprises the following steps: obtaining a calling operation for resources; under the condition that the calling operation is obtained, judging whether the calling operation meets analysis conditions; under the condition that the calling operation meets the analysis conditions, analyzing and recording calling information corresponding to the calling operation; and under the condition that information output conditions are met, outputting the recorded calling information. According to the resource calling analysis method and the resource calling analysis device disclosed by the embodiment of the invention, the calling information corresponding to the calling operation meeting the analysis conditions are analyzed and recorded, and the recorded calling information is output, so that the calling condition of system resources is efficiently and accurately analyzed.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a resource call analysis method and device. Background technique [0002] With the continuous development of terminal devices (such as smart phones, etc.), it is necessary to analyze and deal with various problems occurring in the system of the terminal device. The analysis of system problems (such as memory leaks, etc.) in related technologies generally adopts methods such as manual code review and third-party tool review. The review efficiency of manual code review is low, and third-party tool review has poor compatibility with some systems (such as Android system), and there are problems such as slow loading speed and low efficiency. [0003] For example, when performing memory leak detection for the Android system, among the commonly used third-party tools, after the tool valgrind (a memory leak detection tool under the linux platform) is applied to the Android sys...

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
Inventor 潘世光王乾鹏吴建平李庆燕彭伟刚林岳顾思斌潘柏宇王冀
Owner ALIBABA (CHINA) CO LTD
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