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

Application stack information acquisition method and device, stack information analysis method and device

An acquisition method and information analysis technology, applied in the field of network information processing, can solve problems such as memory increase

Active Publication Date: 2020-10-30
云南腾云信息产业有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This stack acquisition method can correctly obtain stack information. However, since the stack is displayed as plain text information, the average layer of stack information is about 60 bytes. If the stack depth is 16 layers, then the memory size occupied by the stack It will reach 1k, and as the stack depth increases, the memory occupied will continue to increase

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 stack information acquisition method and device, stack information analysis method and device
  • Application stack information acquisition method and device, stack information analysis method and device
  • Application stack information acquisition method and device, stack information analysis method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, and do not limit the protection scope of the present invention.

[0040] figure 1 A schematic diagram of the working environment in one embodiment of the present invention is shown, as figure 1 As shown, the working environment involves the terminal 101 and the background server 102, and the terminal 101 and the background server 102 can communicate through the network. The terminal 101 can obtain relevant application stack information, and the obtained application stack information can be stored locally in the terminal 101, and the stored application stack information can be sent to the background server 102, and the background serve...

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 present invention discloses an application stack information acquisition method and apparatus, a stack information analysis method and apparatus. The application stack information acquisition method comprises the following steps: obtaining memory offset information of a current stack, wherein the memory offset information comprises a function address and a PC offset value; generating a memoryoffset structure storage file according to the obtained memory offset information; obtaining a mapping relationship between the virtual memory and the disk file, recording the mapping information according to the mapping relationship, and generating a memory mapping structure storage file, wherein the recorded mapping information comprises: a virtual memory address range, a memory file offset quantity, and a file path; and storing the memory offset structure storage file and the memory mapping structure storage file. According to embodiments of the present invention, when acquiring the application stack information, the storage capacity can be greatly reduced, so that the stack information occupies as little memory as possible, and the stack trace sampling can be obtained with minimal performance loss when the embodiments are applied to the application information tracking.

Description

technical field [0001] The present invention relates to the field of network information processing, in particular to an application stack information acquisition method, an application stack information acquisition device, a stack information analysis method and a stack information analysis device. Background technique [0002] At present, when it is necessary to collect stack information, the stack information is generally obtained through the dvm native function dvmFillInStackTraceInternal or the system standard java function Throwable::fillInstackTrace, and the obtained stack is the corresponding stack string content. [0003] This method of stack acquisition can correctly obtain stack information. However, since the stack is displayed as plain text information, the average layer of stack information is about 60 bytes. If the stack depth is 16 layers, then the memory size occupied by the stack It is about to reach 1k, and as the stack depth increases, the memory occupied...

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 Patents(China)
IPC IPC(8): G06F8/30G06F9/30
CPCG06F8/30G06F9/30145
Inventor 刘华星李昶博
Owner 云南腾云信息产业有限公司
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