CN116665752A - UFS steady-state performance test method and device, readable storage medium and electronic equipment - Google Patents

UFS steady-state performance test method and device, readable storage medium and electronic equipment Download PDF

Info

Publication number
CN116665752A
CN116665752A CN202310914210.0A CN202310914210A CN116665752A CN 116665752 A CN116665752 A CN 116665752A CN 202310914210 A CN202310914210 A CN 202310914210A CN 116665752 A CN116665752 A CN 116665752A
Authority
CN
China
Prior art keywords
application
starting
ufs
test
sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310914210.0A
Other languages
Chinese (zh)
Other versions
CN116665752B (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.)
Chengdu Baiwei Storage Technology Co ltd
Original Assignee
Chengdu Baiwei Storage 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 Baiwei Storage Technology Co ltd filed Critical Chengdu Baiwei Storage Technology Co ltd
Priority to CN202310914210.0A priority Critical patent/CN116665752B/en
Publication of CN116665752A publication Critical patent/CN116665752A/en
Application granted granted Critical
Publication of CN116665752B publication Critical patent/CN116665752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/12Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a method, a device, a readable storage medium and electronic equipment for testing steady-state performance of UFS, which are characterized in that after a preset number of application installation packages are installed to obtain an application sequence, the UFS to be tested is controlled to execute a test for preset times, the state of the UFS in the long-time operation process is simulated, the method is more suitable for the actual application condition of mobile electronic equipment, each application in the application sequence is started in a cold start mode in each test process, the process of the application is ended after the start, each start of the application is started in a cold start mode, the performance of the UFS start application program can be reflected more accurately, the start time corresponding to each application is recorded accurately, a start state data diagram is obtained, the problem that whether the UFS system has a speed loss after long-time operation is detected accurately is solved, and the accuracy of a test result is improved.

Description

UFS steady-state performance test method and device, readable storage medium and electronic equipment
Technical Field
The present application relates to the field of memory testing, and in particular, to a method and apparatus for testing steady state performance of UFS, a readable storage medium, and an electronic device.
Background
UFS (Universal Flash Storage, universal flash memory) is a storage device for electronic products such as smart devices. The read-write speed of the memory device is far higher than that of the existing memory device of the eMMC (Embedded Multi Media Card ), so the UFS is gradually replacing the eMMC and becomes the main standard of the smart phone.
Currently, the common testing method of UFS is to test its performance by AndroBench (benchmark application). However, the performance problem of a system disk-UFS may occur during long-term operation. However, the existing system disc-UFS can not accurately detect whether the system disc-UFS has a problem of falling speed, so that a certain deviation exists in a test result, and the quality of a product can not be ensured.
Disclosure of Invention
The technical problems to be solved by the application are as follows: the UFS steady-state performance testing method, the device, the readable storage medium and the electronic equipment are provided, and the problem that whether the UFS system has a speed drop or not is accurately detected.
In order to solve the technical problems, the application adopts the following technical scheme:
a method for testing the steady-state performance of UFS comprises the following steps:
acquiring a preset number of application installation packages, downloading the application installation packages to UFS to be tested, and generating an application sequence;
receiving a test instruction, controlling to-be-tested UFS to sequentially start each application in the application sequence in a cold start mode according to the test instruction, ending the process of the application after starting, and recording the starting time corresponding to each application;
judging whether all the applications finish the starting time recording, if so, judging whether the preset test times are reached, and if so, stopping the test;
and generating a starting state data diagram according to the starting time corresponding to each starting of each application, and obtaining a performance judging result according to the starting state data diagram.
In order to solve the technical problems, the application adopts another technical scheme that:
a UFS steady state performance testing device, comprising:
the system comprises an acquisition module, a testing module and a testing module, wherein the acquisition module is used for acquiring a preset number of application installation packages, downloading the application installation packages into UFS to be tested and generating an application sequence;
the testing module is used for receiving a testing instruction, controlling the UFS to be tested to sequentially start each application in the application sequence in a cold start mode according to the testing instruction, ending the process of the application after starting, and recording the starting time corresponding to each application;
the judging module is used for judging whether all the applications finish the starting time recording, if so, judging whether the preset test times are reached, and if the preset test times are reached, stopping the test;
and the drawing module is used for generating a starting state data diagram according to the starting time corresponding to each application starting, and obtaining a performance judging result according to the starting state data diagram.
In order to solve the technical problems, the application adopts another technical scheme that:
a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of a UFS steady state performance testing method as described above.
In order to solve the technical problems, the application adopts another technical scheme that:
an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of a UFS steady state performance testing method as described above when the computer program is executed.
The application has the beneficial effects that: after the application sequence is obtained by installing the preset number of application installation packages, the state of the UFS to be tested in the long-time operation process is simulated by controlling the UFS to be tested to execute the test for the preset times, the situation of the actual application of the mobile electronic device is more attached, each application in the application sequence is started in a cold start mode in each test process, the process of the application is ended after the start, each start of the application is ensured to be started in a cold start mode, the performance of the UFS start application program can be reflected more accurately, the start time corresponding to each application is recorded accurately, a start state data diagram is obtained, the problem that whether the UFS system has a speed-down problem after long-time operation is detected accurately is solved, and the accuracy of the test result is improved.
Drawings
Fig. 1 is a flow chart of steps of a method for testing steady-state performance of UFS in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a UFS steady-state performance testing device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to describe the technical contents, the achieved objects and effects of the present application in detail, the following description will be made with reference to the embodiments in conjunction with the accompanying drawings.
Referring to fig. 1, a method for testing steady-state performance of UFS includes the steps of:
acquiring a preset number of application installation packages, downloading the application installation packages to UFS to be tested, and generating an application sequence;
receiving a test instruction, controlling to-be-tested UFS to sequentially start each application in the application sequence in a cold start mode according to the test instruction, ending the process of the application after starting, and recording the starting time corresponding to each application;
judging whether all the applications finish the starting time recording, if so, judging whether the preset test times are reached, and if so, stopping the test;
and generating a starting state data diagram according to the starting time corresponding to each starting of each application, and obtaining a performance judging result according to the starting state data diagram.
From the above description, the beneficial effects of the application are as follows: after the application sequence is obtained by installing the preset number of application installation packages, the state of the UFS to be tested in the long-time operation process is simulated by controlling the UFS to be tested to execute the test of the preset number of times, the situation of the actual application of the mobile electronic device is more attached, each application in the application sequence is started in a cold start mode in each test process, the application is started after the process of the application is required to be deleted in the cold start mode, the situation of the application is imported in the actual start process is more attached, each start of the application is ensured to be started in the cold start mode, the performance of the UFS start application program can be reflected more accurately, the start time corresponding to each application is recorded accurately, a start state data diagram is obtained, the problem that whether the UFS system has a speed loss after long-time operation is detected accurately is realized, and the accuracy of a test result is improved.
Further, the controlling the UFS to be tested to start each application in the application sequence in turn in a cold start manner according to the test instruction includes:
obtaining an application starting sequence of each application according to the application sequence;
and starting each application in a cold start mode in turn according to the application starting sequence.
According to the description, the fixed starting sequence corresponding to each application is obtained through the application sequence, so that the UFS can sequentially start each application in sequence according to the application starting sequence in the test process, each application is ensured to be subjected to starting test, the situation that data are lost due to the fact that the application is not started is avoided, and the test stability is improved.
Further, the determining whether the preset test times are reached further includes:
if not, rearranging the preset number of applications, and updating the application starting sequence according to the rearranged application sequence;
and starting each application in a cold start mode in turn according to the updated application starting sequence.
According to the description, the sequence of the preset number of applications is rearranged and the application starting sequence is updated, so that the starting test can be performed in different application starting sequences during each test, and compared with the test performed in the same sequence during each test, the method is more suitable for the actual use situation of the applications, and the accuracy of the test result is effectively improved.
Further, the obtaining the performance judgment result according to the start state data graph includes:
and judging whether the fluctuation value of the image in the starting state data graph is smaller than a stability threshold, if so, outputting a performance judging result to be stable, and if not, outputting the performance judging result to be unstable.
From the above description, the fluctuation state of the curve is displayed through the starting state data diagram, so that the fluctuation state of the UFS on different application starting performances and the fluctuation state on different testing time starting performances can be intuitively seen, and the judgment of whether the steady-state performance of the UFS is stable or not is facilitated.
Further, the controlling the UFS to be tested according to the test instruction to start each application in the application sequence in a cold start manner, and ending the process of the application after starting, and recording the start time corresponding to each application includes:
creating a process of the application and starting a timer;
initializing the application;
initializing an application program component and displaying an interface corresponding to the application;
judging whether an interface corresponding to the application is displayed, if so, ending the process of the application, and stopping the timer to obtain the starting time corresponding to the application.
According to the description, the timer is started when the application process is created, the corresponding application process is closed after the application display interface is created, the timer is stopped to record the corresponding starting time of the application, and the corresponding process of each application is ensured to be completely ended after the application is started, so that the starting time of the application is accurately acquired through the timer.
Further, the generating a start state data graph according to the start time corresponding to each start of each application includes:
obtaining the total starting time of the application corresponding to each test according to the starting time corresponding to each application in each test;
and drawing and generating a starting state data diagram according to the total starting time of the application corresponding to each test.
According to the description, the total application starting time corresponding to each test is obtained by summarizing all the application starting time in each test, a starting state data diagram is generated, and whether the UFS has the problem of falling speed is judged based on the starting state data diagram and the change of the total starting time of each test, so that a reliable test result is obtained.
Further, the generating a start state data graph according to the start time corresponding to each start of each application includes:
obtaining starting time change data of each application according to the starting time corresponding to each application in each test;
and drawing and generating a starting state data diagram corresponding to each application according to the starting time change data of each application.
According to the description, starting time change data are obtained by summarizing the starting time of each application in each test process, a starting state data diagram is further obtained according to the starting time change data corresponding to each application, whether the UFS has the problem of falling speed is judged based on the starting state data diagram, the falling speed performance of the UFS can be evaluated from different angles, and therefore the accuracy of test results is improved.
The embodiment provides a device for testing steady-state performance of UFS, including:
the system comprises an acquisition module, a testing module and a testing module, wherein the acquisition module is used for acquiring a preset number of application installation packages, downloading the application installation packages into UFS to be tested and generating an application sequence;
the testing module is used for receiving a testing instruction, controlling the UFS to be tested to sequentially start each application in the application sequence in a cold start mode according to the testing instruction, ending the process of the application after starting, and recording the starting time corresponding to each application;
the judging module is used for judging whether all the applications finish the starting time recording, if so, judging whether the preset test times are reached, and if the preset test times are reached, stopping the test;
and the drawing module is used for generating a starting state data diagram according to the starting time corresponding to each application starting, and obtaining a performance judging result according to the starting state data diagram.
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a UFS steady-state performance testing method as described above.
In order to solve the technical problems, the application adopts the following technical scheme:
the embodiment provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes each step in the UFS steady state performance testing method when executing the computer program.
The method, the device, the computer readable storage medium and the electronic equipment for testing the steady-state performance of the UFS can be suitable for testing various types of UFS, and comprise different generation products such as UFS4.0, UFS3.0, UFS3.1 and the like, and the method, the device and the electronic equipment are described in the following specific embodiments:
example 1
When the test is implemented, the UFS to be tested is firstly brushed and then put into a system platform, for example, MTK6762 is used as the system platform for testing the UFS;
referring to fig. 1, a method for testing steady-state performance of UFS includes the steps of:
s1, acquiring a preset number of application installation packages, and downloading the application installation packages to UFS to be tested to generate an application sequence; connecting an MTK6762 system platform with a network, such as establishing network connection through WiFi and the like, downloading and installing 50 application installation packages (Android application package, APK) on the platform, and obtaining a corresponding application sequence according to the downloading sequence of the 50 application installation packages; the number of the application installation packages can be selected according to test requirements, such as 40, 60, 70 and the like; however, the number of the application installation packages cannot be too small, the number of the application installation packages cannot simulate the long-term operation process of the UFS, and a sufficient amount of effective data cannot be obtained, so that a test result is inaccurate;
s2, receiving a test instruction, in an alternative implementation mode, if the downloading of all application installation is completed, the system platform sends a prompt of completion of the downloading, and a tester sends the test instruction, so that the system platform executes a test step after receiving the test instruction; or the system platform automatically executes the testing step after recognizing that the downloading of all application installations is completed; the system platform controls the UFS to be tested to sequentially start each application in the application sequence in a cold start mode, finishes the process of the application after starting, and records the starting time corresponding to each application, and specifically:
s21, obtaining an application starting sequence of each application according to the application sequence; obtaining a corresponding starting sequence of each application according to the application sequence generated in the step S1, for example, directly obtaining the corresponding starting sequence according to the time sequence of downloading completion, or sorting according to the name length, initial and other modes of the application to obtain a fixed starting sequence;
s22, starting each application in a cold start mode in turn according to the application starting sequence; starting 50 applications in a cold start mode in sequence, finishing the process of the current application after finishing cold start of one application, and recording the corresponding start time of the current application, wherein the start time of APK1 is x1 (ms), the start time of APK2 is x2 (ms), and the start time of APK50 is x50 (ms);
the cold start refers to a process that an application (app) does not exist in the system, so that when the application is restarted, the application process needs to be re-created, and the system needs to load some resources such as executable files, dynamic library loading and the like, then the application renders a home page, initializes other service modules, and reads some configuration files and the like, and specifically includes steps of creating the process, initializing the application, and initializing an interface to display the interface;
the creation process: creating a process of the application and starting a timer;
application initialization: initializing the application;
initializing an interface to display the interface: initializing an application program component, displaying an interface corresponding to the application, then judging whether the interface corresponding to the application is displayed, if yes, ending the process of the application, and stopping the timer to obtain the starting time corresponding to the application; the starting time of the application is from the start of the creation process to the end of the interface initialization to the completion of the interface display;
s3, judging whether all the applications finish the starting time recording, if so, judging whether the preset test times are reached, and if so, stopping the test;
in an alternative embodiment, the number of tests is set to 100, so that after 50 applications complete a round of tests, 99 tests are further required according to the application starting sequence, and after 50 applications complete 100 rounds of tests, the tests are stopped; the test times can be set according to specific test conditions, such as 90, 110, 120 times, etc.;
in another alternative embodiment, the method further comprises the step of:
s31, if the application starting sequence is not reached, rearranging the preset number of applications, and updating the application starting sequence according to the rearranged application sequence; when 50 applications complete a round of test, rearranging the 50 applications, and randomly disturbing the starting sequence of the 50 applications, and controlling the starting sequence of each application to be different from the starting sequence of the previous round, or controlling the starting sequence of a preset number of applications (such as 20 applications) to be different each time, so as to obtain an updated application starting sequence;
and S32, starting each application in a cold start mode in turn according to the updated application starting sequence until 100 times of testing are completed.
S4, generating a starting state data diagram according to the starting time corresponding to each starting of each application, and obtaining a performance judgment result according to the starting state data diagram, specifically:
judging whether the fluctuation value of the image in the starting state data graph is smaller than a stability threshold value, if yes, outputting a performance judging result to be stable, otherwise, outputting the performance judging result to be unstable;
in an optional embodiment, the performance determination is performed by using the total duration of starting 50 applications, specifically:
s41a, obtaining the total starting time of the application corresponding to each test according to the starting time corresponding to each application in each test; obtaining that the APKtimesum1 is x1 (ms), the APKtimesum2 is x2 (ms), the APKtimesum100 is x100 (ms);
s42a, drawing and generating a starting state data diagram according to the total starting time of the application corresponding to each test;
comparing the total duration of 50 APK cold starts tested for 100 times, and drawing a graph to obtain a starting state data graph; observing whether the curve in the graph is obviously changed, and according to the standard of steady-state performance, 100 times at the moment are no obvious fluctuation or fluctuation in a small time interval, if the fluctuation value is that the difference between the maximum time and the minimum time is not more than 10%, outputting a performance judgment result when the fluctuation value is more than 10% to be unstable, and outputting a performance judgment result when the fluctuation value is less than 10% to be stable;
in another alternative embodiment, performance determination is performed according to a cold start time of 100 applications, specifically:
s41b, obtaining starting time change data of each application according to the starting time corresponding to each application in each test; that is, apk1_1 is x1 (ms), apk1_2 is x2 (ms),. The term, apk1_100 is x100 (ms), apk2_1 is y1 (ms), apk2_2 is y2 (ms),. The term, apk2_100 is y100 (ms),. The term, apk50_100 is z100 (ms);
s42b, drawing and generating a starting state data diagram corresponding to each application according to the starting time change data of each application; respectively comparing cold start time lengths of 100 times of tests of a single application, and drawing a graph to obtain a start state data diagram of 50 applications; observing whether the curve in the graph is obviously changed, and judging that the UFS is unstable to the cold start performance of the application if the fluctuation value is that the difference between the maximum time and the minimum time is not more than 10% according to the standard of steady state performance, and judging that the UFS is stable to the cold start performance of the application if the fluctuation value is less than 10%; further obtaining the number of applications with unstable cold start performance, if one application is set as the judging result of unstable cold start performance, outputting the judging result as unstable UFS performance; the specific number of determinations may be set according to the test conditions, such as 1/50,2/50, etc.
Example two
Referring to fig. 2, a UFS steady-state performance testing device includes:
the system comprises an acquisition module, a testing module and a testing module, wherein the acquisition module is used for acquiring a preset number of application installation packages, downloading the application installation packages into UFS to be tested and generating an application sequence;
the testing module is used for receiving a testing instruction, controlling the UFS to be tested to sequentially start each application in the application sequence in a cold start mode according to the testing instruction, ending the process of the application after starting, and recording the starting time corresponding to each application;
the judging module is used for judging whether all the applications finish the starting time recording, if so, judging whether the preset test times are reached, and if the preset test times are reached, stopping the test;
and the drawing module is used for generating a starting state data diagram according to the starting time corresponding to each application starting, and obtaining a performance judging result according to the starting state data diagram.
Example III
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a UFS steady-state performance testing method as described in embodiment one.
Example IV
Referring to fig. 3, an electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of a UFS steady-state performance testing method according to the first embodiment when executing the computer program.
In summary, after the application sequence is obtained by installing the preset number of application installation packages, the method, the device, the readable storage medium and the electronic equipment for testing the steady-state performance of the UFS simulate the state of the UFS in the long-time operation process by controlling the UFS to be tested to execute the test for the preset times, further attach to the actual application situation of the mobile electronic device, start each application in the application sequence in a cold start mode in each test process in turn, and finish the application process after the start, ensure that each start of the application is started in a cold start mode, and more accurately reflect the performance of the UFS for starting the application program, thereby accurately recording the start time corresponding to each application, obtaining a start state data graph, realizing the accurate detection of whether the UFS system has a problem of dropping speed after long-time operation, and improving the accuracy of the test result.
In the foregoing embodiments of the present application, it should be understood that the disclosed method, apparatus, computer readable storage medium and electronic device may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple components or modules may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with respect to each other may be an indirect coupling or communication connection via some interfaces, devices or components or modules, which may be in electrical, mechanical, or other forms.
The components illustrated as separate components may or may not be physically separate, and components shown as components may or may not be physical modules, i.e., may be located in one place, or may be distributed over multiple network modules. Some or all of the components may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each component may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
The integrated modules, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The foregoing description is only illustrative of the present application and is not intended to limit the scope of the application, and all equivalent changes made by the specification and drawings of the present application, or direct or indirect application in the relevant art, are included in the scope of the present application.

Claims (10)

1. The UFS steady-state performance testing method is characterized by comprising the following steps:
acquiring a preset number of application installation packages, downloading the application installation packages to UFS to be tested, and generating an application sequence;
receiving a test instruction, controlling to-be-tested UFS to sequentially start each application in the application sequence in a cold start mode according to the test instruction, ending the process of the application after starting, and recording the starting time corresponding to each application;
judging whether all the applications finish the starting time recording, if so, judging whether the preset test times are reached, and if so, stopping the test;
and generating a starting state data diagram according to the starting time corresponding to each starting of each application, and obtaining a performance judging result according to the starting state data diagram.
2. The method for testing steady-state performance of UFS of claim 1, wherein said controlling, according to said test command, UFS to be tested to start each application in said sequence of applications in a cold start manner comprises:
obtaining an application starting sequence of each application according to the application sequence;
and starting each application in a cold start mode in turn according to the application starting sequence.
3. The method of testing steady state performance of UFS of claim 2, wherein said determining whether the preset number of tests is reached further comprises:
if not, rearranging the preset number of applications, and updating the application starting sequence according to the rearranged application sequence;
and starting each application in a cold start mode in turn according to the updated application starting sequence.
4. The method for testing steady-state performance of UFS of claim 1, wherein said obtaining a performance determination result from said startup state data graph comprises:
and judging whether the fluctuation value of the image in the starting state data graph is smaller than a stability threshold, if so, outputting a performance judging result to be stable, and if not, outputting the performance judging result to be unstable.
5. The method of claim 1, wherein the controlling the UFS to be tested to start each application in the application sequence in a cold start manner according to the test instruction, and ending the process of the application after starting, and recording the start time corresponding to each application includes:
creating a process of the application and starting a timer;
initializing the application;
initializing an application program component and displaying an interface corresponding to the application;
judging whether an interface corresponding to the application is displayed, if so, ending the process of the application, and stopping the timer to obtain the starting time corresponding to the application.
6. The method of claim 1, wherein the generating a startup status data map according to a startup time corresponding to each startup of each application comprises:
obtaining the total starting time of the application corresponding to each test according to the starting time corresponding to each application in each test;
and drawing and generating a starting state data diagram according to the total starting time of the application corresponding to each test.
7. The method of claim 1, wherein the generating a startup status data map according to a startup time corresponding to each startup of each application comprises:
obtaining starting time change data of each application according to the starting time corresponding to each application in each test;
and drawing and generating a starting state data diagram corresponding to each application according to the starting time change data of each application.
8. A UFS steady state performance testing device, comprising:
the system comprises an acquisition module, a testing module and a testing module, wherein the acquisition module is used for acquiring a preset number of application installation packages, downloading the application installation packages into UFS to be tested and generating an application sequence;
the testing module is used for receiving a testing instruction, controlling the UFS to be tested to sequentially start each application in the application sequence in a cold start mode according to the testing instruction, ending the process of the application after starting, and recording the starting time corresponding to each application;
the judging module is used for judging whether all the applications finish the starting time recording, if so, judging whether the preset test times are reached, and if the preset test times are reached, stopping the test;
and the drawing module is used for generating a starting state data diagram according to the starting time corresponding to each application starting, and obtaining a performance judging result according to the starting state data diagram.
9. A computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of a UFS steady state performance testing method as claimed in any one of claims 1-7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor performs the steps of a UFS steady state performance testing method as claimed in any one of claims 1-7 when the computer program is executed by the processor.
CN202310914210.0A 2023-07-25 2023-07-25 UFS steady-state performance test method and device, readable storage medium and electronic equipment Active CN116665752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310914210.0A CN116665752B (en) 2023-07-25 2023-07-25 UFS steady-state performance test method and device, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310914210.0A CN116665752B (en) 2023-07-25 2023-07-25 UFS steady-state performance test method and device, readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN116665752A true CN116665752A (en) 2023-08-29
CN116665752B CN116665752B (en) 2023-11-21

Family

ID=87715564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310914210.0A Active CN116665752B (en) 2023-07-25 2023-07-25 UFS steady-state performance test method and device, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116665752B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050043912A1 (en) * 2003-05-23 2005-02-24 Ki-Sang Kang Memory testing apparatus and method
CN101375346A (en) * 2005-09-23 2009-02-25 泰拉丁公司 Strobe technique for test of digital signal timing
WO2015162550A1 (en) * 2014-04-22 2015-10-29 Screemo Ltd. System, device, and method for interactive communications among mobile devices and ip-connected screens
CN108122596A (en) * 2016-11-30 2018-06-05 北京京存技术有限公司 The test method and device of a kind of memory
CN110275832A (en) * 2019-06-19 2019-09-24 北京字节跳动网络技术有限公司 Starting time-consuming test method, system, equipment and the medium of application program
CN112783564A (en) * 2019-11-01 2021-05-11 华为技术有限公司 Method for accelerating starting of application program and electronic equipment
CN113608978A (en) * 2021-07-15 2021-11-05 荣耀终端有限公司 Test method, test device and computer readable storage medium
CN113746977A (en) * 2021-08-31 2021-12-03 杭州友声科技股份有限公司 Method and system for testing starting time of mobile phone application
US20210382814A1 (en) * 2020-06-09 2021-12-09 Methodics, Inc. Computing hardware and software design testing auditability, including for critical control systems, functional safety, and autonomous vehicle component certification

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050043912A1 (en) * 2003-05-23 2005-02-24 Ki-Sang Kang Memory testing apparatus and method
CN101375346A (en) * 2005-09-23 2009-02-25 泰拉丁公司 Strobe technique for test of digital signal timing
WO2015162550A1 (en) * 2014-04-22 2015-10-29 Screemo Ltd. System, device, and method for interactive communications among mobile devices and ip-connected screens
CN108122596A (en) * 2016-11-30 2018-06-05 北京京存技术有限公司 The test method and device of a kind of memory
CN110275832A (en) * 2019-06-19 2019-09-24 北京字节跳动网络技术有限公司 Starting time-consuming test method, system, equipment and the medium of application program
CN112783564A (en) * 2019-11-01 2021-05-11 华为技术有限公司 Method for accelerating starting of application program and electronic equipment
US20210382814A1 (en) * 2020-06-09 2021-12-09 Methodics, Inc. Computing hardware and software design testing auditability, including for critical control systems, functional safety, and autonomous vehicle component certification
CN113608978A (en) * 2021-07-15 2021-11-05 荣耀终端有限公司 Test method, test device and computer readable storage medium
CN113746977A (en) * 2021-08-31 2021-12-03 杭州友声科技股份有限公司 Method and system for testing starting time of mobile phone application

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
庞超: "UFS3.0效率有多快 一加7Pro500款APP测速挑战", pages 1 - 10, Retrieved from the Internet <URL:mobile.zol.com.cn/720/720630_all.html> *
李兴旺: "基于ARM9的车载安全防控仪的设计与实现", 《中国优秀硕士学位论文全文数据库》, pages 035 - 257 *

Also Published As

Publication number Publication date
CN116665752B (en) 2023-11-21

Similar Documents

Publication Publication Date Title
CN107391333B (en) OSD disk fault testing method and system
CN107659455B (en) Method, storage medium, device and system for Mock data of iOS (internet operating system) end
CN102568522A (en) Hardware performance test method and device
CN116340076B (en) Hard disk performance test method, device and medium
CN111274078A (en) Method, system and device for testing performance of hard disk
CN108733561A (en) Application program launching duration test method, device, electronic equipment and storage medium
CN116665752B (en) UFS steady-state performance test method and device, readable storage medium and electronic equipment
CN111625407B (en) SSD performance test method and related components
CN110990207B (en) BPS memory test method, system, terminal and storage medium based on Whitley platform
CN111028881B (en) Open Block testing device, method and system
CN103970658B (en) The method and apparatus that PMON tests with kernel version compatibility
CN116244133A (en) Hard disk test management method, system, terminal and storage medium
CN110569153A (en) method and system for testing refresh stability of nvme hard disk firmware
CN111666200A (en) Testing method and terminal for time consumption of cold start of PC software
CN108829573A (en) A kind of method for testing reliability pre-reading function based on linux system small documents
CN112732562A (en) Computer test method, system and related device
CN116303067B (en) Testing method, device, equipment and medium based on cloud testing platform
CN111694727A (en) Network card firmware upgrading and downgrading test method, system, terminal and storage medium
CN111338877A (en) Optical drive test method, device and related equipment
KR101199479B1 (en) Simulating method and apparatus for automatic test of application
EP2770439A1 (en) Monitoring for measuring the performance of a computer infrastructure
CN104853187A (en) Method for testing electronic equipment starting performance and device and system thereof
CN116913361B (en) Automatic hard disk testing method, system and medium
CN113903368B (en) Automatic test method, device and equipment for disc and storage medium
CN116383091B (en) Starting method and starting device of eMMC verification platform and storage medium

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
GR01 Patent grant
GR01 Patent grant