Android crack log optimization method and system based on Git

An optimization method and log technology, applied in the field of Android crash log optimization based on Git, can solve problems such as being difficult to find, and achieve the effect of saving modification time and improving efficiency

Active Publication Date: 2017-05-31
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a method that can quickly locate which submitted code has a problem, aiming at the defect that it is not easy to find which version has the problem when the Android application crashes during use in the prior art. Android crash log optimization method and system for Git

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
  • Android crack log optimization method and system based on Git
  • Android crack log optimization method and system based on Git
  • Android crack log optimization method and system based on Git

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] 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, not to limit the present invention.

[0037] The nouns involved in the present invention are explained:

[0038] GIT: Distributed version control system. is a free, open source distributed version control system for agile and efficient handling of any project, small or large.

[0039] SHA: Secure Hash Algorithm is mainly applicable to Digital Signature Algorithm DSA defined in Digital Signature Standard DSS. In Git, the information of each commit ID is a SHA Hash value, which is a checksum (checksum) of the content and header information (Header) in the Git warehouse for that commit.

[0040] GRADLE: A project automation constructio...

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 discloses an Android crack log optimization method and system based on Git. The method includes: using the automatic building tool Gradle of an Android project to run a compiling script; taking the directory where currently-compiling codes are located; judging whether Git exists in the current directory or not; if so, acquiring the SHA value of the Git, wherein the SHA value corresponds to one submitted version ID; judging whether the SHA value is empty or not, and if not, converting the SHA value into codes which can be recognized by an Android system; when the operation of the Android system is abnormal, collecting logs, and adding the SHA value after the code conversion; uploading the collected logs to a server. By the method, the submission time of the problematic codes can be positioned fast, and time wasted due to the fact that the problematic version cannot be found is reduced greatly.

Description

technical field [0001] The invention relates to the field of Android development, in particular to a Git-based Android crash log optimization method and system. Background technique [0002] In the current era of rapid Android application updates, it is common for Android development to release many versions of applications to users in a very short period of time. However, if the user reports that the Android application crashes during use, and the programmer finds that the problem occurs after many versions have been released, it is impossible to determine which version of the code submission caused the problem. At this time, if you want to correct this error, you need to check all the submitted versions. Checking it down like this is a waste of time and greatly reduces work efficiency. If there is a solution that allows programmers to quickly locate which submitted code when querying a problem, then the time required to locate the problem and the time required to modify ...

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
IPC IPC(8): G06F11/30G06F11/34
CPCG06F11/302G06F11/3065G06F11/3466
Inventor 丁鹏
Owner WUHAN DOUYU NETWORK 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