Frozen screen test method, frozen screen test device, electronic equipment and storage medium
By acquiring and analyzing the images of the mobile terminal, the occurrence of freezing screen problems is automatically judged, and the problems of high cost and low efficiency of freezing screen detection and diagnosis in the prior art are solved, and efficient and automated freezing screen analysis is achieved.
Patent Information
- Application Number
- CN202411571374.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-03-28
AI Technical Summary
The prior art is difficult to automatically reproduce and analyze the freeze screen problem of mobile terminals, resulting in high cost and low efficiency of detection and diagnosis of freeze screen problems.
By obtaining multiple images corresponding to the test cases and performing freeze screen analysis based on these images, including determining the target image, calculating the similarity and time interval between images, judging the possibility of freezing screen, and determining the reason for freezing screen through log analysis.
Automatic screen freeze analysis is realized, reducing the cost and time of detection and diagnosis, and improving the detection efficiency and accuracy of screen freeze problems.
Smart Images

Figure CN119718910A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a frozen screen test method, a frozen screen test device, an electronic device and a storage medium. Background Art
[0002] The mobile terminal may freeze during use, that is, the screen of the mobile terminal does not respond to touch operations. The freezing problem will affect the user experience, and the user is often required to restart the device before resuming use. In the related art, manual testing methods are used to try to reproduce the possible operations of the user before the freezing screen occurs. Since freezing is a low-probability event, the probability of manual testing is low, and the time and labor costs of manual testing are high. Summary of the invention
[0003] The embodiments of the present application provide a frozen screen test method, a frozen screen test device, an electronic device and a storage medium, which can realize automated frozen screen analysis.
[0004] In a first aspect, an embodiment of the present application provides a frozen screen testing method, which is applied to a first device, and includes: acquiring multiple images corresponding to a test case; and performing frozen screen analysis based on the multiple images.
[0005] In some implementations, performing frozen screen analysis based on multiple images includes: determining multiple target images from the multiple images, wherein each target image corresponds to an operation in a test case; and performing frozen screen analysis based on the multiple target images.
[0006] In some implementations, performing a freeze screen analysis based on multiple target images includes: determining similarities and time intervals between the multiple target images; and determining a possibility of a freeze screen occurring based on the similarities and time intervals.
[0007] In some implementations, the possibility of screen freezing is determined based on the similarity and the time interval, including: when the similarity is higher than a similarity threshold and the time interval is higher than a time threshold, determining that screen freezing has occurred.
[0008] In some implementations, the method further includes: obtaining log information; and analyzing the log information based on keywords to obtain the reason for the screen freezing.
[0009] In the second aspect, an embodiment of the present application provides a frozen screen testing method, which is applied to a second device, including: executing test cases, wherein each test case includes multiple operations; and collecting multiple images corresponding to the test cases, wherein the multiple images are used for frozen screen analysis on the first device.
[0010] In some implementations, the method further includes: recording a start time of each operation, and sending the start time of each operation to the first device.
[0011] In a third aspect, an embodiment of the present application provides a frozen screen testing device, which is applied to a first device, and the device includes: an image acquisition module, used to acquire multiple images corresponding to the test case; and a frozen screen analysis module, used to perform frozen screen analysis based on multiple images.
[0012] In a fourth aspect, an embodiment of the present application provides a frozen screen testing device, which is applied to a second device, and the device includes: a test execution module, which is used to execute test cases, wherein each test case includes multiple operations; and an image acquisition module, which is used to acquire multiple images corresponding to the test case, wherein the multiple images are used for frozen screen analysis on the first device.
[0013] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the operations in the method described in the first aspect or the second aspect are implemented.
[0014] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the operations in the method described in the first aspect or the second aspect are implemented.
[0015] In summary, the embodiments of the present application disclose a frozen screen test method, a frozen screen test device, an electronic device, and a storage medium. The frozen screen test method, applied to a first device, includes: obtaining multiple images corresponding to a test case; and performing frozen screen analysis based on the multiple images. The frozen screen test method can realize automated frozen screen analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of this specification, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 A schematic diagram showing an application scenario of the freezing screen test method provided by some embodiments of the present application is shown;
[0018] Figure 2 A schematic diagram showing a flow chart of a freeze screen test method provided by some embodiments of the present application;
[0019] Figure 3A schematic diagram showing a flow chart of a freeze screen test method provided by some embodiments of the present application;
[0020] Figure 4 A schematic diagram showing a flow chart of a freeze screen test method provided by other embodiments of the present application;
[0021] Figure 5 A schematic diagram of the structure of a freezing screen testing device provided in some embodiments of the present application is shown;
[0022] Figure 6 A schematic structural diagram of a freezing screen testing device provided by other embodiments of the present application is shown;
[0023] Figure 7 A schematic diagram of the structure of an electronic device provided in some embodiments of the present application is shown. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments in the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0025] Although the present application shows a logical sequence in the flow charts, in some cases, the operations shown or described may be performed in a different order than that shown in the drawings.
[0026] Figure 1 The following is a schematic diagram showing an application scenario of the freezing screen test method provided by some embodiments of the present application. Figure 1 As shown, the application scenario may include a terminal 101 , a second device 102 , and a first device 103 .
[0027] Among them, the terminal 101 can be a device under test for performing a frozen screen test. The terminal 101 can include a hardware device with a data information processing function and an application necessary to drive the hardware device to work. The application can provide the ability and interface to interact with the outside world. For example, the terminal 101 can be installed with an application required for a frozen screen test. The application may include a system interface, a system application, a game, or other third-party applications.
[0028] In some embodiments, the terminal 101 may include a mobile device, a built-in device of a motor vehicle, or the like, or any combination thereof. In some embodiments, the mobile device may include a smart phone, a tablet computer, a smart home device, a virtual reality device, an augmented reality device, or the like, or any combination thereof. In some embodiments, the smart mobile device may include a smart phone, a personal digital assistant, a gaming device, a navigation device, or the like, or any combination thereof. In some embodiments, the built-in device in the motor vehicle may include an onboard computer, an onboard television, or the like.
[0029] Among them, the second device 102 can be used to simulate a test case of a user performing a freeze screen test on the terminal 101. The second device 102 may include a manipulator for simulating a user operating the terminal 101, and the manipulator can press physical buttons and touch the screen of the terminal device 101. The second device 102 may also include a camera for photographing the screen content of the terminal device 101. In some embodiments, in order to store the captured images, the second device 102 may also include a memory for image storage. In other embodiments, the second device 102 may upload the captured images to a cloud storage device.
[0030] The second device 102 may execute the frozen screen test method provided in the present application, including executing a test case and collecting a plurality of images corresponding to the test case, wherein the plurality of images are used for the first device to perform frozen screen analysis.
[0031] Among them, the first device 103 can perform frozen screen analysis based on multiple images captured by the second device 102. The first device 103 can be connected to the second device 102 in communication to receive multiple image data transmitted by the second device 102. As described above, in some embodiments, the second device 102 may include a memory for storing images, and the second device 102 may transmit all captured images to the first device 103 after the test is completed. In other embodiments, the second device 102 may transmit each image to the first device 103 immediately after it is captured.
[0032] The first device 103 may be a single computing device or a cluster system composed of multiple computing devices. The first device 103 may adopt any form of system architecture.
[0033] The first device 103 can execute the frozen screen test method provided in the present application, including obtaining multiple images corresponding to the test case; and performing frozen screen analysis based on the multiple images.
[0034] It should be noted that Figure 1The numbers of the terminal 101, the second device 102 and the first device 103 shown in the figure are exemplary and can be any number according to the implementation requirements. Figure 1 The application scenario diagram of the freeze screen test method shown is only an example, which is intended to more clearly illustrate the technical solution of the embodiment of the present application and does not constitute a limitation on the technical solution of the present application. For example, in some embodiments, the first device 103 and the second device 102 can be the same device.
[0035] Figure 2 A schematic diagram of a frozen screen test method provided in some embodiments of the present application is shown. The frozen screen test method is applied to a first device, and the specific process may be as follows:
[0036] S201. Acquire multiple images corresponding to a test case.
[0037] Among them, test cases can be used to simulate user behavior and obtain behavior execution results. Test cases can be scripts for automated testing. In the frozen screen test, the usage scenarios where the frozen screen problem occurs can be obtained through point analysis and user feedback, and test cases can be designed for these usage scenarios. For example, a test case can include multiple executable operations. Among them, the executable operations can be operations such as unlocking the device screen, sliding the screen, switching between applications, switching within an application, starting an application, and exiting an application.
[0038] The multiple images corresponding to the test case may be screen images of the device under test obtained during the execution of the test case. The screen image of the device under test may be an image captured by an image acquisition device facing the screen. In the process of performing the frozen screen test, a large number of test cases may be used to obtain multiple images corresponding to each test case.
[0039] The multiple images corresponding to the test case can be obtained by the first device from other devices, such as the second device or the cloud storage device mentioned above. The multiple images can also be obtained by the first device itself, for example, the first device can execute the test case and collect multiple images corresponding to the test case.
[0040] S202: Perform frozen screen analysis based on multiple images.
[0041] When the screen freeze problem occurs, the screen of the device under test cannot respond to touch screen operations, and the screen image remains unchanged for a period of time. Therefore, it is possible to determine whether the screen freeze problem occurs by judging whether there are images that remain highly similar for a period of time among multiple images.
[0042] The frozen screen analysis can be used to determine whether a test case has a frozen screen problem. The frozen screen analysis can also be used to determine the test case where the frozen screen problem occurs, or the corresponding operation in the test case.
[0043] In some embodiments, it is determined whether there are continuous similar images. If there are continuous similar images, the duration of the continuous similar images is determined according to the number of similar images and the shooting interval, and then it is determined whether the freezing screen problem occurs.
[0044] In some embodiments, in order to reduce the amount of data for image analysis, some images may be first determined from multiple images as target images. To this end, performing frozen screen analysis based on multiple images may include: determining multiple target images from the multiple images, and performing frozen screen analysis based on the multiple target images.
[0045] Each target image may correspond to an operation in the test case. For example, the target image may be the most recent image before an operation starts, and this image is used as the target image corresponding to the operation. Other images between the two target images record the changes that occur on the screen of the device under test after the operation is performed. For another example, the target image may also be the most recent image after an operation starts, and this image is used as the target image corresponding to the operation. In the event of a frozen screen, there will be continuous similar target images, so frozen screen analysis can be performed based on multiple target images.
[0046] Among them, multiple target images can be obtained based on the timestamp of each operation in the test case. In some embodiments, the timestamp when the test starts and the timestamp before each operation starts are recorded. According to the time interval between the timestamp before the operation starts and the start timestamp, the time interval is divided by the time interval between adjacent images to obtain the image sequence number corresponding to each operation, that is, to obtain the target image corresponding to each operation. In other embodiments, the multiple images obtained are images with timestamp information, and the timestamp before each operation starts is compared with the timestamp information of the multiple images to obtain the target image corresponding to each operation.
[0047] How to perform freeze screen analysis based on multiple target images will be described in detail later.
[0048] In summary, the frozen screen test method provided in some embodiments of the present application is applied to the first device, can obtain multiple images corresponding to the test case, and perform frozen screen analysis based on the multiple images. The frozen screen test method can realize automated frozen screen analysis.
[0049] Figure 3 A schematic diagram of a frozen screen test method provided in some embodiments of the present application is shown. The frozen screen test method is applied to a first device, and the specific process may be as follows:
[0050] S301. Acquire multiple images corresponding to a test case.
[0051] S302: Determine multiple target images among multiple images.
[0052] S303: Determine the similarity and time interval between the multiple target images.
[0053] In some embodiments, the similarities and time intervals between any two of the plurality of target images are determined.
[0054] In some embodiments, in order to reduce the amount of data for similarity calculation, the similarity between adjacent target images may be determined. When there are multiple consecutive high similarities, the similarity and time interval between the first and last target images corresponding to the multiple consecutive similarities are determined.
[0055] The similarity between two images can be determined in a variety of ways. For example, pixel-level comparison, by calculating the difference in pixel values at corresponding positions of the two images, obtains the similarity. The larger the difference, the lower the similarity. For example, key point comparison, by finding the key points in the image through a feature detector, and comparing the key points in the two images. Another example is feature vector comparison, by extracting feature vectors in the image through a neural network or other model, and then comparing the similarity between the feature vectors.
[0056] S304: Determine the possibility of screen freezing based on the similarity and the time interval.
[0057] In some embodiments, when the similarity is higher than a similarity threshold and the time interval is higher than a time threshold, it is determined that the screen freeze occurs. The similarity threshold may be a fixed value or a variable value. For example, different similarity thresholds may be used for test cases in different scenarios.
[0058] In some embodiments, when the similarity is higher than the time threshold but the time interval does not reach the time threshold, it is considered that there is a risk of screen freezing, and further judgment can be made, for example, judging whether screen freezing occurs in combination with log information.
[0059] The screen freezing test method provided in some embodiments of the present application can determine whether the screen freezing occurs based on similarity and time interval, which is consistent with the user's intuitive feeling about the screen freezing.
[0060] In order to further analyze the cause of the screen freezing, in some embodiments, the screen freezing test method may further include obtaining log information, and analyzing the log information based on keywords to obtain the cause of the screen freezing.
[0061] The log information may be a frozen screen test log obtained in real time during the execution of the test case. For example, the frozen screen test log may include a system log, an application running log, a service log, etc. Specifically, for an Android system, the frozen screen test log may include systrace, logcat, dumpsys, etc.
[0062] By analyzing the log data, you can locate the logs with frozen screen problems through keywords related to frozen screen. For example, keywords can be freeze, program crash, restart, device unresponsiveness, etc. Specifically, keywords can be ANRin, FATAL EXCEPTION, REBOOT, FREEZE, etc.
[0063] The freeze screen test method provided in some embodiments of the present application can obtain the cause of the freeze screen by analyzing the log information during the freeze screen test process.
[0064] Figure 4 A schematic diagram of a frozen screen test method provided by some other embodiments of the present application is shown. The frozen screen test method is applied to the second device, and the specific process may be as follows:
[0065] S401. Execute test cases.
[0066] Among them, test cases can be used to simulate user behaviors and obtain the results of behavior execution. Test cases can be scripts for automated tests. In the frozen screen test, the usage scenarios where the frozen screen problem occurs can be obtained through point analysis and user feedback, and test cases can be designed for these usage scenarios. For example, a test case may include the test case serial number, the model of the device under test, the operations performed, etc. Among them, the operations performed may be operations such as unlocking the device screen, sliding the screen, switching between applications, switching within an application, starting an application, and exiting an application. Each test case may include multiple operations. Among them, applications may include system interfaces, system applications, games, or other third-party applications.
[0067] As mentioned above, the second device can be used to simulate a user to perform operations on the device under test. In order to achieve automated testing, a test case can be designed to drive the second device to execute the test case in a scripted manner. The second device may include a manipulator for simulating user operations, and the manipulator can perform physical button pressing operations and screen touch operations on the device under test.
[0068] The number of test cases may be one or more. In some embodiments, in order to improve the stability and reliability of the test results, the test cases may be tested in a loop.
[0069] S402: Collect multiple images corresponding to the test case.
[0070] The multiple images corresponding to the test case may be screen images of the device under test obtained during the execution of the test case. The screen image of the device under test may be an image captured by an image acquisition device facing the screen. In the process of performing the frozen screen test, a large number of test cases may be used to obtain multiple images corresponding to each test case. The multiple images may be used for the first device to perform frozen screen analysis.
[0071] In order to collect multiple images corresponding to the test case, the second device may also include a camera for photographing the screen content of the device under test. The second device may actively send the collected multiple images to the first device, or send the collected multiple images to the first device based on an image acquisition request of the first device.
[0072] In some embodiments, the frozen screen analysis needs to determine the target image based on the start time of each operation. Therefore, the second device can record the start time of each operation and send the start time of each operation to the first device. The start time of each operation can be sent in real time during the execution of the test, or sent at the same time after the test is completed. The start time of each operation can be actively sent by the second device to the first device, or sent based on the request of the first device.
[0073] Some embodiments of the present application provide a frozen screen test method, which is applied to a second device, and can execute a test case and collect multiple images corresponding to the test case. The frozen screen test method can provide automated testing and image collection for frozen screen analysis.
[0074] As mentioned above, in some embodiments, the first device and the second device may also be the same device, and the frozen screen test method may include:
[0075] Execute the test case.
[0076] Collect multiple images corresponding to the test case.
[0077] Acquire multiple images corresponding to the test case. In some embodiments, the multiple images acquired can be processed and analyzed in real time, and the operation of acquiring multiple images can be combined with the operation of acquiring multiple images into one operation. In other embodiments, the multiple images acquired can be stored in a memory or a cloud server, and then the multiple images can be acquired for analysis.
[0078] Freeze screen analysis based on multiple images.
[0079] Figure 5 The structure diagram of the frozen screen test device provided in some embodiments of the present application is shown. The frozen screen test device 500 can be applied to the first device, and specifically may include:
[0080] The image acquisition module 501 can be used to acquire multiple images corresponding to the test case.
[0081] The frozen screen analysis module 502 may be used to perform frozen screen analysis based on multiple images.
[0082] The frozen screen test device 500 provided in some embodiments of the present application can obtain multiple images corresponding to the test case by the image acquisition module 501. Then, the frozen screen analysis module 502 can perform frozen screen analysis based on the multiple images. The frozen screen test device 500 can realize automated frozen screen analysis.
[0083] In some embodiments, the frozen screen analysis module 502 may include a determination unit and an analysis unit. The determination unit may be used to determine multiple target images from multiple images, wherein each target image corresponds to an operation in a test case. The analysis unit may be used to perform frozen screen analysis based on the multiple target images.
[0084] In some embodiments, the analysis unit may include a first determination subunit and a second determination subunit. The first determination subunit may be used to determine the similarity and time interval between the plurality of target images. The second determination subunit may be used to determine the possibility of screen freezing based on the similarity and time interval.
[0085] In some embodiments, the second determining subunit determines the possibility of screen freezing, including determining that screen freezing occurs when the similarity is higher than a similarity threshold and the time interval is higher than a time threshold.
[0086] In some embodiments, the frozen screen test device 500 may further include a log acquisition module and a cause analysis module. The log acquisition module may be used to acquire log information. The cause analysis module may be used to analyze the log information based on keywords to obtain the cause of the frozen screen.
[0087] Figure 6 The schematic diagram of the structure of the freezing screen test device provided by some other embodiments of the present application is shown. The freezing screen test device 600 can be applied to the second device, and specifically may include:
[0088] The test execution module 601 may be used to execute test cases, wherein each test case may include multiple operations.
[0089] The image acquisition module 602 may be used to acquire multiple images corresponding to the test case, wherein the multiple images may be used for the first device to perform frozen screen analysis.
[0090] The frozen screen test device 600 provided in some embodiments of the present application can execute test cases by a test execution module 601, wherein each test case can include multiple operations. Next, the image acquisition module 602 can acquire multiple images corresponding to the test case, wherein the multiple images can be used for the first device to perform frozen screen analysis. The frozen screen test device 600 can provide image data for automated frozen screen analysis.
[0091] In some embodiments, the freezing screen testing device 600 may further include a recording module. The recording module may be used to record the start time of each operation and send the start time of each operation to the first device.
[0092] In addition, the present application also provides an electronic device, Figure 7 The following is a schematic diagram of the structure of an electronic device provided by some embodiments of the present application, specifically:
[0093] The electronic device 700 may include one or more processors 701 of processing cores, one or more computer-readable storage media memories 702 and other components. Those skilled in the art will appreciate that Figure 7 The structure of the electronic device 700 shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0094] The processor 701 is the control center of the electronic device 700. It uses various interfaces and lines to connect various parts of the entire electronic device 700. By running or executing software programs and / or modules stored in the memory 702 and calling data stored in the memory 702, it executes various functions of the electronic device 700 and processes data, thereby monitoring the electronic device 700 as a whole. Optionally, the processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 701.
[0095] The memory 702 can be used to store software programs and modules. The processor 701 executes various functional applications and data processing by running the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the electronic device 700, etc. In addition, the memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 702 may also include a memory controller to provide the processor 701 with access to the memory 702.
[0096] Specifically in this embodiment, the processor 701 in the electronic device 700 will load the executable files corresponding to the processes of one or more applications into the memory 702 according to the following instructions, and the processor 701 will run the applications stored in the memory 702, thereby implementing the operations in any one of the freeze screen test methods provided in the embodiments of the present application.
[0097] The electronic device 700 may include a first device. The specific process of executing the frozen screen test method may refer to Figures 2 to 3 The electronic device 700 may further include a second device. The specific process of executing the frozen screen test method may refer to Figure 4 This application will not be repeated here.
[0098] Those skilled in the art will appreciate that all or part of the operations in the various methods of the above embodiments may be accomplished through instructions, or through instruction-controlled related hardware. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0099] To this end, the present application provides a computer-readable storage medium, on which a computer program is stored. The computer program can be loaded by a processor to execute the operations in any freeze screen test method provided in the present application.
[0100] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0101] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0102] Since the instructions stored in the computer-readable storage medium can execute the operations in any freeze screen test method provided in the present application, the beneficial effects that can be achieved by any freeze screen test method provided in the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0103] The above is a detailed introduction to a freeze screen test method, a freeze screen test device, an electronic device and a storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A freezing screen test method, applied to a first device, characterized in that: include: Get multiple images corresponding to the test case; as well as A freeze screen analysis is performed based on the multiple images.
2. The method according to claim 1, characterized in that in, The performing frozen screen analysis based on the multiple images includes: Determining a plurality of target images among the plurality of images, wherein each of the target images corresponds to an operation in the test case; and A frozen screen analysis is performed based on the multiple target images.
3. The method according to claim 2, characterized in that The performing frozen screen analysis based on the multiple target images includes: Determining similarities and time intervals between the plurality of target images; and Based on the similarity and the time interval, a possibility of screen freezing is determined.
4. The method according to claim 3, characterized in that The determining, based on the similarity and the time interval, the possibility of screen freezing, includes: When the similarity is higher than a similarity threshold and the time interval is higher than a time threshold, it is determined that screen freezing occurs.
5. The method according to claim 1, characterized in that The method further comprises: Obtain log information; and The log information is analyzed based on keywords to obtain the reason for the screen freezing.
6. A freezing screen test method, applied to a second device, characterized in that: include: executing test cases, wherein each of the test cases includes a plurality of operations; and Collect multiple images corresponding to the test case, wherein the multiple images are used for the first device to perform frozen screen analysis.
7. The method according to claim 6, characterized in that The method further comprises: The start time of each operation is recorded, and the start time of each operation is sent to the first device.
8. A freezing screen testing device, applied to a first device, characterized in that: The device comprises: An image acquisition module, used to acquire multiple images corresponding to the test case; and A frozen screen analysis module is used to perform frozen screen analysis based on the multiple images.
9. A freezing screen testing device, applied to a second device, characterized in that: The device comprises: A test execution module, configured to execute test cases, wherein each of the test cases includes a plurality of operations; and An image acquisition module is used to acquire multiple images corresponding to the test case, wherein the multiple images are used for the first device to perform frozen screen analysis.
10. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the operations in the method according to any one of claims 1 to 5 or claims 6 to 7 when executing the computer program.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the operations in the method described in claims 1 to 5 or claims 6 to 7 are implemented.