CN105404566B - Electronic equipment performance test methods and device - Google Patents

Electronic equipment performance test methods and device Download PDF

Info

Publication number
CN105404566B
CN105404566B CN201410273336.5A CN201410273336A CN105404566B CN 105404566 B CN105404566 B CN 105404566B CN 201410273336 A CN201410273336 A CN 201410273336A CN 105404566 B CN105404566 B CN 105404566B
Authority
CN
China
Prior art keywords
electronic equipment
module
state
user
equipment
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.)
Active
Application number
CN201410273336.5A
Other languages
Chinese (zh)
Other versions
CN105404566A (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 a kind of electronic equipment performance test methods and devices.Start test instruction this method comprises: receiving;Detect at least one equipment state of electronic equipment;Judge whether each equipment state detected meets the corresponding predetermined condition of the equipment state, if so, response starts test instruction, electronic equipment is tested for the property;Otherwise, the first operation for being directed to the equipment state for not meeting predetermined condition is executed, and then responds and starts test instruction, the electronic equipment is tested for the property.As it can be seen that by utilizing this programme, it can be to avoid influence of the equipment state to the performance test results of electronic equipment, and then improve the accuracy of electronic equipment performance test.

Description

Electronic equipment performance test methods and device
Technical field
The present invention relates to performance test fields, in particular to a kind of electronic equipment performance test methods and device.
Background technique
With the development that science and technology is at full speed, various electronic equipments constantly enrich and facilitate popular life.Due to benefit There are the advantages such as convenient and efficient, saving resource with electronic equipment processing information, so that electronic equipment becomes people's lives or work Indispensable a part in work.
Wherein, the hardware performance of the electronic equipment of different type of machines is irregular, therefore, sets in order to which user fully understands electronics Standby performance needs to test the performance of electronic equipment.In order to allow user to be better understood by the performance of electronic equipment, technology The some test and evaluation softwares of staff development, by running these test and evaluation softwares on an electronic device can obtain the soft or hard of electronic equipment The evaluating results such as part parameter information, each software and hardware assessment score.Wherein, user is by checking that evaluating result can be fully understood The performance of electronic equipment, the performance purchased machine for user or understand oneself electronic equipment at any time provide reference.
In the prior art, after user issues the instruction being tested for the property to electronic equipment, test program pair will be run The performance of electronic equipment is tested.But there is very big influence to test result in the equipment state of electronic equipment, and such as: electricity It is the Current Temperatures of sub- equipment, current memory state, present mode of operation (battery saving mode/non-battery saving mode), running frequency, current Application program of operation etc. can all influence test result.
As it can be seen that how to avoid the equipment state of electronic equipment to the influence of the performance test results, and then improve electronic equipment The accuracy of performance test is a urgent problem to be solved.
Summary of the invention
Based on the above issues, the embodiment of the invention discloses a kind of electronic equipment performance test methods and device, to avoid Influence of the equipment state of electronic equipment to the performance test results, and then improve the accuracy of electronic equipment performance test.Technology Scheme is as follows:
In a first aspect, the embodiment of the invention provides a kind of electronic equipment performance test methods, comprising:
Reception starts test instruction;
Detect at least one equipment state of the electronic equipment;
Judge whether each equipment state detected meets the corresponding predetermined condition of the equipment state;
If so, response is described to start test instruction, the electronic equipment is tested for the property;
Otherwise, the first operation for being directed to the equipment state for not meeting predetermined condition is executed, and then is opened described in response Begin to test instruction, the electronic equipment is tested for the property.
Optionally, the equipment state includes:
At least one of operational mode, the state of the first system setting, operating status, state of the first application program.
Optionally,
The current device state includes operational mode;
Predetermined condition corresponding to the operational mode includes: that the operational mode of the electronic equipment is non-battery saving mode;
Correspondingly, the execution is directed to the first operation of the equipment state for not meeting predetermined condition, comprising:
Automatically the operational mode of the electronic equipment is switched to non-battery saving mode;
Alternatively,
Prompt information is shown to user, to prompt the user whether to switch over operational mode, and is receiving user's hair After operational mode switching command out, the operational mode of the electronic equipment is switched to non-battery saving mode.
Optionally,
The equipment state includes the state of the first system setting;
Predetermined condition corresponding to the state of the first system setting includes:
The state of each the first system setting of the electronic equipment is in off state;
Correspondingly, the execution is directed to the first operation of the equipment state for not meeting predetermined condition, comprising:
The first system setting being not off is automatically closed;
Alternatively,
Prompt information is shown to user, to prompt the user whether to close the first system being not off setting, and After the out code for receiving user's sending, the first system being not off described in closing is arranged.
Optionally, the first system, which is arranged, includes:
At least one of GPU antialiasing, USB debugging, GPS.
Optionally,
The equipment state includes operating status;
Predetermined condition corresponding to the operating status includes: that each operating status of the electronic equipment meets institute Corresponding first condition;
Correspondingly, executing the first operation for being directed to the equipment state for not meeting predetermined condition, comprising:
Prompt information is shown to user, it is accurate to prompt the operating status for not meeting first condition described in user to influence test Property, and suggest that user tests later.
Optionally, the operating status includes at least one in Current Temperatures, current electric quantity and current residual memory size Kind;
When the operating status includes Current Temperatures, first condition corresponding to the operating status includes: described works as Preceding temperature is not higher than the first temperature threshold;
When the operating status includes current electric quantity, first condition corresponding to the operating status includes: described works as Preceding electricity is not less than the first power threshold;
When the operating status includes current residual memory size, first condition packet corresponding to the operating status Include: the current residual memory size is not less than the first memory threshold.
Optionally, the equipment state includes the state of the first application program;
Predetermined condition corresponding to the state of first application program includes: every one first application of the electronic equipment Program is in closed state;
Correspondingly, executing the first operation for being directed to the equipment state for not meeting predetermined condition, comprising:
The first application program being not off is automatically closed;
Alternatively,
Prompt information is shown to user, to prompt the user whether to close the first application program being not off, and After receiving user and issuing out code, the first application program for being not off described in closing.
Optionally, first application program includes:
At least one of antivirus applet, monitoring programme, Helper program.
Second aspect, the embodiment of the invention provides a kind of electronic equipment performance testing devices, comprising:
Command reception module is tested, starts test instruction for receiving;
Condition Detection module, for detecting at least one equipment state of the electronic equipment;
Judgment module, for judging it is corresponding predetermined whether each equipment state detected meets the equipment state Condition, if so, triggering command respond module;Otherwise, the first operation executing module is triggered;
Described instruction respond module, for respond it is described start test instruction, the electronic equipment is tested for the property;
First operation executing module is directed to the first of the equipment state for not meeting predetermined condition for executing Operation, and then trigger described instruction respond module.
Optionally, the Condition Detection module, comprising:
Operational mode detection sub-module, system setting detection sub-module, condition monitoring submodule, application program detection At least one of submodule;
Wherein, the operational mode detection sub-module, for detecting the operational mode of the electronic equipment;
Detection sub-module is arranged in the system, the state that the first system for detecting the electronic equipment is arranged;
The condition monitoring submodule, for detecting the operating status of the electronic equipment;
The application program detection sub-module, the state of the first application program for detecting the electronic equipment.
Optionally, when the Condition Detection module includes operational mode detection sub-module, the judgment module, packet It includes:
First judging submodule, for judging whether the operating status of the electronic equipment is non-battery saving mode, if so, Triggering command respond module;Otherwise, the first operation executing module is triggered;
Correspondingly, first operation executing module, comprising:
First implementation sub-module, for the operational mode of the electronic equipment to be switched to non-battery saving mode automatically;
Alternatively,
Prompt information is shown to user, to prompt the user whether to switch over operational mode, and is receiving user's hair After operational mode switching command out, the operational mode of the electronic equipment is switched to non-battery saving mode.
Optionally, when the Condition Detection module includes system setting detection sub-module, the judgment module, packet It includes:
Second judgment submodule, for judging whether the state that each the first system of the electronic equipment is arranged is to close Closed state, if so, triggering command respond module;Otherwise, the first operation executing module is triggered;
Correspondingly, first operation executing module, comprising:
Second implementation sub-module, for the first system being not off setting to be automatically closed;
Alternatively,
Prompt information is shown to user, to prompt the user whether to close the first system being not off setting, and After the out code for receiving user's sending, the first system being not off described in closing is arranged.
Optionally, when the Condition Detection module includes condition monitoring submodule, the judgment module, packet It includes:
Third judging submodule, for judging it is corresponding whether each operating status of the electronic equipment meets First condition, if so, triggering command respond module;Otherwise, the first operation executing module is triggered;
Correspondingly, first operation executing module, comprising:
Third implementation sub-module, for showing prompt information to user, to prompt not meeting first condition described in user Operating status influences test accuracy, and suggests that user tests later.
Optionally, when the Condition Detection module includes application program detection sub-module, the judgment module, packet It includes:
4th judging submodule, for judging whether every one first application program of the electronic equipment is in closing shape State, if so, triggering command respond module;Otherwise, the first operation executing module is triggered;
Correspondingly, first operation executing module, comprising:
4th implementation sub-module, for the first application program being not off to be automatically closed;
Alternatively,
Prompt information is shown to user, to prompt the user whether to close the first application program being not off, and After receiving user and issuing out code, the first application program for being not off described in closing.
In the embodiment of the present invention, when needing to be tested for the property electronic equipment, reception starts test instruction;Detection should At least one equipment state of electronic equipment;It is corresponding to judge whether each equipment state detected meets the equipment state Predetermined condition, if so, respond this start test instruction, which is tested for the property;Otherwise, execution is directed to The equipment state for not meeting predetermined condition first operation, and then respond this start test instruction, to the electronic equipment into Row performance test.As it can be seen that in the present solution, execution, which is directed to, does not meet predetermined condition before to the performance test of electronic equipment First operation of equipment state is not allowed to meet under corresponding predetermined condition or prompt the user with test in each equipment state Under the premise of firmly believing breath, electronic equipment is tested for the property, avoids the equipment state of electronic equipment to the performance test results Influence, and then improve electronic equipment performance test accuracy.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the first flow chart of a kind of electronic equipment performance test methods provided by the embodiment of the present invention;
Fig. 2 is second of flow chart of a kind of electronic equipment performance test methods provided by the embodiment of the present invention;
Fig. 3 is the third flow chart of a kind of electronic equipment performance test methods provided by the embodiment of the present invention;
Fig. 4 is the 4th kind of flow chart of a kind of electronic equipment performance test methods provided by the embodiment of the present invention;
Fig. 5 is the 5th kind of flow chart of a kind of electronic equipment performance test methods provided by the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment performance testing device provided by the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to avoid influence of the equipment state to the performance test results of electronic equipment, and then improves electronic equipment performance and survey The accuracy of examination, the embodiment of the invention provides a kind of electronic equipment performance test methods and devices.
A kind of electronic equipment performance test methods are provided for the embodiments of the invention first below to be introduced.
Wherein, it should be noted that a kind of electronic equipment performance test methods provided by the embodiment of the present invention are suitable for In electronic equipment, wherein in practical applications, which can be with are as follows: the equipment such as mobile phone, notebook, tablet computer;And And to the performance of electronic equipment test involved test item may include: virtual machine performance, multitask performance, The 3D drawing of CPU integer performance, CPU floating-point performance, RAM speed ability, RAM operational performance, the 2D drawing performance of GPU, GPU At least one of energy, database I/O performance, memory I/O performance, are not limited thereto certainly, can also include others Test item.Wherein, therefore not to repeat here to be realized using the prior art for the specific test of each test item.
As shown in Figure 1, a kind of electronic equipment performance test methods, may include:
S101, reception start test instruction;
When needing to test the performance of electronic equipment, user can be started by human-computer interaction interface to electronic equipment sending Test instruction, and the electronic equipment can receive this and start test instruction, and then carry out subsequent processing.
S102 detects at least one equipment state of the electronic equipment;
Since the equipment state of electronic equipment influences whether the performance test of electronic equipment, start to survey receiving After examination instruction, the performance of electronic equipment is not tested immediately, but detect at least one equipment shape of the electronic equipment State, and subsequent processing is carried out according to detected equipment state.
Wherein, which may include:
At least one of operational mode, the state of the first system setting, operating status, state of the first application program.
It should be noted that the operational mode includes battery saving mode and non-battery saving mode, wherein saved when electronic equipment is in When power mode, system can reduce CPU and GPU frequency automatically, also, if CPU multicore, it is also possible to reduce operation core number, Score is lower when will lead to the performance test to electronic equipment in this way than operating normally (running under non-battery saving mode), because This, needs when testing electronic equipment in non-battery saving mode.
And if system setting in the first system setting it is in the open state, can excessive use system resource, at this time It will affect test result, therefore, it is necessary to detect the state of the first system setting, wherein the first system setting may include: GPU Antialiasing, USB debugging, GPS etc..
And for the operating status of electronic equipment, it may include: in Current Temperatures, current electric quantity and current residual Deposit at least one of size.It will be appreciated by persons skilled in the art that if current electric quantity is too low or Current Temperatures mistake Height, system will reduce system frequency automatically, will lead to test result inaccuracy at this time;If current residual memory is too low, because For any application program all can use arrive memory, influence of the memory to the entire performance of electronic equipment be it is very big, therefore, also will Cause test score relatively low, therefore, it is necessary to the operating statuses to electronic equipment to detect.
And for the first application program comprising: at least one of antivirus applet, monitoring programme, Helper program; And since the performance test results of first application program to electronic equipment are affected, it is therefore desirable to detect the first application program State.
It should be noted that the detection of each state is independent of each other when equipment state includes at least two state, Exactly various states can be detected simultaneously, it is of course also possible to carry out according to preset detection ordering at least two state Detection, this is also rational.
S103, judges whether each equipment state detected meets the corresponding predetermined condition of the equipment state, such as Fruit is to execute step S105;Otherwise, step S104 is executed;
After detecting at least one equipment state of electronic equipment, it can be determined that whether each equipment state detected Meet the corresponding predetermined condition of the equipment state, and executes different operations according to different judging results.Wherein, when sentencing It is disconnected go out each equipment state detected when meeting the corresponding predetermined condition of the equipment state, show that there is no influence performance Therefore the factor of test accuracy can execute step S105, to start test instruction directly in response to this, set to the electronics It is standby to be tested for the property;And when judging to have the equipment state for not meeting corresponding predetermined condition, showing to exist influences The factor of performance test accuracy, at this point it is possible to execute step S104.
It should be noted that the corresponding predetermined condition of different types of equipment state is different;Also, different types of equipment The judgement of state is independent of each other, therefore may be performed simultaneously or execute according to particular order, this is all reasonable.
S104 executes the first operation for being directed to the equipment state for not meeting predetermined condition, and then executes step S105;
When judging to have the equipment state for not meeting corresponding predetermined condition, can execute be directed to do not meet it is pre- First operation of the equipment state of fixed condition, and after being finished, and then execute step S105.
It should be noted that the first operation corresponding to different types of equipment state can be different.Such as: equipment state When for operational mode, the operational mode of the electronic equipment can be switched to non-battery saving mode to be dynamic by the first corresponding operation; And when equipment state is operating status, such as: when operating status is Current Temperatures, the first corresponding operation can be displaying For prompt user do not meet first condition Current Temperatures influence test accuracy information, this is all reasonable.
S105 responds this and starts test instruction, is tested for the property to the electronic equipment.
It should be noted that responding this starts test instruction, the concrete mode being tested for the property to the electronic equipment can To use existing way, therefore not to repeat here.
In the embodiment of the present invention, when needing to be tested for the property electronic equipment, reception starts test instruction;Detection should At least one equipment state of electronic equipment;It is corresponding to judge whether each equipment state detected meets the equipment state Predetermined condition, if so, respond this start test instruction, which is tested for the property;Otherwise, execution is directed to The equipment state for not meeting predetermined condition first operation, and then respond this start test instruction, to the electronic equipment into Row performance test.As it can be seen that in the present solution, execution, which is directed to, does not meet predetermined condition before to the performance test of electronic equipment First operation of equipment state is not allowed to meet under corresponding predetermined condition or prompt the user with test in each equipment state Under the premise of firmly believing breath, electronic equipment is tested for the property, avoids the equipment state of electronic equipment to the performance test results Influence, and then improve electronic equipment performance test accuracy.
Below by taking the equipment state includes operational mode as an example, the scheme of being provided for the embodiments of the invention is introduced. Certainly, the equipment state can also include the state of the first system setting, operating status, in the state of the first application program extremely Few one kind, also, the detection and judgement of each equipment state are independent of each other.
Wherein, it should be noted that a kind of electronic equipment performance test methods provided by the embodiment of the present invention are suitable for In electronic equipment, wherein in practical applications, which can be with are as follows: the equipment such as mobile phone, notebook, tablet computer;And And to the performance of electronic equipment test involved test item may include: virtual machine performance, multitask performance, CPU (Central Processing Unit, central processing unit) integer performance, CPU floating-point performance, RAM (random access Memory, random access memory) speed ability, RAM operational performance, GPU (Graphic Processing Unit, graphics process Device) 2D drawing performance, the 3D drawing performance of GPU, database I/O performance, memory I/O (input/output, input and output At least one of port) performance, it is not limited thereto certainly, can also include other test items.Wherein, for each The specific test of test item can realize that therefore not to repeat here using the prior art.
As shown in Fig. 2, a kind of electronic equipment performance test methods, may include:
S201, reception start test instruction;
When needing to test the performance of electronic equipment, user can be started by human-computer interaction interface to electronic equipment sending Test instruction, and the electronic equipment can receive this and start test instruction, and then carry out subsequent processing.
S202 detects the operational mode of the electronic equipment;
Since when electronic equipment is in battery saving mode, system can reduce CPU and GPU frequency, also, if CPU automatically Multicore, it is also possible to reduce operation core number, will lead to the performance test to electronic equipment in this way than operating normally (i.e. in non-province Run under power mode) when score it is lower.Therefore, receive start test instruction after, not immediately to the performance of electronic equipment It is tested, but detects the operational mode of the electronic equipment, and subsequent processing is carried out according to detected operational mode.
S203 judges whether the operational mode of the electronic equipment detected is non-battery saving mode, if so, executing step S205;Otherwise, step S204 is executed;
After detecting the operational mode of electronic equipment, it can be determined that whether the operational mode of the electronic equipment detected For non-battery saving mode, and different operations is executed according to different judging results.Wherein, when the operation mould for detecting electronic equipment When formula is non-battery saving mode, show that therefore step S205 can be executed there is no the factor for influencing performance test accuracy, from And start test instruction directly in response to this, which is tested for the property;And when the operation mould for detecting electronic equipment When formula is battery saving mode, show there is the factor for influencing performance test accuracy, therefore, it is necessary to execute step S204.
The operational mode of the electronic equipment is switched to non-battery saving mode automatically, and then executes step S205 by S204;
Therefore, when the operational mode for detecting electronic equipment is battery saving mode, it is accurate in the presence of performance test is influenced to show The factor of property;And in order to eliminate the effects of the act, the operational mode of the electronic equipment can be switched to non-battery saving mode automatically, and then hold Row step S205.
Certainly, in practical applications, can also to user show prompt information, with prompt the user whether to operational mode into Row switching, and after the operational mode switching command for receiving user's sending, the operational mode of the electronic equipment is switched to non- Battery saving mode.
S205 responds this and starts test instruction, is tested for the property to the electronic equipment.
It should be noted that responding this starts test instruction, the concrete mode being tested for the property to the electronic equipment can To use existing way, therefore not to repeat here.
As it can be seen that in the present solution, before to the performance test of electronic equipment, when detecting that electronic equipment is in battery saving mode When, the operational mode of the electronic equipment is switched to non-battery saving mode automatically, battery saving mode is avoided and electronic equipment performance is surveyed It is influenced brought by examination, finally improves the accuracy of electronic equipment performance test.
Below by taking the equipment state includes the state of the first system setting as an example, it is provided for the embodiments of the invention scheme It is introduced.Certainly, the equipment state can also include operational mode, operating status, in the state of the first application program extremely Few one kind, also, the detection and judgement of each equipment state are independent of each other.
Wherein, it should be noted that a kind of electronic equipment performance test methods provided by the embodiment of the present invention are suitable for In electronic equipment, wherein in practical applications, which can be with are as follows: the equipment such as mobile phone, notebook, tablet computer;And And to the performance of electronic equipment test involved test item may include: virtual machine performance, multitask performance, The 3D drawing of CPU integer performance, CPU floating-point performance, RAM speed ability, RAM operational performance, the 2D drawing performance of GPU, GPU At least one of energy, database I/O performance, memory I/O performance, are not limited thereto certainly, can also include others Test item.Wherein, therefore not to repeat here to be realized using the prior art for the specific test of each test item.
As shown in figure 3, a kind of electronic equipment performance test methods, may include:
S301, reception start test instruction;
When needing to test the performance of electronic equipment, user can be started by human-computer interaction interface to electronic equipment sending Test instruction, and the electronic equipment can receive this and start test instruction, and then carry out subsequent processing.
S302 detects the state of the first system setting of the electronic equipment;
Since if the first system setting in system setting is in the open state, meeting excessive use system resource, at this time It will affect test result.Therefore, receive start test instruction after, the performance of electronic equipment is not tested immediately, But the state of the first system setting of the electronic equipment is detected, and carry out according to the state that detected the first system is arranged Subsequent processing.
Wherein, the first system setting may include: GPU antialiasing, USB debugging, GPS (Global Positioning System, global positioning system) at least one, certainly, it is not limited to this.
S303, judges whether the state of each the first system setting of the electronic equipment detected is in off state, If so, executing step S305;Otherwise, step S304 is executed;
When detect electronic equipment the first system be arranged state after, it can be determined that the electronic equipment detected it is every Whether the state of one the first system setting is in off state, and different operations is executed according to different judging results.Wherein, When the state for judging that each the first system of the electronic equipment detected is arranged is in off state, show that there is no shadows Therefore the factor for ringing performance test accuracy can execute step S305, to start test instruction directly in response to this, to this Electronic equipment is tested for the property;And when judging to have the first system setting being not off, show that there are shadows The factor of performance test accuracy is rung, therefore, it is necessary to execute step S304.
S304 is automatically closed the first system setting being not off, and then executes step S305;
Therefore, when judging to have the first system setting being not off, showing to exist influences performance test The factor of accuracy;And in order to eliminate the effects of the act, the first system setting being not off can be automatically closed, and then execute Step S305.
Certainly, in practical applications, prompt information can also be shown to user, be not in pass to prompt the user whether to close The first system of closed state is arranged, and after the out code for receiving user's sending, closes first be not off System setting.
S305 responds this and starts test instruction, is tested for the property to the electronic equipment.
It should be noted that responding this starts test instruction, the concrete mode being tested for the property to the electronic equipment can To use existing way, therefore not to repeat here.
As it can be seen that in the present solution, before to the performance test of electronic equipment, when detecting the first system being not off When system setting, the first system setting being not off is automatically closed, it is in the open state to avoid the first system setting And on influence brought by electronic equipment performance test, finally improve the accuracy of electronic equipment performance test.
Below by taking the equipment state includes operating status as an example, the scheme of being provided for the embodiments of the invention is introduced. Certainly, the equipment state can also include operational mode, the first system be arranged state, in the state of the first application program extremely Few one kind, also, the detection and judgement of each equipment state are independent of each other.
Wherein, it should be noted that a kind of electronic equipment performance test methods provided by the embodiment of the present invention are suitable for In electronic equipment, wherein in practical applications, which can be with are as follows: the equipment such as mobile phone, notebook, tablet computer;And And to the performance of electronic equipment test involved test item may include: virtual machine performance, multitask performance, The 3D drawing of CPU integer performance, CPU floating-point performance, RAM speed ability, RAM operational performance, the 2D drawing performance of GPU, GPU At least one of energy, database I/O performance, memory I/O performance, are not limited thereto certainly, can also include others Test item.Wherein, therefore not to repeat here to be realized using the prior art for the specific test of each test item.
As shown in figure 4, a kind of electronic equipment performance test methods, may include:
S401, reception start test instruction;
When needing to test the performance of electronic equipment, user can be started by human-computer interaction interface to electronic equipment sending Test instruction, and the electronic equipment can receive this and start test instruction, and then carry out subsequent processing.
S402 detects the operating status of the electronic equipment;
If system will reduce system frequency automatically since current electric quantity is too low or Current Temperatures are excessively high, at this time will Cause test result inaccurate;If current residual memory is too low, because any application program, which can all use, arrives memory, memory pair The influence of the entire performance of electronic equipment be it is very big, therefore, also lead to test score it is relatively low.Therefore, beginning is being received After test instruction, the performance of electronic equipment is not tested immediately, but detect the operating status of the electronic equipment, and root Subsequent processing is carried out according to detected operating status.
Wherein, operating status may include:
At least one of Current Temperatures, current electric quantity and current residual memory size.
S403, judges whether each operating status of the electronic equipment detected meets corresponding first Part, if so, executing step S405;Otherwise, step S404 is executed;
After detecting the operating status of electronic equipment, it can be determined that each operation shape of the electronic equipment detected Whether state meets corresponding first condition, and different operations is executed according to different judging results.Wherein, when judging Each operating status of the electronic equipment detected meets corresponding first condition, shows that there is no influence performance to survey Therefore the factor of examination accuracy can execute step S405, to start test instruction directly in response to this, to the electronic equipment It is tested for the property;And when judging to have the operating status for not meeting corresponding first condition, showing to exist influences performance Therefore the factor of test accuracy can execute step S404.
Wherein, when operating status includes Current Temperatures, first condition corresponding to operating status may include:
The Current Temperatures are not higher than the first temperature threshold;
When operating status includes current electric quantity, first condition corresponding to operating status may include:
The current electric quantity is not less than the first power threshold;
When operating status includes current residual memory size, first condition corresponding to operating status may include:
The current free memory size is not less than the first memory threshold.
It should be noted that first condition corresponding to above-mentioned operating status is merely exemplary, should not constitute to this The restriction of inventive embodiments.
S404 shows the information of the operating status influence test accuracy for prompting user not meet first condition, into And execute step S405;
When judging to have the operating status for not meeting corresponding first condition, it is accurate in the presence of performance test is influenced to show The factor of property;And in order to guarantee the usage experience of user, need to show the operation shape for prompting user not meet first condition The information of state influence test accuracy.
Certainly, in practical applications, prompt information can also be shown to user, to prompt not meeting first described in user The operating status of part influences test accuracy, and suggests that user tests later.
S405 responds this and starts test instruction, is tested for the property to the electronic equipment.
It should be noted that responding this starts test instruction, the concrete mode being tested for the property to the electronic equipment can To use existing way, therefore not to repeat here.
As it can be seen that in the present solution, not meeting corresponding first condition when detecting before to the performance test of electronic equipment When operating status, shows the information of the operating status influence test accuracy for prompting user not meet first condition, improve The usage experience of user.
Below by taking the equipment state includes the state of the first application program as an example, it is provided for the embodiments of the invention scheme It is introduced.Certainly, the equipment state can also include operational mode, the first system be arranged state, in operating status extremely Few one kind, also, the detection and judgement of each equipment state are independent of each other.
Wherein, it should be noted that a kind of electronic equipment performance test methods provided by the embodiment of the present invention are suitable for In electronic equipment, wherein in practical applications, which can be with are as follows: the equipment such as mobile phone, notebook, tablet computer;And And to the performance of electronic equipment test involved test item may include: virtual machine performance, multitask performance, The 3D drawing of CPU integer performance, CPU floating-point performance, RAM speed ability, RAM operational performance, the 2D drawing performance of GPU, GPU At least one of energy, database I/O performance, memory I/O performance, are not limited thereto certainly, can also include others Test item.Wherein, therefore not to repeat here to be realized using the prior art for the specific test of each test item.
As shown in figure 5, a kind of electronic equipment performance test methods, may include:
S501, reception start test instruction;
When needing to test the performance of electronic equipment, user can be started by human-computer interaction interface to electronic equipment sending Test instruction, and the electronic equipment can receive this and start test instruction, and then carry out subsequent processing.
S502 detects the state of the first application program of the electronic equipment;
Since the performance test results of first application program to electronic equipment are affected, start to survey receiving After examination instruction, the performance of electronic equipment is not tested immediately, but detect the first application program of the electronic equipment State, and subsequent processing is carried out according to the operating status of the first detected application program.
Wherein, first application program may include:
At least one of antivirus applet, monitoring programme, Helper program.
S503, judges whether every one first application program of the electronic equipment detected is in closed state, if It is to execute step S505;Otherwise, step S504 is executed;
After detecting the state of the first application program of electronic equipment, it can be determined that the electronic equipment detected it is every Whether the state of one first application program is in off state, and different operations is executed according to different judging results.Wherein, When judging that the state of every one first application program of the electronic equipment detected is in off state, show that there is no shadows Therefore the factor for ringing performance test accuracy can execute step S405, to start test instruction directly in response to this, to this Electronic equipment is tested for the property;And when judging to have the first application program being not off, show that there are shadows The factor of performance test accuracy is rung, therefore, it is necessary to execute step S504.
S504 is automatically closed the first application program being not off, and then executes step S505;
When judging to have the first application program being not off, showing to exist influences performance test accuracy Factor;And in order to eliminate the effects of the act, the first application program being not off can be automatically closed, and then execute step S504。
It is, of course, also possible to prompt information be shown to user, to prompt the user whether to close be not off first Application program, and after receiving user and issuing out code, close the first application program being not off.
S505 responds this and starts test instruction, is tested for the property to the electronic equipment.
It should be noted that responding this starts test instruction, the concrete mode being tested for the property to the electronic equipment can To use existing way, therefore not to repeat here.
As it can be seen that in the present solution, before to the performance test of electronic equipment, when detecting the presence of be not off When one application program, the first application program being not off is automatically closed, avoids first be not off Application program is influenced on brought by electronic equipment performance test, finally improves the accuracy of electronic equipment performance test.
Corresponding to above method embodiment, the embodiment of the invention provides a kind of electronic equipment performance testing devices, such as Fig. 6 It is shown, may include:
Command reception module 610 is tested, starts test instruction for receiving;
Condition Detection module 620, for detecting at least one equipment state of the electronic equipment;
Judgment module 630, for judging it is corresponding whether each equipment state detected meets the equipment state Predetermined condition, if so, triggering command respond module 640;Otherwise, the first operation executing module 650 is triggered;
Described instruction respond module 640, for respond it is described start test instruction, to the electronic equipment carry out performance survey Examination;
First operation executing module 650 is directed to the equipment state for not meeting predetermined condition for executing First operation, and then trigger described instruction respond module.
In the embodiment of the present invention, when needing to be tested for the property electronic equipment, reception starts test instruction;Detection should At least one equipment state of electronic equipment;It is corresponding to judge whether each equipment state detected meets the equipment state Predetermined condition, if so, respond this start test instruction, which is tested for the property;Otherwise, execution is directed to The equipment state for not meeting predetermined condition first operation, and then respond this start test instruction, to the electronic equipment into Row performance test.As it can be seen that in the present solution, execution, which is directed to, does not meet predetermined condition before to the performance test of electronic equipment First operation of equipment state is not allowed to meet under corresponding predetermined condition or prompt the user with test in each equipment state Under the premise of firmly believing breath, electronic equipment is tested for the property, avoids the equipment state of electronic equipment to the performance test results Influence, and then improve electronic equipment performance test accuracy.
Wherein, the Condition Detection module 620 may include:
Operational mode detection sub-module, system setting detection sub-module, condition monitoring submodule, application program detection At least one of submodule;
Wherein, the operational mode detection sub-module, for detecting the operational mode of the electronic equipment;
Detection sub-module is arranged in the system, the state that the first system for detecting the electronic equipment is arranged;
The condition monitoring submodule, for detecting the operating status of the electronic equipment;
The application program detection sub-module, the state of the first application program for detecting the electronic equipment.
Wherein, when the Condition Detection module 620 includes operational mode detection sub-module, the judgment module 630, may include:
First judging submodule, for judging whether the operating status of the electronic equipment is non-battery saving mode, if so, Triggering command respond module 640;Otherwise, the first operation executing module 650 is triggered;
Correspondingly, first operation executing module 650, may include:
First implementation sub-module, for the operational mode of the electronic equipment to be switched to non-battery saving mode automatically;
Alternatively,
Prompt information is shown to user, to prompt the user whether to switch over operational mode, and is receiving user's hair After operational mode switching command out, the operational mode of the electronic equipment is switched to non-battery saving mode.
Wherein, when the Condition Detection module 620 includes system setting detection sub-module, the judgment module 630, May include:
Second judgment submodule, for judging whether the state that each the first system of the electronic equipment is arranged is to close Closed state, if so, triggering command respond module 640;Otherwise, the first operation executing module 650 is triggered;
Correspondingly, first operation executing module 650, may include:
Second implementation sub-module, for the first system being not off setting to be automatically closed;
Alternatively,
Prompt information is shown to user, to prompt the user whether to close the first system being not off setting, and After the out code for receiving user's sending, the first system being not off described in closing is arranged.
Wherein, when the Condition Detection module includes condition monitoring submodule, the judgment module 630, May include:
Third judging submodule, for judging it is corresponding whether each operating status of the electronic equipment meets First condition, if so, triggering command respond module 640;Otherwise, the first operation executing module 650 is triggered;
Correspondingly, first operation executing module 650, may include:
Third implementation sub-module, for showing prompt information to user, to prompt not meeting first condition described in user Operating status influences test accuracy, and suggests that user tests later.
Wherein, when the Condition Detection module includes application program detection sub-module, the judgment module 630, May include:
4th judging submodule, for judging whether every one first application program of the electronic equipment is in closing shape State, if so, triggering command respond module 640;Otherwise, the first operation executing module 650 is triggered;
Correspondingly, first operation executing module 650, may include:
4th implementation sub-module, for the first application program being not off to be automatically closed;
Alternatively,
Prompt information is shown to user, to prompt the user whether to close the first application program being not off, and After receiving user and issuing out code, the first application program for being not off described in closing.
For system or Installation practice, since it is substantially similar to the method embodiment, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Those of ordinary skill in the art will appreciate that all or part of the steps in realization above method embodiment is can It is completed with instructing relevant hardware by program, the program can store in computer-readable storage medium, The storage medium designated herein obtained, such as: ROM/RAM, magnetic disk, CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (15)

1. a kind of electronic equipment performance test methods characterized by comprising
Reception starts test instruction;
Detect at least one equipment state of the electronic equipment;
Judge whether each equipment state detected meets the corresponding predetermined condition of the equipment state;
If so, response is described to start test instruction, the electronic equipment is tested for the property;
Otherwise, the first operation for being directed to the equipment state for not meeting predetermined condition is executed, so as to meet in each equipment state Under the corresponding predetermined condition of the equipment state or under the premise of prompting the user with test inaccurate information, responds and described starts to survey Examination instruction, is tested for the property the electronic equipment.
2. the method according to claim 1, wherein the equipment state includes:
At least one of operational mode, the state of the first system setting, operating status, state of the first application program.
3. according to the method described in claim 2, it is characterized in that,
The equipment state includes operational mode;
Predetermined condition corresponding to the operational mode includes: that the operational mode of the electronic equipment is non-battery saving mode;
Correspondingly, described execute the first operation for being directed to the equipment state for not meeting predetermined condition, comprising:
Automatically the operational mode of the electronic equipment is switched to non-battery saving mode;
Alternatively,
Prompt information is shown to user, to prompt the user whether to switch over operational mode, and is receiving user's sending After operational mode switching command, the operational mode of the electronic equipment is switched to non-battery saving mode.
4. according to the method described in claim 2, it is characterized in that,
The equipment state includes the state of the first system setting;
Predetermined condition corresponding to the state of the first system setting includes:
The state of each the first system setting of the electronic equipment is in off state;
Correspondingly, described execute the first operation for being directed to the equipment state for not meeting predetermined condition, comprising:
The first system setting being not off is automatically closed;
Alternatively,
Prompt information is shown to user, to prompt the user whether to close the first system being not off setting, and is being connect After the out code for receiving user's sending, the first system being not off described in closing is arranged.
5. according to the method described in claim 4, it is characterized in that, the first system setting includes:
At least one of GPU antialiasing, USB debugging, GPS.
6. according to the method described in claim 2, it is characterized in that,
The equipment state includes operating status;
Predetermined condition corresponding to the operating status includes: corresponding to each operating status of the electronic equipment meets First condition;
Correspondingly, executing the first operation for being directed to the equipment state for not meeting predetermined condition, comprising:
Prompt information is shown to user, test accuracy is influenced with the operating status for prompting user not meet first condition, and build View user tests later.
7. according to the method described in claim 6, it is characterized in that,
The operating status includes at least one of Current Temperatures, current electric quantity and current residual memory size;
When the operating status includes Current Temperatures, first condition corresponding to the operating status includes: the current temperature Degree is not higher than the first temperature threshold;
When the operating status includes current electric quantity, first condition corresponding to the operating status includes: the current electricity Amount is not less than the first power threshold;
When the operating status includes current residual memory size, first condition corresponding to the operating status includes: institute Current residual memory size is stated not less than the first memory threshold.
8. according to the method described in claim 2, it is characterized in that,
The equipment state includes the state of the first application program;
Predetermined condition corresponding to the state of first application program includes: every one first application program of the electronic equipment It is in closed state;
Correspondingly, executing the first operation for being directed to the equipment state for not meeting predetermined condition, comprising:
The first application program being not off is automatically closed;
Alternatively,
Prompt information is shown to user, to prompt the user whether to close the first application program being not off, and is being connect It receives after user issues out code, the first application program for being not off described in closing.
9. according to the method described in claim 8, it is characterized in that, first application program includes:
At least one of antivirus applet, monitoring programme, Helper program.
10. a kind of electronic equipment performance testing device characterized by comprising
Command reception module is tested, starts test instruction for receiving;
Condition Detection module, for detecting at least one equipment state of the electronic equipment;
Judgment module, for judging whether each equipment state detected meets the corresponding predetermined item of the equipment state Part, if so, triggering command respond module;Otherwise, the first operation executing module is triggered;
Described instruction respond module, for respond it is described start test instruction, the electronic equipment is tested for the property;
First operation executing module, for executing the first operation for being directed to the equipment state for not meeting predetermined condition, with Make to meet under the corresponding predetermined condition of the equipment state or prompt the user with test inaccurate information in each equipment state Under the premise of, trigger described instruction respond module.
11. device according to claim 10, which is characterized in that the Condition Detection module, comprising:
Operational mode detection sub-module, system setting detection sub-module, condition monitoring submodule, application program detect submodule At least one of block;
Wherein, the operational mode detection sub-module, for detecting the operational mode of the electronic equipment;
Detection sub-module is arranged in the system, the state that the first system for detecting the electronic equipment is arranged;
The condition monitoring submodule, for detecting the operating status of the electronic equipment;
The application program detection sub-module, the state of the first application program for detecting the electronic equipment.
12. device according to claim 11, which is characterized in that when the Condition Detection module includes operational mode When detection sub-module, the judgment module, comprising:
First judging submodule, for judging whether the operating status of the electronic equipment is non-battery saving mode, if so, triggering Instruct respond module;Otherwise, the first operation executing module is triggered;
Correspondingly, first operation executing module, comprising:
First implementation sub-module, for the operational mode of the electronic equipment to be switched to non-battery saving mode automatically;
Alternatively,
Prompt information is shown to user, to prompt the user whether to switch over operational mode, and is receiving user's sending After operational mode switching command, the operational mode of the electronic equipment is switched to non-battery saving mode.
13. device according to claim 11, which is characterized in that the Condition Detection module includes system setting inspection When surveying submodule, the judgment module, comprising:
Second judgment submodule, whether the state for judging that each the first system of the electronic equipment is arranged is closing shape State, if so, triggering command respond module;Otherwise, the first operation executing module is triggered;
Correspondingly, first operation executing module, comprising:
Second implementation sub-module, for the first system being not off setting to be automatically closed;
Alternatively,
Prompt information is shown to user, to prompt the user whether to close the first system being not off setting, and is being connect After the out code for receiving user's sending, the first system being not off described in closing is arranged.
14. device according to claim 11, which is characterized in that when the Condition Detection module includes operating status When detection sub-module, the judgment module, comprising:
Third judging submodule, for judging whether each operating status of the electronic equipment meets corresponding first Condition, if so, triggering command respond module;Otherwise, the first operation executing module is triggered;
Correspondingly, first operation executing module, comprising:
Third implementation sub-module, for showing prompt information to user, to prompt user not meet the operating status of first condition Test accuracy is influenced, and suggests that user tests later.
15. device according to claim 11, which is characterized in that when the Condition Detection module includes application program When detection sub-module, the judgment module, comprising:
4th judging submodule, for judging whether every one first application program of the electronic equipment is in closed state, If so, triggering command respond module;Otherwise, the first operation executing module is triggered;
Correspondingly, first operation executing module, comprising:
4th implementation sub-module, for the first application program being not off to be automatically closed;
Alternatively,
Prompt information is shown to user, to prompt the user whether to close the first application program being not off, and is being connect It receives after user issues out code, the first application program for being not off described in closing.
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 CN105404566A (en) 2016-03-16
CN105404566B true 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)

Families Citing this family (1)

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

Citations (1)

* 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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8271048B2 (en) * 2008-12-01 2012-09-18 Lenovo (Beijing) Limited Operation mode switching method for communication system, mobile terminal and display switching method therefor
CN102681642B (en) * 2011-03-07 2015-03-25 联想(北京)有限公司 Terminal device
CN103577060B (en) * 2012-08-07 2017-11-28 联想(北京)有限公司 A kind of data processing method and electronic equipment
CN103455396B (en) * 2013-09-03 2016-08-31 北京安兔兔科技有限公司 The method of testing of electronic equipment hardware performance and device

Patent Citations (1)

* 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

Also Published As

Publication number Publication date
CN105404566A (en) 2016-03-16

Similar Documents

Publication Publication Date Title
CN103338290B (en) A kind of method of automatic test Android phone touch screen performance
CN105334939B (en) Terminal power consumption control method and device
CN102110053B (en) Random testing method based on Android
CN104639732B (en) A kind of automatic electronic equipment and method for lighting screen
CN104932963B (en) The method and device of management terminal
CN106062679B (en) A kind of method, apparatus and terminal controlling display screen
CN105187608B (en) The method and apparatus of application program power consumption on a kind of acquisition mobile terminal
CN102129061A (en) Automatic wiring detection device and method for three-phase simulation electric energy meter
CN103323786A (en) Method, device and equipment for detecting service life of battery
CN104834601A (en) Android system-based automatic testing method for memory leakage of intelligent terminal
CN109738719A (en) Electro-static Driven Comb ESD detection method and Related product
CN104569673B (en) Test circuit, method and apparatus
CN105910620B (en) The processing method and processing device of step counting data
CN107038120A (en) A kind of method for testing software and equipment
CN114167132B (en) Power consumption detection method and device of wireless terminal, electronic equipment and storage medium
CN107967207A (en) The test method and device of user interface interaction function
CN106646085B (en) Leakage tests method, apparatus and equipment
CN105404566B (en) Electronic equipment performance test methods and device
CN103942133A (en) Information processing method and electronic equipment
CN108984265A (en) Detect the method and device of virtual machine environment
CN109885473A (en) Automated testing method and device, terminal and computer readable storage medium
CN105138458A (en) Method and system for recording automatic testing scripts by combining intelligent terminal and computer terminal
CN106021024A (en) Method for reminding response stopping of user terminal, and user terminal
CN210016474U (en) Distribution network test control equipment and system
CN103761120A (en) Mobile terminal application program rapidly started method and mobile terminal

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