主权项 |
1. A method for displaying a test result of a terminal, comprising:
obtaining a last test value and a last test time of the terminal, the test value reflecting a system health condition of the terminal; determining a time span between a current time and the last test time; updating the last test value according to the time span to obtain a current test value; and displaying the current test value, wherein the updating the last test value according to the time span to obtain a current test value comprises obtaining the current test value according to the following formulae:
f(x)=m (x≦t1),f(x)=m−x−t1 (t1<x≦m−t2)f(x)=t3 (m−t2<x) where f(x) represents the current test value, x represents the time span, m represents the last test value, t1 represents the predefined time threshold, t2 represents a predefined first constant threshold, t3 represents a predefined second constant threshold, t1<t2<m−t1, and t3<m−t1−t2. |