CN105404566A - Electronic equipment performance test method and electronic equipment performance test device - Google Patents

Electronic equipment performance test method and electronic equipment performance test device Download PDF

Info

Publication number
CN105404566A
CN105404566A CN201410273336.5A CN201410273336A CN105404566A CN 105404566 A CN105404566 A CN 105404566A CN 201410273336 A CN201410273336 A CN 201410273336A CN 105404566 A CN105404566 A CN 105404566A
Authority
CN
China
Prior art keywords
electronic equipment
module
state
condition
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410273336.5A
Other languages
Chinese (zh)
Other versions
CN105404566B (en
Inventor
王颢
蔡旋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING ANTUTU TECHNOLOGY Co Ltd
Original Assignee
BEIJING ANTUTU TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING ANTUTU TECHNOLOGY Co Ltd filed Critical BEIJING ANTUTU TECHNOLOGY Co Ltd
Priority to CN201410273336.5A priority Critical patent/CN105404566B/en
Publication of CN105404566A publication Critical patent/CN105404566A/en
Application granted granted Critical
Publication of CN105404566B publication Critical patent/CN105404566B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses an electronic equipment performance test method and an electronic equipment performance test device. The method comprises the following steps of receiving a test starting instruction; detecting at least one equipment state of the electronic equipment; judging whether each detected equipment state conforms to the preset condition corresponding to the equipment state or not; if so, responding to the test starting instruction, and performing performance test on the electronic equipment; if not, executing a first operation aiming at the equipment state which does not conform to the preset condition; further responding to the test starting instruction; and performing performance test on the electronic equipment. Therefore, by using the technical scheme, the influence of the equipment state of the electronic equipment on the performance test result can be avoided; and the performance test accuracy of the electronic equipment is further improved.

Description

Electronic equipment performance test methods and device
Technical field
The present invention relates to performance test field, particularly a kind of electronic equipment performance test methods and device.
Background technology
Along with the development that science and technology is at full speed, various electronic equipment constantly enriches and facilitates popular life.Owing to utilizing electronic equipment process information to have the advantages such as convenient and swift, saving resource, make the part that electronic equipment becomes indispensable in the life of people or work.
Wherein, the hardware performance of the electronic equipment of different type of machines is uneven, therefore, in order to user fully understands the performance of electronic equipment, needs to test the performance of electronic equipment.In order to the performance allowing user better understand electronic equipment, technician develops some test and evaluation softwares, can obtain the software and hardware parameter information of electronic equipment, each software and hardware tests and assesses to obtain the evaluating result that grades by running these test and evaluation softwares on an electronic device.Wherein, user is by checking that evaluating result fully can understand the performance of electronic equipment, and the performance purchased machine for user or understand oneself electronic equipment at any time provides reference.
In prior art, after user issues and carries out the instruction of performance test to electronic equipment, the performance of testing results program to electronic equipment is tested.But, there is very large impact to test result in the equipment state of electronic equipment, such as: the application program etc. of the Current Temperatures of electronic equipment, current memory state, present mode of operation (battery saving mode/non-battery saving mode), running frequency, current operation all can affect test result.
Visible, how to avoid the impact of equipment state on the performance test results of electronic equipment, and then the accuracy improving electronic equipment performance test is a problem demanding prompt solution.
Summary of the invention
Based on the problems referred to above, the embodiment of the invention discloses a kind of electronic equipment performance test methods and device, to avoid the impact of equipment state on the performance test results of electronic equipment, and then improve the accuracy of electronic equipment performance test.Technical scheme is as follows:
First aspect, embodiments provides a kind of electronic equipment performance test methods, comprising:
Receive and start test instruction;
Detect at least one equipment state of described electronic equipment;
Judge whether each equipment state detected all meets predetermined condition corresponding to described equipment state;
If so, respond described beginning test instruction, performance test is carried out to described electronic equipment;
Otherwise, perform the first operation not meeting the equipment state of predetermined condition described in being directed to, and then respond described beginning test instruction, performance test is carried out to described electronic equipment.
Optionally, described equipment state comprises:
At least one in the state of the state that operational mode, the first system are arranged, running status, the first application program.
Optionally,
Described current device state comprises operational mode;
Predetermined condition corresponding to described operational mode comprises: the operational mode of described electronic equipment is non-battery saving mode;
Accordingly, do not meet the first operation of the equipment state of predetermined condition described in described execution is directed to, comprising:
Automatically the operational mode of described electronic equipment is switched to non-battery saving mode;
Or,
Show information to user, to point out user whether to switch operational mode, and after receiving the operational mode switching command that user sends, the operational mode of described electronic equipment is switched to non-battery saving mode.
Optionally,
Described equipment state comprises the state that the first system is arranged;
The predetermined condition corresponding to state that described the first system is arranged comprises:
The state that each the first system of described electronic equipment is arranged is closed condition;
Accordingly, do not meet the first operation of the equipment state of predetermined condition described in described execution is directed to, comprising:
The first system that automatic closedown is not in closed condition is arranged;
Or,
Show information to user, whether close the first system not being in closed condition to point out user and arrange, and after receiving the out code that user sends, the first system not being in closed condition described in closedown is arranged.
Optionally, described the first system arranges and comprises:
At least one in GPU antialiasing, USB debugging, GPS.
Optionally,
Described equipment state comprises running status;
Predetermined condition corresponding to described running status comprises: each running status of described electronic equipment all meets corresponding first condition;
Accordingly, perform the first operation not meeting the equipment state of predetermined condition described in being directed to, comprising:
Show information to user, to point out the running status not meeting first condition described in user to affect test accuracy, and advise that user tests after a while.
Optionally, described running status comprises at least one in Current Temperatures, current electric quantity and current residual memory size;
When described running status comprises Current Temperatures, the first condition corresponding to described running status comprises: described Current Temperatures is not higher than the first temperature threshold;
When described running status comprises current electric quantity, the first condition corresponding to described running status comprises: described current electric quantity is not less than the first power threshold;
When described running status comprises current residual memory size, the first condition corresponding to described running status comprises: described current residual memory size is not less than the first memory threshold.
Optionally, described equipment state comprises the state of the first application program;
The predetermined condition corresponding to state of described first application program comprises: each first application program of described electronic equipment is all in closed condition;
Accordingly, perform the first operation not meeting the equipment state of predetermined condition described in being directed to, comprising:
Automatic closedown is not in the first application program of closed condition;
Or,
Show information to user, whether close the first application program not being in closed condition to point out user, and receiving after user sends out code, described in closedown, be not in the first application program of closed condition.
Optionally, described first application program comprises:
At least one in antivirus applet, watchdog routine, Helper program.
Second aspect, embodiments provides a kind of electronic equipment performance testing device, comprising:
Test instruction receiver module, for receiving beginning test instruction;
Condition Detection module, for detecting at least one equipment state of described electronic equipment;
Judge module, for judging whether each detected equipment state all meets predetermined condition corresponding to described equipment state, if so, triggering command respond module; Otherwise, trigger the first operation executing module;
Described instruction respond module, for responding described beginning test instruction, carries out performance test to described electronic equipment;
Described first operation executing module, for perform be directed to described in do not meet the first operation of the equipment state of predetermined condition, and then trigger described instruction respond module.
Optionally, described Condition Detection module, comprising:
At least one in operational mode detection sub-module, Operation system setting detection sub-module, condition monitoring submodule, application program detection sub-module;
Wherein, described operational mode detection sub-module, for detecting the operational mode of described electronic equipment;
Described Operation system setting detection sub-module, the state that the first system for detecting described electronic equipment is arranged;
Described condition monitoring submodule, for detecting the running status of described electronic equipment;
Described application program detection sub-module, for detecting the state of the first application program of described electronic equipment.
Optionally, when described Condition Detection module comprises operational mode detection sub-module, described judge module, comprising:
First judges submodule, for judging whether the running status of described electronic equipment is non-battery saving mode, if so, and triggering command respond module; Otherwise, trigger the first operation executing module;
Accordingly, described first operation executing module, comprising:
First implementation sub-module, switches to non-battery saving mode for the automatic operational mode by described electronic equipment;
Or,
Show information to user, to point out user whether to switch operational mode, and after receiving the operational mode switching command that user sends, the operational mode of described electronic equipment is switched to non-battery saving mode.
Optionally, when described Condition Detection module comprises Operation system setting detection sub-module, described judge module, comprising:
Second judges submodule, for judging whether the state that each the first system of described electronic equipment is arranged is closed condition, if so, and triggering command respond module; Otherwise, trigger the first operation executing module;
Accordingly, described first operation executing module, comprising:
Second implementation sub-module, is arranged for automatically closing the first system not being in closed condition;
Or,
Show information to user, whether close the first system not being in closed condition to point out user and arrange, and after receiving the out code that user sends, the first system not being in closed condition described in closedown is arranged.
Optionally, when described Condition Detection module comprises condition monitoring submodule, described judge module, comprising:
3rd judges submodule, for judging whether each running status of described electronic equipment all meets corresponding first condition, if so, and triggering command respond module; Otherwise, trigger the first operation executing module;
Accordingly, described first operation executing module, comprising:
3rd implementation sub-module, for showing information to user, to point out the running status not meeting first condition described in user to affect test accuracy, and advises that user tests after a while.
Optionally, when described Condition Detection module comprises application program detection sub-module, described judge module, comprising:
4th judges submodule, for judging whether each first application program of described electronic equipment is all in closed condition, if so, and triggering command respond module; Otherwise, trigger the first operation executing module;
Accordingly, described first operation executing module, comprising:
4th implementation sub-module, for automatically closing the first application program not being in closed condition;
Or,
Show information to user, whether close the first application program not being in closed condition to point out user, and receiving after user sends out code, described in closedown, be not in the first application program of closed condition.
In the embodiment of the present invention, when needs carry out performance test to electronic equipment, receive and start test instruction; Detect at least one equipment state of this electronic equipment; Judge whether each equipment state detected all meets predetermined condition corresponding to described equipment state, if so, responds this and starts test instruction, carry out performance test to this electronic equipment; Otherwise, perform the first operation not meeting the equipment state of predetermined condition described in being directed to, and then respond this and start test instruction, performance test is carried out to this electronic equipment.Visible, in this programme, before performance test to electronic equipment, perform the first operation being directed to the equipment state not meeting predetermined condition, thus under each equipment state meets corresponding predetermined condition or to user point out test inaccurate information prerequisite under, performance test is carried out to electronic equipment, avoids the impact of equipment state on the performance test results of electronic equipment, and then improve the accuracy of electronic equipment performance test.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The first process flow diagram of a kind of electronic equipment performance test methods that Fig. 1 provides for the embodiment of the present invention;
The second process flow diagram of a kind of electronic equipment performance test methods that Fig. 2 provides for the embodiment of the present invention;
The third process flow diagram of a kind of electronic equipment performance test methods that Fig. 3 provides for the embodiment of the present invention;
4th kind of process flow diagram of a kind of electronic equipment performance test methods that Fig. 4 provides for the embodiment of the present invention;
5th kind of process flow diagram of a kind of electronic equipment performance test methods that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of electronic equipment performance testing device that Fig. 6 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In order to avoid the equipment state of electronic equipment is on the impact of the performance test results, and then improve the accuracy of electronic equipment performance test, embodiments provide a kind of electronic equipment performance test methods and device.
First a kind of electronic equipment performance test methods that the embodiment of the present invention provides is introduced below.
Wherein, it should be noted that, a kind of electronic equipment performance test methods that the embodiment of the present invention provides is applicable in electronic equipment, and wherein, in actual applications, this electronic equipment can be: the equipment such as mobile phone, notebook, panel computer; And, test event involved by testing the performance of electronic equipment can comprise: at least one in the 2D drawing performance of virtual machine performance, multitask performance, CPU integer performance, CPU floating-point performance, RAM speed ability, RAM operational performance, GPU, the 3D drawing performance of GPU, database I/O performance, memory I/O performance, certainly be not limited thereto, other test event can also be comprised.Wherein, the concrete test for each test event can adopt existing techniques in realizing, and therefore not to repeat here.
As shown in Figure 1, a kind of electronic equipment performance test methods, can comprise:
S101, receives and starts test instruction;
When needing the performance of test electronic, user can send beginning test instruction by human-computer interaction interface to electronic equipment, and this electronic equipment can receive this starts test instruction, and then carries out follow-up process.
S102, detects at least one equipment state of this electronic equipment;
Equipment state due to electronic equipment can have influence on the performance test of electronic equipment, therefore, after receiving beginning test instruction, immediately the performance of electronic equipment is not tested, but detect at least one equipment state of this electronic equipment, and carry out follow-up process according to detected equipment state.
Wherein, this equipment state can comprise:
At least one in the state of the state that operational mode, the first system are arranged, running status, the first application program.
It should be noted that, this operational mode comprises battery saving mode and non-battery saving mode, wherein, when electronic equipment is in battery saving mode, system can reduce CPU and GPU frequency automatically, and, if CPU multinuclear, also may reduce and run core number, can cause the performance test of electronic equipment lower than score during normal operation (namely running under non-battery saving mode) like this, therefore, need when testing electronic equipment to be in non-battery saving mode.
And if the first system in Operation system setting arranges and is in opening, can excessive use system resource, now also will affect test result, therefore, need the state detecting the first system setting, wherein, the first system arranges and can comprise: GPU antialiasing, USB debugging, GPS etc.
And for the running status of electronic equipment, it can comprise: at least one in Current Temperatures, current electric quantity and current residual memory size.It will be appreciated by persons skilled in the art that system will reduce system frequency automatically if current electric quantity is too low or Current Temperatures is too high, test result now will be caused inaccurate; If current residual internal memory is too low, because any application program all can use internal memory, the impact of internal memory on the whole performance of electronic equipment is very large, therefore, test score also will be caused on the low side, therefore, need to detect the running status of electronic equipment.
And for the first application program, it comprises: at least one in antivirus applet, watchdog routine, Helper program; And due to the first application program comparatively large on the impact of the performance test results of electronic equipment, therefore need the state of detection first application program.
It should be noted that, equipment state comprise at least two states time, the detection of each state is independent of each other, namely various state can be detected simultaneously, certainly, also can according to preset detection ordering to this at least two states detect, this is also rational.
S103, judges whether each equipment state detected all meets predetermined condition corresponding to described equipment state, if so, performs step S105; Otherwise, perform step S104;
When after at least one equipment state electronic equipment being detected, can judge whether each detected equipment state all meets predetermined condition corresponding to described equipment state, and perform different operations according to different judged results.Wherein, when judging that each detected equipment state all meets predetermined condition corresponding to described equipment state, show to there is not the factor affecting performance test accuracy, therefore, can step S105 be performed, thus directly response this start test instruction, performance test is carried out to this electronic equipment; And when judging to exist the equipment state not meeting corresponding predetermined condition, show to there is the factor affecting performance test accuracy, now, can step S104 be performed.
It should be noted that, the predetermined condition difference that different types of equipment state is corresponding; Further, the judgement of different types of equipment state is independent of each other, and therefore can perform simultaneously or perform according to particular order, this is all rational.
S104, performs the first operation being directed to the equipment state not meeting predetermined condition, and then performs step S105;
When judging to exist the equipment state not meeting corresponding predetermined condition, the first operation being directed to the equipment state not meeting predetermined condition can be performed, and after being finished, and then perform step S105.
It should be noted that, the first operation corresponding to different types of equipment state can be different.Such as: when equipment state is operational mode, the operational mode of this electronic equipment can be switched to non-battery saving mode for dynamic by the first corresponding operation; Such as, and when equipment state is running status: when running status is Current Temperatures, the first corresponding operation can for showing the information affecting test accuracy for the Current Temperatures of pointing out user not meet first condition, this is all rational.
S105, responds this and starts test instruction, carries out performance test to this electronic equipment.
It should be noted that, respond this and start test instruction, the concrete mode of this electronic equipment being carried out to performance test can adopt existing mode, and therefore not to repeat here.
In the embodiment of the present invention, when needs carry out performance test to electronic equipment, receive and start test instruction; Detect at least one equipment state of this electronic equipment; Judge whether each equipment state detected all meets predetermined condition corresponding to described equipment state, if so, responds this and starts test instruction, carry out performance test to this electronic equipment; Otherwise, perform the first operation not meeting the equipment state of predetermined condition described in being directed to, and then respond this and start test instruction, performance test is carried out to this electronic equipment.Visible, in this programme, before performance test to electronic equipment, perform the first operation being directed to the equipment state not meeting predetermined condition, thus under each equipment state meets corresponding predetermined condition or to user point out test inaccurate information prerequisite under, performance test is carried out to electronic equipment, avoids the impact of equipment state on the performance test results of electronic equipment, and then improve the accuracy of electronic equipment performance test.
Comprise operational mode for this equipment state below, the scheme that the embodiment of the present invention provides is introduced.Certainly, this equipment state can also comprise at least one in the state of state that the first system arranges, running status, the first application program, and detection and the judgement of each equipment state are independent of each other.
Wherein, it should be noted that, a kind of electronic equipment performance test methods that the embodiment of the present invention provides is applicable in electronic equipment, and wherein, in actual applications, this electronic equipment can be: the equipment such as mobile phone, notebook, panel computer, and, test event involved by testing the performance of electronic equipment can comprise: virtual machine performance, multitask performance, CPU (CentralProcessingUnit, central processing unit) integer performance, CPU floating-point performance, RAM (randomaccessmemory, random access memory) speed ability, RAM operational performance, GPU (GraphicProcessingUnit, graphic process unit) 2D drawing performance, the 3D drawing performance of GPU, database I/O performance, memory I/O (input/output, input/output port) at least one in performance, certainly be not limited thereto, other test event can also be comprised.Wherein, the concrete test for each test event can adopt existing techniques in realizing, and therefore not to repeat here.
As shown in Figure 2, a kind of electronic equipment performance test methods, can comprise:
S201, receives and starts test instruction;
When needing the performance of test electronic, user can send beginning test instruction by human-computer interaction interface to electronic equipment, and this electronic equipment can receive this starts test instruction, and then carries out follow-up process.
S202, detects the operational mode of this electronic equipment;
Due to when electronic equipment is in battery saving mode, system can reduce CPU and GPU frequency automatically, and, if CPU multinuclear, also may reduce and run core number, can cause the performance test of electronic equipment lower than score during normal operation (namely running under non-battery saving mode) like this.Therefore, after receiving beginning test instruction, immediately the performance of electronic equipment is not tested, but detect the operational mode of this electronic equipment, and carry out follow-up process according to detected operational mode.
S203, judges whether the operational mode of this electronic equipment detected is non-battery saving mode, if so, performs step S205; Otherwise, perform step S204;
When after operational mode electronic equipment being detected, can judge whether the operational mode of this detected electronic equipment is non-battery saving mode, and perform different operations according to different judged results.Wherein, when operational mode electronic equipment being detected is non-battery saving mode, show to there is not the factor affecting performance test accuracy, therefore, can step S205 be performed, thus directly response this start test instruction, performance test is carried out to this electronic equipment; And when operational mode electronic equipment being detected is battery saving mode, show to there is the factor affecting performance test accuracy, therefore, need to perform step S204.
S204, switches to non-battery saving mode by the operational mode of this electronic equipment automatically, and then performs step S205;
Therefore, when operational mode electronic equipment being detected is battery saving mode, show to there is the factor affecting performance test accuracy; And in order to eliminate the effects of the act, automatically the operational mode of this electronic equipment can be switched to non-battery saving mode, and then perform step S205.
Certainly, in actual applications, information can also be shown to user, to point out user whether to switch operational mode, and after receiving the operational mode switching command that user sends, the operational mode of this electronic equipment be switched to non-battery saving mode.
S205, responds this and starts test instruction, carries out performance test to this electronic equipment.
It should be noted that, respond this and start test instruction, the concrete mode of this electronic equipment being carried out to performance test can adopt existing mode, and therefore not to repeat here.
Visible, in this programme, before performance test to electronic equipment, when detecting that electronic equipment is in battery saving mode, automatically the operational mode of this electronic equipment is switched to non-battery saving mode, avoid the impact that battery saving mode brings electronic equipment performance test, finally improve the accuracy of electronic equipment performance test.
Comprise the state of the first system setting below for this equipment state, the scheme that the embodiment of the present invention provides is introduced.Certainly, this equipment state can also comprise at least one in the state of operational mode, running status, the first application program, and detection and the judgement of each equipment state are independent of each other.
Wherein, it should be noted that, a kind of electronic equipment performance test methods that the embodiment of the present invention provides is applicable in electronic equipment, and wherein, in actual applications, this electronic equipment can be: the equipment such as mobile phone, notebook, panel computer; And, test event involved by testing the performance of electronic equipment can comprise: at least one in the 2D drawing performance of virtual machine performance, multitask performance, CPU integer performance, CPU floating-point performance, RAM speed ability, RAM operational performance, GPU, the 3D drawing performance of GPU, database I/O performance, memory I/O performance, certainly be not limited thereto, other test event can also be comprised.Wherein, the concrete test for each test event can adopt existing techniques in realizing, and therefore not to repeat here.
As shown in Figure 3, a kind of electronic equipment performance test methods, can comprise:
S301, receives and starts test instruction;
When needing the performance of test electronic, user can send beginning test instruction by human-computer interaction interface to electronic equipment, and this electronic equipment can receive this starts test instruction, and then carries out follow-up process.
S302, the state that the first system detecting this electronic equipment is arranged;
If be in opening because the first system in Operation system setting is arranged, meeting excessive use system resource, now will affect test result.Therefore, after receiving beginning test instruction, immediately the performance of electronic equipment is not tested, but the state that the first system detecting this electronic equipment is arranged, and carry out follow-up process according to the state that detected the first system is arranged.
Wherein, this first system arranges and can comprise: at least one of GPU antialiasing, USB debugging, GPS (GlobalPositioningSystem, GPS), certainly, is not limited thereto.
S303, judges whether the state that each the first system of this electronic equipment detected is arranged is closed condition, if so, performs step S305; Otherwise, perform step S304;
After the state that the first system of electronic equipment is arranged being detected, can judge whether the state that each the first system of this detected electronic equipment is arranged is closed condition, and perform different operations according to different judged results.Wherein, when the state judging that each the first system of this detected electronic equipment is arranged is closed condition, show to there is not the factor affecting performance test accuracy, therefore, step S305 can be performed, thus directly response this start test instruction, performance test is carried out to this electronic equipment; And when judging to exist the first system not being in closed condition and arranging, show to there is the factor affecting performance test accuracy, therefore, need to perform step S304.
S304, the first system that automatic closedown is not in closed condition is arranged, and then performs step S305;
Therefore, when judging to exist the first system not being in closed condition and arranging, show to there is the factor affecting performance test accuracy; And in order to eliminate the effects of the act, automatically can close the first system not being in closed condition is arranged, and then perform step S305.
Certainly, in actual applications, information can also be shown to user, whether close the first system not being in closed condition to point out user and arrange, and after receiving the out code that user sends, close the first system not being in closed condition and arrange.
S305, responds this and starts test instruction, carries out performance test to this electronic equipment.
It should be noted that, respond this and start test instruction, the concrete mode of this electronic equipment being carried out to performance test can adopt existing mode, and therefore not to repeat here.
Visible, in this programme, before performance test to electronic equipment, when detecting that the first system not being in closed condition is arranged, the first system that automatic closedown is not in closed condition is arranged, avoid the first system to arrange and be in opening and the impact that brings electronic equipment performance test, finally improve the accuracy of electronic equipment performance test.
Comprise running status for this equipment state below, the scheme that the embodiment of the present invention provides is introduced.Certainly, this equipment state can also comprise at least one in the state of operational mode, state that the first system is arranged, the first application program, and detection and the judgement of each equipment state are independent of each other.
Wherein, it should be noted that, a kind of electronic equipment performance test methods that the embodiment of the present invention provides is applicable in electronic equipment, and wherein, in actual applications, this electronic equipment can be: the equipment such as mobile phone, notebook, panel computer; And, test event involved by testing the performance of electronic equipment can comprise: at least one in the 2D drawing performance of virtual machine performance, multitask performance, CPU integer performance, CPU floating-point performance, RAM speed ability, RAM operational performance, GPU, the 3D drawing performance of GPU, database I/O performance, memory I/O performance, certainly be not limited thereto, other test event can also be comprised.Wherein, the concrete test for each test event can adopt existing techniques in realizing, and therefore not to repeat here.
As shown in Figure 4, a kind of electronic equipment performance test methods, can comprise:
S401, receives and starts test instruction;
When needing the performance of test electronic, user can send beginning test instruction by human-computer interaction interface to electronic equipment, and this electronic equipment can receive this starts test instruction, and then carries out follow-up process.
S402, detects the running status of this electronic equipment;
If because current electric quantity is too low or Current Temperatures is too high, system will reduce system frequency automatically, test result now will be caused inaccurate; If current residual internal memory is too low, because any application program all can use internal memory, the impact of internal memory on the whole performance of electronic equipment is very large, therefore, test score also will be caused on the low side.Therefore, after receiving beginning test instruction, immediately the performance of electronic equipment is not tested, but detect the running status of this electronic equipment, and carry out follow-up process according to detected running status.
Wherein, running status can comprise:
At least one in Current Temperatures, current electric quantity and current residual memory size.
S403, judges whether each running status of this electronic equipment detected all meets corresponding first condition, if so, performs step S405; Otherwise, perform step S404;
When after running status electronic equipment being detected, can judge whether each running status of this detected electronic equipment all meets corresponding first condition, and perform different operations according to different judged results.Wherein, when judging that each running status of this detected electronic equipment all meets corresponding first condition, show to there is not the factor affecting performance test accuracy, therefore, step S405 can be performed, thus directly response this start test instruction, performance test is carried out to this electronic equipment; And when judging to exist the running status not meeting corresponding first condition, show to there is the factor affecting performance test accuracy, therefore, can step S404 be performed.
Wherein, when running status comprises Current Temperatures, the first condition corresponding to running status can comprise:
This Current Temperatures is not higher than the first temperature threshold;
When running status comprises current electric quantity, the first condition corresponding to running status can comprise:
This current electric quantity is not less than the first power threshold;
When running status comprises current residual memory size, the first condition corresponding to running status can comprise:
This current free memory size is not less than the first memory threshold.
It should be noted that, corresponding to above-mentioned running status, first condition is as just example, should not form the restriction to the embodiment of the present invention.
S404, shows that the running status for pointing out user not meet first condition affects the information of test accuracy, and then performs step S405;
When judging to exist the running status not meeting corresponding first condition, show to there is the factor affecting performance test accuracy; And in order to ensure the experience of user, need to show the information affecting test accuracy for the running status pointing out user not meet first condition.
Certainly, in actual applications, information can also be shown to user, to point out the running status not meeting first condition described in user to affect test accuracy, and advise that user tests after a while.
S405, responds this and starts test instruction, carries out performance test to this electronic equipment.
It should be noted that, respond this and start test instruction, the concrete mode of this electronic equipment being carried out to performance test can adopt existing mode, and therefore not to repeat here.
Visible, in this programme, before the performance test to electronic equipment, when the running status not meeting corresponding first condition being detected, show the information affecting test accuracy for the running status pointing out user not meet first condition, improve the experience of user.
Comprise the state of the first application program below for this equipment state, the scheme that the embodiment of the present invention provides is introduced.Certainly, at least one in the state that this equipment state can also comprise operational mode, the first system is arranged, running status, and detection and the judgement of each equipment state are independent of each other.
Wherein, it should be noted that, a kind of electronic equipment performance test methods that the embodiment of the present invention provides is applicable in electronic equipment, and wherein, in actual applications, this electronic equipment can be: the equipment such as mobile phone, notebook, panel computer; And, test event involved by testing the performance of electronic equipment can comprise: at least one in the 2D drawing performance of virtual machine performance, multitask performance, CPU integer performance, CPU floating-point performance, RAM speed ability, RAM operational performance, GPU, the 3D drawing performance of GPU, database I/O performance, memory I/O performance, certainly be not limited thereto, other test event can also be comprised.Wherein, the concrete test for each test event can adopt existing techniques in realizing, and therefore not to repeat here.
As shown in Figure 5, a kind of electronic equipment performance test methods, can comprise:
S501, receives and starts test instruction;
When needing the performance of test electronic, user can send beginning test instruction by human-computer interaction interface to electronic equipment, and this electronic equipment can receive this starts test instruction, and then carries out follow-up process.
S502, detects the state of the first application program of this electronic equipment;
Because the performance test results impact of the first application program on electronic equipment is larger, therefore, after receiving beginning test instruction, immediately the performance of electronic equipment is not tested, but detect the state of the first application program of this electronic equipment, and carry out follow-up process according to the running status of the first detected application program.
Wherein, described first application program can comprise:
At least one in antivirus applet, watchdog routine, Helper program.
S503, judges whether each first application program of this electronic equipment detected all is in closed condition, if so, performs step S505; Otherwise, perform step S504;
When after the state of the first application program electronic equipment being detected, can judge whether the state of each the first application program of this detected electronic equipment is closed condition, and perform different operations according to different judged results.Wherein, when the state of each the first application program judging this detected electronic equipment is closed condition, show to there is not the factor affecting performance test accuracy, therefore, step S405 can be performed, thus directly response this start test instruction, performance test is carried out to this electronic equipment; And when judging to there is the first application program not being in closed condition, show to there is the factor affecting performance test accuracy, therefore, need to perform step S504.
S504, automatic closedown is not in the first application program of closed condition, and then performs step S505;
When judging to there is the first application program not being in closed condition, show to there is the factor affecting performance test accuracy; And in order to eliminate the effects of the act, automatically can close the first application program not being in closed condition, and then perform step S504.
Certainly, information can also be shown to user, whether close the first application program not being in closed condition to point out user, and receiving after user sends out code, close the first application program not being in closed condition.
S505, responds this and starts test instruction, carries out performance test to this electronic equipment.
It should be noted that, respond this and start test instruction, the concrete mode of this electronic equipment being carried out to performance test can adopt existing mode, and therefore not to repeat here.
Visible, in this programme, before performance test to electronic equipment, when detecting that existence is not in the first application program of closed condition, automatic closedown is not in the first application program of closed condition, avoid the impact that the first application program of not being in closed condition is brought electronic equipment performance test, finally improve the accuracy of electronic equipment performance test.
Corresponding to said method embodiment, embodiments provide a kind of electronic equipment performance testing device, as shown in Figure 6, can comprise:
Test instruction receiver module 610, for receiving beginning test instruction;
Condition Detection module 620, for detecting at least one equipment state of described electronic equipment;
Judge module 630, for judging whether each detected equipment state all meets predetermined condition corresponding to described equipment state, if so, triggering command respond module 640; Otherwise, trigger the first operation executing module 650;
Described instruction respond module 640, for responding described beginning test instruction, carries out performance test to described electronic equipment;
Described first operation executing module 650, for perform be directed to described in do not meet the first operation of the equipment state of predetermined condition, and then trigger described instruction respond module.
In the embodiment of the present invention, when needs carry out performance test to electronic equipment, receive and start test instruction; Detect at least one equipment state of this electronic equipment; Judge whether each equipment state detected all meets predetermined condition corresponding to described equipment state, if so, responds this and starts test instruction, carry out performance test to this electronic equipment; Otherwise, perform the first operation not meeting the equipment state of predetermined condition described in being directed to, and then respond this and start test instruction, performance test is carried out to this electronic equipment.Visible, in this programme, before performance test to electronic equipment, perform the first operation being directed to the equipment state not meeting predetermined condition, thus under each equipment state meets corresponding predetermined condition or to user point out test inaccurate information prerequisite under, performance test is carried out to electronic equipment, avoids the impact of equipment state on the performance test results of electronic equipment, and then improve the accuracy of electronic equipment performance test.
Wherein, described Condition Detection module 620, can comprise:
At least one in operational mode detection sub-module, Operation system setting detection sub-module, condition monitoring submodule, application program detection sub-module;
Wherein, described operational mode detection sub-module, for detecting the operational mode of described electronic equipment;
Described Operation system setting detection sub-module, the state that the first system for detecting described electronic equipment is arranged;
Described condition monitoring submodule, for detecting the running status of described electronic equipment;
Described application program detection sub-module, for detecting the state of the first application program of described electronic equipment.
Wherein, when described Condition Detection module 620 comprises operational mode detection sub-module, described judge module 630, can comprise:
First judges submodule, for judging whether the running status of described electronic equipment is non-battery saving mode, if so, and triggering command respond module 640; Otherwise, trigger the first operation executing module 650;
Accordingly, described first operation executing module 650, can comprise:
First implementation sub-module, switches to non-battery saving mode for the automatic operational mode by described electronic equipment;
Or,
Show information to user, to point out user whether to switch operational mode, and after receiving the operational mode switching command that user sends, the operational mode of described electronic equipment is switched to non-battery saving mode.
Wherein, when described Condition Detection module 620 comprises Operation system setting detection sub-module, described judge module 630, can comprise:
Second judges submodule, for judging whether the state that each the first system of described electronic equipment is arranged is closed condition, if so, and triggering command respond module 640; Otherwise, trigger the first operation executing module 650;
Accordingly, described first operation executing module 650, can comprise:
Second implementation sub-module, is arranged for automatically closing the first system not being in closed condition;
Or,
Show information to user, whether close the first system not being in closed condition to point out user and arrange, and after receiving the out code that user sends, the first system not being in closed condition described in closedown is arranged.
Wherein, when described Condition Detection module comprises condition monitoring submodule, described judge module 630, can comprise:
3rd judges submodule, for judging whether each running status of described electronic equipment all meets corresponding first condition, if so, and triggering command respond module 640; Otherwise, trigger the first operation executing module 650;
Accordingly, described first operation executing module 650, can comprise:
3rd implementation sub-module, for showing information to user, to point out the running status not meeting first condition described in user to affect test accuracy, and advises that user tests after a while.
Wherein, when described Condition Detection module comprises application program detection sub-module, described judge module 630, can comprise:
4th judges submodule, for judging whether each first application program of described electronic equipment is all in closed condition, if so, and triggering command respond module 640; Otherwise, trigger the first operation executing module 650;
Accordingly, described first operation executing module 650, can comprise:
4th implementation sub-module, for automatically closing the first application program not being in closed condition;
Or,
Show information to user, whether close the first application program not being in closed condition to point out user, and receiving after user sends out code, described in closedown, be not in the first application program of closed condition.
For system or device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
One of ordinary skill in the art will appreciate that all or part of step realized in said method embodiment is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (15)

1. an electronic equipment performance test methods, is characterized in that, comprising:
Receive and start test instruction;
Detect at least one equipment state of described electronic equipment;
Judge whether each equipment state detected all meets predetermined condition corresponding to described equipment state;
If so, respond described beginning test instruction, performance test is carried out to described electronic equipment;
Otherwise, perform the first operation not meeting the equipment state of predetermined condition described in being directed to, and then respond described beginning test instruction, performance test is carried out to described electronic equipment.
2. method according to claim 1, is characterized in that, described equipment state comprises:
At least one in the state of the state that operational mode, the first system are arranged, running status, the first application program.
3. method according to claim 2, is characterized in that,
Described current device state comprises operational mode;
Predetermined condition corresponding to described operational mode comprises: the operational mode of described electronic equipment is non-battery saving mode;
Accordingly, do not meet the first operation of the equipment state of predetermined condition described in described execution is directed to, comprising:
Automatically the operational mode of described electronic equipment is switched to non-battery saving mode;
Or,
Show information to user, to point out user whether to switch operational mode, and after receiving the operational mode switching command that user sends, the operational mode of described electronic equipment is switched to non-battery saving mode.
4. method according to claim 2, is characterized in that,
Described equipment state comprises the state that the first system is arranged;
The predetermined condition corresponding to state that described the first system is arranged comprises:
The state that each the first system of described electronic equipment is arranged is closed condition;
Accordingly, do not meet the first operation of the equipment state of predetermined condition described in described execution is directed to, comprising:
The first system that automatic closedown is not in closed condition is arranged;
Or,
Show information to user, whether close the first system not being in closed condition to point out user and arrange, and after receiving the out code that user sends, the first system not being in closed condition described in closedown is arranged.
5. method according to claim 4, is characterized in that, described the first system arranges and comprises:
At least one in GPU antialiasing, USB debugging, GPS.
6. method according to claim 2, is characterized in that,
Described equipment state comprises running status;
Predetermined condition corresponding to described running status comprises: each running status of described electronic equipment all meets corresponding first condition;
Accordingly, perform the first operation not meeting the equipment state of predetermined condition described in being directed to, comprising:
Show information to user, to point out the running status not meeting first condition described in user to affect test accuracy, and advise that user tests after a while.
7. method according to claim 6, is characterized in that,
Described running status comprises at least one in Current Temperatures, current electric quantity and current residual memory size;
When described running status comprises Current Temperatures, the first condition corresponding to described running status comprises: described Current Temperatures is not higher than the first temperature threshold;
When described running status comprises current electric quantity, the first condition corresponding to described running status comprises: described current electric quantity is not less than the first power threshold;
When described running status comprises current residual memory size, the first condition corresponding to described running status comprises: described current residual memory size is not less than the first memory threshold.
8. method according to claim 2, is characterized in that,
Described equipment state comprises the state of the first application program;
The predetermined condition corresponding to state of described first application program comprises: each first application program of described electronic equipment is all in closed condition;
Accordingly, perform the first operation not meeting the equipment state of predetermined condition described in being directed to, comprising:
Automatic closedown is not in the first application program of closed condition;
Or,
Show information to user, whether close the first application program not being in closed condition to point out user, and receiving after user sends out code, described in closedown, be not in the first application program of closed condition.
9. method according to claim 8, is characterized in that, described first application program comprises:
At least one in antivirus applet, watchdog routine, Helper program.
10. an electronic equipment performance testing device, is characterized in that, comprising:
Test instruction receiver module, for receiving beginning test instruction;
Condition Detection module, for detecting at least one equipment state of described electronic equipment;
Judge module, for judging whether each detected equipment state all meets predetermined condition corresponding to described equipment state, if so, triggering command respond module; Otherwise, trigger the first operation executing module;
Described instruction respond module, for responding described beginning test instruction, carries out performance test to described electronic equipment;
Described first operation executing module, for perform be directed to described in do not meet the first operation of the equipment state of predetermined condition, and then trigger described instruction respond module.
11. devices according to claim 10, is characterized in that, described Condition Detection module, comprising:
At least one in operational mode detection sub-module, Operation system setting detection sub-module, condition monitoring submodule, application program detection sub-module;
Wherein, described operational mode detection sub-module, for detecting the operational mode of described electronic equipment;
Described Operation system setting detection sub-module, the state that the first system for detecting described electronic equipment is arranged;
Described condition monitoring submodule, for detecting the running status of described electronic equipment;
Described application program detection sub-module, for detecting the state of the first application program of described electronic equipment.
12. devices according to claim 11, is characterized in that, when described Condition Detection module comprises operational mode detection sub-module, described judge module, comprising:
First judges submodule, for judging whether the running status of described electronic equipment is non-battery saving mode, if so, and triggering command respond module; Otherwise, trigger the first operation executing module;
Accordingly, described first operation executing module, comprising:
First implementation sub-module, switches to non-battery saving mode for the automatic operational mode by described electronic equipment;
Or,
Show information to user, to point out user whether to switch operational mode, and after receiving the operational mode switching command that user sends, the operational mode of described electronic equipment is switched to non-battery saving mode.
13. devices according to claim 11, is characterized in that, when described Condition Detection module comprises Operation system setting detection sub-module, described judge module, comprising:
Second judges submodule, for judging whether the state that each the first system of described electronic equipment is arranged is closed condition, if so, and triggering command respond module; Otherwise, trigger the first operation executing module;
Accordingly, described first operation executing module, comprising:
Second implementation sub-module, is arranged for automatically closing the first system not being in closed condition;
Or,
Show information to user, whether close the first system not being in closed condition to point out user and arrange, and after receiving the out code that user sends, the first system not being in closed condition described in closedown is arranged.
14. devices according to claim 11, is characterized in that, when described Condition Detection module comprises condition monitoring submodule, described judge module, comprising:
3rd judges submodule, for judging whether each running status of described electronic equipment all meets corresponding first condition, if so, and triggering command respond module; Otherwise, trigger the first operation executing module;
Accordingly, described first operation executing module, comprising:
3rd implementation sub-module, for showing information to user, to point out the running status not meeting first condition described in user to affect test accuracy, and advises that user tests after a while.
15. devices according to claim 11, is characterized in that, when described Condition Detection module comprises application program detection sub-module, described judge module, comprising:
4th judges submodule, for judging whether each first application program of described electronic equipment is all in closed condition, if so, and triggering command respond module; Otherwise, trigger the first operation executing module;
Accordingly, described first operation executing module, comprising:
4th implementation sub-module, for automatically closing the first application program not being in closed condition;
Or,
Show information to user, whether close the first application program not being in closed condition to point out user, and receiving after user sends out code, described in closedown, be not in the first application program of closed condition.
CN201410273336.5A 2014-06-18 2014-06-18 Electronic equipment performance test methods and device Active CN105404566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410273336.5A CN105404566B (en) 2014-06-18 2014-06-18 Electronic equipment performance test methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410273336.5A CN105404566B (en) 2014-06-18 2014-06-18 Electronic equipment performance test methods and device

Publications (2)

Publication Number Publication Date
CN105404566A true CN105404566A (en) 2016-03-16
CN105404566B CN105404566B (en) 2019-07-12

Family

ID=55470064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410273336.5A Active CN105404566B (en) 2014-06-18 2014-06-18 Electronic equipment performance test methods and device

Country Status (1)

Country Link
CN (1) CN105404566B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174187A (en) * 2017-12-14 2018-06-15 聚好看科技股份有限公司 A kind of test method and its system of smart television response time

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661086A (en) * 2009-09-14 2010-03-03 厦门敏讯信息技术股份有限公司 Method for testing use time of battery of mobile terminal of mobile telephone
US20100137035A1 (en) * 2008-12-01 2010-06-03 Lenovo (Beijing) Limited Operation mode switching method for communication system, mobile terminal and display switching method therefor
CN102681642A (en) * 2011-03-07 2012-09-19 联想(北京)有限公司 Terminal device
CN103455396A (en) * 2013-09-03 2013-12-18 北京安兔兔科技有限公司 Test method and test device of hardware performance of electronic equipment
CN103577060A (en) * 2012-08-07 2014-02-12 联想(北京)有限公司 Data processing method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100137035A1 (en) * 2008-12-01 2010-06-03 Lenovo (Beijing) Limited Operation mode switching method for communication system, mobile terminal and display switching method therefor
CN101661086A (en) * 2009-09-14 2010-03-03 厦门敏讯信息技术股份有限公司 Method for testing use time of battery of mobile terminal of mobile telephone
CN102681642A (en) * 2011-03-07 2012-09-19 联想(北京)有限公司 Terminal device
CN103577060A (en) * 2012-08-07 2014-02-12 联想(北京)有限公司 Data processing method and electronic equipment
CN103455396A (en) * 2013-09-03 2013-12-18 北京安兔兔科技有限公司 Test method and test device of hardware performance of electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174187A (en) * 2017-12-14 2018-06-15 聚好看科技股份有限公司 A kind of test method and its system of smart television response time
CN108174187B (en) * 2017-12-14 2020-04-24 聚好看科技股份有限公司 Method and system for testing response time of smart television

Also Published As

Publication number Publication date
CN105404566B (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN108197032B (en) Main thread jamming monitoring method, medium, equipment and system for IOS application
CN107480327B (en) Simulation verification method and device and electronic equipment
CN107908539B (en) Method, terminal and computer readable storage medium for detecting memory leakage of application program
CN104932963B (en) The method and device of management terminal
CN104636275A (en) Information protecting method and device of MCU chip
JP2013206016A5 (en)
CN109543417B (en) Vulnerability mining method and device based on Qemu platform
CN105512562B (en) Vulnerability mining method and device and electronic equipment
CN104615471A (en) System upgrading method and device for terminal
CN105260077A (en) Electronic device and detection method for capacitive touch screen of electronic device
CN107885683A (en) A kind of current test method of terminal and terminal
CN107977318A (en) A kind of energy consumption and performance test methods of Android application programs
CN103049376B (en) A kind of internal memory overflow test method of process, device and equipment
CN106021024A (en) Method for reminding response stopping of user terminal, and user terminal
CN110008003A (en) A kind of order line validation checking method and relevant apparatus
CN101923521B (en) Electronic device with function of protecting universal serial bus ports thereof and method
CN105404566A (en) Electronic equipment performance test method and electronic equipment performance test device
CN103810087A (en) Method and device for testing performance of application program
CN107391329B (en) Method, system and storage device for testing repeated use of mobile terminal
CN104461603A (en) Information processing method and electronic equipment
CN115470141A (en) Fault simulation method, device and related equipment
CN103902420B (en) Electronic equipment performance test methods and device
CN106326049B (en) A kind of Fault Locating Method and terminal
CN112445670B (en) eMMC test method and device
WO2014163519A1 (en) Automatic generation of test layouts for testing a design rule checking tool

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant