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

A method and system for dynamically storing logs based on test conditions

A technology for dynamic storage and test conditions, applied in memory systems, memory address/allocation/relocation, instruments, etc., to solve problems such as inability to accommodate valid log information and invalid tests

Active Publication Date: 2017-12-12
威海神舟信息技术研究院有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a method and system for dynamically storing logs based on test conditions in view of the above-mentioned defects of the prior art. There is no way to delete the test log. When the storage space is full and cannot accommodate valid log information, the test is invalid.

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
  • A method and system for dynamically storing logs based on test conditions
  • A method and system for dynamically storing logs based on test conditions
  • A method and system for dynamically storing logs based on test conditions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the object, technical solution and advantages of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0038] See figure 1 , figure 1 It is a flowchart of a preferred embodiment of the method for dynamically storing logs based on test conditions in the present invention. Such as figure 1 As shown, the method for dynamically storing logs based on test conditions comprises the following steps:

[0039] Step S100 , the mobile terminal receives an operation instruction from a tester, and sets a trigger condition for controlling log storage, a cache space size of a log buffer, and a storage capacity of a log storage area.

[0040] In the embodiment of the present invention, the tester need...

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 system for dynamically storing a log based on test conditions. The method comprises the steps that a mobile terminal receives an operation instruction of a test worker, and a triggering condition for controlling storage of the log, the size of buffering space of a log buffering area and the storage capacity of a log storage area are set; when the triggering condition is not triggered, log information is sent to the log buffering area to be stored; when the triggering condition is triggered, the log information stored in the log buffering area is sent to the log storage area to be stored, and the log information output after the triggering condition is triggered is sent to the log storage area to be stored. According to the method and system for dynamically storing the log based on test conditions, when the mobile terminal is tested by the test worker, the situation that the mobile terminal can not store the effective log information due to limited capacity of the log buffering area when a problem reoccurs is avoided, and the effectiveness of the test is greatly improved.

Description

technical field [0001] The invention relates to the field of mobile terminals, in particular to a method and system for dynamically storing logs based on test conditions. Background technique [0002] In the process of mobile terminal development, some problems that need to be tested by testers for a long time or many times are often encountered; for these problems, developers need to analyze and solve the problems according to the log information. In the prior art, the log is often opened and stored, and reproduced, and the log information is fed back to the developer during the reproduction. However, the storage space of the mobile terminal is limited. When testing for a long time, there will be more and more log information. When the problem is reproduced, because the storage space is full and cannot accommodate valid log information, this test is invalid. [0003] Therefore, the prior art still needs to be improved and developed. Contents of the invention [0004] Th...

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): G06F12/08G06F12/0875
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