CN114491677A - Hardware performance evaluation method and device of intelligent terminal, storage medium and terminal - Google Patents

Hardware performance evaluation method and device of intelligent terminal, storage medium and terminal Download PDF

Info

Publication number
CN114491677A
CN114491677A CN202111602637.4A CN202111602637A CN114491677A CN 114491677 A CN114491677 A CN 114491677A CN 202111602637 A CN202111602637 A CN 202111602637A CN 114491677 A CN114491677 A CN 114491677A
Authority
CN
China
Prior art keywords
hardware
intelligent terminal
preset
evaluation
tested
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.)
Pending
Application number
CN202111602637.4A
Other languages
Chinese (zh)
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.)
Chengdu Luyi Technology Co ltd
Original Assignee
Chengdu Luyi 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 Chengdu Luyi Technology Co ltd filed Critical Chengdu Luyi Technology Co ltd
Priority to CN202111602637.4A priority Critical patent/CN114491677A/en
Publication of CN114491677A publication Critical patent/CN114491677A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Abstract

The invention discloses a hardware performance evaluation method and device of an intelligent terminal, a storage medium and a terminal, wherein the method comprises the following steps: evaluating the hardware to be tested based on a preset evaluation rule to obtain an evaluation result; uploading the evaluation result to a cloud server for calculation, and acquiring a performance evaluation score of the hardware to be tested; and displaying the page with the performance evaluation score result of the hardware to be tested to a user. According to the invention, the evaluation score of the hardware performance is calculated on the cloud server, so that the risk problem of easy leakage caused by the fact that the calculation logic is placed in the installation file of the intelligent terminal can be avoided.

Description

Hardware performance evaluation method and device of intelligent terminal, storage medium and terminal
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a hardware performance evaluation method and device of an intelligent terminal, a storage medium and a terminal.
Background
With the rapid development of the mobile internet technology, the intelligent terminal device is mature and popular day by day, and great convenience is brought to the working life of people. The performance of intelligent terminals of different brands and models is also uneven. Therefore, the performance of the intelligent terminal needs to be evaluated so that the user can fully know the performance of the hardware performance evaluation of each intelligent terminal, and the hardware performance evaluation of the intelligent terminal meeting the user requirements is selected.
At present, the CPU performance, the GUP performance, the flash memory performance, and the like of the intelligent terminal can be tested through evaluation software running on the intelligent terminal, different test results are scored, and then scores for evaluating various performances of the hardware performance of the intelligent terminal are displayed to a user as evaluation results. Because the calculation process of the test score of the intelligent terminal is in the application installation package, the risk of calculation score leakage may exist, and meanwhile, the condition that the calculation score of the intelligent terminal of a certain type is abnormal due to the evaluation of some false machines may also exist.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for evaluating hardware performance of an intelligent terminal, a storage medium, and a terminal, and mainly aims to avoid a risk problem that a computing logic is placed in an installation file of the intelligent terminal to cause easy leakage by performing computation of an evaluation score of the hardware performance on a cloud server.
According to one aspect of the invention, a hardware performance evaluation method of an intelligent terminal is provided, which comprises the following steps:
evaluating the hardware to be tested based on a preset evaluation rule to obtain an evaluation result;
uploading the evaluation result to a cloud server for calculation, and acquiring a performance evaluation score of the hardware to be tested;
and displaying the page with the performance evaluation score result of the hardware to be tested to a user.
Further, the evaluating the hardware to be tested based on the preset evaluating rule to obtain an evaluating result includes:
installing an installation package with an application program according with a preset evaluation rule on an intelligent terminal corresponding to the hardware to be tested;
and running the application program on the intelligent terminal within a preset time period to obtain an evaluation result with the running of the application program.
Further, the evaluating the hardware to be tested based on the preset evaluating rule to obtain an evaluating result includes:
when the hardware to be tested is a CPU (central processing unit), the preset evaluation rule comprises the operations of handwritten number recognition, large integer factor decomposition, prime number generation, LZMA (Lempel-Ziv-Ma) data compression and hypertext safe transmission encryption and decryption on the CPU respectively;
when the hardware to be tested is a GPU processor, the preset evaluation rule comprises a preset drawing program running on the intelligent terminal;
and when the hardware to be tested is a flash memory controller, the preset evaluation rule comprises a preset reading program running on the intelligent terminal.
Further, when the hardware to be tested is a CPU processor, the evaluating the hardware to be tested based on a preset evaluation rule to obtain an evaluation result, including:
determining a single core to be evaluated according to the frequency of each core of the CPU processor;
performing handwritten number recognition, large integer factor decomposition, prime number generation, LZMA data compression and hypertext secure transmission encryption and decryption on the to-be-evaluated single core to obtain a first running time corresponding to the to-be-evaluated single core;
performing handwritten number recognition, large integer factor decomposition, prime number generation, LZMA data compression and hypertext secure transmission encryption and decryption on the multi-core of the intelligent terminal to obtain second running time respectively corresponding to the multi-core of the intelligent terminal;
and analyzing all the obtained first running time and second running time respectively to obtain evaluation results corresponding to the single core and the multiple cores of the CPU processor of the intelligent terminal respectively.
Further, when the hardware to be tested is a GPU processor, the evaluating the hardware to be tested based on a preset evaluation rule to obtain an evaluation result, including:
running the preset drawing program on the intelligent terminal to obtain the image rendering frame rate of the GPU processor;
and analyzing the frame rate of image rendering of the GPU processor to obtain the corresponding evaluation result of the GPU processor.
Further, when the hardware to be tested is a flash memory controller, the hardware to be tested is evaluated based on a preset evaluation rule to obtain an evaluation result, including:
sequentially reading preset files through a preset reading program running on the intelligent terminal to obtain a first reading speed of the preset files;
randomly reading a preset file through a preset reading program running on the intelligent terminal, and acquiring a second reading speed of the preset file after the preset file is completely read;
and analyzing all the obtained first reading speed and second reading speed to obtain an evaluation result corresponding to the flash memory controller of the intelligent terminal.
Further, before installing an installation package having an application program meeting a preset evaluation rule on the intelligent terminal corresponding to the hardware to be tested, the method includes:
respectively generating 32-bit and 64-bit installation packages of the application program which accord with the preset evaluation rule through a preset compiling tool;
and determining a 32-bit installation package or a 64-bit installation package corresponding to the system information of the intelligent terminal according to the system information of the intelligent terminal.
Further, the displaying the page with the performance evaluation score result of the hardware to be tested to the user includes:
and if the difference value between the performance evaluation score result of the hardware to be tested and a preset score result is larger than a preset threshold value, the page prompts a user that the hardware to be tested is abnormal.
According to another aspect of the present invention, there is provided a hardware performance evaluating apparatus for an intelligent terminal, including:
the evaluation module is used for evaluating the hardware to be tested based on a preset evaluation rule to obtain an evaluation result;
the score calculation module is used for uploading the evaluation result to a cloud server for calculation, and acquiring the performance evaluation score of the hardware to be tested;
and the display module is used for displaying the page with the performance evaluation score result of the hardware to be tested to a user.
According to another aspect of the present invention, a storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to execute operations corresponding to the hardware performance evaluation method of the intelligent terminal as described above.
According to still another aspect of the present invention, there is provided a terminal including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the hardware performance evaluation method of the intelligent terminal.
By the technical scheme, the technical scheme provided by the embodiment of the invention at least has the following advantages:
the invention provides a hardware performance evaluation method and device of an intelligent terminal, a storage medium and a terminal, compared with the prior art, the embodiment of the invention uploads an evaluation result obtained by evaluating hardware to be tested based on a preset evaluation rule to a cloud server for calculation, and obtains a performance evaluation score of the hardware to be tested; and finally, displaying the page with the performance evaluation score result of the hardware to be tested to the user. According to the invention, the evaluation score of the hardware performance is calculated on the cloud server, so that the risk problem of easy leakage caused by the fact that the calculation logic is placed in the installation file of the intelligent terminal can be avoided.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flowchart of a method for evaluating hardware performance of an intelligent terminal according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another method for evaluating hardware performance of an intelligent terminal according to an embodiment of the present invention;
fig. 3 shows a block diagram of a hardware performance evaluation apparatus of an intelligent terminal according to an embodiment of the present invention;
fig. 4 shows a block diagram of another hardware performance evaluation apparatus for an intelligent terminal according to an embodiment of the present invention;
fig. 5 shows a physical structure diagram of a computer device according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present invention. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The following describes a method and an apparatus for evaluating hardware performance of an intelligent terminal in a device to be evaluated according to an embodiment of the present invention with reference to the accompanying drawings.
Because the existing computing logic for evaluating the hardware performance of the intelligent terminal is placed in the installation file of the intelligent terminal, the file is easy to crack, and the leakage risk exists. The hardware performance evaluation method of the intelligent terminal is used for calculating the evaluation score of the hardware performance on the cloud server, and the risk problem that the evaluation score is easy to leak due to the fact that the calculation logic is placed in the installation file of the intelligent terminal can be avoided.
Fig. 1 is a flowchart of a method for evaluating hardware performance of an intelligent terminal in a device to be evaluated according to an embodiment of the present invention. It should be noted that the intelligent terminal in the embodiment of the present invention may be a hardware device, such as a mobile phone, a tablet computer, and a personal digital assistant, which has an android or damming operating system and supports the running of an application program.
As shown in fig. 1, the method for evaluating hardware performance of an intelligent terminal provided by the present invention includes:
101. and evaluating the hardware to be tested based on a preset evaluation rule to obtain an evaluation result.
It should be noted that the hardware performance of the smart terminal can be reflected by the amount of computation per unit time.
Here, the operation amount refers to the number of times of executing the test program having the preset evaluation rule, and the time refers to the time consumed by the previous number of times of executing the test program. The number of times of the test program running can be fixed, the time consumed by running the fixed number of times or the execution time length of the fixed test program can be obtained, the number of times of the test program execution in the fixed time can be obtained, the fixed time can be divided by the number of times of the test program execution, and therefore the calculation amount of the unit time can be obtained, and further the evaluation result of the hardware to be tested can be obtained.
102. And uploading the evaluation result to a cloud server for calculation, and acquiring the performance evaluation score of the hardware to be tested.
It can be understood that, after the evaluation result is uploaded to the cloud server by the computing logic of the performance evaluation score of the hardware to be tested on the cloud waiter, the computing logic in the cloud server calculates the evaluation result to obtain the performance evaluation score of the hardware to be tested, and then the obtained performance evaluation score is sent to the intelligent terminal.
103. And displaying the page with the performance evaluation score result of the hardware to be tested to a user.
Here, the page of the intelligent terminal can show the specific model of the mobile phone, the camera or the tablet computer and the obtained performance evaluation score information of the hardware to be tested, so that the convenience and the efficiency of knowing products of a user are improved.
Compared with the prior art, the embodiment of the invention provides a hardware performance evaluation method of an intelligent terminal, and the method comprises the steps of uploading an evaluation result obtained by evaluating hardware to be tested based on a preset evaluation rule to a cloud server for calculation, and obtaining a performance evaluation score of the hardware to be tested; and finally, displaying the page with the performance evaluation score result of the hardware to be tested to the user. According to the invention, the evaluation score of the hardware performance is calculated on the cloud server, so that the risk problem of easy leakage caused by the fact that the calculation logic is placed in the installation file of the intelligent terminal can be avoided.
The embodiment of the invention provides another hardware performance evaluation method for an intelligent terminal, which comprises the following steps of:
201. and installing an installation package with an application program according with a preset evaluation rule on the intelligent terminal corresponding to the hardware to be tested.
Since the hardware performance evaluation of the intelligent terminal needs to execute the test program with the preset evaluation rule, in order to execute the test program with the preset evaluation rule on the intelligent terminal, the installation package with the test program with the preset evaluation rule needs to be installed on the intelligent terminal.
Because the CPU processor of the intelligent terminal is differentiated by 32-bit and 64-bit architectures, although the 64-bit CPU processor can also run the 32-bit application program, the performance of the intelligent terminal for installing the 32-bit application program may be degraded, and the evaluation of the hardware performance of the intelligent terminal may be affected, in some embodiments, before installing the installation package having the application program meeting the preset evaluation rule on the intelligent terminal corresponding to the hardware to be tested, the method includes: respectively generating 32-bit and 64-bit installation packages of the application program which accord with the preset evaluation rule through a preset compiling tool; and determining a 32-bit installation package or a 64-bit installation package corresponding to the system information of the intelligent terminal according to the system information of the intelligent terminal.
It should be noted that, a C/C + + compiling tool is used to generate 32-bit and 64-bit dependency libraries, when an application is installed on an intelligent terminal, a dependency library architecture to be installed may be selected, a 32-bit dependency library may be selected for the 32-bit intelligent terminal, and a 64-bit dependency library may be selected for the 64-bit intelligent terminal, so that the installation package installed on the intelligent terminal in the present application determines to install the 32-bit installation package or the 64-bit installation package according to the selection of the dependency library on the intelligent terminal, thereby avoiding a problem that the performance of the intelligent terminal installing the 32-bit application program may be reduced to affect the evaluation of the hardware performance of the intelligent terminal.
202. And running the application program on the intelligent terminal within a preset time period to obtain an evaluation result with the running of the application program.
The evaluation result refers to the number of times that the application program runs on the intelligent terminal in a preset time period or the time length that the application program runs on the intelligent terminal once.
When the hardware to be tested is a CPU (central processing unit), in order to correspondingly test the CPU, the preset evaluation rule comprises the operations of handwritten number recognition, large integer factor decomposition, prime number generation, LZMA (Lempel-Ziv-Mass-transfer) data compression and hypertext safe transmission encryption and decryption on the CPU respectively.
Here, the handwritten digit recognition is specifically: the number on the picture is recognized as a text by an algorithm, for example, the number is predetermined to 10 pictures, the content on the picture is the handwritten number 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, and the number on the text recognized by the algorithm is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
Factorization of large integers: in mathematics, integer factorization (English), also called prime factorization, is the product of several divisors written into a positive integer. Here, the large integer means that the number is relatively large, and the larger the number is, the greater the difficulty of calculation is.
Prime number generation: prime numbers refer to natural numbers that have no other factors than 1 and itself, among natural numbers greater than 1. Prime number generation, which refers to the process of finding the next prime number.
LZMA data compression: LZMA is a data compression algorithm with which data is compressed and decompressed.
Encryption and decryption of hypertext secure transmission: data is encrypted and decrypted using an asymmetric encryption algorithm.
Here, when the hardware to be tested is a CPU processor, the evaluating the hardware to be tested based on a preset evaluation rule to obtain an evaluation result may include: determining a single core to be evaluated according to the frequency of each core of the CPU processor; performing handwritten number recognition, large integer factor decomposition, prime number generation, LZMA data compression and hypertext secure transmission encryption and decryption on the to-be-evaluated single core to obtain a first running time corresponding to the to-be-evaluated single core; performing handwritten number recognition, large integer factor decomposition, prime number generation, LZMA data compression and hypertext secure transmission encryption and decryption on the multi-core of the intelligent terminal to obtain second running time respectively corresponding to the multi-core of the intelligent terminal; and analyzing all the obtained first running time and second running time respectively to obtain evaluation results corresponding to the single core and the multiple cores of the CPU processor of the intelligent terminal respectively.
It should be noted that, because the CPU processor of the intelligent terminal has the distinction of the large and small cores, in order to perform a more comprehensive test on the performance of the CPU processor, the core having the maximum frequency is determined as the single core to be evaluated according to the frequency of each core of the CPU processor; and respectively carrying out handwritten number recognition, large integer factor decomposition, prime number generation, LZMA data compression and hypertext safe transmission encryption and decryption on the to-be-evaluated single core to obtain a first running time corresponding to the to-be-evaluated single core, and then obtaining the evaluation result of the single core of the to-be-evaluated CPU processor according to the first running time. Because the multi-core (all inner cores of the intelligent terminal) performance of the CPU processor of the intelligent terminal is also the important performance of the CPU processor, the multi-core of the CPU processor is used for performing the operations of handwriting digital identification, large integer factor decomposition, prime number generation, LZMA data compression and hypertext secure transmission encryption and decryption to obtain the multi-core evaluation of the intelligent terminal. Here, the performance evaluation of the CPU processor may be determined according to the length of the consumed time for executing the above five evaluation algorithms, that is, the performance is judged according to the consumed time, and the less the consumed time is, the stronger the performance of the CPU processor is.
When the hardware to be tested is a GPU processor, the preset evaluation rule includes a preset drawing program running on the intelligent terminal, and at this time, the hardware to be tested is evaluated based on the preset evaluation rule to obtain an evaluation result, which may include: running the preset drawing program on the intelligent terminal to obtain the image rendering frame rate of the GPU processor; and analyzing the frame rate of image rendering of the GPU processor to obtain the corresponding evaluation result of the GPU processor.
Here, when evaluating the GPU processor, the Unity program in the OPENGL and VULKAN drawing modes is written, because these two drawing programs consume resources of the mobile phone and call a GPU processor that uses a large amount of mobile phones. And respectively running the two drawing programs on the intelligent terminal once to acquire a rendering frame rate, wherein the larger the acquired frame rate is, the more stable the GPU is, and the stronger the performance is.
When the hardware to be tested is a flash memory controller, the preset evaluation rule comprises a preset reading program running on the intelligent terminal, at the moment, the hardware to be tested is evaluated based on the preset evaluation rule to obtain an evaluation result, and the method comprises the following steps: sequentially reading preset files through a preset reading program running on the intelligent terminal to obtain a first reading speed of the preset files; randomly reading a preset file through a preset reading program running on the intelligent terminal, and acquiring a second reading speed of the preset file after the preset file is completely read; and analyzing all the obtained first reading speed and second reading speed to obtain an evaluation result corresponding to the flash memory controller of the intelligent terminal.
It should be noted that the preset reading program can perform sequential reading and random reading on the preset file, and the sequential reading and the random reading are not performed at the same time. Sequential read-write here means that a file is read from head to bit sequentially, while random read-write means that a part of the file is read randomly until it is completely read. The difference between the two is that the locations of the read files are different, one is a continuous location and one is a random location. Both reflect the performance of the flash memory controller of the intelligent terminal, i.e. the higher the reading speed, the stronger the performance.
203. And uploading the evaluation result to a cloud server for calculation, and acquiring the performance evaluation score of the hardware to be tested.
Here, when the performance evaluation score of the hardware to be tested is obtained, specifically, evaluation scores of the evaluation results of the CPU processor, the GPU processor, and the flash memory controller obtained in step 202 are respectively calculated; meanwhile, the comprehensive evaluation scores of the evaluation results of the CPU processor, the GPU processor and the flash memory controller are calculated, and the comprehensive evaluation scores can be obtained by performing average calculation on the evaluation scores respectively corresponding to the CPU processor, the GPU processor and the flash memory controller.
Specifically, in this step, an evaluation result of each of the hardware performances evaluated by the hardware performance of the intelligent terminal may be obtained through testing, and then an evaluation score of the hardware performance may be obtained according to the evaluation score of each of the hardware performances; and determining the evaluation grade of the hardware performance evaluation of the intelligent terminal according to the evaluation score of the hardware performance.
Here, the evaluation score of the hardware performance may be obtained according to the evaluation score of each performance in the hardware performance, and then the evaluation level of the hardware performance may be determined according to the correspondence between the evaluation score of the hardware performance and the evaluation level. Specifically, the corresponding relationship between the evaluation score of the hardware performance and the evaluation grade can be established in advance according to the statistical analysis results of a large amount of experimental data. For example, the number of the hardware performance evaluations of each intelligent terminal of the evaluation score can be counted according to the evaluation score of the hardware performance evaluation of each intelligent terminal in the experimental data, and a statistical distribution map is established, so that the corresponding relation between the evaluation score interval and the evaluation grade can be divided according to the statistical distribution curve.
For example, hardware performance can be divided into 5 levels: the first-level corresponding test score is 0-S1, the second-level corresponding evaluation score is S1-S2, the third-level corresponding evaluation score is S2-S3, the fourth-level corresponding evaluation score is S3-S4, and the fifth-level corresponding evaluation score is S4-Inf (in infinity). If the evaluation score of the hardware performance of the CPU processor obtained in step 202 is located in the interval S1-S2, in this step, the evaluation score of the CPU processor and the evaluation grade correspond to each other, and it is determined that the evaluation grade of the CPU processor of the intelligent terminal is the second grade.
204. And displaying the page with the performance evaluation score result of the hardware to be tested to a user.
The displaying the page with the performance evaluation score result of the hardware to be tested to the user may include: and if the difference value between the performance evaluation score result of the hardware to be tested and a preset score result is larger than a preset threshold value, the page prompts a user that the hardware to be tested is abnormal.
The preset score result can be an official information score of the intelligent terminal, if the deviation between the performance evaluation score result of the hardware to be tested and the official information score is found to be large, namely the difference value between the performance evaluation score result of the hardware to be tested and the preset score result is larger than a preset threshold value, the page prompts a user that the hardware to be tested is abnormal so as to prompt that the intelligent terminal has a false machine risk.
Compared with the prior art, the embodiment of the invention provides another hardware performance evaluation method of the intelligent terminal, and the method comprises the steps of installing an installation package with an application program according with a preset evaluation rule on the intelligent terminal corresponding to the hardware to be tested, and determining a 32-bit installation package or a 64-bit installation package corresponding to the system information of the intelligent terminal according to the system information of the intelligent terminal; and then the application program is operated on the intelligent terminal within a preset time period to obtain the operation evaluation result with the application program, so that the problem that the performance of the intelligent terminal provided with the 32-bit application program is reduced to influence the hardware performance evaluation of the intelligent terminal is solved.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention provides a hardware performance evaluation apparatus for an intelligent terminal, as shown in fig. 3, where the apparatus includes:
the evaluation module 31 is used for evaluating the hardware to be tested based on a preset evaluation rule to obtain an evaluation result;
the score calculation module 32 is configured to upload the evaluation result to a cloud server for calculation, so as to obtain a performance evaluation score of the hardware to be tested;
and the display module 33 is configured to display the page with the performance evaluation score result of the hardware to be tested to the user.
Compared with the prior art, the embodiment of the invention provides a hardware performance evaluation device of an intelligent terminal, and the performance evaluation score of the hardware to be evaluated is obtained by uploading an evaluation result obtained by evaluating the hardware to be evaluated based on a preset evaluation rule to a cloud server for calculation; and finally, displaying the page with the performance evaluation score result of the hardware to be tested to the user. According to the invention, the evaluation score of the hardware performance is calculated on the cloud server, so that the risk problem of easy leakage caused by the fact that the calculation logic is placed in the installation file of the intelligent terminal can be avoided.
Further, as an implementation of the method shown in fig. 2, an embodiment of the present invention provides another apparatus for evaluating hardware performance of an intelligent terminal, as shown in fig. 4, where the apparatus includes:
the installation package installation unit 411 is configured to install an installation package with an application program meeting a preset evaluation rule on the intelligent terminal corresponding to the hardware to be tested;
an evaluation result obtaining unit 412, configured to run the application program on the intelligent terminal within a preset time period, and obtain an evaluation result with running of the application program;
the score calculation module 42 is configured to upload the evaluation result to a cloud server for calculation, so as to obtain a performance evaluation score of the hardware to be tested;
and the display module 43 is configured to display the page with the performance evaluation score result of the hardware to be tested to the user.
Further, when the hardware to be tested is a CPU processor, the apparatus further includes:
the first rule module is used for respectively carrying out operations of handwritten number identification, large integer factor decomposition, prime number generation, LZMA data compression and hypertext secure transmission encryption and decryption on the CPU;
when the hardware to be tested is a GPU processor, the device further comprises:
the second rule module is used for presetting a drawing program to run on the intelligent terminal;
when the hardware to be tested is a flash memory controller, the device further comprises:
and the third rule module is used for presetting a reading program to run on the intelligent terminal.
Further, the first rule module comprises:
the to-be-evaluated single core determining unit is used for determining the to-be-evaluated single core according to the frequency of each core of the CPU processor;
the first running time obtaining unit is used for carrying out the operations of handwritten number recognition, large integer factor decomposition, prime number generation, LZMA data compression and hypertext safe transmission encryption and decryption on the to-be-evaluated single core to obtain a first running time corresponding to the to-be-evaluated single core;
the second running time acquisition unit is used for carrying out the operations of handwritten number identification, large integer factor decomposition, prime number generation, LZMA data compression and hypertext secure transmission encryption and decryption on the multi-core of the intelligent terminal to obtain second running times respectively corresponding to the multi-core of the intelligent terminal;
and the first evaluation result acquisition unit is used for analyzing all the obtained first running time and second running time respectively to obtain evaluation results corresponding to a single core and multiple cores of the CPU processor of the intelligent terminal respectively.
Further, the second rule module includes:
the frame rate acquisition unit is used for operating the preset drawing program on the intelligent terminal and acquiring the frame rate of image rendering of the GPU processor;
and the second evaluation result acquisition unit is used for analyzing the frame rate of image rendering of the GPU processor and acquiring the corresponding evaluation result of the GPU processor.
Further, the third rule module includes:
the intelligent terminal comprises a first reading speed acquisition unit, a second reading speed acquisition unit and a control unit, wherein the first reading speed acquisition unit is used for sequentially reading preset files through a preset reading program running on the intelligent terminal to acquire a first reading speed of the preset files;
the second reading speed acquisition unit is used for randomly reading a preset file through a preset reading program running on the intelligent terminal and acquiring a second reading speed of the preset file after the preset file is completely read;
and the third evaluation result acquisition unit is used for analyzing all the obtained first reading speeds and second reading speeds to obtain the evaluation results corresponding to the flash memory controller of the intelligent terminal.
Further, the apparatus further comprises:
the installation package generating unit is used for respectively generating 32-bit installation packages and 64-bit installation packages of the application programs which accord with the preset evaluation rule through a preset compiling tool;
and the installation package determining unit is used for determining a 32-bit installation package or a 64-bit installation package corresponding to the system information of the intelligent terminal according to the system information of the intelligent terminal.
Further, the display module further includes:
and the prompting unit is used for prompting the user that the hardware to be tested is abnormal if the difference value between the performance evaluation score result of the hardware to be tested and a preset score result is greater than a preset threshold value.
Compared with the prior art, the embodiment of the invention provides another hardware performance evaluation device of the intelligent terminal, and the embodiment of the invention is characterized in that an installation package with an application program according with a preset evaluation rule is installed on the intelligent terminal corresponding to the hardware to be tested, and a 32-bit installation package or a 64-bit installation package corresponding to the system information of the intelligent terminal is determined according to the system information of the intelligent terminal; and then the application program is operated on the intelligent terminal within a preset time period to obtain the operation evaluation result with the application program, so that the problem that the performance of the intelligent terminal provided with the 32-bit application program is reduced to influence the hardware performance evaluation of the intelligent terminal is solved.
According to an embodiment of the present invention, a storage medium is provided, where the storage medium stores at least one executable instruction, and the computer executable instruction may execute the hardware performance evaluation method of the intelligent terminal in any method embodiment described above.
Based on the above embodiments of the method shown in fig. 1 and the apparatus shown in fig. 3, an embodiment of the present invention further provides an entity structure diagram of a computer device, as shown in fig. 5, where the computer device includes: a processor 51, a memory 52, and a computer program stored on the memory 52 and executable on the processor, wherein the memory 52 and the processor 51 are both arranged on a bus 53, and the processor 51 implements the following steps when executing the program: evaluating the hardware to be tested based on a preset evaluation rule to obtain an evaluation result; uploading the evaluation result to a cloud server for calculation, and acquiring a performance evaluation score of the hardware to be tested; and displaying the page with the performance evaluation score result of the hardware to be tested to a user.
According to the technical scheme, the evaluation result obtained by evaluating the hardware to be tested based on the preset evaluation rule can be uploaded to the cloud server to be calculated, and the performance evaluation score of the hardware to be tested is obtained; and finally, displaying the page with the performance evaluation score result of the hardware to be tested to the user. According to the invention, the evaluation score of the hardware performance is calculated on the cloud server, so that the risk problem of easy leakage caused by the fact that the calculation logic is placed in the installation file of the intelligent terminal can be avoided.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented using program code executable by a computing device, such that it may be stored in a memory device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A hardware performance evaluation method of an intelligent terminal is characterized by comprising the following steps:
evaluating the hardware to be tested based on a preset evaluation rule to obtain an evaluation result;
uploading the evaluation result to a cloud server for calculation, and acquiring a performance evaluation score of the hardware to be tested;
and displaying the page with the performance evaluation score result of the hardware to be tested to a user.
2. The hardware performance evaluation method of the intelligent terminal according to claim 1, wherein the evaluating the hardware to be tested based on the preset evaluation rule to obtain an evaluation result comprises:
installing an installation package with an application program according with a preset evaluation rule on an intelligent terminal corresponding to the hardware to be tested;
and running the application program on the intelligent terminal within a preset time period to obtain an evaluation result with the running of the application program.
3. The hardware performance evaluation method of the intelligent terminal according to claim 2, wherein the evaluating the hardware to be tested based on the preset evaluation rule to obtain an evaluation result comprises:
when the hardware to be tested is a CPU (central processing unit), the preset evaluation rule comprises the operations of handwritten number recognition, large integer factor decomposition, prime number generation, LZMA (Lempel-Ziv-Ma) data compression and hypertext safe transmission encryption and decryption on the CPU respectively;
when the hardware to be tested is a GPU processor, the preset evaluation rule comprises a preset drawing program running on the intelligent terminal;
and when the hardware to be tested is a flash memory controller, the preset evaluation rule comprises a preset reading program running on the intelligent terminal.
4. The hardware performance evaluation method of the intelligent terminal according to claim 3, wherein when the hardware to be evaluated is a CPU, the evaluating the hardware to be evaluated based on the preset evaluation rule to obtain an evaluation result comprises:
determining a single core to be evaluated according to the frequency of each core of the CPU processor;
performing handwritten number recognition, large integer factor decomposition, prime number generation, LZMA data compression and hypertext secure transmission encryption and decryption on the to-be-evaluated single core to obtain a first running time corresponding to the to-be-evaluated single core;
performing handwritten number recognition, large integer factor decomposition, prime number generation, LZMA data compression and hypertext secure transmission encryption and decryption on the multi-core of the intelligent terminal to obtain second running time respectively corresponding to the multi-core of the intelligent terminal;
and analyzing all the obtained first running time and second running time respectively to obtain evaluation results corresponding to the single core and the multiple cores of the CPU processor of the intelligent terminal respectively.
5. The hardware performance evaluation method of the intelligent terminal according to claim 3, wherein when the hardware to be evaluated is a GPU processor, the evaluating the hardware to be evaluated based on a preset evaluation rule to obtain an evaluation result comprises:
running the preset drawing program on the intelligent terminal to obtain the image rendering frame rate of the GPU processor;
and analyzing the frame rate of image rendering of the GPU processor to obtain the corresponding evaluation result of the GPU processor.
6. The method for evaluating the hardware performance of the intelligent terminal according to claim 3, wherein when the hardware to be tested is a flash memory controller, the hardware to be tested is evaluated based on a preset evaluation rule to obtain an evaluation result, and the method comprises the following steps:
sequentially reading preset files through a preset reading program running on the intelligent terminal to obtain a first reading speed of the preset files;
randomly reading a preset file through a preset reading program running on the intelligent terminal, and acquiring a second reading speed of the preset file after the preset file is completely read;
and analyzing all the obtained first reading speed and second reading speed to obtain an evaluation result corresponding to the flash memory controller of the intelligent terminal.
7. The hardware performance evaluation method of the intelligent terminal according to claim 2, wherein before installing the installation package having the application program meeting the preset evaluation rule on the intelligent terminal corresponding to the hardware to be tested, the method comprises:
respectively generating 32-bit and 64-bit installation packages of the application program which accord with the preset evaluation rule through a preset compiling tool;
and determining a 32-bit installation package or a 64-bit installation package corresponding to the system information of the intelligent terminal according to the system information of the intelligent terminal.
8. The utility model provides an intelligent terminal's hardware performance evaluation device which characterized in that includes:
the evaluation module is used for evaluating the hardware to be tested based on a preset evaluation rule to obtain an evaluation result;
the score calculation module is used for uploading the evaluation result to a cloud server for calculation, and acquiring the performance evaluation score of the hardware to be tested;
and the display module is used for displaying the page with the performance evaluation score result of the hardware to be tested to a user.
9. A storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to execute operations corresponding to the hardware performance evaluation method of the intelligent terminal according to any one of claims 1-7.
10. A terminal, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the hardware performance evaluation method of the intelligent terminal according to any one of claims 1-7.
CN202111602637.4A 2021-12-24 2021-12-24 Hardware performance evaluation method and device of intelligent terminal, storage medium and terminal Pending CN114491677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111602637.4A CN114491677A (en) 2021-12-24 2021-12-24 Hardware performance evaluation method and device of intelligent terminal, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111602637.4A CN114491677A (en) 2021-12-24 2021-12-24 Hardware performance evaluation method and device of intelligent terminal, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN114491677A true CN114491677A (en) 2022-05-13

Family

ID=81496246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111602637.4A Pending CN114491677A (en) 2021-12-24 2021-12-24 Hardware performance evaluation method and device of intelligent terminal, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN114491677A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116755991A (en) * 2023-08-14 2023-09-15 北京精琢科技有限公司 General cross-platform CPU computing power evaluation method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116755991A (en) * 2023-08-14 2023-09-15 北京精琢科技有限公司 General cross-platform CPU computing power evaluation method and electronic equipment
CN116755991B (en) * 2023-08-14 2023-11-17 北京精琢科技有限公司 General cross-platform CPU computing power evaluation method and electronic equipment

Similar Documents

Publication Publication Date Title
CN103164215B (en) Data handling system and the method for being switched between foreign peoples's accelerator
WO2015032282A1 (en) Method and apparatus for testing hardware performance of electronic equipment
CN111126700B (en) Energy consumption prediction method, device, equipment and storage medium
CN110941424B (en) Compiling parameter optimization method and device and electronic equipment
CN108805000B (en) Electronic device, music score recognition method based on deep learning and storage medium
CN111950056B (en) BIM display method and related equipment for building informatization model
CN111222548A (en) Similar image detection method, device, equipment and storage medium
CN103605647A (en) System, method, and computer program product for testing device parameters
CN114004352B (en) Simulation implementation method, neural network compiler and computer readable storage medium
CN111340240A (en) Method and device for realizing automatic machine learning
CN111460394A (en) Copyright file verification method and device and computer readable storage medium
CN111143165A (en) Monitoring method and device
CN114491677A (en) Hardware performance evaluation method and device of intelligent terminal, storage medium and terminal
CN113360803A (en) Data caching method, device and equipment based on user behavior and storage medium
US9135749B2 (en) Method and apparatus for processing three-dimensional model data
CN109302523B (en) Mobile phone performance evaluation method for mobile phone side and server side
CN113590007A (en) Progress bar generation method and device, computer equipment and storage medium
CN111061896B (en) Loading method, device, equipment and medium for 3D (three-dimensional) graph based on glTF (generalized likelihood TF)
US10318615B1 (en) Modeling and measuring browser performance using reference pages
CN113887408B (en) Method, device, equipment and storage medium for detecting activated face video
CN112631949B (en) Debugging method and device, computer equipment and storage medium
CN115016754A (en) Method and device for synchronously displaying pages among devices, electronic device and medium
CN114493683A (en) Advertisement material recommendation method, model training method and device and electronic equipment
CN114676272A (en) Information processing method, device and equipment of multimedia resource and storage medium
CN117171056B (en) Test method and device based on automatic interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination