Method and device for extracting log in aging test, medium and terminal

An aging test and log technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problem that it is difficult to know the cause of the abnormality in key log files, and achieve the effect of avoiding the recurrence of the abnormality

Pending Publication Date: 2021-08-06
SHANGHAI WINGTECH INFORMATION TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method, device, medium and terminal for extracting logs in an aging test, which solves the technical problem in the prior art that it is difficult to know the cause of anomalies because key log files are deleted

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
  • Method and device for extracting log in aging test, medium and terminal
  • Method and device for extracting log in aging test, medium and terminal
  • Method and device for extracting log in aging test, medium and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041]In order to make the object, technical solution and beneficial technical effects of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific implementations described in this specification are only for explaining the present invention, not for limiting the present invention.

[0042] The method for extracting logs in the aging test provided by this application can be applied to such as figure 1 shown in the application environment. The method for extracting logs in the aging test is applied to the terminal 102, wherein the terminal 102 can be, but not limited to, a mobile phone, a computer, a notebook computer, a palmtop computer, a personal digital assistant (Personal Digital Assistant, PDA), a portable media player ( Portable Media Player, PMP), navigation terminals, wearable devices, smart bracelets, pedometers and ot...

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 a method and device for extracting a log in an aging test, a medium and a terminal, and the method comprises the following steps: executing an aging test program, and generating an exception extraction notification when an exception occurs; receiving an exception extraction notification, and generating an exception log corresponding to the current exception; judging whether the abnormal log is a key abnormal log or not, and storing the abnormal log by adopting a corresponding method according to a judgment result; when the idle log storage space is smaller than a preset value, deleting the non-key abnormal logs in sequence from morning to evening according to the storage time, and retaining the key abnormal logs until the idle log storage space is larger than the preset value. According to the method, when the storage space is insufficient and the log file needs to be deleted, the key log capable of finding the abnormality generation reason is reserved, so that the space is cleaned to enable the aging test to be continuously carried out, and the abnormality generation reason can be analyzed through the key log file after the aging test is completed, and therefore, the method for preventing the abnormity from occurring again is found.

Description

【Technical field】 [0001] The invention relates to the field of terminal testing, in particular to a method, device, medium and terminal for extracting logs in aging testing. 【Background technique】 [0002] At present, terminals such as mobile phones have many test requirements before shipment, and one of the most important tests is the burn-in test. Aging test refers to the process of simulating various factors involved in the actual use conditions of the product to carry out corresponding condition strengthening experiments on the aging of the product. [0003] The terminal aging test mainly uses a specific software version to stress test the software and hardware of the terminal, so as to detect product defects early and prevent problematic terminals from flowing into the market. For example, in the Android system, the Monkey aging test method is usually used, that is, the socket communication method is used to simulate the user's key input, touch screen input, gesture in...

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/3684G06F11/3688
Inventor 王凯丰
Owner SHANGHAI WINGTECH INFORMATION 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